Documentation ¶
Index ¶
- func DeploymentCreate(client *kubernetes.Clientset, new *v1beta1.Deployment) (*v1beta1.Deployment, error)
- func IngressCreate(client *kubernetes.Clientset, new *v1beta1.Ingress) (*v1beta1.Ingress, error)
- func NamespaceCreate(client *kubernetes.Clientset, new *v1.Namespace) (*v1.Namespace, error)
- func PersistentVolumeClaimCreate(client *kubernetes.Clientset, new *v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error)
- func PodCreate(client *kubernetes.Clientset, pod *v1.Pod) (*v1.Pod, error)
- func PodExec(client *kubernetes.Clientset, config *rest.Config, w io.Writer, ...) error
- func RoleCreate(client *kubernetes.Clientset, new *v1beta1.Role) (*v1beta1.Role, error)
- func SecretCreate(client *kubernetes.Clientset, new *v1.Secret) (*v1.Secret, error)
- func ServiceCreate(client *kubernetes.Clientset, new *v1.Service) (*v1.Service, error)
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 ¶
IngressCreate is a wrapper which will attempt to create and/or up an ingress.
func NamespaceCreate ¶ added in v0.6.0
NamespaceCreate is a wrapper which will only create a namespace.
func PersistentVolumeClaimCreate ¶
func PersistentVolumeClaimCreate(client *kubernetes.Clientset, new *v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error)
PersistentVolumeClaimCreate is used for creating new Persistent Volume Claims.
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 RoleCreate ¶ added in v0.6.0
RoleCreate is a wrapper which will attempt to create and/or up an Roles.
func SecretCreate ¶
SecretCreate is a wrapper which will attempt to create and/or up a secret.
func ServiceCreate ¶
ServiceCreate is a wrapper which will attempt to create and/or up a service.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.