Versions in this module Expand all Collapse all v0 v0.4.3 Oct 30, 2014 v0.4.2 Oct 29, 2014 v0.4.1 Oct 17, 2014 Changes in this version + const NamespaceAll + const NamespaceDefault + const StatusFailure + const StatusSuccess + const StatusWorking + var Codec = runtime.CodecFor(Scheme, "") + var Scheme = runtime.NewScheme() + func IsPullAlways(p PullPolicy) bool + func IsPullIfNotPresent(p PullPolicy) bool + func IsPullNever(p PullPolicy) bool + func NamespaceFrom(ctx Context) (string, bool) + func ValidNamespace(ctx Context, resource *TypeMeta) bool + type Binding struct + Host string + PodID string + func (*Binding) IsAnAPIObject() + type BoundPod struct + Spec PodSpec + type BoundPods struct + Host string + Items []BoundPod + func (*BoundPods) IsAnAPIObject() + type CauseType string + const CauseTypeFieldValueDuplicate + const CauseTypeFieldValueInvalid + const CauseTypeFieldValueNotFound + const CauseTypeFieldValueNotSupported + const CauseTypeFieldValueRequired + type Container struct + CPU int + Command []string + Env []EnvVar + Image string + ImagePullPolicy PullPolicy + Lifecycle *Lifecycle + LivenessProbe *LivenessProbe + Memory int + Name string + Ports []Port + Privileged bool + VolumeMounts []VolumeMount + WorkingDir string + type ContainerManifest struct + Containers []Container + ID string + RestartPolicy RestartPolicy + UUID string + Version string + Volumes []Volume + type ContainerManifestList struct + Items []ContainerManifest + func (*ContainerManifestList) IsAnAPIObject() + type ContainerState struct + Running *ContainerStateRunning + Termination *ContainerStateTerminated + Waiting *ContainerStateWaiting + type ContainerStateRunning struct + StartedAt time.Time + type ContainerStateTerminated struct + ExitCode int + FinishedAt time.Time + Reason string + Signal int + StartedAt time.Time + type ContainerStateWaiting struct + Reason string + type ContainerStatus struct + Image string + PodIP string + RestartCount int + State ContainerState + type Context interface + Value func(key interface{}) interface{} + func NewContext() Context + func NewDefaultContext() Context + func WithNamespace(parent Context, namespace string) Context + func WithValue(parent Context, key interface{}, val interface{}) Context + type EmptyDir struct + type Endpoints struct + Endpoints []string + func (*Endpoints) IsAnAPIObject() + type EndpointsList struct + Items []Endpoints + func (*EndpointsList) IsAnAPIObject() + type EnvVar struct + Name string + Value string + type Event struct + InvolvedObject ObjectReference + Message string + Reason string + Source string + Status string + func (*Event) IsAnAPIObject() + type EventList struct + Items []Event + func (*EventList) IsAnAPIObject() + type ExecAction struct + Command []string + type GCEPersistentDisk struct + FSType string + PDName string + Partition int + ReadOnly bool + type HTTPGetAction struct + Host string + Path string + Port util.IntOrString + type Handler struct + Exec *ExecAction + HTTPGet *HTTPGetAction + type HostDir struct + Path string + type Lifecycle struct + PostStart *Handler + PreStop *Handler + type LivenessProbe struct + Exec *ExecAction + HTTPGet *HTTPGetAction + InitialDelaySeconds int64 + TCPSocket *TCPSocketAction + type Minion struct + HostIP string + NodeResources NodeResources + func (*Minion) IsAnAPIObject() + type MinionList struct + Items []Minion + func (*MinionList) IsAnAPIObject() + type NodeResources struct + Capacity ResourceList + type ObjectReference struct + APIVersion string + FieldPath string + Kind string + Name string + Namespace string + ResourceVersion string + UID string + func GetReference(obj runtime.Object) (*ObjectReference, error) + type Pod struct + CurrentState PodState + DesiredState PodState + Labels map[string]string + func (*Pod) IsAnAPIObject() + type PodInfo map[string]ContainerStatus + type PodList struct + Items []Pod + func (*PodList) IsAnAPIObject() + type PodSpec struct + Containers []Container + RestartPolicy RestartPolicy + Volumes []Volume + type PodState struct + Host string + HostIP string + Info PodInfo + Manifest ContainerManifest + PodIP string + Status PodStatus + type PodStatus string + const PodRunning + const PodTerminated + const PodWaiting + type PodTemplate struct + DesiredState PodState + Labels map[string]string + type Port struct + ContainerPort int + HostIP string + HostPort int + Name string + Protocol Protocol + type Protocol string + const ProtocolTCP + const ProtocolUDP + type PullPolicy string + const PullAlways + const PullIfNotPresent + const PullNever + type ReplicationController struct + CurrentState ReplicationControllerState + DesiredState ReplicationControllerState + Labels map[string]string + func (*ReplicationController) IsAnAPIObject() + type ReplicationControllerList struct + Items []ReplicationController + func (*ReplicationControllerList) IsAnAPIObject() + type ReplicationControllerState struct + PodTemplate PodTemplate + ReplicaSelector map[string]string + Replicas int + type ResourceList map[ResourceName]util.IntOrString + type ResourceName string + type RestartPolicy struct + Always *RestartPolicyAlways + Never *RestartPolicyNever + OnFailure *RestartPolicyOnFailure + type RestartPolicyAlways struct + type RestartPolicyNever struct + type RestartPolicyOnFailure struct + type ServerOp struct + func (*ServerOp) IsAnAPIObject() + type ServerOpList struct + Items []ServerOp + func (*ServerOpList) IsAnAPIObject() + type Service struct + ContainerPort util.IntOrString + CreateExternalLoadBalancer bool + Labels map[string]string + Port int + Protocol Protocol + Selector map[string]string + func (*Service) IsAnAPIObject() + type ServiceList struct + Items []Service + func (*ServiceList) IsAnAPIObject() + type Status struct + Code int + Details *StatusDetails + Message string + Reason StatusReason + Status string + func (*Status) IsAnAPIObject() + type StatusCause struct + Field string + Message string + Type CauseType + type StatusDetails struct + Causes []StatusCause + ID string + Kind string + type StatusReason string + const StatusReasonAlreadyExists + const StatusReasonConflict + const StatusReasonInvalid + const StatusReasonNotFound + const StatusReasonUnknown + const StatusReasonWorking + type TCPSocketAction struct + Port util.IntOrString + type TypeMeta struct + APIVersion string + Annotations map[string]string + CreationTimestamp util.Time + ID string + Kind string + Namespace string + ResourceVersion string + SelfLink string + UID string + type Volume struct + Name string + Source *VolumeSource + type VolumeMount struct + MountPath string + Name string + ReadOnly bool + type VolumeSource struct + EmptyDir *EmptyDir + GCEPersistentDisk *GCEPersistentDisk + HostDir *HostDir