Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Installer ¶
type Installer struct {
// contains filtered or unexported fields
}
func NewInstaller ¶
func NewInstaller(client K8sInstallerImpl, params *entity.Parameters) (*Installer, error)
type K8sInstallerImpl ¶
type K8sInstallerImpl interface { GetDataTunerXStatus() DeleteDeployment(ctx context.Context, name, namespace string, opts metav1.DeleteOptions) error DeleteService(ctx context.Context, name, namespace string, opts metav1.DeleteOptions) error ListDeploymentByLabel(ctx context.Context, namespace string, label map[string]string) (*v1.DeploymentList, error) DeleteDeploymentByLabel(ctx context.Context, namespace string, label map[string]string) error ListServiceByLabel(ctx context.Context, namespace string, label map[string]string) (*corev1.ServiceList, error) DeleteValidatingWebhookConfigurationsByLabel(ctx context.Context, label map[string]string) error DeleteMutatingWebhookConfigurationsByLabel(ctx context.Context, label map[string]string) error DeleteSecretByLabel(ctx context.Context, namespace string, label map[string]string) error DeleteCLusterRoleBindingByLabel(ctx context.Context, label map[string]string) error DeleteClusterRoleByLabel(ctx context.Context, label map[string]string) error ListClusterRoleByLabel(ctx context.Context, label map[string]string) (*rbacv1.ClusterRoleList, error) DeleteServiceAccountByLabel(ctx context.Context, namespace string, label map[string]string) error }
Click to show internal directories.
Click to hide internal directories.