install

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

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)

func (*Installer) InstallDataTunerXByHelm

func (i *Installer) InstallDataTunerXByHelm(ctx context.Context, k8sClient *k8s.Client) 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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL