kubernetes_manager

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubernetesManagerDriver

type KubernetesManagerDriver struct {
	KubernetesManagerDriverOptions
	// contains filtered or unexported fields
}

func (*KubernetesManagerDriver) DeleteCluster

func (d *KubernetesManagerDriver) DeleteCluster(ctx context.Context, id string) error

func (*KubernetesManagerDriver) GetClusterStatus

func (*KubernetesManagerDriver) GetInstallStatus

func (d *KubernetesManagerDriver) GetInstallStatus(ctx context.Context) backend.InstallState

func (*KubernetesManagerDriver) SetClusterStatus

func (d *KubernetesManagerDriver) SetClusterStatus(ctx context.Context, id string, enabled bool) error

func (*KubernetesManagerDriver) SetSyncTime

func (d *KubernetesManagerDriver) SetSyncTime()

func (*KubernetesManagerDriver) StoreCluster

func (d *KubernetesManagerDriver) StoreCluster(ctx context.Context, req *corev1.Reference, friendlyName string) error

func (*KubernetesManagerDriver) StoreClusterMetadata added in v0.10.0

func (d *KubernetesManagerDriver) StoreClusterMetadata(ctx context.Context, id, name string) error

func (*KubernetesManagerDriver) StoreClusterReadUser added in v0.11.0

func (d *KubernetesManagerDriver) StoreClusterReadUser(ctx context.Context, username, password, id string) error

type KubernetesManagerDriverOptions

type KubernetesManagerDriverOptions struct {
	K8sClient         client.Client                  `option:"k8sClient"`
	Namespace         string                         `option:"namespace"`
	OpensearchCluster *opnimeta.OpensearchClusterRef `option:"opensearchCluster"`
	Logger            *slog.Logger                   `option:"logger"`
}

Jump to

Keyboard shortcuts

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