configmap

package
v0.0.0-...-ee60e7a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Builder

func Builder() *builder

Types

type Client

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

func NewClient

func NewClient(client k8sclient.Client) Client

func (Client) Create

func (c Client) Create(cm corev1.ConfigMap) error

Create provides a thin wrapper and client.Client to create corev1.ConfigMap types

func (Client) Delete

func (c Client) Delete(cm corev1.ConfigMap) error

Delete provides a thin wrapper and client.Client to delete corev1.ConfigMap types

func (Client) Get

Get provides a thin wrapper and client.client to access corev1.ConfigMap types

func (Client) GetData

func (c Client) GetData(key k8sclient.ObjectKey) (map[string]string, error)

GetData extracts the contents of the Data field in a given config map

func (Client) ReadKey

func (c Client) ReadKey(key string, objectKey k8sclient.ObjectKey) (string, error)

GetData extracts the contents of the Data field in a given config map

func (Client) Update

func (c Client) Update(cm corev1.ConfigMap) error

Update provides a thin wrapper and client.Client to update corev1.ConfigMap types

Jump to

Keyboard shortcuts

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