Versions in this module Expand all Collapse all v0 v0.0.6 Mar 16, 2016 v0.0.5 Mar 8, 2016 v0.0.4 Mar 8, 2016 v0.0.3 Feb 22, 2016 Changes in this version + const ClusterIPNone + const DockerConfigJsonKey + const DockerConfigKey + const ExecCommandParamm + const ExecStderrParam + const ExecStdinParam + const ExecStdoutParam + const ExecTTYParam + const MaxSecretSize + const NamespaceAll + const NamespaceDefault + const NamespaceNone + const NamespaceSystem + const PortForwardRequestIDHeader + const PortHeader + const SecretTypeDockerConfigJson + const SecretTypeDockercfg + const SecretTypeOpaque + const SecretTypeServiceAccountToken + const ServiceAccountKubeconfigKey + const ServiceAccountNameKey + const ServiceAccountRootCAKey + const ServiceAccountTokenKey + const ServiceAccountUIDKey + const StreamType + const StreamTypeData + const StreamTypeError + const StreamTypeStderr + const StreamTypeStdin + const StreamTypeStdout + const TerminationMessagePathDefault + var Codec = runtime.CodecFor(Scheme, "") + var ErrNilObject = errors.New("can't reference a nil object") + var ErrNoSelfLink = errors.New("selfLink was empty, can't make reference") + var ForTesting_ReferencesAllowBlankSelfLinks = false + var RESTMapper meta.RESTMapper + var Scheme = runtime.NewScheme() + var Semantic = conversion.EqualitiesOrDie(func(a, b resource.Quantity) bool { ... }, ...) + func AddToNodeAddresses(addresses *[]NodeAddress, addAddresses ...NodeAddress) + func FillObjectMetaSystemFields(ctx Context, meta *ObjectMeta) + func GenerateName(u NameGenerator, meta *ObjectMeta) + func GetAccessModesAsString(modes []PersistentVolumeAccessMode) string + func HasObjectMetaSystemFieldValues(meta *ObjectMeta) bool + func HashObject(obj runtime.Object, codec runtime.Codec) (string, error) + func IsEmpty(requestsToContexts RequestContextMapper) (bool, error) + func IsNodeReady(node *Node) bool + func IsPodReady(pod *Pod) bool + func IsPodReadyConditionTrue(status PodStatus) bool + func IsServiceIPRequested(service *Service) bool + func IsServiceIPSet(service *Service) bool + func IsStandardFinalizerName(str string) bool + func IsStandardResourceName(str string) bool + func ListMetaFor(obj runtime.Object) (*unversioned.ListMeta, error) + func LoadBalancerStatusEqual(l, r *LoadBalancerStatus) bool + func NamespaceFrom(ctx Context) (string, bool) + func NamespaceValue(ctx Context) string + func NewDefaultRESTMapper(group string, versions []string, interfacesFunc meta.VersionInterfacesFunc, ...) *meta.DefaultRESTMapper + func NewRequestContextFilter(mapper RequestContextMapper, handler http.Handler) (http.Handler, error) + func ParseRFC3339(s string, nowFn func() unversioned.Time) (unversioned.Time, error) + func RegisterRESTMapper(m meta.RESTMapper) + func UserFrom(ctx Context) (user.Info, bool) + func ValidNamespace(ctx Context, resource *ObjectMeta) bool + type AWSElasticBlockStoreVolumeSource struct + FSType string + Partition int + ReadOnly bool + VolumeID string + type Binding struct + Target ObjectReference + func (*Binding) IsAnAPIObject() + type Capabilities struct + Add []Capability + Drop []Capability + type Capability string + type CephFSVolumeSource struct + Monitors []string + ReadOnly bool + SecretFile string + SecretRef *LocalObjectReference + User string + type CinderVolumeSource struct + FSType string + ReadOnly bool + VolumeID string + type ComponentCondition struct + Error string + Message string + Status ConditionStatus + Type ComponentConditionType + type ComponentConditionType string + const ComponentHealthy + type ComponentStatus struct + Conditions []ComponentCondition + func (*ComponentStatus) IsAnAPIObject() + type ComponentStatusList struct + Items []ComponentStatus + func (*ComponentStatusList) IsAnAPIObject() + type ConditionStatus string + const ConditionFalse + const ConditionTrue + const ConditionUnknown + type Container struct + Args []string + Command []string + Env []EnvVar + Image string + ImagePullPolicy PullPolicy + Lifecycle *Lifecycle + LivenessProbe *Probe + Name string + Ports []ContainerPort + ReadinessProbe *Probe + Resources ResourceRequirements + SecurityContext *SecurityContext + Stdin bool + StdinOnce bool + TTY bool + TerminationMessagePath string + VolumeMounts []VolumeMount + WorkingDir string + type ContainerPort struct + ContainerPort int + HostIP string + HostPort int + Name string + Protocol Protocol + type ContainerState struct + Running *ContainerStateRunning + Terminated *ContainerStateTerminated + Waiting *ContainerStateWaiting + type ContainerStateRunning struct + StartedAt unversioned.Time + type ContainerStateTerminated struct + ContainerID string + ExitCode int + FinishedAt unversioned.Time + Message string + Reason string + Signal int + StartedAt unversioned.Time + type ContainerStateWaiting struct + Message string + Reason string + type ContainerStatus struct + ContainerID string + Image string + ImageID string + LastTerminationState ContainerState + Name string + Ready bool + RestartCount int + State ContainerState + func GetContainerStatus(statuses []ContainerStatus, name string) (ContainerStatus, bool) + func GetExistingContainerStatus(statuses []ContainerStatus, name string) ContainerStatus + type Context interface + Value func(key interface{}) interface{} + func NewContext() Context + func NewDefaultContext() Context + func WithNamespace(parent Context, namespace string) Context + func WithNamespaceDefaultIfNone(parent Context) Context + func WithUser(parent Context, user user.Info) Context + func WithValue(parent Context, key interface{}, val interface{}) Context + type ConversionError struct + In interface{} + Message string + Out interface{} + func (c *ConversionError) Error() string + type DNSPolicy string + const DNSClusterFirst + const DNSDefault + type DaemonEndpoint struct + Port int + type DeleteOptions struct + GracePeriodSeconds *int64 + func NewDeleteOptions(grace int64) *DeleteOptions + func (*DeleteOptions) IsAnAPIObject() + type DownwardAPIVolumeFile struct + FieldRef ObjectFieldSelector + Path string + type DownwardAPIVolumeSource struct + Items []DownwardAPIVolumeFile + type EmptyDirVolumeSource struct + Medium StorageMedium + type EndpointAddress struct + IP string + TargetRef *ObjectReference + type EndpointPort struct + Name string + Port int + Protocol Protocol + type EndpointSubset struct + Addresses []EndpointAddress + NotReadyAddresses []EndpointAddress + Ports []EndpointPort + type Endpoints struct + Subsets []EndpointSubset + func (*Endpoints) IsAnAPIObject() + type EndpointsList struct + Items []Endpoints + func (*EndpointsList) IsAnAPIObject() + type EnvVar struct + Name string + Value string + ValueFrom *EnvVarSource + type EnvVarSource struct + FieldRef *ObjectFieldSelector + type Event struct + Count int + FirstTimestamp unversioned.Time + InvolvedObject ObjectReference + LastTimestamp unversioned.Time + Message string + Reason string + Source EventSource + func (*Event) IsAnAPIObject() + type EventList struct + Items []Event + func (*EventList) IsAnAPIObject() + type EventSource struct + Component string + Host string + type ExecAction struct + Command []string + type FCVolumeSource struct + FSType string + Lun *int + ReadOnly bool + TargetWWNs []string + type FinalizerName string + const FinalizerKubernetes + type FlockerVolumeSource struct + DatasetName string + type GCEPersistentDiskVolumeSource struct + FSType string + PDName string + Partition int + ReadOnly bool + type GitRepoVolumeSource struct + Repository string + Revision string + type GlusterfsVolumeSource struct + EndpointsName string + Path string + ReadOnly bool + type HTTPGetAction struct + Host string + Path string + Port util.IntOrString + Scheme URIScheme + type Handler struct + Exec *ExecAction + HTTPGet *HTTPGetAction + TCPSocket *TCPSocketAction + type HostPathVolumeSource struct + Path string + type ISCSIVolumeSource struct + FSType string + IQN string + Lun int + ReadOnly bool + TargetPortal string + type Lifecycle struct + PostStart *Handler + PreStop *Handler + type LimitRange struct + Spec LimitRangeSpec + func (*LimitRange) IsAnAPIObject() + type LimitRangeItem struct + Default ResourceList + DefaultRequest ResourceList + Max ResourceList + MaxLimitRequestRatio ResourceList + Min ResourceList + Type LimitType + type LimitRangeList struct + Items []LimitRange + func (*LimitRangeList) IsAnAPIObject() + type LimitRangeSpec struct + Limits []LimitRangeItem + type LimitType string + const LimitTypeContainer + const LimitTypePod + type List struct + Items []runtime.Object + func (*List) IsAnAPIObject() + type ListOptions struct + FieldSelector fields.Selector + LabelSelector labels.Selector + ResourceVersion string + Watch bool + func (*ListOptions) IsAnAPIObject() + type LoadBalancerIngress struct + Hostname string + IP string + type LoadBalancerStatus struct + Ingress []LoadBalancerIngress + func LoadBalancerStatusDeepCopy(lb *LoadBalancerStatus) *LoadBalancerStatus + type LocalObjectReference struct + Name string + type NFSVolumeSource struct + Path string + ReadOnly bool + Server string + type NameGenerator interface + GenerateName func(base string) string + var SimpleNameGenerator NameGenerator = simpleNameGenerator{} + type Namespace struct + Spec NamespaceSpec + Status NamespaceStatus + func (*Namespace) IsAnAPIObject() + type NamespaceList struct + Items []Namespace + func (*NamespaceList) IsAnAPIObject() + type NamespacePhase string + const NamespaceActive + const NamespaceTerminating + type NamespaceSpec struct + Finalizers []FinalizerName + type NamespaceStatus struct + Phase NamespacePhase + type Node struct + Spec NodeSpec + Status NodeStatus + func (*Node) IsAnAPIObject() + type NodeAddress struct + Address string + Type NodeAddressType + type NodeAddressType string + const NodeExternalIP + const NodeHostName + const NodeInternalIP + const NodeLegacyHostIP + type NodeCondition struct + LastHeartbeatTime unversioned.Time + LastTransitionTime unversioned.Time + Message string + Reason string + Status ConditionStatus + Type NodeConditionType + type NodeConditionType string + const NodeOutOfDisk + const NodeReady + type NodeDaemonEndpoints struct + KubeletEndpoint DaemonEndpoint + type NodeList struct + Items []Node + func (*NodeList) IsAnAPIObject() + type NodePhase string + const NodePending + const NodeRunning + const NodeTerminated + type NodeResources struct + Capacity ResourceList + type NodeSpec struct + ExternalID string + PodCIDR string + ProviderID string + Unschedulable bool + type NodeStatus struct + Addresses []NodeAddress + Capacity ResourceList + Conditions []NodeCondition + DaemonEndpoints NodeDaemonEndpoints + NodeInfo NodeSystemInfo + Phase NodePhase + type NodeSystemInfo struct + BootID string + ContainerRuntimeVersion string + KernelVersion string + KubeProxyVersion string + KubeletVersion string + MachineID string + OsImage string + SystemUUID string + type ObjectFieldSelector struct + APIVersion string + FieldPath string + type ObjectMeta struct + Annotations map[string]string + CreationTimestamp unversioned.Time + DeletionGracePeriodSeconds *int64 + DeletionTimestamp *unversioned.Time + GenerateName string + Generation int64 + Labels map[string]string + Name string + Namespace string + ResourceVersion string + SelfLink string + UID types.UID + func ObjectMetaFor(obj runtime.Object) (*ObjectMeta, error) + type ObjectReference struct + APIVersion string + FieldPath string + Kind string + Name string + Namespace string + ResourceVersion string + UID types.UID + func GetPartialReference(obj runtime.Object, fieldPath string) (*ObjectReference, error) + func GetReference(obj runtime.Object) (*ObjectReference, error) + func (*ObjectReference) IsAnAPIObject() + type PatchType string + const JSONPatchType + const MergePatchType + const StrategicMergePatchType + type PersistentVolume struct + Spec PersistentVolumeSpec + Status PersistentVolumeStatus + func (*PersistentVolume) IsAnAPIObject() + type PersistentVolumeAccessMode string + const ReadOnlyMany + const ReadWriteMany + const ReadWriteOnce + func GetAccessModesFromString(modes string) []PersistentVolumeAccessMode + type PersistentVolumeClaim struct + Spec PersistentVolumeClaimSpec + Status PersistentVolumeClaimStatus + func (*PersistentVolumeClaim) IsAnAPIObject() + type PersistentVolumeClaimList struct + Items []PersistentVolumeClaim + func (*PersistentVolumeClaimList) IsAnAPIObject() + type PersistentVolumeClaimPhase string + const ClaimBound + const ClaimPending + type PersistentVolumeClaimSpec struct + AccessModes []PersistentVolumeAccessMode + Resources ResourceRequirements + VolumeName string + type PersistentVolumeClaimStatus struct + AccessModes []PersistentVolumeAccessMode + Capacity ResourceList + Phase PersistentVolumeClaimPhase + type PersistentVolumeClaimVolumeSource struct + ClaimName string + ReadOnly bool + type PersistentVolumeList struct + Items []PersistentVolume + func (*PersistentVolumeList) IsAnAPIObject() + type PersistentVolumePhase string + const VolumeAvailable + const VolumeBound + const VolumeFailed + const VolumePending + const VolumeReleased + type PersistentVolumeReclaimPolicy string + const PersistentVolumeReclaimDelete + const PersistentVolumeReclaimRecycle + const PersistentVolumeReclaimRetain + type PersistentVolumeSource struct + AWSElasticBlockStore *AWSElasticBlockStoreVolumeSource + CephFS *CephFSVolumeSource + Cinder *CinderVolumeSource + FC *FCVolumeSource + Flocker *FlockerVolumeSource + GCEPersistentDisk *GCEPersistentDiskVolumeSource + Glusterfs *GlusterfsVolumeSource + HostPath *HostPathVolumeSource + ISCSI *ISCSIVolumeSource + NFS *NFSVolumeSource + RBD *RBDVolumeSource + type PersistentVolumeSpec struct + AccessModes []PersistentVolumeAccessMode + Capacity ResourceList + ClaimRef *ObjectReference + PersistentVolumeReclaimPolicy PersistentVolumeReclaimPolicy + type PersistentVolumeStatus struct + Message string + Phase PersistentVolumePhase + Reason string + type Pod struct + Spec PodSpec + Status PodStatus + func (*Pod) IsAnAPIObject() + type PodAttachOptions struct + Container string + Stderr bool + Stdin bool + Stdout bool + TTY bool + func (*PodAttachOptions) IsAnAPIObject() + type PodCondition struct + LastProbeTime unversioned.Time + LastTransitionTime unversioned.Time + Message string + Reason string + Status ConditionStatus + Type PodConditionType + func GetPodReadyCondition(status PodStatus) *PodCondition + type PodConditionType string + const PodReady + type PodExecOptions struct + Command []string + Container string + Stderr bool + Stdin bool + Stdout bool + TTY bool + func (*PodExecOptions) IsAnAPIObject() + type PodList struct + Items []Pod + func (*PodList) IsAnAPIObject() + type PodLogOptions struct + Container string + Follow bool + LimitBytes *int64 + Previous bool + SinceSeconds *int64 + SinceTime *unversioned.Time + TailLines *int64 + Timestamps bool + func (*PodLogOptions) IsAnAPIObject() + type PodPhase string + const PodFailed + const PodPending + const PodRunning + const PodSucceeded + const PodUnknown + type PodProxyOptions struct + Path string + func (*PodProxyOptions) IsAnAPIObject() + type PodSpec struct + ActiveDeadlineSeconds *int64 + Containers []Container + DNSPolicy DNSPolicy + HostIPC bool + HostNetwork bool + HostPID bool + ImagePullSecrets []LocalObjectReference + NodeName string + NodeSelector map[string]string + RestartPolicy RestartPolicy + ServiceAccountName string + TerminationGracePeriodSeconds *int64 + Volumes []Volume + type PodStatus struct + Conditions []PodCondition + ContainerStatuses []ContainerStatus + HostIP string + Message string + Phase PodPhase + PodIP string + Reason string + StartTime *unversioned.Time + type PodStatusResult struct + Status PodStatus + func (*PodStatusResult) IsAnAPIObject() + type PodTemplate struct + Template PodTemplateSpec + func (*PodTemplate) IsAnAPIObject() + type PodTemplateList struct + Items []PodTemplate + func (*PodTemplateList) IsAnAPIObject() + type PodTemplateSpec struct + Spec PodSpec + type Probe struct + InitialDelaySeconds int64 + TimeoutSeconds int64 + type Protocol string + const ProtocolTCP + const ProtocolUDP + type PullPolicy string + const PullAlways + const PullIfNotPresent + const PullNever + type RBDVolumeSource struct + CephMonitors []string + FSType string + Keyring string + RBDImage string + RBDPool string + RadosUser string + ReadOnly bool + SecretRef *LocalObjectReference + type RangeAllocation struct + Data []byte + Range string + func (*RangeAllocation) IsAnAPIObject() + type ReplicationController struct + Spec ReplicationControllerSpec + Status ReplicationControllerStatus + func (*ReplicationController) IsAnAPIObject() + type ReplicationControllerList struct + Items []ReplicationController + func (*ReplicationControllerList) IsAnAPIObject() + type ReplicationControllerSpec struct + Replicas int + Selector map[string]string + Template *PodTemplateSpec + type ReplicationControllerStatus struct + ObservedGeneration int64 + Replicas int + type RequestContextMapper interface + Get func(req *http.Request) (Context, bool) + Update func(req *http.Request, context Context) error + func NewRequestContextMapper() RequestContextMapper + type ResourceList map[ResourceName]resource.Quantity + func (self *ResourceList) Cpu() *resource.Quantity + func (self *ResourceList) Memory() *resource.Quantity + func (self *ResourceList) Pods() *resource.Quantity + type ResourceName string + const ResourceCPU + const ResourceMemory + const ResourcePersistentVolumeClaims + const ResourcePods + const ResourceQuotas + const ResourceReplicationControllers + const ResourceSecrets + const ResourceServices + const ResourceStorage + func (self ResourceName) String() string + type ResourceQuota struct + Spec ResourceQuotaSpec + Status ResourceQuotaStatus + func (*ResourceQuota) IsAnAPIObject() + type ResourceQuotaList struct + Items []ResourceQuota + func (*ResourceQuotaList) IsAnAPIObject() + type ResourceQuotaSpec struct + Hard ResourceList + type ResourceQuotaStatus struct + Hard ResourceList + Used ResourceList + type ResourceRequirements struct + Limits ResourceList + Requests ResourceList + type RestartPolicy string + const RestartPolicyAlways + const RestartPolicyNever + const RestartPolicyOnFailure + type SELinuxOptions struct + Level string + Role string + Type string + User string + type Secret struct + Data map[string][]byte + Type SecretType + func (*Secret) IsAnAPIObject() + type SecretList struct + Items []Secret + func (*SecretList) IsAnAPIObject() + type SecretType string + type SecretVolumeSource struct + SecretName string + type SecurityContext struct + Capabilities *Capabilities + Privileged *bool + RunAsNonRoot bool + RunAsUser *int64 + SELinuxOptions *SELinuxOptions + type SerializedReference struct + Reference ObjectReference + func (*SerializedReference) IsAnAPIObject() + type Service struct + Spec ServiceSpec + Status ServiceStatus + func (*Service) IsAnAPIObject() + type ServiceAccount struct + ImagePullSecrets []LocalObjectReference + Secrets []ObjectReference + func (*ServiceAccount) IsAnAPIObject() + type ServiceAccountList struct + Items []ServiceAccount + func (*ServiceAccountList) IsAnAPIObject() + type ServiceAffinity string + const ServiceAffinityClientIP + const ServiceAffinityNone + type ServiceList struct + Items []Service + func (*ServiceList) IsAnAPIObject() + type ServicePort struct + Name string + NodePort int + Port int + Protocol Protocol + TargetPort util.IntOrString + type ServiceSpec struct + ClusterIP string + ExternalIPs []string + LoadBalancerIP string + Ports []ServicePort + Selector map[string]string + SessionAffinity ServiceAffinity + Type ServiceType + type ServiceStatus struct + LoadBalancer LoadBalancerStatus + type ServiceType string + const ServiceTypeClusterIP + const ServiceTypeLoadBalancer + const ServiceTypeNodePort + type StorageMedium string + const StorageMediumDefault + const StorageMediumMemory + type TCPSocketAction struct + Port util.IntOrString + type URIScheme string + const URISchemeHTTP + const URISchemeHTTPS + type Volume struct + Name string + type VolumeMount struct + MountPath string + Name string + ReadOnly bool + type VolumeSource struct + AWSElasticBlockStore *AWSElasticBlockStoreVolumeSource + CephFS *CephFSVolumeSource + Cinder *CinderVolumeSource + DownwardAPI *DownwardAPIVolumeSource + EmptyDir *EmptyDirVolumeSource + FC *FCVolumeSource + Flocker *FlockerVolumeSource + GCEPersistentDisk *GCEPersistentDiskVolumeSource + GitRepo *GitRepoVolumeSource + Glusterfs *GlusterfsVolumeSource + HostPath *HostPathVolumeSource + ISCSI *ISCSIVolumeSource + NFS *NFSVolumeSource + PersistentVolumeClaim *PersistentVolumeClaimVolumeSource + RBD *RBDVolumeSource + Secret *SecretVolumeSource