utils

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2017 License: GPL-3.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeploymentCreate

func DeploymentCreate(client *kubernetes.Clientset, new *v1beta1.Deployment) (*v1beta1.Deployment, error)

DeploymentCreate is a wrapper which will attempt to create and/or up a deployment.

func IngressCreate

func IngressCreate(client *kubernetes.Clientset, new *v1beta1.Ingress) (*v1beta1.Ingress, error)

IngressCreate is a wrapper which will attempt to create and/or up an ingress.

func PersistentVolumeClaimCreate

func PersistentVolumeClaimCreate(client *kubernetes.Clientset, new *v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error)

PersistentVolumeClaimCreate is used for creating new Persistent Volume Claims.

func PodCreate

func PodCreate(client *kubernetes.Clientset, pod *v1.Pod) (*v1.Pod, error)

PodCreate is used for creating a Pod object.

func PodExec

func PodExec(client *kubernetes.Clientset, config *rest.Config, w io.Writer, namespace, name, container, step string) error

PodExec for running commands against a running pod.

func SecretCreate

func SecretCreate(client *kubernetes.Clientset, new *v1.Secret) (*v1.Secret, error)

SecretCreate is a wrapper which will attempt to create and/or up a secret.

func ServiceCreate

func ServiceCreate(client *kubernetes.Clientset, new *v1.Service) (*v1.Service, error)

ServiceCreate is a wrapper which will attempt to create and/or up a service.

Types

This section is empty.

Jump to

Keyboard shortcuts

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