Documentation ¶
Index ¶
Constants ¶
View Source
const ( BuiltinEnvContainerID = "CONTAINER_ID" BuiltinEnvNamespace = "CONTAINER_NAMESPACE" BuiltinEnvLabels = "CONTAINER_LABELS" BuiltinEnvAnnotations = "CONTAINER_ANNOTATIONS" BuiltinEnvConfigMapPath = "CONTAINER_CONFIGMAP" BuiltinEnvWorkDir = "CONTAINER_WORK" BuiltinEnvHostIP = "CONTAINER_HOST_IP" BuiltinEnvContainerIP = "CONTAINER_IP" )
Variables ¶
This section is empty.
Functions ¶
func NewContaienr ¶
func NewContaienr(config ContainerConfig) v1.Container
func NewDeployment ¶
func NewDeployment(config PodConfig, _replica int) appv1.Deployment
Types ¶
type ContainerConfig ¶
Click to show internal directories.
Click to hide internal directories.