package
0.17.0
Repository: https://github.com/mdevilliers/kubernetes.git
Documentation: pkg.go.dev

# Constants

AffinityTypeClientIP is the Client IP based.
AffinityTypeNone - no session affinity.
CauseTypeFieldValueDuplicate is used to report collisions of values that must be unique (e.g.
CauseTypeFieldValueInvalid is used to report malformed values (e.g.
CauseTypeFieldValueNotFound is used to report failure to find a requested value (e.g.
CauseTypeFieldValueNotSupported is used to report valid (as per formatting rules) values that can not be handled (e.g.
CauseTypeFieldValueRequired is used to report required values that are not provided (e.g.
used for PersistentVolumeClaims that are bound.
used for PersistentVolumeClaims that are not yet bound.
These are the valid conditions for the component.
These are valid condition statuses.
These are valid condition statuses.
These are valid condition statuses.
DNSClusterFirst indicates that the pod should use cluster DNS first, if it is available, then fall back on the default (as determined by kubelet) DNS settings.
DNSDefault indicates that the pod should use the default (as determined by kubelet) DNS settings.
These are internal finalizer values to Kubernetes, must be qualified name unless defined here.
Limit that applies to all containers in a namespace.
Limit that applies to all pods in a namespace.
No description provided by the author
NamespaceActive means the namespace is available for use in the system.
NamespaceAll is the default argument to specify on a context when you want to list or filter resources across all namespaces.
NamespaceDefault means the object is in the default namespace which is applied when not specified by clients.
NamespaceTerminating means the namespace is undergoing graceful termination.
These are valid address type of node.
These are valid address type of node.
These are valid address type of node.
NodePending means the node has been created/added by the system, but not configured.
NodeReady means kubelet is healthy and ready to accept pods.
NodeRunning means the node has been configured and has Kubernetes components running.
NodeTerminated means the node has been removed from the cluster.
PodFailed means that all containers in the pod have terminated, and at least one container has terminated in a failure (exited with a non-zero exit code or was stopped by the system).
PodPending means the pod has been accepted by the system, but one or more of the containers has not been started.
PodReady means the pod is able to service requests and should be added to the load balancing pools of all matching services.
PodRunning means the pod has been bound to a node and all of the containers have been started.
PodSucceeded means that all containers in the pod have voluntarily terminated with a container exit code of 0, and the system is not going to restart any of these containers.
PodUnknown means that for some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.
PortalIPNone - do not assign a portal IP no proxying required and no environment variables should be created for pods.
ProtocolTCP is the TCP protocol.
ProtocolUDP is the UDP protocol.
PullAlways means that kubelet always attempts to pull the latest image.
PullIfNotPresent means that kubelet pulls if the image isn't present on disk.
PullNever means that kubelet never pulls an image, but only uses a local image.
can be mounted in read-only mode to many hosts.
can be mounted in read/write mode to many hosts.
can be mounted read/write mode to exactly 1 host.
CPU, in cores.
Memory, in bytes.
ResourcePersistentVolumeClaims, number.
Pods, number.
ResourceQuotas, number.
ReplicationControllers, number.
ResourceSecrets, number.
Services, number.
Volume size, in bytes (e,g.
No description provided by the author
No description provided by the author
No description provided by the author
Default; arbitrary user-defined data.
Values of Status.Status.
StatusReasonAlreadyExists means the resource you are creating already exists.
StatusReasonConflict means the requested update operation cannot be completed due to a conflict in the operation.
StatusReasonInvalid means the requested create or update operation cannot be completed due to invalid data provided as part of the request.
StatusReasonNotFound means one or more resources required for this operation could not be found.
StatusReasonServerTimeout means the server can be reached and understood the request, but cannot complete the action in a reasonable time.
StatusReasonUnknown means the server has declined to indicate a specific reason.
Values of Status.Status.
use whatever the default is for the node.
use memory (tmpfs).
TerminationMessagePathDefault means the default path to capture the application termination message running in a container.
used for PersistentVolumes that are not yet bound.
used for PersistentVolumes that are bound.
used for PersistentVolumes that are not available.
used for PersistentVolumes where the bound PersistentVolumeClaim was deleted released volumes must be recycled before becoming available again.

# Variables

Codec encodes internal objects to the v1beta3 scheme.

# Structs

AWSElasticBlockStoreVolumeSource represents a Persistent Disk resource in AWS.
Binding ties one object to another - for example, a pod is bound to a node by a scheduler.
Capabilities represent POSIX capabilities that can be added or removed to a running container.
No description provided by the author
ComponentStatus (and ComponentStatusList) holds the cluster validation info.
No description provided by the author
Container represents a single container that is expected to be run on the host.
ContainerPort represents a network port in a single container.
ContainerState holds a possible state of container.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DeleteOptions may be provided when deleting an API object.
No description provided by the author
EndpointAddress is a tuple that describes single IP address.
EndpointPort is a tuple that describes a single port.
Endpoints is a collection of endpoints that implement the actual service.
EndpointsList is a list of endpoints.
EndpointSubset is a group of addresses with a common set of ports.
EnvVar represents an environment variable present in a Container.
EnvVarSource represents a source for the value of an EnvVar.
Event is a report of an event somewhere in the cluster.
EventList is a list of events.
No description provided by the author
ExecAction describes a "run in container" action.
GCEPersistentDiskVolumeSource represents a Persistent Disk resource in Google Compute Engine.
GitRepoVolumeSource represents a volume that is pulled from git when the pod is created.
GlusterfsVolumeSource represents a Glusterfs Mount that lasts the lifetime of a pod.
Handler defines a specific action that should be taken TODO: pass structured data to these actions, and document that data here.
HostPathVolumeSource represents bare host directory volume.
HTTPGetAction describes an action based on HTTP Get requests.
A ISCSI Disk can only be mounted as read/write once.
Lifecycle describes actions that the management system should take in response to container lifecycle events.
LimitRange sets resource usage limits for each kind of resource in a Namespace.
LimitRangeItem defines a min/max usage limit for any resource that matches on kind.
LimitRangeList is a list of LimitRange items.
LimitRangeSpec defines a min/max usage limit for resources that match on kind.
List holds a list of objects, which may not be known by the server.
ListMeta describes metadata that synthetic resources must have, including lists and various status objects.
ListOptions is the query options to a standard REST list call.
A namespace provides a scope for Names.
NamespaceList is a list of Namespaces.
NamespaceSpec describes the attributes on a Namespace.
NamespaceStatus is information about the current status of a Namespace.
NFSVolumeSource represents an NFS mount that lasts the lifetime of a pod.
Node is a worker node in Kubernetes.
No description provided by the author
No description provided by the author
NodeList is a list of minions.
NodeSpec describes the attributes that a node is created with.
NodeStatus is information about the current status of a node.
NodeSystemInfo is a set of ids/uuids to uniquely identify the node.
ObjectFieldSelector selects an APIVersioned field of an object.
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
ObjectReference contains enough information to let you inspect or modify the referred object.
No description provided by the author
PersistentVolumeClaim is a user's request for and claim to a persistent volume.
No description provided by the author
PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes.
No description provided by the author
No description provided by the author
No description provided by the author
Similar to VolumeSource but meant for the administrator who creates PVs.
No description provided by the author
No description provided by the author
Pod is a collection of containers that can run on a host.
TODO: add LastTransitionTime, Reason, Message to match NodeCondition api.
PodExecOptions is the query options to a Pod's remote exec call.
PodList is a list of Pods.
PodLogOptions is the query options for a Pod's logs REST call.
PodProxyOptions is the query options to a Pod's proxy call.
PodSpec is a description of a pod.
PodStatus represents information about the status of a pod.
PodStatusResult is a wrapper for PodStatus returned by kubelet that can be encode/decoded.
PodTemplate describes a template for creating copies of a predefined pod.
PodTemplateList is a list of PodTemplates.
PodTemplateSpec describes the data a pod should have when created from a template.
Probe describes a liveness probe to be examined to the container.
RangeAllocation is not a public type.
ReplicationController represents the configuration of a replication controller.
ReplicationControllerList is a collection of replication controllers.
ReplicationControllerSpec is the specification of a replication controller.
ReplicationControllerStatus represents the current status of a replication controller.
ResourceQuota sets aggregate quota restrictions enforced per namespace.
ResourceQuotaList is a list of ResourceQuota items.
ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
ResourceQuotaStatus defines the enforced hard limits and observed use.
ResourceRequirements describes the compute resource requirements.
Secret holds secret data of a certain type.
No description provided by the author
SecretVolumeSource adapts a Secret into a VolumeSource http://docs.k8s.io/design/secrets.md.
SecurityContext holds security configuration that will be applied to a container.
SELinuxOptions are the labels to be applied to the container.
No description provided by the author
Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.
ServiceList holds a list of services.
No description provided by the author
ServiceSpec describes the attributes that a user creates on a service.
ServiceStatus represents the current status of a service.
Status is a return value for calls that don't return other objects.
StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response.
TCPSocketAction describes an action based on opening a socket.
TypeMeta describes an individual object in an API response or request with strings representing the type of the object and its API schema version.
Volume represents a named volume in a pod that may be accessed by any containers in the pod.
VolumeMount describes a mounting of a Volume within a container.
VolumeSource represents the source location of a volume to mount.

# Type aliases

No description provided by the author
Session Affinity Type string.
CapabilityType represent POSIX capabilities type.
CauseType is a machine readable value providing more detail about what occured in a status response.
Type and constants for component health validation.
No description provided by the author
DNSPolicy defines how a pod's DNS will be configured.
No description provided by the author
A type of object that is limited.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PodConditionType is a valid value for PodCondition.Type.
PodPhase is a label for the condition of a pod at the current time.
Protocol defines network protocols supported for things like conatiner ports.
PullPolicy describes a policy for if/when to pull a container image.
ResourceList is a set of (resource name, quantity) pairs.
ResourceName is the name identifying various resources in a ResourceList.
RestartPolicy describes how the container should be restarted.
No description provided by the author
StatusReason is an enumeration of possible failure causes.
StorageType defines ways that storage can be allocated to a volume.