deployments

package
v0.0.0-...-1614809 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deploy

func Deploy(dev *model.Dev, namespace string, c *kubernetes.Clientset) (string, error)

Deploy deploys a k8 deployment in prod mode

func DevDeploy

func DevDeploy(dev *model.Dev, namespace string, c *kubernetes.Clientset) (string, error)

DevDeploy deploys a k8 deployment in dev mode

func GetCNDPod

func GetCNDPod(c *kubernetes.Clientset, namespace, deploymentName, devContainer string) (*apiv1.Pod, error)

GetCNDPod returns the pod that has the cnd containers

func GetFullName

func GetFullName(namespace, deploymentName string) string

GetFullName returns the full name of the deployment. This is mostly used for logs and labels

Types

This section is empty.

Jump to

Keyboard shortcuts

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