Versions in this module Expand all Collapse all v0 v0.1.0 Jan 31, 2017 Changes in this version + const AffinityAnnotationKey + const DNSClusterFirst + const DNSDefault + const PodFailed + const PodPending + const PodRunning + const PodSucceeded + const PodUnknown + const PullAlways + const PullIfNotPresent + const PullNever + const ResourceCPU + const ResourceMemory + const ResourceStorage + const RestartPolicyAlways + const RestartPolicyNever + const RestartPolicyOnFailure + const ServiceAffinityClientIP + const ServiceAffinityNone + const ServiceTypeClusterIP + const ServiceTypeExternalName + const ServiceTypeLoadBalancer + const ServiceTypeNodePort + const StatusFailure + const StatusSuccess + const URISchemeHTTP + const URISchemeHTTPS + func IsNotFoundError(err error) bool + type Affinity struct + NodeAffinity *NodeAffinity + PodAffinity *PodAffinity + PodAntiAffinity *PodAntiAffinity + type CauseType string + const CauseTypeFieldValueDuplicate + const CauseTypeFieldValueInvalid + const CauseTypeFieldValueNotFound + const CauseTypeFieldValueNotSupported + const CauseTypeFieldValueRequired + const CauseTypeUnexpectedServerResponse + type Client interface + type ConditionStatus string + type ConfigMap struct + Data map[string][]byte + func NewConfigMap(namespace, name string) *ConfigMap + type ConfigMapInterface interface + CreateConfigMap func(namespace string, item *ConfigMap) (*ConfigMap, error) + DeleteConfigMap func(namespace, name string) error + GetConfigMap func(namespace, name string) (result *ConfigMap, err error) + ListConfigMaps func(namespace string, opts *ListOptions) (*ConfigMapList, error) + UpdateConfigMap func(namespace string, item *ConfigMap) (*ConfigMap, error) + WatchConfigMaps func(namespace string, opts *WatchOptions, events chan ConfigMapWatchEvent) error + type ConfigMapKeySelector struct + Key string + type ConfigMapList struct + Items []ConfigMap + type ConfigMapType string + type ConfigMapWatchEvent interface + Object func() (*ConfigMap, error) + Type func() WatchEventType + 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 + 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 Time + type ContainerStateTerminated struct + ContainerID string + ExitCode int + FinishedAt Time + Message string + Reason string + Signal int + StartedAt 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 + type CrossVersionObjectReference struct + APIVersion string + Kind string + Name string + type DNSPolicy string + type DaemonSet struct + Spec *DaemonSetSpec + Status *DaemonSetStatus + func NewDaemonSet(namespace, name string) *DaemonSet + type DaemonSetInterface interface + CreateDaemonSet func(namespace string, item *DaemonSet) (*DaemonSet, error) + DeleteDaemonSet func(namespace, name string) error + GetDaemonSet func(namespace, name string) (result *DaemonSet, err error) + ListDaemonSets func(namespace string, opts *ListOptions) (*DaemonSetList, error) + UpdateDaemonSet func(namespace string, item *DaemonSet) (*DaemonSet, error) + WatchDaemonSets func(namespace string, opts *WatchOptions, events chan DaemonSetWatchEvent) error + type DaemonSetList struct + Items []DaemonSet + type DaemonSetSpec struct + Selector *LabelSelector + Template PodTemplateSpec + type DaemonSetStatus struct + CurrentNumberScheduled int32 + DesiredNumberScheduled int32 + NumberMisscheduled int32 + NumberReady int32 + type DaemonSetWatchEvent interface + Object func() (*DaemonSet, error) + Type func() WatchEventType + type Deployment struct + Spec *DeploymentSpec + Status *DeploymentStatus + func NewDeployment(namespace, name string) *Deployment + type DeploymentInterface interface + CreateDeployment func(namespace string, item *Deployment) (*Deployment, error) + DeleteDeployment func(namespace, name string) error + GetDeployment func(namespace, name string) (result *Deployment, err error) + ListDeployments func(namespace string, opts *ListOptions) (*DeploymentList, error) + UpdateDeployment func(namespace string, item *Deployment) (*Deployment, error) + WatchDeployments func(namespace string, opts *WatchOptions, events chan DeploymentWatchEvent) error + type DeploymentList struct + Items []Deployment + type DeploymentSpec struct + MinReadySeconds int + Paused bool + Replicas int + RevisionHistoryLimit *int + RollbackTo *RollbackConfig + Selector *LabelSelector + Strategy *DeploymentStrategy + Template PodTemplateSpec + type DeploymentStatus struct + AvailableReplicas int + ObservedGeneration int64 + Replicas int + UnavailableReplicas int + UpdatedReplicas int + type DeploymentStrategy struct + RollingUpdate *RollingUpdateDeployment + Type DeploymentStrategyType + type DeploymentStrategyType string + const RecreateDeploymentStrategyType + const RollingUpdateDeploymentStrategyType + type DeploymentWatchEvent interface + Object func() (*Deployment, error) + Type func() WatchEventType + type EmptyDirVolumeSource struct + Medium StorageMedium + type EndpointAddress struct + Hostname string + IP string + NodeName string + TargetRef *ObjectReference + type EndpointPort struct + Name string + Port int32 + Protocol string + type EndpointSubset struct + Addresses []EndpointAddress + NotReadyAddresses []EndpointAddress + Ports []EndpointPort + type Endpoints struct + Subsets []EndpointSubset + type EndpointsInterface interface + CreateEndpoints func(namespace string, item *Endpoints) (*Endpoints, error) + DeleteEndpoints func(namespace, name string) error + GetEndpoints func(namespace, name string) (result *Endpoints, err error) + ListEndpoints func(namespace string, opts *ListOptions) (*EndpointsList, error) + UpdateEndpoints func(namespace string, item *Endpoints) (*Endpoints, error) + WatchEndpoints func(namespace string, opts *WatchOptions, events chan EndpointsWatchEvent) error + type EndpointsList struct + Items []Endpoints + type EndpointsWatchEvent interface + Object func() (*Endpoints, error) + Type func() WatchEventType + type EnvVar struct + Name string + Value string + ValueFrom *EnvVarSource + type EnvVarSource struct + ConfigMapKeyRef *ConfigMapKeySelector + FieldRef *ObjectFieldSelector + SecretKeyRef *SecretKeySelector + type ExecAction struct + Command []string + type FieldSelector map[string]string + type FinalizerName string + type HTTPGetAction struct + HTTPHeaders []HTTPHeader + Host string + Path string + Port intstr.IntOrString + Scheme URIScheme + type HTTPHeader struct + Name string + Value string + type HTTPIngressPath struct + Backend IngressBackend + Path string + type HTTPIngressRuleValue struct + Paths []HTTPIngressPath + type Handler struct + Exec *ExecAction + HTTPGet *HTTPGetAction + TCPSocket *TCPSocketAction + type HorizontalPodAutoscaler struct + Spec *HorizontalPodAutoscalerSpec + Status *HorizontalPodAutoscalerStatus + func NewHorizontalPodAutoscaler(namespace, name string) *HorizontalPodAutoscaler + type HorizontalPodAutoscalerInterface interface + CreateHorizontalPodAutoscaler func(namespace string, item *HorizontalPodAutoscaler) (*HorizontalPodAutoscaler, error) + DeleteHorizontalPodAutoscaler func(namespace, name string) error + GetHorizontalPodAutoscaler func(namespace, name string) (result *HorizontalPodAutoscaler, err error) + ListHorizontalPodAutoscalers func(namespace string, opts *ListOptions) (*HorizontalPodAutoscalerList, error) + UpdateHorizontalPodAutoscaler func(namespace string, item *HorizontalPodAutoscaler) (*HorizontalPodAutoscaler, error) + WatchHorizontalPodAutoscalers func(namespace string, opts *WatchOptions, ...) error + type HorizontalPodAutoscalerList struct + Items []HorizontalPodAutoscaler + type HorizontalPodAutoscalerSpec struct + MaxReplicas int32 + MinReplicas *int32 + ScaleTargetRef CrossVersionObjectReference + TargetCPUUtilizationPercentage *int32 + type HorizontalPodAutoscalerStatus struct + CurrentCPUUtilizationPercentage *int32 + CurrentReplicas int32 + DesiredReplicas int32 + LastScaleTime *Time + ObservedGeneration *int64 + type HorizontalPodAutoscalerWatchEvent interface + Object func() (*HorizontalPodAutoscaler, error) + Type func() WatchEventType + type HostPathVolumeSource struct + Path string + type Ingress struct + Spec *IngressSpec + Status *IngressStatus + func NewIngress(namespace, name string) *Ingress + type IngressBackend struct + ServiceName string + ServicePort intstr.IntOrString + type IngressInterface interface + CreateIngress func(namespace string, item *Ingress) (*Ingress, error) + DeleteIngress func(namespace, name string) error + GetIngress func(namespace, name string) (result *Ingress, err error) + ListIngresses func(namespace string, opts *ListOptions) (*IngressList, error) + UpdateIngress func(namespace string, item *Ingress) (*Ingress, error) + WatchIngresses func(namespace string, opts *WatchOptions, events chan IngressWatchEvent) error + type IngressList struct + Items []Ingress + type IngressRule struct + HTTP *HTTPIngressRuleValue + Host string + type IngressSpec struct + Backend *IngressBackend + Rules []IngressRule + TLS []IngressTLS + type IngressStatus struct + LoadBalancer *LoadBalancerStatus + type IngressTLS struct + Hosts []string + SecretName string + type IngressWatchEvent interface + Object func() (*Ingress, error) + Type func() WatchEventType + type Job struct + Spec *JobSpec + Status *JobStatus + func NewJob(namespace, name string) *Job + type JobCondition struct + LastProbeTime Time + LastTransitionTime Time + Message string + Reason string + Status string + Type string + type JobInterface interface + CreateJob func(namespace string, item *Job) (*Job, error) + DeleteJob func(namespace, name string) error + GetJob func(namespace, name string) (result *Job, err error) + ListJobs func(namespace string, opts *ListOptions) (*JobList, error) + UpdateJob func(namespace string, item *Job) (*Job, error) + WatchJobs func(namespace string, opts *WatchOptions, events chan JobWatchEvent) error + type JobList struct + Items []Job + type JobSpec struct + ActiveDeadlineSeconds int64 + Completions int32 + ManualSelector bool + Parallelism int32 + Selector *LabelSelector + Template PodTemplateSpec + type JobStatus struct + Active int32 + CompletionTime Time + Conditions []JobCondition + Failed int32 + StartTime Time + Succeeded int32 + type JobWatchEvent interface + Object func() (*Job, error) + Type func() WatchEventType + type KeyToPath struct + Key string + Mode int32 + Path string + type LabelSelector struct + MatchLabels map[string]string + type Lifecycle struct + PostStart *Handler + PreStop *Handler + type ListMeta struct + ResourceVersion string + SelfLink string + type ListObject interface + GetItems func() + type ListOptions struct + FieldSelector FieldSelector + LabelSelector LabelSelector + type LoadBalancerIngress struct + Hostname string + IP string + type LoadBalancerStatus struct + Ingress []LoadBalancerIngress + type LocalObjectReference struct + Name string + type Namespace struct + Spec *NamespaceSpec + Status *NamespaceStatus + func NewNamespace(name string) *Namespace + type NamespaceInterface interface + CreateNamespace func(item *Namespace) (*Namespace, error) + DeleteNamespace func(name string) error + GetNamespace func(name string) (result *Namespace, err error) + ListNamespaces func(opts *ListOptions) (*NamespaceList, error) + UpdateNamespace func(item *Namespace) (*Namespace, error) + WatchNamespaces func(opts *WatchOptions, events chan NamespaceWatchEvent) error + type NamespaceList struct + Items []Namespace + type NamespacePhase string + type NamespaceSpec struct + Finalizers []FinalizerName + type NamespaceStatus struct + Phase NamespacePhase + type NamespaceWatchEvent interface + Object func() (*Namespace, error) + Type func() WatchEventType + type NamespacedObject interface + GetNamespace func() string + type Node struct + Spec NodeSpec + Status NodeStatus + type NodeAddress struct + Address string + Type NodeAddressType + type NodeAddressType string + type NodeAffinity struct + PreferredDuringSchedulingIgnoredDuringExecution []PreferredSchedulingTerm + RequiredDuringSchedulingIgnoredDuringExecution *NodeSelector + type NodeCondition struct + Message string + Reason string + Status ConditionStatus + Type NodeConditionType + type NodeConditionType string + type NodeInterface interface + CreateNode func(item *Node) (*Node, error) + DeleteNode func(name string) error + GetNode func(name string) (result *Node, err error) + ListNodes func(opts *ListOptions) (*NodeList, error) + UpdateNode func(item *Node) (*Node, error) + WatchNodes func(opts *WatchOptions, events chan NodeWatchEvent) error + type NodeList struct + Items []Node + type NodePhase string + type NodeSelector struct + NodeSelectorTerms []NodeSelectorTerm + type NodeSelectorRequirement struct + Key string + Operator string + Values []string + type NodeSelectorTerm struct + MatchExpressions []NodeSelectorRequirement + type NodeSpec struct + ExternalID string + PodCIDR string + ProviderID string + Unschedulable bool + type NodeStatus struct + Addresses []NodeAddress + Conditions []NodeCondition + NodeInfo *NodeSystemInfo + Phase NodePhase + type NodeSystemInfo struct + Architecture string + BootID string + ContainerRuntimeVersion string + KernelVersion string + KubeProxyVersion string + KubeletVersion string + MachineID string + OSImage string + OperatingSystem string + SystemUUID string + type NodeWatchEvent interface + Object func() (*Node, error) + Type func() WatchEventType + type Object interface + GetAnnotations func() map[string]string + GetKind func() string + GetLabels func() map[string]string + SetLabels func(labels map[string]string) + type ObjectFieldSelector struct + APIVersion string + FieldPath string + type ObjectMeta struct + Annotations map[string]string + CreationTimestamp *Time + DeletionTimestamp *Time + Generation int64 + Labels map[string]string + Name string + Namespace string + ResourceVersion string + SelfLink string + UID UID + func NewObjectMeta(namespace, name string) ObjectMeta + func (o *ObjectMeta) GetAnnotations() map[string]string + func (o *ObjectMeta) GetLabels() map[string]string + func (o *ObjectMeta) GetNamespace() string + func (o *ObjectMeta) SetLabels(labels map[string]string) + type ObjectReference struct + APIVersion string + FieldPath string + Kind string + Name string + Namespace string + ResourceVersion string + UID UID + type Pod struct + Spec *PodSpec + Status *PodStatus + type PodAffinity struct + PreferredDuringSchedulingIgnoredDuringExecution []WeightedPodAffinityTerm + RequiredDuringSchedulingIgnoredDuringExecution []PodAffinityTerm + type PodAffinityTerm struct + LabelSelector *LabelSelector + Namespaces []string + TopologyKey string + type PodAntiAffinity struct + PreferredDuringSchedulingIgnoredDuringExecution []WeightedPodAffinityTerm + RequiredDuringSchedulingIgnoredDuringExecution []PodAffinityTerm + type PodCondition struct + LastProbeTime Time + LastTransitionTime Time + Message string + Reason string + Status ConditionStatus + Type PodConditionType + type PodConditionType string + type PodInterface interface + CreatePod func(namespace string, item *Pod) (*Pod, error) + DeletePod func(namespace, name string) error + GetPod func(namespace, name string) (result *Pod, err error) + ListPods func(namespace string, opts *ListOptions) (*PodList, error) + UpdatePod func(namespace string, item *Pod) (*Pod, error) + WatchPods func(namespace string, opts *WatchOptions, events chan PodWatchEvent) error + type PodList struct + Items []Pod + type PodPhase string + type PodSecurityContext struct + FSGroup int64 + RunAsNonRoot bool + RunAsUser int64 + SELinuxOptions *SELinuxOptions + SupplementalGroups []int32 + type PodSpec struct + ActiveDeadlineSeconds *int64 + Containers []Container + DNSPolicy DNSPolicy + HostIPC bool + HostNetwork bool + HostPID bool + Hostname string + ImagePullSecrets []LocalObjectReference + NodeName string + NodeSelector map[string]string + RestartPolicy RestartPolicy + SecurityContext *PodSecurityContext + ServiceAccountName string + Subdomain string + TerminationGracePeriodSeconds *int64 + Volumes []Volume + type PodStatus struct + Conditions []PodCondition + ContainerStatuses []ContainerStatus + HostIP string + Message string + Phase PodPhase + PodIP string + Reason string + StartTime *Time + type PodTemplateSpec struct + Spec *PodSpec + func NewPodTemplateSpec(namespace, name string) *PodTemplateSpec + type PodWatchEvent interface + Object func() (*Pod, error) + Type func() WatchEventType + type PreferredSchedulingTerm struct + Preference *NodeSelectorTerm + Weight int32 + type Probe struct + FailureThreshold int + InitialDelaySeconds int + PeriodSeconds int + SuccessThreshold int + TimeoutSeconds int + type Protocol string + type PullPolicy string + type ReplicaSet struct + Spec *ReplicaSetSpec + Status *ReplicaSetStatus + func NewReplicaSet(namespace, name string) *ReplicaSet + type ReplicaSetInterface interface + CreateReplicaSet func(namespace string, item *ReplicaSet) (*ReplicaSet, error) + DeleteReplicaSet func(namespace, name string) error + GetReplicaSet func(namespace, name string) (result *ReplicaSet, err error) + ListReplicaSets func(namespace string, opts *ListOptions) (*ReplicaSetList, error) + UpdateReplicaSet func(namespace string, item *ReplicaSet) (*ReplicaSet, error) + WatchReplicaSets func(namespace string, opts *WatchOptions, events chan ReplicaSetWatchEvent) error + type ReplicaSetList struct + Items []ReplicaSet + type ReplicaSetSpec struct + Replicas int32 + Selector *LabelSelector + Template *PodTemplateSpec + type ReplicaSetStatus struct + FullyLabeledReplicas int32 + ObservedGeneration int64 + Replicas int32 + type ReplicaSetWatchEvent interface + Object func() (*ReplicaSet, error) + Type func() WatchEventType + type ResourceList map[ResourceName]string + type ResourceName string + type ResourceRequirements struct + Limits ResourceList + Requests ResourceList + type RestartPolicy string + type RollbackConfig struct + Revision int64 + type RollingUpdateDeployment struct + MaxSurge intstr.IntOrString + MaxUnavailable intstr.IntOrString + type SELinuxOptions struct + Level string + Role string + Type string + User string + type Secret struct + Data map[string][]byte + Type SecretType + func NewSecret(namespace, name string) *Secret + type SecretInterface interface + CreateSecret func(namespace string, item *Secret) (*Secret, error) + DeleteSecret func(namespace, name string) error + GetSecret func(namespace, name string) (result *Secret, err error) + ListSecrets func(namespace string, opts *ListOptions) (*SecretList, error) + UpdateSecret func(namespace string, item *Secret) (*Secret, error) + WatchSecrets func(namespace string, opts *WatchOptions, events chan SecretWatchEvent) error + type SecretKeySelector struct + Key string + type SecretList struct + Items []Secret + type SecretType string + type SecretVolumeSource struct + DefaultMode int32 + Items []KeyToPath + SecretName string + type SecretWatchEvent interface + Object func() (*Secret, error) + Type func() WatchEventType + type Service struct + Spec *ServiceSpec + Status *ServiceStatus + func NewService(namespace, name string) *Service + type ServiceAccount struct + ImagePullSecrets []LocalObjectReference + Secrets []ObjectReference + func NewServiceAccount(namespace, name string) *ServiceAccount + type ServiceAccountInterface interface + CreateServiceAccount func(namespace string, item *ServiceAccount) (*ServiceAccount, error) + DeleteServiceAccount func(namepsace, name string) error + GetServiceAccount func(namespace, name string) (result *ServiceAccount, err error) + ListServiceAccounts func(namespace string, opts *ListOptions) (*ServiceAccountList, error) + UpdateServiceAccount func(namespace string, item *ServiceAccount) (*ServiceAccount, error) + WatchServiceAccounts func(namespace string, opts *WatchOptions, events chan ServiceAccountWatchEvent) error + type ServiceAccountList struct + Items []ServiceAccount + type ServiceAccountWatchEvent interface + Object func() (*ServiceAccount, error) + Type func() WatchEventType + type ServiceAffinity string + type ServiceInterface interface + CreateService func(namespace string, item *Service) (*Service, error) + DeleteService func(namespace, name string) error + GetService func(namespace, name string) (result *Service, err error) + ListServices func(namespace string, opts *ListOptions) (*ServiceList, error) + UpdateService func(namespace string, item *Service) (*Service, error) + WatchServices func(namespace string, opts *WatchOptions, events chan ServiceWatchEvent) error + type ServiceList struct + Items []Service + type ServicePort struct + Name string + NodePort int32 + Port int32 + Protocol Protocol + TargetPort intstr.IntOrString + type ServiceSpec struct + ClusterIP string + ExternalIPs []string + ExternalName string + LoadBalancerIP string + LoadBalancerSourceRanges []string + Ports []ServicePort + Selector map[string]string + SessionAffinity ServiceAffinity + Type ServiceType + type ServiceStatus struct + LoadBalancer *LoadBalancerStatus + type ServiceType string + type ServiceWatchEvent interface + Object func() (*Service, error) + Type func() WatchEventType + type Status struct + Code int32 + Details *StatusDetails + Message string + Reason StatusReason + Status string + func (s *Status) Error() string + type StatusCause struct + Field string + Message string + Type CauseType + type StatusDetails struct + Causes []StatusCause + Group string + Kind string + Name string + RetryAfterSeconds int32 + type StatusReason string + type StorageMedium string + type TCPSocketAction struct + Port intstr.IntOrString + type Time struct + func Date(year int, month time.Month, day, hour, min, sec, nsec int, loc *time.Location) Time + func Now() Time + func Unix(sec int64, nsec int64) Time + func (t *Time) IsZero() bool + func (t *Time) UnmarshalJSON(b []byte) error + func (t *Time) UnmarshalQueryParameter(str string) error + func (t Time) Before(u Time) bool + func (t Time) Equal(u Time) bool + func (t Time) MarshalJSON() ([]byte, error) + func (t Time) MarshalQueryParameter() (string, error) + func (t Time) Rfc3339Copy() Time + type TypeMeta struct + APIVersion string + Kind string + func NewTypeMeta(kind, apiVersion string) TypeMeta + func (t *TypeMeta) GetKind() string + type UID string + type URIScheme string + type Volume struct + Name string + type VolumeMount struct + MountPath string + Name string + ReadOnly bool + type VolumeSource struct + EmptyDir *EmptyDirVolumeSource + HostPath *HostPathVolumeSource + Secret *SecretVolumeSource + type WatchEvent struct + Object json.RawMessage + Type WatchEventType + func (e *WatchEvent) UnmarshalObject(object interface{}) error + type WatchEventType string + const WatchEventTypeAdded + const WatchEventTypeDeleted + const WatchEventTypeError + const WatchEventTypeModified + type WatchOptions struct + ResourceVersion string + type WeightedPodAffinityTerm struct + PodAffinityTerm PodAffinityTerm + Weight int32