package
0.0.0-20201026014106-cb22ee8529e1
Repository: https://github.com/itsmurugappan/kubernetes-resource-builder.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

FromContext returns the config stored in context.
GetCurrentNamespace returns the namespace where the pod is running.
GetInClusterKubeClient returns the client set for incluster config.
GetKubeConfig returns rest config for the give kube config directoryif directory input is not given its taken from KUBE_CONFIG_DIR env variableif that variable is not present incluster config is considered.
FromContext returns the kubernetes client set stored in context.
WithContext returns the context withkubernetes client sets and rest config.

# Structs

ContainerSpec - kubernetes core/v1/container.
EnvFrom = env variables.
JobSpec - kubernetes batch/v1/job.
KV - generic key/value.
ContainerSpec - kubernetes core/v1/pod.
Resource - container resource constraints.