k8s

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientConfig

func NewClientConfig() clientcmd.ClientConfig

NewClientConfig returns a new k8s client config

func NewMetadata

func NewMetadata(name, namespace string, annotations, labels map[string]string) metav1.ObjectMeta

NewMetadata returns a new k8s object metadata

func NewSecret

func NewSecret(metadata metav1.ObjectMeta, data map[string]string) *corev1.Secret

NewSecret returns a new k8s secret

Types

This section is empty.

Jump to

Keyboard shortcuts

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