k8s

package
v0.0.0-...-3f7df7b Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DRIVER_NAME    = "csi-s3"
	STORAGE_VOLUME = "1Gi"
)
View Source
var CLAIM_NAME = "s3-db-backup"

Functions

func CreateDeployment

func CreateDeployment(ctx context.Context, clientset *kubernetes.Clientset, dbType, connectionAddress, nameSpace string) error

func CreatePVC

func CreatePVC(ctx context.Context, clientset *kubernetes.Clientset, pvcName, nameSpace string) error

func CreateSecret

func CreateSecret(ctx context.Context, clientset *kubernetes.Clientset, secretName, nameSpace string, secretData map[string]string) error

func LoadConfig

func LoadConfig() (*kubernetes.Clientset, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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