Documentation ¶
Index ¶
- func NewConfigMap(name string, namespace string) *coreV1.ConfigMap
- func NewDeployment(name string, namespace string) *appsV1.Deployment
- func NewIngress(name string, namespace string) *networkV1.Ingress
- func NewJob(name string, namespace string) *batchv1.Job
- func NewJobWithStatus(name string, namespace string, status string) *batchv1.Job
- func NewNamespace(name string) *coreV1.Namespace
- func NewNodes(name string) *coreV1.Node
- func NewPersistentVolume(name string) *coreV1.PersistentVolume
- func NewPersistentVolumeClaim(name string, namespace string) *coreV1.PersistentVolumeClaim
- func NewPod(name string, namespace string) *coreV1.Pod
- func NewPodWithStatus(name string, namespace string, phase string) *coreV1.Pod
- func NewSecret(name string, namespace string) *coreV1.Secret
- func NewService(name string, namespace string) *coreV1.Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigMap ¶
NewConfigMap creates a basic ConfigMap instance having the provided namespace and name
func NewDeployment ¶
func NewDeployment(name string, namespace string) *appsV1.Deployment
NewDeployment is a helper to build a new Deployment instance
func NewIngress ¶
NewIngress is a helper to build a new Ingress instance
func NewJobWithStatus ¶ added in v0.0.2
NewJobWithStatus creates a job with a given condition
func NewNamespace ¶
NewNamespace is a helper to build a new Namespace instance
func NewPersistentVolume ¶
func NewPersistentVolume(name string) *coreV1.PersistentVolume
NewPersistentVolume is a helper to build a new PersistentVolume instance
func NewPersistentVolumeClaim ¶
func NewPersistentVolumeClaim(name string, namespace string) *coreV1.PersistentVolumeClaim
NewPersistentVolumeClaim is a helper to build a new PersistentVolumeClaim instance
func NewPodWithStatus ¶
NewPodWithStatus is a helper for building Pods with a given Status
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.