configmap

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConfigMap

func CreateConfigMap(manager Manager, ctx context.Context, configmap *v1.ConfigMap)

func DeleteConfigMap

func DeleteConfigMap(manager Manager, ctx context.Context, configmap *v1.ConfigMap)

func UpdateConfigMap

func UpdateConfigMap(manager Manager, ctx context.Context, configmap *v1.ConfigMap)

Types

type Manager

type Manager interface {
	CreateConfigMap(ctx context.Context, configMap *v1.ConfigMap) error
	GetConfigMap(ctx context.Context, configMap *v1.ConfigMap) (*v1.ConfigMap, error)
	UpdateConfigMap(ctx context.Context, configMap *v1.ConfigMap) error
	DeleteConfigMap(ctx context.Context, configMap *v1.ConfigMap) error
}

func NewManager

func NewManager(k8sClient client.Client) Manager

Jump to

Keyboard shortcuts

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