Versions in this module Expand all Collapse all v0 v0.3.0 Mar 4, 2016 v0.2.1 Mar 3, 2016 Changes in this version + func ApplyResource(f *cmdutil.Factory, c *client.Client, ns string, data []byte, name string) error + func EnsureContainerHasEnvVar(container *api.Container, name string, value string) bool + func EnsureContainerHasEnvVarFromField(container *api.Container, name string, fieldPath string) bool + func EnsureContainerHasPreStopCommand(container *api.Container, commands []string) + func EnsureContainerHasVolumeMount(container *api.Container, name string, mountPath string) bool + func EnsurePodSpecHasGitVolume(podSpec *api.PodSpec, name string, gitRepo string, gitRevision string) bool + func EnsurePodSpecHasSecretVolume(podSpec *api.PodSpec, name string, secretName string) bool + func EnsureServiceAccountExists(c *client.Client, ns string, serviceAccountName string) (bool, error) + func GetContainerEnvVar(container *api.Container, name string) string + func GetFirstContainerOrCreate(rc *api.ReplicationController) *api.Container + func GetOrCreatePodSpec(rc *api.ReplicationController) *api.PodSpec + func GetThisPodName() (string, error) + func PodIsRunning(pods *api.PodList, podName string) bool + func ReadReplicationController(data []byte) (*api.ReplicationController, error) + func ReadReplicationControllerFromFile(filename string) (*api.ReplicationController, error)