Added endpoint for update tenant certificates (minio/console) (#258)

This commit is contained in:
Lenin Alevski
2020-09-03 10:20:58 -07:00
committed by GitHub
parent 624891ae1f
commit c5a3eff745
20 changed files with 2353 additions and 432 deletions

View File

@@ -42,7 +42,7 @@ func registerResourceQuotaHandlers(api *operations.ConsoleAPI) {
})
}
func getResourceQuota(ctx context.Context, client K8sClient, namespace, resourcequota string) (*models.ResourceQuota, error) {
func getResourceQuota(ctx context.Context, client K8sClientI, namespace, resourcequota string) (*models.ResourceQuota, error) {
resourceQuota, err := client.getResourceQuota(ctx, namespace, resourcequota, metav1.GetOptions{})
if err != nil {
return nil, err