Esempio n. 1
0
 public async Task <string> HandleAsync(GetChartIndex query)
 {
     return(await helmClient.Index());
 }
Esempio n. 2
0
 public async Task <IEnumerable <Chart> > HandleAsync(GetCharts query)
 {
     return(ChartExtensions.GetCharts(await helmClient.Index()));
 }
Esempio n. 3
0
        public async Task <Chart> HandleAsync(GetChart query)
        {
            var charts = ChartExtensions.GetCharts(await helmClient.Index());

            return(charts.Single(c => c.Name == query.ChartName));
        }