Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster interface { GetClient() kubernetes.Interface GetClientConfig() *rest.Config CreateNamespace(*api_v1.Namespace) (*api_v1.Namespace, error) DeleteNamespace(name string, options *meta_v1.DeleteOptions) error ListPods(nameSpace string, listOptions meta_v1.ListOptions) (*api_v1.PodList, error) GetDeployment(string, string, meta_v1.GetOptions) (*v1_beta1.Deployment, error) ListServiceAccounts(string, meta_v1.ListOptions) (*api_v1.ServiceAccountList, error) CreateServiceAccount(string, *api_v1.ServiceAccount) (*api_v1.ServiceAccount, error) ListClusterRoleBindings(meta_v1.ListOptions) (*rbacv1beta1.ClusterRoleBindingList, error) CreateClusterRoleBinding(*rbacv1beta1.ClusterRoleBinding) (*rbacv1beta1.ClusterRoleBinding, error) CreateSecret(nameSpace string, secret *api_v1.Secret) (*api_v1.Secret, error) UpdateSecret(nameSpace string, secret *api_v1.Secret) (*api_v1.Secret, error) GetSecret(nameSpace string, name string, getOptions meta_v1.GetOptions) (*api_v1.Secret, error) ListSecrets(nameSpace string, listOptions meta_v1.ListOptions) (*api_v1.SecretList, error) ListServices(nameSpace string, listOptions meta_v1.ListOptions) (*api_v1.ServiceList, error) Patch(nameSpace string, name string, pt types.PatchType, data []byte, subresources ...string) (result *api_v1.ServiceAccount, err error) }
func NewCluster ¶
func NewCluster(kuboConfig *config.ClusterCredentials) (Cluster, error)
type PrivateRegistrySetup ¶
type PrivateRegistrySetup interface {
Setup() error
}
func NewPrivateRegistrySetup ¶
func NewPrivateRegistrySetup(namespace string, serviceAccount string, cluster Cluster, registryConfig *config.RegistryConfig) PrivateRegistrySetup
type ServiceAccountInstaller ¶
type ServiceAccountInstaller interface {
Install() error
}
func NewServiceAccountInstaller ¶
func NewServiceAccountInstaller(cluster Cluster, logger lager.Logger) ServiceAccountInstaller
Source Files ¶
Click to show internal directories.
Click to hide internal directories.