Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCreatingReplicaSetName ¶
GetCreatingReplicaSetName returns the name of the replicaSet that created the pod with given name.
func GetNamespace ¶
func GetNamespace() string
GetNamespace loads the namespace of the pod running this process. If the namespace is not found, (e.g. because the process is not running in kubernetes) an empty string is returned.
func IsRunningInKubernetes ¶
func IsRunningInKubernetes() bool
IsRunningInKubernetes returns true if a Kubernetes environment is detected.
Types ¶
type SerializedReference ¶
type SerializedReference struct { k8s.TypeMeta `json:",inline"` // The reference to an object in the system. // +optional Reference k8s.ObjectReference `json:"reference,omitempty"` }
SerializedReference is a reference to serialized object.
Click to show internal directories.
Click to hide internal directories.