use teams api client interface instead of pointer

This commit is contained in:
Murat Kabilov
2017-07-17 17:28:05 +02:00
parent 4f36e447c3
commit dbfee26d47
3 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ import (
type Config struct {
RestConfig *rest.Config
KubeClient *kubernetes.Clientset
RestClient *rest.RESTClient
TeamsAPIClient *teams.API
RestClient rest.Interface
TeamsAPIClient teams.Client
InfrastructureRoles map[string]spec.PgUser
}