kubernetes

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DeploymentList   []string
	StatefulsetList  []string
	SecretName       string
	Namespace        string
	KubeSecretExists bool
	// contains filtered or unexported fields
}

Config contains the kubernetes clientset and configs.

func (*Config) GetLastUpdatedDate

func (k *Config) GetLastUpdatedDate() (date time.Time, err error)

func (*Config) PostExec added in v0.0.11

func (k *Config) PostExec() (err error)

func (*Config) PostSecrets

func (k *Config) PostSecrets(secretList map[string]data.SecretAttribute) (err error)

PostSecrets is common interface function to post secrets to destination

func (*Config) RedeployDeployment added in v0.0.11

func (k *Config) RedeployDeployment() (err error)

func (*Config) RedeployStatefulsets added in v0.0.11

func (k *Config) RedeployStatefulsets() (err error)

Jump to

Keyboard shortcuts

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