configmap

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 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