k8s

package
v0.0.0-...-4760111 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStore

func NewStore(reader kube_client.Reader, writer kube_client.Writer, namespace string) (secret_store.SecretStore, error)

Types

type Converter

type Converter interface {
	ToKubernetesObject(*secret_model.SecretResource) (*kube_core.Secret, error)
	ToCoreResource(secret *kube_core.Secret, out *secret_model.SecretResource) error
	ToCoreList(list *kube_core.SecretList, out *secret_model.SecretResourceList) error
}

func DefaultConverter

func DefaultConverter() Converter

type KubernetesMetaAdapter

type KubernetesMetaAdapter struct {
	kube_meta.ObjectMeta
}

func (*KubernetesMetaAdapter) GetCreationTime

func (m *KubernetesMetaAdapter) GetCreationTime() time.Time

func (*KubernetesMetaAdapter) GetMesh

func (m *KubernetesMetaAdapter) GetMesh() string

func (*KubernetesMetaAdapter) GetModificationTime

func (m *KubernetesMetaAdapter) GetModificationTime() time.Time

func (*KubernetesMetaAdapter) GetNameExtensions

func (*KubernetesMetaAdapter) GetVersion

func (m *KubernetesMetaAdapter) GetVersion() string

type KubernetesStore

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

func (*KubernetesStore) Create

func (*KubernetesStore) Delete

func (*KubernetesStore) Get

func (*KubernetesStore) List

func (*KubernetesStore) Update

type SimpleConverter

type SimpleConverter struct {
}

func (*SimpleConverter) ToCoreList

func (*SimpleConverter) ToCoreResource

func (c *SimpleConverter) ToCoreResource(secret *kube_core.Secret, out *secret_model.SecretResource) error

func (*SimpleConverter) ToKubernetesObject

func (c *SimpleConverter) ToKubernetesObject(r *secret_model.SecretResource) (*kube_core.Secret, error)

Jump to

Keyboard shortcuts

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