storage

package
v0.14.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMap

type ConfigMap struct {
	// contains filtered or unexported fields
}

func NewConfigMap

func NewConfigMap(name, ns string) *ConfigMap

func (*ConfigMap) GetName

func (cm *ConfigMap) GetName() string

func (*ConfigMap) GetNameSpace

func (cm *ConfigMap) GetNameSpace() string

func (*ConfigMap) Read

func (cm *ConfigMap) Read() (map[string]string, error)

func (*ConfigMap) ReadByKey

func (cm *ConfigMap) ReadByKey(key string) (string, error)

func (*ConfigMap) SetKV

func (cm *ConfigMap) SetKV(key, value string) error

func (*ConfigMap) SetKubeClient

func (cm *ConfigMap) SetKubeClient(cli *kubernetes.Clientset) *ConfigMap

Jump to

Keyboard shortcuts

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