v1_client

package
v0.0.0-...-a592c90 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMapClient

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

func NewConfigMapClient

func NewConfigMapClient(client client.Client, log logrus.FieldLogger) *ConfigMapClient

func (*ConfigMapClient) Create

func (c *ConfigMapClient) Create(configMap v1.ConfigMap) error

func (*ConfigMapClient) Delete

func (c *ConfigMapClient) Delete(configMap v1.ConfigMap) error

func (*ConfigMapClient) Get

func (c *ConfigMapClient) Get(name, namespace string) (*v1.ConfigMap, error)

func (*ConfigMapClient) Update

func (c *ConfigMapClient) Update(configMap v1.ConfigMap) error

type ConfigMaps

type ConfigMaps interface {
	Get(name, namespace string) (*v1.ConfigMap, error)
	Create(configMap v1.ConfigMap) error
	Update(configMap v1.ConfigMap) error
	Delete(configMap v1.ConfigMap) error
}

type SecretClient

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

func NewSecretClient

func NewSecretClient(client client.Client, log logrus.FieldLogger) *SecretClient

func (*SecretClient) Create

func (c *SecretClient) Create(secret v1.Secret) error

func (*SecretClient) Delete

func (c *SecretClient) Delete(secret v1.Secret) error

type Secrets

type Secrets interface {
	Create(secret v1.Secret) error
	Delete(secret v1.Secret) error
}

Jump to

Keyboard shortcuts

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