v1

package
v1.17.0-pre.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 13 Imported by: 25

Documentation

Overview

Package v1 is the v1 version of the core API.

Index

Constants

View Source
const (
	// NamespaceDefault means the object is in the default namespace which is applied when not specified by clients
	NamespaceDefault string = "default"
	// NamespaceAll is the default argument to specify on a context when you want to list or filter resources across all namespaces
	NamespaceAll string = ""
	// NamespaceNodeLease is the namespace where we place node lease objects (used for node heartbeats)
	NamespaceNodeLease string = "kube-node-lease"
)
View Source
const (
	// PodReasonUnschedulable reason in PodScheduled PodCondition means that the scheduler
	// can't schedule the pod right now, for example due to insufficient resources in the cluster.
	PodReasonUnschedulable = "Unschedulable"

	// PodReasonSchedulingGated reason in PodScheduled PodCondition means that the scheduler
	// skips scheduling the pod because one or more scheduling gates are still present.
	PodReasonSchedulingGated = "SchedulingGated"

	// PodReasonSchedulerError reason in PodScheduled PodCondition means that some internal error happens
	// during scheduling, for example due to nodeAffinity parsing errors.
	PodReasonSchedulerError = "SchedulerError"

	// TerminationByKubelet reason in DisruptionTarget pod condition indicates that the termination
	// is initiated by kubelet
	PodReasonTerminationByKubelet = "TerminationByKubelet"

	// PodReasonPreemptionByScheduler reason in DisruptionTarget pod condition indicates that the
	// disruption was initiated by scheduler's preemption.
	PodReasonPreemptionByScheduler = "PreemptionByScheduler"
)

These are reasons for a pod's transition to a condition.

View Source
const (
	// LoadBalancerPortsError represents the condition of the requested ports
	// on the cloud load balancer instance.
	LoadBalancerPortsError = "LoadBalancerPortsError"
	// LoadBalancerPortsErrorReason reason in ServiceStatus condition LoadBalancerPortsError
	// means the LoadBalancer was not able to be configured correctly.
	LoadBalancerPortsErrorReason = "LoadBalancerMixedProtocolNotSupported"
)

These are the valid conditions of a service.

View Source
const (
	// SecretTypeOpaque is the default. Arbitrary user-defined data
	SecretTypeOpaque SecretType = "Opaque"

	// SecretTypeServiceAccountToken contains a token that identifies a service account to the API
	//
	// Required fields:
	// - Secret.Annotations["kubernetes.io/service-account.name"] - the name of the ServiceAccount the token identifies
	// - Secret.Annotations["kubernetes.io/service-account.uid"] - the UID of the ServiceAccount the token identifies
	// - Secret.Data["token"] - a token that identifies the service account to the API
	SecretTypeServiceAccountToken SecretType = "kubernetes.io/service-account-token"

	// ServiceAccountNameKey is the key of the required annotation for SecretTypeServiceAccountToken secrets
	ServiceAccountNameKey = "kubernetes.io/service-account.name"
	// ServiceAccountUIDKey is the key of the required annotation for SecretTypeServiceAccountToken secrets
	ServiceAccountUIDKey = "kubernetes.io/service-account.uid"
	// ServiceAccountTokenKey is the key of the required data for SecretTypeServiceAccountToken secrets
	ServiceAccountTokenKey = "token"
	// ServiceAccountKubeconfigKey is the key of the optional kubeconfig data for SecretTypeServiceAccountToken secrets
	ServiceAccountKubeconfigKey = "kubernetes.kubeconfig"
	// ServiceAccountRootCAKey is the key of the optional root certificate authority for SecretTypeServiceAccountToken secrets
	ServiceAccountRootCAKey = "ca.crt"
	// ServiceAccountNamespaceKey is the key of the optional namespace to use as the default for namespaced API calls
	ServiceAccountNamespaceKey = "namespace"

	// SecretTypeDockercfg contains a dockercfg file that follows the same format rules as ~/.dockercfg
	//
	// Required fields:
	// - Secret.Data[".dockercfg"] - a serialized ~/.dockercfg file
	SecretTypeDockercfg SecretType = "kubernetes.io/dockercfg"

	// DockerConfigKey is the key of the required data for SecretTypeDockercfg secrets
	DockerConfigKey = ".dockercfg"

	// SecretTypeDockerConfigJson contains a dockercfg file that follows the same format rules as ~/.docker/config.json
	//
	// Required fields:
	// - Secret.Data[".dockerconfigjson"] - a serialized ~/.docker/config.json file
	SecretTypeDockerConfigJson SecretType = "kubernetes.io/dockerconfigjson"

	// DockerConfigJsonKey is the key of the required data for SecretTypeDockerConfigJson secrets
	DockerConfigJsonKey = ".dockerconfigjson"

	// SecretTypeBasicAuth contains data needed for basic authentication.
	//
	// Required at least one of fields:
	// - Secret.Data["username"] - username used for authentication
	// - Secret.Data["password"] - password or token needed for authentication
	SecretTypeBasicAuth SecretType = "kubernetes.io/basic-auth"

	// BasicAuthUsernameKey is the key of the username for SecretTypeBasicAuth secrets
	BasicAuthUsernameKey = "username"
	// BasicAuthPasswordKey is the key of the password or token for SecretTypeBasicAuth secrets
	BasicAuthPasswordKey = "password"

	// SecretTypeSSHAuth contains data needed for SSH authetication.
	//
	// Required field:
	// - Secret.Data["ssh-privatekey"] - private SSH key needed for authentication
	SecretTypeSSHAuth SecretType = "kubernetes.io/ssh-auth"

	// SSHAuthPrivateKey is the key of the required SSH private key for SecretTypeSSHAuth secrets
	SSHAuthPrivateKey = "ssh-privatekey"
	// SecretTypeTLS contains information about a TLS client or server secret. It
	// is primarily used with TLS termination of the Ingress resource, but may be
	// used in other types.
	//
	// Required fields:
	// - Secret.Data["tls.key"] - TLS private key.
	//   Secret.Data["tls.crt"] - TLS certificate.
	// TODO: Consider supporting different formats, specifying CA/destinationCA.
	SecretTypeTLS SecretType = "kubernetes.io/tls"

	// TLSCertKey is the key for tls certificates in a TLS secret.
	TLSCertKey = "tls.crt"
	// TLSPrivateKeyKey is the key for the private key field in a TLS secret.
	TLSPrivateKeyKey = "tls.key"
	// SecretTypeBootstrapToken is used during the automated bootstrap process (first
	// implemented by kubeadm). It stores tokens that are used to sign well known
	// ConfigMaps. They are used for authn.
	SecretTypeBootstrapToken SecretType = "bootstrap.kubernetes.io/token"
)
View Source
const (
	// ClusterIPNone - do not assign a cluster IP
	// no proxying required and no environment variables should be created for pods
	ClusterIPNone = "None"
)
View Source
const DefaultClientIPServiceAffinitySeconds int32 = 10800
View Source
const (
	// DefaultTerminationGracePeriodSeconds indicates the default duration in
	// seconds a pod needs to terminate gracefully.
	DefaultTerminationGracePeriodSeconds = 30
)
View Source
const GroupName = ""

GroupName is the group name use in this package

View Source
const MaxSecretSize = 1 * 1024 * 1024

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// We only register manually written functions here. The registration of the
	// generated functions takes place in the generated files. The separation
	// makes the code compile even when the generated files are missing.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Bytes

type Bytes []byte

Bytes type is used to avoid issue with deepequal deepequal.go:607 Hit an unsupported type []byte for map[string][]byte, from map[string][]byte

func (Bytes) DeepCopy

func (in Bytes) DeepCopy() Bytes

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bytes.

func (Bytes) DeepCopyInto

func (in Bytes) DeepCopyInto(out *Bytes)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Bytes) DeepEqual

func (in *Bytes) DeepEqual(other *Bytes) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

type ClientIPConfig

type ClientIPConfig struct {
	// timeoutSeconds specifies the seconds of ClientIP type session sticky time.
	// The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP".
	// Default value is 10800(for 3 hours).
	// +optional
	TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty" protobuf:"varint,1,opt,name=timeoutSeconds"`
}

ClientIPConfig represents the configurations of Client IP based session affinity.

func (*ClientIPConfig) DeepCopy

func (in *ClientIPConfig) DeepCopy() *ClientIPConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientIPConfig.

func (*ClientIPConfig) DeepCopyInto

func (in *ClientIPConfig) DeepCopyInto(out *ClientIPConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClientIPConfig) DeepEqual

func (in *ClientIPConfig) DeepEqual(other *ClientIPConfig) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*ClientIPConfig) Descriptor

func (*ClientIPConfig) Descriptor() ([]byte, []int)

func (*ClientIPConfig) Marshal

func (m *ClientIPConfig) Marshal() (dAtA []byte, err error)

func (*ClientIPConfig) MarshalTo

func (m *ClientIPConfig) MarshalTo(dAtA []byte) (int, error)

func (*ClientIPConfig) MarshalToSizedBuffer

func (m *ClientIPConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClientIPConfig) ProtoMessage

func (*ClientIPConfig) ProtoMessage()

func (*ClientIPConfig) Reset

func (m *ClientIPConfig) Reset()

func (*ClientIPConfig) Size

func (m *ClientIPConfig) Size() (n int)

func (*ClientIPConfig) String

func (this *ClientIPConfig) String() string

func (*ClientIPConfig) Unmarshal

func (m *ClientIPConfig) Unmarshal(dAtA []byte) error

func (*ClientIPConfig) XXX_DiscardUnknown

func (m *ClientIPConfig) XXX_DiscardUnknown()

func (*ClientIPConfig) XXX_Marshal

func (m *ClientIPConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientIPConfig) XXX_Merge

func (m *ClientIPConfig) XXX_Merge(src proto.Message)

func (*ClientIPConfig) XXX_Size

func (m *ClientIPConfig) XXX_Size() int

func (*ClientIPConfig) XXX_Unmarshal

func (m *ClientIPConfig) XXX_Unmarshal(b []byte) error

type ConditionStatus

type ConditionStatus string
const (
	ConditionTrue    ConditionStatus = "True"
	ConditionFalse   ConditionStatus = "False"
	ConditionUnknown ConditionStatus = "Unknown"
)

These are valid condition statuses. "ConditionTrue" means a resource is in the condition. "ConditionFalse" means a resource is not in the condition. "ConditionUnknown" means kubernetes can't decide if a resource is in the condition or not. In the future, we could add other intermediate conditions, e.g. ConditionDegraded.

type Container

type Container struct {
	// Name of the container specified as a DNS_LABEL.
	// Each container in a pod must have a unique name (DNS_LABEL).
	// Cannot be updated.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Container image name.
	// More info: https://kubernetes.io/docs/concepts/containers/images
	// This field is optional to allow higher level config management to default or override
	// container images in workload controllers like Deployments and StatefulSets.
	// +optional
	Image string `json:"image,omitempty" protobuf:"bytes,2,opt,name=image"`
	// List of ports to expose from the container. Not specifying a port here
	// DOES NOT prevent that port from being exposed. Any port which is
	// listening on the default "0.0.0.0" address inside a container will be
	// accessible from the network.
	// Modifying this array with strategic merge patch may corrupt the data.
	// For more information See https://github.com/kubernetes/kubernetes/issues/108255.
	// Cannot be updated.
	// +optional
	// +patchMergeKey=containerPort
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=containerPort
	// +listMapKey=protocol
	Ports []ContainerPort `json:"ports,omitempty" patchStrategy:"merge" patchMergeKey:"containerPort" protobuf:"bytes,6,rep,name=ports"`
	// Pod volumes to mount into the container's filesystem.
	// Cannot be updated.
	// +optional
	// +patchMergeKey=mountPath
	// +patchStrategy=merge
	VolumeMounts []VolumeMount `json:"volumeMounts,omitempty" patchStrategy:"merge" patchMergeKey:"mountPath" protobuf:"bytes,9,rep,name=volumeMounts"`
}

A single application container that you want to run within a pod.

func (*Container) DeepCopy

func (in *Container) DeepCopy() *Container

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.

func (*Container) DeepCopyInto

func (in *Container) DeepCopyInto(out *Container)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Container) DeepEqual

func (in *Container) DeepEqual(other *Container) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*Container) Descriptor

func (*Container) Descriptor() ([]byte, []int)

func (*Container) Marshal

func (m *Container) Marshal() (dAtA []byte, err error)

func (*Container) MarshalTo

func (m *Container) MarshalTo(dAtA []byte) (int, error)

func (*Container) MarshalToSizedBuffer

func (m *Container) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) Reset

func (m *Container) Reset()

func (*Container) Size

func (m *Container) Size() (n int)

func (*Container) String

func (this *Container) String() string

func (*Container) Unmarshal

func (m *Container) Unmarshal(dAtA []byte) error

func (*Container) XXX_DiscardUnknown

func (m *Container) XXX_DiscardUnknown()

func (*Container) XXX_Marshal

func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Container) XXX_Merge

func (m *Container) XXX_Merge(src proto.Message)

func (*Container) XXX_Size

func (m *Container) XXX_Size() int

func (*Container) XXX_Unmarshal

func (m *Container) XXX_Unmarshal(b []byte) error

type ContainerPort

type ContainerPort struct {
	// If specified, this must be an IANA_SVC_NAME and unique within the pod. Each
	// named port in a pod must have a unique name. Name for the port that can be
	// referred to by services.
	// +optional
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// Number of port to expose on the host.
	// If specified, this must be a valid port number, 0 < x < 65536.
	// If HostNetwork is specified, this must match ContainerPort.
	// Most containers do not need this.
	// +optional
	HostPort int32 `json:"hostPort,omitempty" protobuf:"varint,2,opt,name=hostPort"`
	// Number of port to expose on the pod's IP address.
	// This must be a valid port number, 0 < x < 65536.
	ContainerPort int32 `json:"containerPort" protobuf:"varint,3,opt,name=containerPort"`
	// Protocol for port. Must be UDP, TCP, or SCTP.
	// Defaults to "TCP".
	// +optional
	// +default="TCP"
	Protocol Protocol `json:"protocol,omitempty" protobuf:"bytes,4,opt,name=protocol,casttype=Protocol"`
	// What host IP to bind the external port to.
	// +optional
	HostIP string `json:"hostIP,omitempty" protobuf:"bytes,5,opt,name=hostIP"`
}

ContainerPort represents a network port in a single container.

func (*ContainerPort) DeepCopy

func (in *ContainerPort) DeepCopy() *ContainerPort

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerPort.

func (*ContainerPort) DeepCopyInto

func (in *ContainerPort) DeepCopyInto(out *ContainerPort)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContainerPort) DeepEqual

func (in *ContainerPort) DeepEqual(other *ContainerPort) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*ContainerPort) Descriptor

func (*ContainerPort) Descriptor() ([]byte, []int)

func (*ContainerPort) Marshal

func (m *ContainerPort) Marshal() (dAtA []byte, err error)

func (*ContainerPort) MarshalTo

func (m *ContainerPort) MarshalTo(dAtA []byte) (int, error)

func (*ContainerPort) MarshalToSizedBuffer

func (m *ContainerPort) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerPort) ProtoMessage

func (*ContainerPort) ProtoMessage()

func (*ContainerPort) Reset

func (m *ContainerPort) Reset()

func (*ContainerPort) Size

func (m *ContainerPort) Size() (n int)

func (*ContainerPort) String

func (this *ContainerPort) String() string

func (*ContainerPort) Unmarshal

func (m *ContainerPort) Unmarshal(dAtA []byte) error

func (*ContainerPort) XXX_DiscardUnknown

func (m *ContainerPort) XXX_DiscardUnknown()

func (*ContainerPort) XXX_Marshal

func (m *ContainerPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerPort) XXX_Merge

func (m *ContainerPort) XXX_Merge(src proto.Message)

func (*ContainerPort) XXX_Size

func (m *ContainerPort) XXX_Size() int

func (*ContainerPort) XXX_Unmarshal

func (m *ContainerPort) XXX_Unmarshal(b []byte) error

type ContainerState

type ContainerState struct {
	// Details about a running container
	// +optional
	Running *ContainerStateRunning `json:"running,omitempty" protobuf:"bytes,2,opt,name=running"`
}

ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.

func (*ContainerState) DeepCopy

func (in *ContainerState) DeepCopy() *ContainerState

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerState.

func (*ContainerState) DeepCopyInto

func (in *ContainerState) DeepCopyInto(out *ContainerState)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContainerState) DeepEqual

func (in *ContainerState) DeepEqual(other *ContainerState) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*ContainerState) Descriptor

func (*ContainerState) Descriptor() ([]byte, []int)

func (*ContainerState) Marshal

func (m *ContainerState) Marshal() (dAtA []byte, err error)

func (*ContainerState) MarshalTo

func (m *ContainerState) MarshalTo(dAtA []byte) (int, error)

func (*ContainerState) MarshalToSizedBuffer

func (m *ContainerState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerState) ProtoMessage

func (*ContainerState) ProtoMessage()

func (*ContainerState) Reset

func (m *ContainerState) Reset()

func (*ContainerState) Size

func (m *ContainerState) Size() (n int)

func (*ContainerState) String

func (this *ContainerState) String() string

func (*ContainerState) Unmarshal

func (m *ContainerState) Unmarshal(dAtA []byte) error

func (*ContainerState) XXX_DiscardUnknown

func (m *ContainerState) XXX_DiscardUnknown()

func (*ContainerState) XXX_Marshal

func (m *ContainerState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerState) XXX_Merge

func (m *ContainerState) XXX_Merge(src proto.Message)

func (*ContainerState) XXX_Size

func (m *ContainerState) XXX_Size() int

func (*ContainerState) XXX_Unmarshal

func (m *ContainerState) XXX_Unmarshal(b []byte) error

type ContainerStateRunning

type ContainerStateRunning struct {
	// Time at which the container was last (re-)started
	// +optional
	StartedAt slim_metav1.Time `json:"startedAt,omitempty" protobuf:"bytes,1,opt,name=startedAt"`
}

ContainerStateRunning is a running state of a container.

func (*ContainerStateRunning) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateRunning.

func (*ContainerStateRunning) DeepCopyInto

func (in *ContainerStateRunning) DeepCopyInto(out *ContainerStateRunning)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContainerStateRunning) DeepEqual

func (in *ContainerStateRunning) DeepEqual(other *ContainerStateRunning) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*ContainerStateRunning) Descriptor

func (*ContainerStateRunning) Descriptor() ([]byte, []int)

func (*ContainerStateRunning) Marshal

func (m *ContainerStateRunning) Marshal() (dAtA []byte, err error)

func (*ContainerStateRunning) MarshalTo

func (m *ContainerStateRunning) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStateRunning) MarshalToSizedBuffer

func (m *ContainerStateRunning) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerStateRunning) ProtoMessage

func (*ContainerStateRunning) ProtoMessage()

func (*ContainerStateRunning) Reset

func (m *ContainerStateRunning) Reset()

func (*ContainerStateRunning) Size

func (m *ContainerStateRunning) Size() (n int)

func (*ContainerStateRunning) String

func (this *ContainerStateRunning) String() string

func (*ContainerStateRunning) Unmarshal

func (m *ContainerStateRunning) Unmarshal(dAtA []byte) error

func (*ContainerStateRunning) XXX_DiscardUnknown

func (m *ContainerStateRunning) XXX_DiscardUnknown()

func (*ContainerStateRunning) XXX_Marshal

func (m *ContainerStateRunning) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerStateRunning) XXX_Merge

func (m *ContainerStateRunning) XXX_Merge(src proto.Message)

func (*ContainerStateRunning) XXX_Size

func (m *ContainerStateRunning) XXX_Size() int

func (*ContainerStateRunning) XXX_Unmarshal

func (m *ContainerStateRunning) XXX_Unmarshal(b []byte) error

type ContainerStatus

type ContainerStatus struct {
	// State holds details about the container's current condition.
	// +optional
	State ContainerState `json:"state,omitempty" protobuf:"bytes,2,opt,name=state"`
	// ContainerID is the ID of the container in the format '<type>://<container_id>'.
	// Where type is a container runtime identifier, returned from Version call of CRI API
	// (for example "containerd").
	// +optional
	ContainerID string `json:"containerID,omitempty" protobuf:"bytes,8,opt,name=containerID"`
}

ContainerStatus contains details for the current status of this container.

func (*ContainerStatus) DeepCopy

func (in *ContainerStatus) DeepCopy() *ContainerStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStatus.

func (*ContainerStatus) DeepCopyInto

func (in *ContainerStatus) DeepCopyInto(out *ContainerStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContainerStatus) DeepEqual

func (in *ContainerStatus) DeepEqual(other *ContainerStatus) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*ContainerStatus) Descriptor

func (*ContainerStatus) Descriptor() ([]byte, []int)

func (*ContainerStatus) Marshal

func (m *ContainerStatus) Marshal() (dAtA []byte, err error)

func (*ContainerStatus) MarshalTo

func (m *ContainerStatus) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStatus) MarshalToSizedBuffer

func (m *ContainerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerStatus) ProtoMessage

func (*ContainerStatus) ProtoMessage()

func (*ContainerStatus) Reset

func (m *ContainerStatus) Reset()

func (*ContainerStatus) Size

func (m *ContainerStatus) Size() (n int)

func (*ContainerStatus) String

func (this *ContainerStatus) String() string

func (*ContainerStatus) Unmarshal

func (m *ContainerStatus) Unmarshal(dAtA []byte) error

func (*ContainerStatus) XXX_DiscardUnknown

func (m *ContainerStatus) XXX_DiscardUnknown()

func (*ContainerStatus) XXX_Marshal

func (m *ContainerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerStatus) XXX_Merge

func (m *ContainerStatus) XXX_Merge(src proto.Message)

func (*ContainerStatus) XXX_Size

func (m *ContainerStatus) XXX_Size() int

func (*ContainerStatus) XXX_Unmarshal

func (m *ContainerStatus) XXX_Unmarshal(b []byte) error

type EndpointAddress

type EndpointAddress struct {
	// The IP of this endpoint.
	// May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10),
	// or link-local multicast (224.0.0.0/24 or ff02::/16).
	IP string `json:"ip" protobuf:"bytes,1,opt,name=ip"`
	// The Hostname of this endpoint
	// +optional
	Hostname string `json:"hostname,omitempty" protobuf:"bytes,3,opt,name=hostname"`
	// Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.
	// +optional
	NodeName *string `json:"nodeName,omitempty" protobuf:"bytes,4,opt,name=nodeName"`
}

EndpointAddress is a tuple that describes single IP address. +structType=atomic

func (*EndpointAddress) DeepCopy

func (in *EndpointAddress) DeepCopy() *EndpointAddress

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointAddress.

func (*EndpointAddress) DeepCopyInto

func (in *EndpointAddress) DeepCopyInto(out *EndpointAddress)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EndpointAddress) DeepEqual

func (in *EndpointAddress) DeepEqual(other *EndpointAddress) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*EndpointAddress) Descriptor

func (*EndpointAddress) Descriptor() ([]byte, []int)

func (*EndpointAddress) Marshal

func (m *EndpointAddress) Marshal() (dAtA []byte, err error)

func (*EndpointAddress) MarshalTo

func (m *EndpointAddress) MarshalTo(dAtA []byte) (int, error)

func (*EndpointAddress) MarshalToSizedBuffer

func (m *EndpointAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EndpointAddress) ProtoMessage

func (*EndpointAddress) ProtoMessage()

func (*EndpointAddress) Reset

func (m *EndpointAddress) Reset()

func (*EndpointAddress) Size

func (m *EndpointAddress) Size() (n int)

func (*EndpointAddress) String

func (this *EndpointAddress) String() string

func (*EndpointAddress) Unmarshal

func (m *EndpointAddress) Unmarshal(dAtA []byte) error

func (*EndpointAddress) XXX_DiscardUnknown

func (m *EndpointAddress) XXX_DiscardUnknown()

func (*EndpointAddress) XXX_Marshal

func (m *EndpointAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EndpointAddress) XXX_Merge

func (m *EndpointAddress) XXX_Merge(src proto.Message)

func (*EndpointAddress) XXX_Size

func (m *EndpointAddress) XXX_Size() int

func (*EndpointAddress) XXX_Unmarshal

func (m *EndpointAddress) XXX_Unmarshal(b []byte) error

type EndpointPort

type EndpointPort struct {
	// The name of this port.  This must match the 'name' field in the
	// corresponding ServicePort.
	// Must be a DNS_LABEL.
	// Optional only if one port is defined.
	// +optional
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`

	// The port number of the endpoint.
	Port int32 `json:"port" protobuf:"varint,2,opt,name=port"`

	// The IP protocol for this port.
	// Must be UDP, TCP, or SCTP.
	// Default is TCP.
	// +optional
	Protocol Protocol `json:"protocol,omitempty" protobuf:"bytes,3,opt,name=protocol,casttype=Protocol"`

	// The application protocol for this port.
	// This is used as a hint for implementations to offer richer behavior for protocols that they understand.
	// This field follows standard Kubernetes label syntax.
	// Valid values are either:
	//
	// * Un-prefixed protocol names - reserved for IANA standard service names (as per
	// RFC-6335 and https://www.iana.org/assignments/service-names).
	//
	// * Kubernetes-defined prefixed names:
	//   * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-
	//   * 'kubernetes.io/ws'  - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455
	//   * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455
	//
	// * Other protocols should use implementation-defined prefixed names such as
	// mycompany.com/my-custom-protocol.
	// +optional
	AppProtocol *string `json:"appProtocol,omitempty" protobuf:"bytes,4,opt,name=appProtocol"`
}

EndpointPort is a tuple that describes a single port. +structType=atomic

func (*EndpointPort) DeepCopy

func (in *EndpointPort) DeepCopy() *EndpointPort

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointPort.

func (*EndpointPort) DeepCopyInto

func (in *EndpointPort) DeepCopyInto(out *EndpointPort)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EndpointPort) DeepEqual

func (in *EndpointPort) DeepEqual(other *EndpointPort) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*EndpointPort) Descriptor

func (*EndpointPort) Descriptor() ([]byte, []int)

func (*EndpointPort) Marshal

func (m *EndpointPort) Marshal() (dAtA []byte, err error)

func (*EndpointPort) MarshalTo

func (m *EndpointPort) MarshalTo(dAtA []byte) (int, error)

func (*EndpointPort) MarshalToSizedBuffer

func (m *EndpointPort) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EndpointPort) ProtoMessage

func (*EndpointPort) ProtoMessage()

func (*EndpointPort) Reset

func (m *EndpointPort) Reset()

func (*EndpointPort) Size

func (m *EndpointPort) Size() (n int)

func (*EndpointPort) String

func (this *EndpointPort) String() string

func (*EndpointPort) Unmarshal

func (m *EndpointPort) Unmarshal(dAtA []byte) error

func (*EndpointPort) XXX_DiscardUnknown

func (m *EndpointPort) XXX_DiscardUnknown()

func (*EndpointPort) XXX_Marshal

func (m *EndpointPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EndpointPort) XXX_Merge

func (m *EndpointPort) XXX_Merge(src proto.Message)

func (*EndpointPort) XXX_Size

func (m *EndpointPort) XXX_Size() int

func (*EndpointPort) XXX_Unmarshal

func (m *EndpointPort) XXX_Unmarshal(b []byte) error

type EndpointSubset

type EndpointSubset struct {
	// IP addresses which offer the related ports that are marked as ready. These endpoints
	// should be considered safe for load balancers and clients to utilize.
	// +optional
	// +listType=atomic
	Addresses []EndpointAddress `json:"addresses,omitempty" protobuf:"bytes,1,rep,name=addresses"`
	// Port numbers available on the related IP addresses.
	// +optional
	// +listType=atomic
	Ports []EndpointPort `json:"ports,omitempty" protobuf:"bytes,3,rep,name=ports"`
}

EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:

{
  Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
  Ports:     [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
}

The resulting set of endpoints can be viewed as:

a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],
b: [ 10.10.1.1:309, 10.10.2.2:309 ]

func (*EndpointSubset) DeepCopy

func (in *EndpointSubset) DeepCopy() *EndpointSubset

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSubset.

func (*EndpointSubset) DeepCopyInto

func (in *EndpointSubset) DeepCopyInto(out *EndpointSubset)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EndpointSubset) DeepEqual

func (in *EndpointSubset) DeepEqual(other *EndpointSubset) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*EndpointSubset) Descriptor

func (*EndpointSubset) Descriptor() ([]byte, []int)

func (*EndpointSubset) Marshal

func (m *EndpointSubset) Marshal() (dAtA []byte, err error)

func (*EndpointSubset) MarshalTo

func (m *EndpointSubset) MarshalTo(dAtA []byte) (int, error)

func (*EndpointSubset) MarshalToSizedBuffer

func (m *EndpointSubset) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EndpointSubset) ProtoMessage

func (*EndpointSubset) ProtoMessage()

func (*EndpointSubset) Reset

func (m *EndpointSubset) Reset()

func (*EndpointSubset) Size

func (m *EndpointSubset) Size() (n int)

func (*EndpointSubset) String

func (this *EndpointSubset) String() string

func (*EndpointSubset) Unmarshal

func (m *EndpointSubset) Unmarshal(dAtA []byte) error

func (*EndpointSubset) XXX_DiscardUnknown

func (m *EndpointSubset) XXX_DiscardUnknown()

func (*EndpointSubset) XXX_Marshal

func (m *EndpointSubset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EndpointSubset) XXX_Merge

func (m *EndpointSubset) XXX_Merge(src proto.Message)

func (*EndpointSubset) XXX_Size

func (m *EndpointSubset) XXX_Size() int

func (*EndpointSubset) XXX_Unmarshal

func (m *EndpointSubset) XXX_Unmarshal(b []byte) error

type Endpoints

type Endpoints struct {
	slim_metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	slim_metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// The set of all endpoints is the union of all subsets. Addresses are placed into
	// subsets according to the IPs they share. A single address with multiple ports,
	// some of which are ready and some of which are not (because they come from
	// different containers) will result in the address being displayed in different
	// subsets for the different ports. No address will appear in both Addresses and
	// NotReadyAddresses in the same subset.
	// Sets of addresses and ports that comprise a service.
	// +optional
	// +listType=atomic
	Subsets []EndpointSubset `json:"subsets,omitempty" protobuf:"bytes,2,rep,name=subsets"`
}

Endpoints is a collection of endpoints that implement the actual service. Example:

 Name: "mysvc",
 Subsets: [
   {
     Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
     Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
   },
   {
     Addresses: [{"ip": "10.10.3.3"}],
     Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}]
   },
]

func (*Endpoints) DeepCopy

func (in *Endpoints) DeepCopy() *Endpoints

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoints.

func (*Endpoints) DeepCopyInto

func (in *Endpoints) DeepCopyInto(out *Endpoints)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Endpoints) DeepCopyObject

func (in *Endpoints) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Endpoints) DeepEqual

func (in *Endpoints) DeepEqual(other *Endpoints) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*Endpoints) Descriptor

func (*Endpoints) Descriptor() ([]byte, []int)

func (*Endpoints) Marshal

func (m *Endpoints) Marshal() (dAtA []byte, err error)

func (*Endpoints) MarshalTo

func (m *Endpoints) MarshalTo(dAtA []byte) (int, error)

func (*Endpoints) MarshalToSizedBuffer

func (m *Endpoints) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Endpoints) ProtoMessage

func (*Endpoints) ProtoMessage()

func (*Endpoints) Reset

func (m *Endpoints) Reset()

func (*Endpoints) Size

func (m *Endpoints) Size() (n int)

func (*Endpoints) String

func (this *Endpoints) String() string

func (*Endpoints) Unmarshal

func (m *Endpoints) Unmarshal(dAtA []byte) error

func (*Endpoints) XXX_DiscardUnknown

func (m *Endpoints) XXX_DiscardUnknown()

func (*Endpoints) XXX_Marshal

func (m *Endpoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Endpoints) XXX_Merge

func (m *Endpoints) XXX_Merge(src proto.Message)

func (*Endpoints) XXX_Size

func (m *Endpoints) XXX_Size() int

func (*Endpoints) XXX_Unmarshal

func (m *Endpoints) XXX_Unmarshal(b []byte) error

type EndpointsList

type EndpointsList struct {
	slim_metav1.TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	slim_metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of endpoints.
	Items []Endpoints `json:"items" protobuf:"bytes,2,rep,name=items"`
}

EndpointsList is a list of endpoints.

func (*EndpointsList) DeepCopy

func (in *EndpointsList) DeepCopy() *EndpointsList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointsList.

func (*EndpointsList) DeepCopyInto

func (in *EndpointsList) DeepCopyInto(out *EndpointsList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EndpointsList) DeepCopyObject

func (in *EndpointsList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*EndpointsList) DeepEqual

func (in *EndpointsList) DeepEqual(other *EndpointsList) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*EndpointsList) Descriptor

func (*EndpointsList) Descriptor() ([]byte, []int)

func (*EndpointsList) Marshal

func (m *EndpointsList) Marshal() (dAtA []byte, err error)

func (*EndpointsList) MarshalTo

func (m *EndpointsList) MarshalTo(dAtA []byte) (int, error)

func (*EndpointsList) MarshalToSizedBuffer

func (m *EndpointsList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EndpointsList) ProtoMessage

func (*EndpointsList) ProtoMessage()

func (*EndpointsList) Reset

func (m *EndpointsList) Reset()

func (*EndpointsList) Size

func (m *EndpointsList) Size() (n int)

func (*EndpointsList) String

func (this *EndpointsList) String() string

func (*EndpointsList) Unmarshal

func (m *EndpointsList) Unmarshal(dAtA []byte) error

func (*EndpointsList) XXX_DiscardUnknown

func (m *EndpointsList) XXX_DiscardUnknown()

func (*EndpointsList) XXX_Marshal

func (m *EndpointsList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EndpointsList) XXX_Merge

func (m *EndpointsList) XXX_Merge(src proto.Message)

func (*EndpointsList) XXX_Size

func (m *EndpointsList) XXX_Size() int

func (*EndpointsList) XXX_Unmarshal

func (m *EndpointsList) XXX_Unmarshal(b []byte) error

type IPFamily

type IPFamily string

IPFamily represents the IP Family (IPv4 or IPv6). This type is used to express the family of an IP expressed by a type (e.g. service.spec.ipFamilies). +enum

const (
	// IPv4Protocol indicates that this IP is IPv4 protocol
	IPv4Protocol IPFamily = "IPv4"
	// IPv6Protocol indicates that this IP is IPv6 protocol
	IPv6Protocol IPFamily = "IPv6"
	// IPFamilyUnknown indicates that this IP is unknown protocol
	IPFamilyUnknown IPFamily = ""
)

type IPFamilyPolicy

type IPFamilyPolicy string

IPFamilyPolicy represents the dual-stack-ness requested or required by a Service +enum

const (
	// IPFamilyPolicySingleStack indicates that this service is required to have a single IPFamily.
	// The IPFamily assigned is based on the default IPFamily used by the cluster
	// or as identified by service.spec.ipFamilies field
	IPFamilyPolicySingleStack IPFamilyPolicy = "SingleStack"
	// IPFamilyPolicyPreferDualStack indicates that this service prefers dual-stack when
	// the cluster is configured for dual-stack. If the cluster is not configured
	// for dual-stack the service will be assigned a single IPFamily. If the IPFamily is not
	// set in service.spec.ipFamilies then the service will be assigned the default IPFamily
	// configured on the cluster
	IPFamilyPolicyPreferDualStack IPFamilyPolicy = "PreferDualStack"
	// IPFamilyPolicyRequireDualStack indicates that this service requires dual-stack. Using
	// IPFamilyPolicyRequireDualStack on a single stack cluster will result in validation errors. The
	// IPFamilies (and their order) assigned  to this service is based on service.spec.ipFamilies. If
	// service.spec.ipFamilies was not provided then it will be assigned according to how they are
	// configured on the cluster. If service.spec.ipFamilies has only one entry then the alternative
	// IPFamily will be added by apiserver
	IPFamilyPolicyRequireDualStack IPFamilyPolicy = "RequireDualStack"
)

type IPFamilyPolicyType

type IPFamilyPolicyType = IPFamilyPolicy

for backwards compat +enum

type LoadBalancerIPMode added in v1.15.0

type LoadBalancerIPMode string

LoadBalancerIPMode represents the mode of the LoadBalancer ingress IP

const (
	// LoadBalancerIPModeVIP indicates that traffic is delivered to the node with
	// the destination set to the load-balancer's IP and port.
	LoadBalancerIPModeVIP LoadBalancerIPMode = "VIP"
	// LoadBalancerIPModeProxy indicates that traffic is delivered to the node or pod with
	// the destination set to the node's IP and port or the pod's IP and port.
	LoadBalancerIPModeProxy LoadBalancerIPMode = "Proxy"
)

type LoadBalancerIngress

type LoadBalancerIngress struct {
	// IP is set for load-balancer ingress points that are IP based
	// (typically GCE or OpenStack load-balancers)
	// +optional
	IP string `json:"ip,omitempty" protobuf:"bytes,1,opt,name=ip"`

	// Hostname is set for load-balancer ingress points that are DNS based
	// (typically AWS load-balancers)
	// +optional
	Hostname string `json:"hostname,omitempty" protobuf:"bytes,2,opt,name=hostname"`

	// IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified.
	// Setting this to "VIP" indicates that traffic is delivered to the node with
	// the destination set to the load-balancer's IP and port.
	// Setting this to "Proxy" indicates that traffic is delivered to the node or pod with
	// the destination set to the node's IP and node port or the pod's IP and port.
	// Service implementations may use this information to adjust traffic routing.
	// +optional
	IPMode *LoadBalancerIPMode `json:"ipMode,omitempty" protobuf:"bytes,3,opt,name=ipMode"`

	// Ports is a list of records of service ports
	// If used, every port defined in the service should have an entry in it
	// +listType=atomic
	// +optional
	Ports []PortStatus `json:"ports,omitempty" protobuf:"bytes,4,rep,name=ports"`
}

LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.

func (*LoadBalancerIngress) DeepCopy

func (in *LoadBalancerIngress) DeepCopy() *LoadBalancerIngress

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerIngress.

func (*LoadBalancerIngress) DeepCopyInto

func (in *LoadBalancerIngress) DeepCopyInto(out *LoadBalancerIngress)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LoadBalancerIngress) DeepEqual

func (in *LoadBalancerIngress) DeepEqual(other *LoadBalancerIngress) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*LoadBalancerIngress) Descriptor

func (*LoadBalancerIngress) Descriptor() ([]byte, []int)

func (*LoadBalancerIngress) Marshal

func (m *LoadBalancerIngress) Marshal() (dAtA []byte, err error)

func (*LoadBalancerIngress) MarshalTo

func (m *LoadBalancerIngress) MarshalTo(dAtA []byte) (int, error)

func (*LoadBalancerIngress) MarshalToSizedBuffer

func (m *LoadBalancerIngress) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LoadBalancerIngress) ProtoMessage

func (*LoadBalancerIngress) ProtoMessage()

func (*LoadBalancerIngress) Reset

func (m *LoadBalancerIngress) Reset()

func (*LoadBalancerIngress) Size

func (m *LoadBalancerIngress) Size() (n int)

func (*LoadBalancerIngress) String

func (this *LoadBalancerIngress) String() string

func (*LoadBalancerIngress) Unmarshal

func (m *LoadBalancerIngress) Unmarshal(dAtA []byte) error

func (*LoadBalancerIngress) XXX_DiscardUnknown

func (m *LoadBalancerIngress) XXX_DiscardUnknown()

func (*LoadBalancerIngress) XXX_Marshal

func (m *LoadBalancerIngress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoadBalancerIngress) XXX_Merge

func (m *LoadBalancerIngress) XXX_Merge(src proto.Message)

func (*LoadBalancerIngress) XXX_Size

func (m *LoadBalancerIngress) XXX_Size() int

func (*LoadBalancerIngress) XXX_Unmarshal

func (m *LoadBalancerIngress) XXX_Unmarshal(b []byte) error

type LoadBalancerStatus

type LoadBalancerStatus struct {
	// Ingress is a list containing ingress points for the load-balancer.
	// Traffic intended for the service should be sent to these ingress points.
	// +optional
	// +listType=atomic
	Ingress []LoadBalancerIngress `json:"ingress,omitempty" protobuf:"bytes,1,rep,name=ingress"`
}

LoadBalancerStatus represents the status of a load-balancer.

func (*LoadBalancerStatus) DeepCopy

func (in *LoadBalancerStatus) DeepCopy() *LoadBalancerStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerStatus.

func (*LoadBalancerStatus) DeepCopyInto

func (in *LoadBalancerStatus) DeepCopyInto(out *LoadBalancerStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LoadBalancerStatus) DeepEqual

func (in *LoadBalancerStatus) DeepEqual(other *LoadBalancerStatus) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*LoadBalancerStatus) Descriptor

func (*LoadBalancerStatus) Descriptor() ([]byte, []int)

func (*LoadBalancerStatus) Marshal

func (m *LoadBalancerStatus) Marshal() (dAtA []byte, err error)

func (*LoadBalancerStatus) MarshalTo

func (m *LoadBalancerStatus) MarshalTo(dAtA []byte) (int, error)

func (*LoadBalancerStatus) MarshalToSizedBuffer

func (m *LoadBalancerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LoadBalancerStatus) ProtoMessage

func (*LoadBalancerStatus) ProtoMessage()

func (*LoadBalancerStatus) Reset

func (m *LoadBalancerStatus) Reset()

func (*LoadBalancerStatus) Size

func (m *LoadBalancerStatus) Size() (n int)

func (*LoadBalancerStatus) String

func (this *LoadBalancerStatus) String() string

func (*LoadBalancerStatus) Unmarshal

func (m *LoadBalancerStatus) Unmarshal(dAtA []byte) error

func (*LoadBalancerStatus) XXX_DiscardUnknown

func (m *LoadBalancerStatus) XXX_DiscardUnknown()

func (*LoadBalancerStatus) XXX_Marshal

func (m *LoadBalancerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoadBalancerStatus) XXX_Merge

func (m *LoadBalancerStatus) XXX_Merge(src proto.Message)

func (*LoadBalancerStatus) XXX_Size

func (m *LoadBalancerStatus) XXX_Size() int

func (*LoadBalancerStatus) XXX_Unmarshal

func (m *LoadBalancerStatus) XXX_Unmarshal(b []byte) error

type Namespace

type Namespace struct {
	slim_metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	slim_metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
}

Namespace provides a scope for Names. Use of multiple namespaces is optional.

func (*Namespace) DeepCopy

func (in *Namespace) DeepCopy() *Namespace

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace.

func (*Namespace) DeepCopyInto

func (in *Namespace) DeepCopyInto(out *Namespace)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Namespace) DeepCopyObject

func (in *Namespace) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Namespace) DeepEqual

func (in *Namespace) DeepEqual(other *Namespace) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*Namespace) Descriptor

func (*Namespace) Descriptor() ([]byte, []int)

func (*Namespace) Marshal

func (m *Namespace) Marshal() (dAtA []byte, err error)

func (*Namespace) MarshalTo

func (m *Namespace) MarshalTo(dAtA []byte) (int, error)

func (*Namespace) MarshalToSizedBuffer

func (m *Namespace) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) Reset

func (m *Namespace) Reset()

func (*Namespace) Size

func (m *Namespace) Size() (n int)

func (*Namespace) String

func (this *Namespace) String() string

func (*Namespace) Unmarshal

func (m *Namespace) Unmarshal(dAtA []byte) error

func (*Namespace) XXX_DiscardUnknown

func (m *Namespace) XXX_DiscardUnknown()

func (*Namespace) XXX_Marshal

func (m *Namespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Namespace) XXX_Merge

func (m *Namespace) XXX_Merge(src proto.Message)

func (*Namespace) XXX_Size

func (m *Namespace) XXX_Size() int

func (*Namespace) XXX_Unmarshal

func (m *Namespace) XXX_Unmarshal(b []byte) error

type NamespaceList

type NamespaceList struct {
	slim_metav1.TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	slim_metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is the list of Namespace objects in the list.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
	Items []Namespace `json:"items" protobuf:"bytes,2,rep,name=items"`
}

NamespaceList is a list of Namespaces.

func (*NamespaceList) DeepCopy

func (in *NamespaceList) DeepCopy() *NamespaceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceList.

func (*NamespaceList) DeepCopyInto

func (in *NamespaceList) DeepCopyInto(out *NamespaceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NamespaceList) DeepCopyObject

func (in *NamespaceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*NamespaceList) DeepEqual

func (in *NamespaceList) DeepEqual(other *NamespaceList) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*NamespaceList) Descriptor

func (*NamespaceList) Descriptor() ([]byte, []int)

func (*NamespaceList) Marshal

func (m *NamespaceList) Marshal() (dAtA []byte, err error)

func (*NamespaceList) MarshalTo

func (m *NamespaceList) MarshalTo(dAtA []byte) (int, error)

func (*NamespaceList) MarshalToSizedBuffer

func (m *NamespaceList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamespaceList) ProtoMessage

func (*NamespaceList) ProtoMessage()

func (*NamespaceList) Reset

func (m *NamespaceList) Reset()

func (*NamespaceList) Size

func (m *NamespaceList) Size() (n int)

func (*NamespaceList) String

func (this *NamespaceList) String() string

func (*NamespaceList) Unmarshal

func (m *NamespaceList) Unmarshal(dAtA []byte) error

func (*NamespaceList) XXX_DiscardUnknown

func (m *NamespaceList) XXX_DiscardUnknown()

func (*NamespaceList) XXX_Marshal

func (m *NamespaceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamespaceList) XXX_Merge

func (m *NamespaceList) XXX_Merge(src proto.Message)

func (*NamespaceList) XXX_Size

func (m *NamespaceList) XXX_Size() int

func (*NamespaceList) XXX_Unmarshal

func (m *NamespaceList) XXX_Unmarshal(b []byte) error

type Node

type Node struct {
	slim_metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	slim_metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the behavior of a node.
	// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Spec NodeSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// Most recently observed status of the node.
	// Populated by the system.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status NodeStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).

func (*Node) DeepCopy

func (in *Node) DeepCopy() *Node

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node.

func (*Node) DeepCopyInto

func (in *Node) DeepCopyInto(out *Node)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Node) DeepCopyObject

func (in *Node) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Node) DeepEqual

func (in *Node) DeepEqual(other *Node) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*Node) Descriptor

func (*Node) Descriptor() ([]byte, []int)

func (*Node) Marshal

func (m *Node) Marshal() (dAtA []byte, err error)

func (*Node) MarshalTo

func (m *Node) MarshalTo(dAtA []byte) (int, error)

func (*Node) MarshalToSizedBuffer

func (m *Node) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) Size

func (m *Node) Size() (n int)

func (*Node) String

func (this *Node) String() string

func (*Node) Unmarshal

func (m *Node) Unmarshal(dAtA []byte) error

func (*Node) XXX_DiscardUnknown

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal

func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Node) XXX_Merge

func (m *Node) XXX_Merge(src proto.Message)

func (*Node) XXX_Size

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal

func (m *Node) XXX_Unmarshal(b []byte) error

type NodeAddress

type NodeAddress struct {
	// Node address type, one of Hostname, ExternalIP or InternalIP.
	Type NodeAddressType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=NodeAddressType"`
	// The node address.
	Address string `json:"address" protobuf:"bytes,2,opt,name=address"`
}

NodeAddress contains information for the node's address.

func (*NodeAddress) DeepCopy

func (in *NodeAddress) DeepCopy() *NodeAddress

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAddress.

func (*NodeAddress) DeepCopyInto

func (in *NodeAddress) DeepCopyInto(out *NodeAddress)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NodeAddress) DeepEqual

func (in *NodeAddress) DeepEqual(other *NodeAddress) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*NodeAddress) Descriptor

func (*NodeAddress) Descriptor() ([]byte, []int)

func (*NodeAddress) Marshal

func (m *NodeAddress) Marshal() (dAtA []byte, err error)

func (*NodeAddress) MarshalTo

func (m *NodeAddress) MarshalTo(dAtA []byte) (int, error)

func (*NodeAddress) MarshalToSizedBuffer

func (m *NodeAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeAddress) ProtoMessage

func (*NodeAddress) ProtoMessage()

func (*NodeAddress) Reset

func (m *NodeAddress) Reset()

func (*NodeAddress) Size

func (m *NodeAddress) Size() (n int)

func (*NodeAddress) String

func (this *NodeAddress) String() string

func (*NodeAddress) Unmarshal

func (m *NodeAddress) Unmarshal(dAtA []byte) error

func (*NodeAddress) XXX_DiscardUnknown

func (m *NodeAddress) XXX_DiscardUnknown()

func (*NodeAddress) XXX_Marshal

func (m *NodeAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeAddress) XXX_Merge

func (m *NodeAddress) XXX_Merge(src proto.Message)

func (*NodeAddress) XXX_Size

func (m *NodeAddress) XXX_Size() int

func (*NodeAddress) XXX_Unmarshal

func (m *NodeAddress) XXX_Unmarshal(b []byte) error

type NodeAddressType

type NodeAddressType string
const (
	// NodeHostName identifies a name of the node. Although every node can be assumed
	// to have a NodeAddress of this type, its exact syntax and semantics are not
	// defined, and are not consistent between different clusters.
	NodeHostName NodeAddressType = "Hostname"

	// NodeInternalIP identifies an IP address which is assigned to one of the node's
	// network interfaces. Every node should have at least one address of this type.
	//
	// An internal IP is normally expected to be reachable from every other node, but
	// may not be visible to hosts outside the cluster. By default it is assumed that
	// kube-apiserver can reach node internal IPs, though it is possible to configure
	// clusters where this is not the case.
	//
	// NodeInternalIP is the default type of node IP, and does not necessarily imply
	// that the IP is ONLY reachable internally. If a node has multiple internal IPs,
	// no specific semantics are assigned to the additional IPs.
	NodeInternalIP NodeAddressType = "InternalIP"

	// NodeExternalIP identifies an IP address which is, in some way, intended to be
	// more usable from outside the cluster then an internal IP, though no specific
	// semantics are defined. It may be a globally routable IP, though it is not
	// required to be.
	//
	// External IPs may be assigned directly to an interface on the node, like a
	// NodeInternalIP, or alternatively, packets sent to the external IP may be NAT'ed
	// to an internal node IP rather than being delivered directly (making the IP less
	// efficient for node-to-node traffic than a NodeInternalIP).
	NodeExternalIP NodeAddressType = "ExternalIP"

	// NodeInternalDNS identifies a DNS name which resolves to an IP address which has
	// the characteristics of a NodeInternalIP. The IP it resolves to may or may not
	// be a listed NodeInternalIP address.
	NodeInternalDNS NodeAddressType = "InternalDNS"

	// NodeExternalDNS identifies a DNS name which resolves to an IP address which has
	// the characteristics of a NodeExternalIP. The IP it resolves to may or may not
	// be a listed NodeExternalIP address.
	NodeExternalDNS NodeAddressType = "ExternalDNS"
)

These are built-in addresses type of node. A cloud provider may set a type not listed here.

type NodeCondition

type NodeCondition struct {
	// Type of node condition.
	Type NodeConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=NodeConditionType"`
	// Status of the condition, one of True, False, Unknown.
	Status ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=ConditionStatus"`
	// (brief) reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"`
}

NodeCondition contains condition information for a node.

func (*NodeCondition) DeepCopy

func (in *NodeCondition) DeepCopy() *NodeCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeCondition.

func (*NodeCondition) DeepCopyInto

func (in *NodeCondition) DeepCopyInto(out *NodeCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NodeCondition) DeepEqual

func (in *NodeCondition) DeepEqual(other *NodeCondition) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*NodeCondition) Descriptor

func (*NodeCondition) Descriptor() ([]byte, []int)

func (*NodeCondition) Marshal

func (m *NodeCondition) Marshal() (dAtA []byte, err error)

func (*NodeCondition) MarshalTo

func (m *NodeCondition) MarshalTo(dAtA []byte) (int, error)

func (*NodeCondition) MarshalToSizedBuffer

func (m *NodeCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeCondition) ProtoMessage

func (*NodeCondition) ProtoMessage()

func (*NodeCondition) Reset

func (m *NodeCondition) Reset()

func (*NodeCondition) Size

func (m *NodeCondition) Size() (n int)

func (*NodeCondition) String

func (this *NodeCondition) String() string

func (*NodeCondition) Unmarshal

func (m *NodeCondition) Unmarshal(dAtA []byte) error

func (*NodeCondition) XXX_DiscardUnknown

func (m *NodeCondition) XXX_DiscardUnknown()

func (*NodeCondition) XXX_Marshal

func (m *NodeCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeCondition) XXX_Merge

func (m *NodeCondition) XXX_Merge(src proto.Message)

func (*NodeCondition) XXX_Size

func (m *NodeCondition) XXX_Size() int

func (*NodeCondition) XXX_Unmarshal

func (m *NodeCondition) XXX_Unmarshal(b []byte) error

type NodeConditionType

type NodeConditionType string
const (
	// NodeReady means kubelet is healthy and ready to accept pods.
	NodeReady NodeConditionType = "Ready"
	// NodeMemoryPressure means the kubelet is under pressure due to insufficient available memory.
	NodeMemoryPressure NodeConditionType = "MemoryPressure"
	// NodeDiskPressure means the kubelet is under pressure due to insufficient available disk.
	NodeDiskPressure NodeConditionType = "DiskPressure"
	// NodePIDPressure means the kubelet is under pressure due to insufficient available PID.
	NodePIDPressure NodeConditionType = "PIDPressure"
	// NodeNetworkUnavailable means that network for the node is not correctly configured.
	NodeNetworkUnavailable NodeConditionType = "NetworkUnavailable"
)

These are valid but not exhaustive conditions of node. A cloud provider may set a condition not listed here. Relevant events contain "NodeReady", "NodeNotReady", "NodeSchedulable", and "NodeNotSchedulable".

type NodeList

type NodeList struct {
	slim_metav1.TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	slim_metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of nodes
	Items []Node `json:"items" protobuf:"bytes,2,rep,name=items"`
}

NodeList is the whole list of all Nodes which have been registered with master.

func (*NodeList) DeepCopy

func (in *NodeList) DeepCopy() *NodeList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeList.

func (*NodeList) DeepCopyInto

func (in *NodeList) DeepCopyInto(out *NodeList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NodeList) DeepCopyObject

func (in *NodeList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*NodeList) DeepEqual

func (in *NodeList) DeepEqual(other *NodeList) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*NodeList) Descriptor

func (*NodeList) Descriptor() ([]byte, []int)

func (*NodeList) Marshal

func (m *NodeList) Marshal() (dAtA []byte, err error)

func (*NodeList) MarshalTo

func (m *NodeList) MarshalTo(dAtA []byte) (int, error)

func (*NodeList) MarshalToSizedBuffer

func (m *NodeList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeList) ProtoMessage

func (*NodeList) ProtoMessage()

func (*NodeList) Reset

func (m *NodeList) Reset()

func (*NodeList) Size

func (m *NodeList) Size() (n int)

func (*NodeList) String

func (this *NodeList) String() string

func (*NodeList) Unmarshal

func (m *NodeList) Unmarshal(dAtA []byte) error

func (*NodeList) XXX_DiscardUnknown

func (m *NodeList) XXX_DiscardUnknown()

func (*NodeList) XXX_Marshal

func (m *NodeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeList) XXX_Merge

func (m *NodeList) XXX_Merge(src proto.Message)

func (*NodeList) XXX_Size

func (m *NodeList) XXX_Size() int

func (*NodeList) XXX_Unmarshal

func (m *NodeList) XXX_Unmarshal(b []byte) error

type NodePhase

type NodePhase string

+enum

const (
	// NodePending means the node has been created/added by the system, but not configured.
	NodePending NodePhase = "Pending"
	// NodeRunning means the node has been configured and has Kubernetes components running.
	NodeRunning NodePhase = "Running"
	// NodeTerminated means the node has been removed from the cluster.
	NodeTerminated NodePhase = "Terminated"
)

These are the valid phases of node.

type NodeSpec

type NodeSpec struct {
	// PodCIDR represents the pod IP range assigned to the node.
	// +optional
	PodCIDR string `json:"podCIDR,omitempty" protobuf:"bytes,1,opt,name=podCIDR"`

	// podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this
	// field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for
	// each of IPv4 and IPv6.
	// +optional
	// +patchStrategy=merge
	// +listType=set
	PodCIDRs []string `json:"podCIDRs,omitempty" protobuf:"bytes,7,opt,name=podCIDRs" patchStrategy:"merge"`

	// ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
	// +optional
	ProviderID string `json:"providerID,omitempty" protobuf:"bytes,3,opt,name=providerID"`
	// If specified, the node's taints.
	// +optional
	// +listType=atomic
	Taints []Taint `json:"taints,omitempty" protobuf:"bytes,5,opt,name=taints"`
}

NodeSpec describes the attributes that a node is created with.

func (*NodeSpec) DeepCopy

func (in *NodeSpec) DeepCopy() *NodeSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec.

func (*NodeSpec) DeepCopyInto

func (in *NodeSpec) DeepCopyInto(out *NodeSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NodeSpec) DeepEqual

func (in *NodeSpec) DeepEqual(other *NodeSpec) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*NodeSpec) Descriptor

func (*NodeSpec) Descriptor() ([]byte, []int)

func (*NodeSpec) Marshal

func (m *NodeSpec) Marshal() (dAtA []byte, err error)

func (*NodeSpec) MarshalTo

func (m *NodeSpec) MarshalTo(dAtA []byte) (int, error)

func (*NodeSpec) MarshalToSizedBuffer

func (m *NodeSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeSpec) ProtoMessage

func (*NodeSpec) ProtoMessage()

func (*NodeSpec) Reset

func (m *NodeSpec) Reset()

func (*NodeSpec) Size

func (m *NodeSpec) Size() (n int)

func (*NodeSpec) String

func (this *NodeSpec) String() string

func (*NodeSpec) Unmarshal

func (m *NodeSpec) Unmarshal(dAtA []byte) error

func (*NodeSpec) XXX_DiscardUnknown

func (m *NodeSpec) XXX_DiscardUnknown()

func (*NodeSpec) XXX_Marshal

func (m *NodeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeSpec) XXX_Merge

func (m *NodeSpec) XXX_Merge(src proto.Message)

func (*NodeSpec) XXX_Size

func (m *NodeSpec) XXX_Size() int

func (*NodeSpec) XXX_Unmarshal

func (m *NodeSpec) XXX_Unmarshal(b []byte) error

type NodeStatus

type NodeStatus struct {
	// Conditions is an array of current observed node conditions.
	// More info: https://kubernetes.io/docs/concepts/nodes/node/#condition
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []NodeCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,4,rep,name=conditions"`
	// List of addresses reachable to the node.
	// Queried from cloud provider, if available.
	// More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses
	// Note: This field is declared as mergeable, but the merge key is not sufficiently
	// unique, which can cause data corruption when it is merged. Callers should instead
	// use a full-replacement patch. See https://pr.k8s.io/79391 for an example.
	// Consumers should assume that addresses can change during the
	// lifetime of a Node. However, there are some exceptions where this may not
	// be possible, such as Pods that inherit a Node's address in its own status or
	// consumers of the downward API (status.hostIP).
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Addresses []NodeAddress `json:"addresses,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,5,rep,name=addresses"`
}

NodeStatus is information about the current status of a node.

func (*NodeStatus) DeepCopy

func (in *NodeStatus) DeepCopy() *NodeStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus.

func (*NodeStatus) DeepCopyInto

func (in *NodeStatus) DeepCopyInto(out *NodeStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NodeStatus) DeepEqual

func (in *NodeStatus) DeepEqual(other *NodeStatus) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*NodeStatus) Descriptor

func (*NodeStatus) Descriptor() ([]byte, []int)

func (*NodeStatus) Marshal

func (m *NodeStatus) Marshal() (dAtA []byte, err error)

func (*NodeStatus) MarshalTo

func (m *NodeStatus) MarshalTo(dAtA []byte) (int, error)

func (*NodeStatus) MarshalToSizedBuffer

func (m *NodeStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeStatus) ProtoMessage

func (*NodeStatus) ProtoMessage()

func (*NodeStatus) Reset

func (m *NodeStatus) Reset()

func (*NodeStatus) Size

func (m *NodeStatus) Size() (n int)

func (*NodeStatus) String

func (this *NodeStatus) String() string

func (*NodeStatus) Unmarshal

func (m *NodeStatus) Unmarshal(dAtA []byte) error

func (*NodeStatus) XXX_DiscardUnknown

func (m *NodeStatus) XXX_DiscardUnknown()

func (*NodeStatus) XXX_Marshal

func (m *NodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeStatus) XXX_Merge

func (m *NodeStatus) XXX_Merge(src proto.Message)

func (*NodeStatus) XXX_Size

func (m *NodeStatus) XXX_Size() int

func (*NodeStatus) XXX_Unmarshal

func (m *NodeStatus) XXX_Unmarshal(b []byte) error

type Pod

type Pod struct {
	slim_metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	slim_metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Specification of the desired behavior of the pod.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Spec PodSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// Most recently observed status of the pod.
	// This data may not be up to date.
	// Populated by the system.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status PodStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.

func (*Pod) DeepCopy

func (in *Pod) DeepCopy() *Pod

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pod.

func (*Pod) DeepCopyInto

func (in *Pod) DeepCopyInto(out *Pod)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Pod) DeepCopyObject

func (in *Pod) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Pod) DeepEqual

func (in *Pod) DeepEqual(other *Pod) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*Pod) Descriptor

func (*Pod) Descriptor() ([]byte, []int)

func (*Pod) GetAPIVersion added in v1.16.0

func (p *Pod) GetAPIVersion() string

GetAPIVersion returns the API Version for the pod.

func (*Pod) GetHostIP added in v1.16.0

func (p *Pod) GetHostIP() string

GetHostIP returns the Host IP of the pod.

func (*Pod) GetKind added in v1.16.0

func (p *Pod) GetKind() string

GetKind returns its Kind.

func (*Pod) IsNil added in v1.16.0

func (p *Pod) IsNil() bool

IsNil returns true if this structure is nil.

func (*Pod) Marshal

func (m *Pod) Marshal() (dAtA []byte, err error)

func (*Pod) MarshalTo

func (m *Pod) MarshalTo(dAtA []byte) (int, error)

func (*Pod) MarshalToSizedBuffer

func (m *Pod) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Pod) ProtoMessage

func (*Pod) ProtoMessage()

func (*Pod) Reset

func (m *Pod) Reset()

func (*Pod) Size

func (m *Pod) Size() (n int)

func (*Pod) String

func (this *Pod) String() string

func (*Pod) Unmarshal

func (m *Pod) Unmarshal(dAtA []byte) error

func (*Pod) XXX_DiscardUnknown

func (m *Pod) XXX_DiscardUnknown()

func (*Pod) XXX_Marshal

func (m *Pod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Pod) XXX_Merge

func (m *Pod) XXX_Merge(src proto.Message)

func (*Pod) XXX_Size

func (m *Pod) XXX_Size() int

func (*Pod) XXX_Unmarshal

func (m *Pod) XXX_Unmarshal(b []byte) error

type PodCondition

type PodCondition struct {
	// Type is the type of the condition.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
	Type PodConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=PodConditionType"`
	// Status is the status of the condition.
	// Can be True, False, Unknown.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
	Status ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=ConditionStatus"`
	// Last time we probed the condition.
	// +optional
	LastProbeTime slim_metav1.Time `json:"lastProbeTime,omitempty" protobuf:"bytes,3,opt,name=lastProbeTime"`
	// Last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime slim_metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"`
	// Unique, one-word, CamelCase reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"`
	// Human-readable message indicating details about last transition.
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
}

PodCondition contains details for the current condition of this pod.

func (*PodCondition) DeepCopy

func (in *PodCondition) DeepCopy() *PodCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition.

func (*PodCondition) DeepCopyInto

func (in *PodCondition) DeepCopyInto(out *PodCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PodCondition) DeepEqual

func (in *PodCondition) DeepEqual(other *PodCondition) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*PodCondition) Descriptor

func (*PodCondition) Descriptor() ([]byte, []int)

func (*PodCondition) Marshal

func (m *PodCondition) Marshal() (dAtA []byte, err error)

func (*PodCondition) MarshalTo

func (m *PodCondition) MarshalTo(dAtA []byte) (int, error)

func (*PodCondition) MarshalToSizedBuffer

func (m *PodCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodCondition) ProtoMessage

func (*PodCondition) ProtoMessage()

func (*PodCondition) Reset

func (m *PodCondition) Reset()

func (*PodCondition) Size

func (m *PodCondition) Size() (n int)

func (*PodCondition) String

func (this *PodCondition) String() string

func (*PodCondition) Unmarshal

func (m *PodCondition) Unmarshal(dAtA []byte) error

func (*PodCondition) XXX_DiscardUnknown

func (m *PodCondition) XXX_DiscardUnknown()

func (*PodCondition) XXX_Marshal

func (m *PodCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodCondition) XXX_Merge

func (m *PodCondition) XXX_Merge(src proto.Message)

func (*PodCondition) XXX_Size

func (m *PodCondition) XXX_Size() int

func (*PodCondition) XXX_Unmarshal

func (m *PodCondition) XXX_Unmarshal(b []byte) error

type PodConditionType

type PodConditionType string

PodConditionType is a valid value for PodCondition.Type

const (
	// ContainersReady indicates whether all containers in the pod are ready.
	ContainersReady PodConditionType = "ContainersReady"
	// PodInitialized means that all init containers in the pod have started successfully.
	PodInitialized PodConditionType = "Initialized"
	// PodReady means the pod is able to service requests and should be added to the
	// load balancing pools of all matching services.
	PodReady PodConditionType = "Ready"
	// PodScheduled represents status of the scheduling process for this pod.
	PodScheduled PodConditionType = "PodScheduled"
	// DisruptionTarget indicates the pod is about to be terminated due to a
	// disruption (such as preemption, eviction API or garbage-collection).
	DisruptionTarget PodConditionType = "DisruptionTarget"
	// PodReadyToStartContainers pod sandbox is successfully configured and
	// the pod is ready to launch containers.
	PodReadyToStartContainers PodConditionType = "PodReadyToStartContainers"
)

These are built-in conditions of pod. An application may use a custom condition not listed here.

type PodIP

type PodIP struct {
	// IP is the IP address assigned to the pod
	IP string `json:"ip,omitempty" protobuf:"bytes,1,opt,name=ip"`
}

PodIP represents a single IP address allocated to the pod.

func (*PodIP) DeepCopy

func (in *PodIP) DeepCopy() *PodIP

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodIP.

func (*PodIP) DeepCopyInto

func (in *PodIP) DeepCopyInto(out *PodIP)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PodIP) DeepEqual

func (in *PodIP) DeepEqual(other *PodIP) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*PodIP) Descriptor

func (*PodIP) Descriptor() ([]byte, []int)

func (*PodIP) Marshal

func (m *PodIP) Marshal() (dAtA []byte, err error)

func (*PodIP) MarshalTo

func (m *PodIP) MarshalTo(dAtA []byte) (int, error)

func (*PodIP) MarshalToSizedBuffer

func (m *PodIP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodIP) ProtoMessage

func (*PodIP) ProtoMessage()

func (*PodIP) Reset

func (m *PodIP) Reset()

func (*PodIP) Size

func (m *PodIP) Size() (n int)

func (*PodIP) String

func (this *PodIP) String() string

func (*PodIP) Unmarshal

func (m *PodIP) Unmarshal(dAtA []byte) error

func (*PodIP) XXX_DiscardUnknown

func (m *PodIP) XXX_DiscardUnknown()

func (*PodIP) XXX_Marshal

func (m *PodIP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodIP) XXX_Merge

func (m *PodIP) XXX_Merge(src proto.Message)

func (*PodIP) XXX_Size

func (m *PodIP) XXX_Size() int

func (*PodIP) XXX_Unmarshal

func (m *PodIP) XXX_Unmarshal(b []byte) error

type PodList

type PodList struct {
	slim_metav1.TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	slim_metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of pods.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
	Items []Pod `json:"items" protobuf:"bytes,2,rep,name=items"`
}

PodList is a list of Pods.

func (*PodList) DeepCopy

func (in *PodList) DeepCopy() *PodList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodList.

func (*PodList) DeepCopyInto

func (in *PodList) DeepCopyInto(out *PodList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PodList) DeepCopyObject

func (in *PodList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PodList) DeepEqual

func (in *PodList) DeepEqual(other *PodList) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*PodList) Descriptor

func (*PodList) Descriptor() ([]byte, []int)

func (*PodList) Marshal

func (m *PodList) Marshal() (dAtA []byte, err error)

func (*PodList) MarshalTo

func (m *PodList) MarshalTo(dAtA []byte) (int, error)

func (*PodList) MarshalToSizedBuffer

func (m *PodList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodList) ProtoMessage

func (*PodList) ProtoMessage()

func (*PodList) Reset

func (m *PodList) Reset()

func (*PodList) Size

func (m *PodList) Size() (n int)

func (*PodList) String

func (this *PodList) String() string

func (*PodList) Unmarshal

func (m *PodList) Unmarshal(dAtA []byte) error

func (*PodList) XXX_DiscardUnknown

func (m *PodList) XXX_DiscardUnknown()

func (*PodList) XXX_Marshal

func (m *PodList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodList) XXX_Merge

func (m *PodList) XXX_Merge(src proto.Message)

func (*PodList) XXX_Size

func (m *PodList) XXX_Size() int

func (*PodList) XXX_Unmarshal

func (m *PodList) XXX_Unmarshal(b []byte) error

type PodPhase

type PodPhase string

PodPhase is a label for the condition of a pod at the current time. +enum

const (
	// PodPending means the pod has been accepted by the system, but one or more of the containers
	// has not been started. This includes time before being bound to a node, as well as time spent
	// pulling images onto the host.
	PodPending PodPhase = "Pending"
	// PodRunning means the pod has been bound to a node and all of the containers have been started.
	// At least one container is still running or is in the process of being restarted.
	PodRunning PodPhase = "Running"
	// 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.
	PodSucceeded PodPhase = "Succeeded"
	// 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).
	PodFailed PodPhase = "Failed"
	// 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.
	// Deprecated: It isn't being set since 2015 (74da3b14b0c0f658b3bb8d2def5094686d0e9095)
	PodUnknown PodPhase = "Unknown"
)

These are the valid statuses of pods.

type PodQOSClass

type PodQOSClass string

PodQOSClass defines the supported qos classes of Pods. +enum

const (
	// PodQOSGuaranteed is the Guaranteed qos class.
	PodQOSGuaranteed PodQOSClass = "Guaranteed"
	// PodQOSBurstable is the Burstable qos class.
	PodQOSBurstable PodQOSClass = "Burstable"
	// PodQOSBestEffort is the BestEffort qos class.
	PodQOSBestEffort PodQOSClass = "BestEffort"
)

type PodReadinessGate added in v1.16.0

type PodReadinessGate struct {
	// ConditionType refers to a condition in the pod's condition list with matching type.
	ConditionType PodConditionType `json:"conditionType" protobuf:"bytes,1,opt,name=conditionType,casttype=PodConditionType"`
}

PodReadinessGate contains the reference to a pod condition

func (*PodReadinessGate) DeepCopy added in v1.16.0

func (in *PodReadinessGate) DeepCopy() *PodReadinessGate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodReadinessGate.

func (*PodReadinessGate) DeepCopyInto added in v1.16.0

func (in *PodReadinessGate) DeepCopyInto(out *PodReadinessGate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PodReadinessGate) DeepEqual added in v1.16.0

func (in *PodReadinessGate) DeepEqual(other *PodReadinessGate) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*PodReadinessGate) Descriptor added in v1.16.0

func (*PodReadinessGate) Descriptor() ([]byte, []int)

func (*PodReadinessGate) Marshal added in v1.16.0

func (m *PodReadinessGate) Marshal() (dAtA []byte, err error)

func (*PodReadinessGate) MarshalTo added in v1.16.0

func (m *PodReadinessGate) MarshalTo(dAtA []byte) (int, error)

func (*PodReadinessGate) MarshalToSizedBuffer added in v1.16.0

func (m *PodReadinessGate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodReadinessGate) ProtoMessage added in v1.16.0

func (*PodReadinessGate) ProtoMessage()

func (*PodReadinessGate) Reset added in v1.16.0

func (m *PodReadinessGate) Reset()

func (*PodReadinessGate) Size added in v1.16.0

func (m *PodReadinessGate) Size() (n int)

func (*PodReadinessGate) String added in v1.16.0

func (this *PodReadinessGate) String() string

func (*PodReadinessGate) Unmarshal added in v1.16.0

func (m *PodReadinessGate) Unmarshal(dAtA []byte) error

func (*PodReadinessGate) XXX_DiscardUnknown added in v1.16.0

func (m *PodReadinessGate) XXX_DiscardUnknown()

func (*PodReadinessGate) XXX_Marshal added in v1.16.0

func (m *PodReadinessGate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodReadinessGate) XXX_Merge added in v1.16.0

func (m *PodReadinessGate) XXX_Merge(src proto.Message)

func (*PodReadinessGate) XXX_Size added in v1.16.0

func (m *PodReadinessGate) XXX_Size() int

func (*PodReadinessGate) XXX_Unmarshal added in v1.16.0

func (m *PodReadinessGate) XXX_Unmarshal(b []byte) error

type PodSpec

type PodSpec struct {
	// List of initialization containers belonging to the pod.
	// Init containers are executed in order prior to containers being started. If any
	// init container fails, the pod is considered to have failed and is handled according
	// to its restartPolicy. The name for an init container or normal container must be
	// unique among all containers.
	// Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
	// The resourceRequirements of an init container are taken into account during scheduling
	// by finding the highest request/limit for each resource type, and then using the max of
	// of that value or the sum of the normal containers. Limits are applied to init containers
	// in a similar fashion.
	// Init containers cannot currently be added or removed.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
	// +patchMergeKey=name
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=name
	InitContainers []Container `json:"initContainers,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,20,rep,name=initContainers"`
	// List of containers belonging to the pod.
	// Containers cannot currently be added or removed.
	// There must be at least one container in a Pod.
	// Cannot be updated.
	// +patchMergeKey=name
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=name
	Containers []Container `json:"containers" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,2,rep,name=containers"`

	// ServiceAccountName is the name of the ServiceAccount to use to run this pod.
	// More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
	// +optional
	ServiceAccountName string `json:"serviceAccountName,omitempty" protobuf:"bytes,8,opt,name=serviceAccountName"`

	// NodeName is a request to schedule this pod onto a specific node. If it is non-empty,
	// the scheduler simply schedules this pod onto that node, assuming that it fits resource
	// requirements.
	// +optional
	NodeName string `json:"nodeName,omitempty" protobuf:"bytes,10,opt,name=nodeName"`
	// Host networking requested for this pod. Use the host's network namespace.
	// If this option is set, the ports that will be used must be specified.
	// Default to false.
	// +k8s:conversion-gen=false
	// +optional
	HostNetwork bool `json:"hostNetwork,omitempty" protobuf:"varint,11,opt,name=hostNetwork"`
}

PodSpec is a description of a pod.

func (*PodSpec) DeepCopy

func (in *PodSpec) DeepCopy() *PodSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec.

func (*PodSpec) DeepCopyInto

func (in *PodSpec) DeepCopyInto(out *PodSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PodSpec) DeepEqual

func (in *PodSpec) DeepEqual(other *PodSpec) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*PodSpec) Descriptor

func (*PodSpec) Descriptor() ([]byte, []int)

func (*PodSpec) Marshal

func (m *PodSpec) Marshal() (dAtA []byte, err error)

func (*PodSpec) MarshalTo

func (m *PodSpec) MarshalTo(dAtA []byte) (int, error)

func (*PodSpec) MarshalToSizedBuffer

func (m *PodSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSpec) ProtoMessage

func (*PodSpec) ProtoMessage()

func (*PodSpec) Reset

func (m *PodSpec) Reset()

func (*PodSpec) Size

func (m *PodSpec) Size() (n int)

func (*PodSpec) String

func (this *PodSpec) String() string

func (*PodSpec) Unmarshal

func (m *PodSpec) Unmarshal(dAtA []byte) error

func (*PodSpec) XXX_DiscardUnknown

func (m *PodSpec) XXX_DiscardUnknown()

func (*PodSpec) XXX_Marshal

func (m *PodSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSpec) XXX_Merge

func (m *PodSpec) XXX_Merge(src proto.Message)

func (*PodSpec) XXX_Size

func (m *PodSpec) XXX_Size() int

func (*PodSpec) XXX_Unmarshal

func (m *PodSpec) XXX_Unmarshal(b []byte) error

type PodStatus

type PodStatus struct {
	// The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle.
	// The conditions array, the reason and message fields, and the individual container status
	// arrays contain more detail about the pod's status.
	// There are five possible phase values:
	//
	// Pending: The pod has been accepted by the Kubernetes system, but one or more of the
	// container images has not been created. This includes time before being scheduled as
	// well as time spent downloading images over the network, which could take a while.
	// Running: The pod has been bound to a node, and all of the containers have been created.
	// At least one container is still running, or is in the process of starting or restarting.
	// Succeeded: All containers in the pod have terminated in success, and will not be restarted.
	// Failed: All containers in the pod have terminated, and at least one container has
	// terminated in failure. The container either exited with non-zero status or was terminated
	// by the system.
	// Unknown: 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.
	//
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase
	// +optional
	Phase PodPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=PodPhase"`
	// Current service state of pod.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []PodCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`

	// hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet.
	// A pod can be assigned to a node that has a problem in kubelet which in turns mean that HostIP will
	// not be updated even if there is a node is assigned to pod
	// +optional
	HostIP string `json:"hostIP,omitempty" protobuf:"bytes,5,opt,name=hostIP"`

	// podIP address allocated to the pod. Routable at least within the cluster.
	// Empty if not yet allocated.
	// +optional
	PodIP string `json:"podIP,omitempty" protobuf:"bytes,6,opt,name=podIP"`

	// podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must
	// match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list
	// is empty if no IPs have been allocated yet.
	// +optional
	// +patchStrategy=merge
	// +patchMergeKey=ip
	// +listType=map
	// +listMapKey=ip
	PodIPs []PodIP `json:"podIPs,omitempty" protobuf:"bytes,12,rep,name=podIPs" patchStrategy:"merge" patchMergeKey:"ip"`

	// RFC 3339 date and time at which the object was acknowledged by the Kubelet.
	// This is before the Kubelet pulled the container image(s) for the pod.
	// +optional
	StartTime *slim_metav1.Time `json:"startTime,omitempty" protobuf:"bytes,7,opt,name=startTime"`

	// The list has one entry per container in the manifest.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
	// +optional
	// +listType=atomic
	ContainerStatuses []ContainerStatus `json:"containerStatuses,omitempty" protobuf:"bytes,8,rep,name=containerStatuses"`
	// The Quality of Service (QOS) classification assigned to the pod based on resource requirements
	// See PodQOSClass type for available QOS classes
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#quality-of-service-classes
	// +optional
	QOSClass PodQOSClass `json:"qosClass,omitempty" protobuf:"bytes,9,rep,name=qosClass"`
}

PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.

func (*PodStatus) DeepCopy

func (in *PodStatus) DeepCopy() *PodStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus.

func (*PodStatus) DeepCopyInto

func (in *PodStatus) DeepCopyInto(out *PodStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PodStatus) DeepEqual

func (in *PodStatus) DeepEqual(other *PodStatus) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*PodStatus) Descriptor

func (*PodStatus) Descriptor() ([]byte, []int)

func (*PodStatus) Marshal

func (m *PodStatus) Marshal() (dAtA []byte, err error)

func (*PodStatus) MarshalTo

func (m *PodStatus) MarshalTo(dAtA []byte) (int, error)

func (*PodStatus) MarshalToSizedBuffer

func (m *PodStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodStatus) ProtoMessage

func (*PodStatus) ProtoMessage()

func (*PodStatus) Reset

func (m *PodStatus) Reset()

func (*PodStatus) Size

func (m *PodStatus) Size() (n int)

func (*PodStatus) String

func (this *PodStatus) String() string

func (*PodStatus) Unmarshal

func (m *PodStatus) Unmarshal(dAtA []byte) error

func (*PodStatus) XXX_DiscardUnknown

func (m *PodStatus) XXX_DiscardUnknown()

func (*PodStatus) XXX_Marshal

func (m *PodStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodStatus) XXX_Merge

func (m *PodStatus) XXX_Merge(src proto.Message)

func (*PodStatus) XXX_Size

func (m *PodStatus) XXX_Size() int

func (*PodStatus) XXX_Unmarshal

func (m *PodStatus) XXX_Unmarshal(b []byte) error

type PortStatus

type PortStatus struct {
	// Port is the port number of the service port of which status is recorded here
	Port int32 `json:"port" protobuf:"varint,1,opt,name=port"`
	// Protocol is the protocol of the service port of which status is recorded here
	// The supported values are: "TCP", "UDP", "SCTP"
	Protocol Protocol `json:"protocol" protobuf:"bytes,2,opt,name=protocol,casttype=Protocol"`
	// Error is to record the problem with the service port
	// The format of the error shall comply with the following rules:
	// - built-in error values shall be specified in this file and those shall use
	//   CamelCase names
	// - cloud provider specific error values must have names that comply with the
	//   format foo.example.com/CamelCase.
	// ---
	// The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
	// +optional
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
	// +kubebuilder:validation:MaxLength=316
	Error *string `json:"error,omitempty" protobuf:"bytes,3,opt,name=error"`
}

PortStatus represents the error condition of a service port

func (*PortStatus) DeepCopy

func (in *PortStatus) DeepCopy() *PortStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortStatus.

func (*PortStatus) DeepCopyInto

func (in *PortStatus) DeepCopyInto(out *PortStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PortStatus) DeepEqual

func (in *PortStatus) DeepEqual(other *PortStatus) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*PortStatus) Descriptor

func (*PortStatus) Descriptor() ([]byte, []int)

func (*PortStatus) Marshal

func (m *PortStatus) Marshal() (dAtA []byte, err error)

func (*PortStatus) MarshalTo

func (m *PortStatus) MarshalTo(dAtA []byte) (int, error)

func (*PortStatus) MarshalToSizedBuffer

func (m *PortStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PortStatus) ProtoMessage

func (*PortStatus) ProtoMessage()

func (*PortStatus) Reset

func (m *PortStatus) Reset()

func (*PortStatus) Size

func (m *PortStatus) Size() (n int)

func (*PortStatus) String

func (this *PortStatus) String() string

func (*PortStatus) Unmarshal

func (m *PortStatus) Unmarshal(dAtA []byte) error

func (*PortStatus) XXX_DiscardUnknown

func (m *PortStatus) XXX_DiscardUnknown()

func (*PortStatus) XXX_Marshal

func (m *PortStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PortStatus) XXX_Merge

func (m *PortStatus) XXX_Merge(src proto.Message)

func (*PortStatus) XXX_Size

func (m *PortStatus) XXX_Size() int

func (*PortStatus) XXX_Unmarshal

func (m *PortStatus) XXX_Unmarshal(b []byte) error

type Protocol

type Protocol string

Protocol defines network protocols supported for things like container ports. +enum

const (
	// ProtocolTCP is the TCP protocol.
	ProtocolTCP Protocol = "TCP"
	// ProtocolUDP is the UDP protocol.
	ProtocolUDP Protocol = "UDP"
	// ProtocolSCTP is the SCTP protocol.
	ProtocolSCTP Protocol = "SCTP"
)

type Secret

type Secret struct {
	slim_metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	slim_metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Immutable, if set to true, ensures that data stored in the Secret cannot
	// be updated (only object metadata can be modified).
	// If not set to true, the field can be modified at any time.
	// Defaulted to nil.
	// +optional
	Immutable *bool `json:"immutable,omitempty" protobuf:"varint,5,opt,name=immutable"`

	// Data contains the secret data. Each key must consist of alphanumeric
	// characters, '-', '_' or '.'. The serialized form of the secret data is a
	// base64 encoded string, representing the arbitrary (possibly non-string)
	// data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
	// +optional
	Data map[string]Bytes `json:"data,omitempty" protobuf:"bytes,2,rep,name=data"`

	// stringData allows specifying non-binary secret data in string form.
	// It is provided as a write-only input field for convenience.
	// All keys and values are merged into the data field on write, overwriting any existing values.
	// The stringData field is never output when reading from the API.
	// +k8s:conversion-gen=false
	// +optional
	StringData map[string]string `json:"stringData,omitempty" protobuf:"bytes,4,rep,name=stringData"`

	// Used to facilitate programmatic handling of secret data.
	// More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
	// +optional
	Type SecretType `json:"type,omitempty" protobuf:"bytes,3,opt,name=type,casttype=SecretType"`
}

Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.

func (*Secret) DeepCopy

func (in *Secret) DeepCopy() *Secret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret.

func (*Secret) DeepCopyInto

func (in *Secret) DeepCopyInto(out *Secret)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Secret) DeepCopyObject

func (in *Secret) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Secret) DeepEqual

func (in *Secret) DeepEqual(other *Secret) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*Secret) Descriptor

func (*Secret) Descriptor() ([]byte, []int)

func (*Secret) Marshal

func (m *Secret) Marshal() (dAtA []byte, err error)

func (*Secret) MarshalTo

func (m *Secret) MarshalTo(dAtA []byte) (int, error)

func (*Secret) MarshalToSizedBuffer

func (m *Secret) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Secret) ProtoMessage

func (*Secret) ProtoMessage()

func (*Secret) Reset

func (m *Secret) Reset()

func (*Secret) Size

func (m *Secret) Size() (n int)

func (*Secret) String

func (this *Secret) String() string

func (*Secret) Unmarshal

func (m *Secret) Unmarshal(dAtA []byte) error

func (*Secret) XXX_DiscardUnknown

func (m *Secret) XXX_DiscardUnknown()

func (*Secret) XXX_Marshal

func (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Secret) XXX_Merge

func (m *Secret) XXX_Merge(src proto.Message)

func (*Secret) XXX_Size

func (m *Secret) XXX_Size() int

func (*Secret) XXX_Unmarshal

func (m *Secret) XXX_Unmarshal(b []byte) error

type SecretList

type SecretList struct {
	slim_metav1.TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	slim_metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of secret objects.
	// More info: https://kubernetes.io/docs/concepts/configuration/secret
	Items []Secret `json:"items" protobuf:"bytes,2,rep,name=items"`
}

SecretList is a list of Secret.

func (*SecretList) DeepCopy

func (in *SecretList) DeepCopy() *SecretList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretList.

func (*SecretList) DeepCopyInto

func (in *SecretList) DeepCopyInto(out *SecretList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SecretList) DeepCopyObject

func (in *SecretList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SecretList) DeepEqual

func (in *SecretList) DeepEqual(other *SecretList) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*SecretList) Descriptor

func (*SecretList) Descriptor() ([]byte, []int)

func (*SecretList) Marshal

func (m *SecretList) Marshal() (dAtA []byte, err error)

func (*SecretList) MarshalTo

func (m *SecretList) MarshalTo(dAtA []byte) (int, error)

func (*SecretList) MarshalToSizedBuffer

func (m *SecretList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretList) ProtoMessage

func (*SecretList) ProtoMessage()

func (*SecretList) Reset

func (m *SecretList) Reset()

func (*SecretList) Size

func (m *SecretList) Size() (n int)

func (*SecretList) String

func (this *SecretList) String() string

func (*SecretList) Unmarshal

func (m *SecretList) Unmarshal(dAtA []byte) error

func (*SecretList) XXX_DiscardUnknown

func (m *SecretList) XXX_DiscardUnknown()

func (*SecretList) XXX_Marshal

func (m *SecretList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretList) XXX_Merge

func (m *SecretList) XXX_Merge(src proto.Message)

func (*SecretList) XXX_Size

func (m *SecretList) XXX_Size() int

func (*SecretList) XXX_Unmarshal

func (m *SecretList) XXX_Unmarshal(b []byte) error

type SecretType

type SecretType string

type Service

type Service struct {
	slim_metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	slim_metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the behavior of a service.
	// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Spec ServiceSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// Most recently observed status of the service.
	// Populated by the system.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status ServiceStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

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.

func (*Service) DeepCopy

func (in *Service) DeepCopy() *Service

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.

func (*Service) DeepCopyInto

func (in *Service) DeepCopyInto(out *Service)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Service) DeepCopyObject

func (in *Service) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Service) DeepEqual

func (in *Service) DeepEqual(other *Service) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*Service) Descriptor

func (*Service) Descriptor() ([]byte, []int)

func (*Service) Marshal

func (m *Service) Marshal() (dAtA []byte, err error)

func (*Service) MarshalTo

func (m *Service) MarshalTo(dAtA []byte) (int, error)

func (*Service) MarshalToSizedBuffer

func (m *Service) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) Reset

func (m *Service) Reset()

func (*Service) Size

func (m *Service) Size() (n int)

func (*Service) String

func (this *Service) String() string

func (*Service) Unmarshal

func (m *Service) Unmarshal(dAtA []byte) error

func (*Service) XXX_DiscardUnknown

func (m *Service) XXX_DiscardUnknown()

func (*Service) XXX_Marshal

func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Service) XXX_Merge

func (m *Service) XXX_Merge(src proto.Message)

func (*Service) XXX_Size

func (m *Service) XXX_Size() int

func (*Service) XXX_Unmarshal

func (m *Service) XXX_Unmarshal(b []byte) error

type ServiceAffinity

type ServiceAffinity string

Session Affinity Type string +enum

const (
	// ServiceAffinityClientIP is the Client IP based.
	ServiceAffinityClientIP ServiceAffinity = "ClientIP"

	// ServiceAffinityNone - no session affinity.
	ServiceAffinityNone ServiceAffinity = "None"
)

type ServiceExternalTrafficPolicy

type ServiceExternalTrafficPolicy string

ServiceExternalTrafficPolicy describes how nodes distribute service traffic they receive on one of the Service's "externally-facing" addresses (NodePorts, ExternalIPs, and LoadBalancer IPs. +enum

const (
	// ServiceExternalTrafficPolicyCluster routes traffic to all endpoints.
	ServiceExternalTrafficPolicyCluster ServiceExternalTrafficPolicy = "Cluster"

	// ServiceExternalTrafficPolicyLocal preserves the source IP of the traffic by
	// routing only to endpoints on the same node as the traffic was received on
	// (dropping the traffic if there are no local endpoints).
	ServiceExternalTrafficPolicyLocal ServiceExternalTrafficPolicy = "Local"
)

type ServiceExternalTrafficPolicyType

type ServiceExternalTrafficPolicyType = ServiceExternalTrafficPolicy

for backwards compat +enum

type ServiceInternalTrafficPolicy

type ServiceInternalTrafficPolicy string

ServiceInternalTrafficPolicy describes how nodes distribute service traffic they receive on the ClusterIP. +enum

const (
	// ServiceInternalTrafficPolicyCluster routes traffic to all endpoints.
	ServiceInternalTrafficPolicyCluster ServiceInternalTrafficPolicy = "Cluster"

	// ServiceInternalTrafficPolicyLocal routes traffic only to endpoints on the same
	// node as the client pod (dropping the traffic if there are no local endpoints).
	ServiceInternalTrafficPolicyLocal ServiceInternalTrafficPolicy = "Local"
)

type ServiceInternalTrafficPolicyType

type ServiceInternalTrafficPolicyType = ServiceInternalTrafficPolicy

for backwards compat +enum

type ServiceList

type ServiceList struct {
	slim_metav1.TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	slim_metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of services
	Items []Service `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ServiceList holds a list of services.

func (*ServiceList) DeepCopy

func (in *ServiceList) DeepCopy() *ServiceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList.

func (*ServiceList) DeepCopyInto

func (in *ServiceList) DeepCopyInto(out *ServiceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServiceList) DeepCopyObject

func (in *ServiceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ServiceList) DeepEqual

func (in *ServiceList) DeepEqual(other *ServiceList) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*ServiceList) Descriptor

func (*ServiceList) Descriptor() ([]byte, []int)

func (*ServiceList) Marshal

func (m *ServiceList) Marshal() (dAtA []byte, err error)

func (*ServiceList) MarshalTo

func (m *ServiceList) MarshalTo(dAtA []byte) (int, error)

func (*ServiceList) MarshalToSizedBuffer

func (m *ServiceList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ServiceList) ProtoMessage

func (*ServiceList) ProtoMessage()

func (*ServiceList) Reset

func (m *ServiceList) Reset()

func (*ServiceList) Size

func (m *ServiceList) Size() (n int)

func (*ServiceList) String

func (this *ServiceList) String() string

func (*ServiceList) Unmarshal

func (m *ServiceList) Unmarshal(dAtA []byte) error

func (*ServiceList) XXX_DiscardUnknown

func (m *ServiceList) XXX_DiscardUnknown()

func (*ServiceList) XXX_Marshal

func (m *ServiceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceList) XXX_Merge

func (m *ServiceList) XXX_Merge(src proto.Message)

func (*ServiceList) XXX_Size

func (m *ServiceList) XXX_Size() int

func (*ServiceList) XXX_Unmarshal

func (m *ServiceList) XXX_Unmarshal(b []byte) error

type ServicePort

type ServicePort struct {
	// The name of this port within the service. This must be a DNS_LABEL.
	// All ports within a ServiceSpec must have unique names. When considering
	// the endpoints for a Service, this must match the 'name' field in the
	// EndpointPort.
	// Optional if only one ServicePort is defined on this service.
	// +optional
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`

	// The IP protocol for this port. Supports "TCP", "UDP", and "SCTP".
	// Default is TCP.
	// +default="TCP"
	// +optional
	Protocol Protocol `json:"protocol,omitempty" protobuf:"bytes,2,opt,name=protocol,casttype=Protocol"`

	// The application protocol for this port.
	// This is used as a hint for implementations to offer richer behavior for protocols that they understand.
	// This field follows standard Kubernetes label syntax.
	// Valid values are either:
	//
	// * Un-prefixed protocol names - reserved for IANA standard service names (as per
	// RFC-6335 and https://www.iana.org/assignments/service-names).
	//
	// * Kubernetes-defined prefixed names:
	//   * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-
	//   * 'kubernetes.io/ws'  - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455
	//   * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455
	//
	// * Other protocols should use implementation-defined prefixed names such as
	// mycompany.com/my-custom-protocol.
	// +optional
	AppProtocol *string `json:"appProtocol,omitempty" protobuf:"bytes,6,opt,name=appProtocol"`

	// The port that will be exposed by this service.
	Port int32 `json:"port" protobuf:"varint,3,opt,name=port"`

	// Number or name of the port to access on the pods targeted by the service.
	// Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
	// If this is a string, it will be looked up as a named port in the
	// target Pod's container ports. If this is not specified, the value
	// of the 'port' field is used (an identity map).
	// This field is ignored for services with clusterIP=None, and should be
	// omitted or set equal to the 'port' field.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service
	// +optional
	TargetPort intstr.IntOrString `json:"targetPort,omitempty" protobuf:"bytes,4,opt,name=targetPort"`

	// The port on each node on which this service is exposed when type is
	// NodePort or LoadBalancer.  Usually assigned by the system. If a value is
	// specified, in-range, and not in use it will be used, otherwise the
	// operation will fail.  If not specified, a port will be allocated if this
	// Service requires one.  If this field is specified when creating a
	// Service which does not need it, creation will fail. This field will be
	// wiped when updating a Service to no longer need it (e.g. changing type
	// from NodePort to ClusterIP).
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
	// +optional
	NodePort int32 `json:"nodePort,omitempty" protobuf:"varint,5,opt,name=nodePort"`
}

ServicePort contains information on service's port.

func (*ServicePort) DeepCopy

func (in *ServicePort) DeepCopy() *ServicePort

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePort.

func (*ServicePort) DeepCopyInto

func (in *ServicePort) DeepCopyInto(out *ServicePort)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServicePort) DeepEqual

func (in *ServicePort) DeepEqual(other *ServicePort) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*ServicePort) Descriptor

func (*ServicePort) Descriptor() ([]byte, []int)

func (*ServicePort) Marshal

func (m *ServicePort) Marshal() (dAtA []byte, err error)

func (*ServicePort) MarshalTo

func (m *ServicePort) MarshalTo(dAtA []byte) (int, error)

func (*ServicePort) MarshalToSizedBuffer

func (m *ServicePort) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ServicePort) ProtoMessage

func (*ServicePort) ProtoMessage()

func (*ServicePort) Reset

func (m *ServicePort) Reset()

func (*ServicePort) Size

func (m *ServicePort) Size() (n int)

func (*ServicePort) String

func (this *ServicePort) String() string

func (*ServicePort) Unmarshal

func (m *ServicePort) Unmarshal(dAtA []byte) error

func (*ServicePort) XXX_DiscardUnknown

func (m *ServicePort) XXX_DiscardUnknown()

func (*ServicePort) XXX_Marshal

func (m *ServicePort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServicePort) XXX_Merge

func (m *ServicePort) XXX_Merge(src proto.Message)

func (*ServicePort) XXX_Size

func (m *ServicePort) XXX_Size() int

func (*ServicePort) XXX_Unmarshal

func (m *ServicePort) XXX_Unmarshal(b []byte) error

type ServiceSpec

type ServiceSpec struct {
	// The list of ports that are exposed by this service.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
	// +patchMergeKey=port
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=port
	// +listMapKey=protocol
	Ports []ServicePort `json:"ports,omitempty" patchStrategy:"merge" patchMergeKey:"port" protobuf:"bytes,1,rep,name=ports"`

	// Route service traffic to pods with label keys and values matching this
	// selector. If empty or not present, the service is assumed to have an
	// external process managing its endpoints, which Kubernetes will not
	// modify. Only applies to types ClusterIP, NodePort, and LoadBalancer.
	// Ignored if type is ExternalName.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/
	// +optional
	// +mapType=atomic
	Selector map[string]string `json:"selector,omitempty" protobuf:"bytes,2,rep,name=selector"`

	// clusterIP is the IP address of the service and is usually assigned
	// randomly. If an address is specified manually, is in-range (as per
	// system configuration), and is not in use, it will be allocated to the
	// service; otherwise creation of the service will fail. This field may not
	// be changed through updates unless the type field is also being changed
	// to ExternalName (which requires this field to be blank) or the type
	// field is being changed from ExternalName (in which case this field may
	// optionally be specified, as describe above).  Valid values are "None",
	// empty string (""), or a valid IP address. Setting this to "None" makes a
	// "headless service" (no virtual IP), which is useful when direct endpoint
	// connections are preferred and proxying is not required.  Only applies to
	// types ClusterIP, NodePort, and LoadBalancer. If this field is specified
	// when creating a Service of type ExternalName, creation will fail. This
	// field will be wiped when updating a Service to type ExternalName.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
	// +optional
	ClusterIP string `json:"clusterIP,omitempty" protobuf:"bytes,3,opt,name=clusterIP"`

	// ClusterIPs is a list of IP addresses assigned to this service, and are
	// usually assigned randomly.  If an address is specified manually, is
	// in-range (as per system configuration), and is not in use, it will be
	// allocated to the service; otherwise creation of the service will fail.
	// This field may not be changed through updates unless the type field is
	// also being changed to ExternalName (which requires this field to be
	// empty) or the type field is being changed from ExternalName (in which
	// case this field may optionally be specified, as describe above).  Valid
	// values are "None", empty string (""), or a valid IP address.  Setting
	// this to "None" makes a "headless service" (no virtual IP), which is
	// useful when direct endpoint connections are preferred and proxying is
	// not required.  Only applies to types ClusterIP, NodePort, and
	// LoadBalancer. If this field is specified when creating a Service of type
	// ExternalName, creation will fail. This field will be wiped when updating
	// a Service to type ExternalName.  If this field is not specified, it will
	// be initialized from the clusterIP field.  If this field is specified,
	// clients must ensure that clusterIPs[0] and clusterIP have the same
	// value.
	//
	// This field may hold a maximum of two entries (dual-stack IPs, in either order).
	// These IPs must correspond to the values of the ipFamilies field. Both
	// clusterIPs and ipFamilies are governed by the ipFamilyPolicy field.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
	// +listType=atomic
	// +optional
	ClusterIPs []string `json:"clusterIPs,omitempty" protobuf:"bytes,18,opt,name=clusterIPs"`

	// type determines how the Service is exposed. Defaults to ClusterIP. Valid
	// options are ExternalName, ClusterIP, NodePort, and LoadBalancer.
	// "ClusterIP" allocates a cluster-internal IP address for load-balancing
	// to endpoints. Endpoints are determined by the selector or if that is not
	// specified, by manual construction of an Endpoints object or
	// EndpointSlice objects. If clusterIP is "None", no virtual IP is
	// allocated and the endpoints are published as a set of endpoints rather
	// than a virtual IP.
	// "NodePort" builds on ClusterIP and allocates a port on every node which
	// routes to the same endpoints as the clusterIP.
	// "LoadBalancer" builds on NodePort and creates an external load-balancer
	// (if supported in the current cloud) which routes to the same endpoints
	// as the clusterIP.
	// "ExternalName" aliases this service to the specified externalName.
	// Several other fields do not apply to ExternalName services.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
	// +optional
	Type ServiceType `json:"type,omitempty" protobuf:"bytes,4,opt,name=type,casttype=ServiceType"`

	// externalIPs is a list of IP addresses for which nodes in the cluster
	// will also accept traffic for this service.  These IPs are not managed by
	// Kubernetes.  The user is responsible for ensuring that traffic arrives
	// at a node with this IP.  A common example is external load-balancers
	// that are not part of the Kubernetes system.
	// +optional
	// +listType=atomic
	ExternalIPs []string `json:"externalIPs,omitempty" protobuf:"bytes,5,rep,name=externalIPs"`

	// Supports "ClientIP" and "None". Used to maintain session affinity.
	// Enable client IP based session affinity.
	// Must be ClientIP or None.
	// Defaults to None.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
	// +optional
	SessionAffinity ServiceAffinity `json:"sessionAffinity,omitempty" protobuf:"bytes,7,opt,name=sessionAffinity,casttype=ServiceAffinity"`

	// Only applies to Service Type: LoadBalancer.
	// This feature depends on whether the underlying cloud-provider supports specifying
	// the loadBalancerIP when a load balancer is created.
	// This field will be ignored if the cloud-provider does not support the feature.
	// Deprecated: This field was under-specified and its meaning varies across implementations.
	// Using it is non-portable and it may not support dual-stack.
	// Users are encouraged to use implementation-specific annotations when available.
	// +optional
	LoadBalancerIP string `json:"loadBalancerIP,omitempty" protobuf:"bytes,8,opt,name=loadBalancerIP"`

	// If specified and supported by the platform, this will restrict traffic through the cloud-provider
	// load-balancer will be restricted to the specified client IPs. This field will be ignored if the
	// cloud-provider does not support the feature."
	// More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/
	// +optional
	// +listType=atomic
	LoadBalancerSourceRanges []string `json:"loadBalancerSourceRanges,omitempty" protobuf:"bytes,9,opt,name=loadBalancerSourceRanges"`

	// externalTrafficPolicy describes how nodes distribute service traffic they
	// receive on one of the Service's "externally-facing" addresses (NodePorts,
	// ExternalIPs, and LoadBalancer IPs). If set to "Local", the proxy will configure
	// the service in a way that assumes that external load balancers will take care
	// of balancing the service traffic between nodes, and so each node will deliver
	// traffic only to the node-local endpoints of the service, without masquerading
	// the client source IP. (Traffic mistakenly sent to a node with no endpoints will
	// be dropped.) The default value, "Cluster", uses the standard behavior of
	// routing to all endpoints evenly (possibly modified by topology and other
	// features). Note that traffic sent to an External IP or LoadBalancer IP from
	// within the cluster will always get "Cluster" semantics, but clients sending to
	// a NodePort from within the cluster may need to take traffic policy into account
	// when picking a node.
	// +optional
	ExternalTrafficPolicy ServiceExternalTrafficPolicy `json:"externalTrafficPolicy,omitempty" protobuf:"bytes,11,opt,name=externalTrafficPolicy"`

	// healthCheckNodePort specifies the healthcheck nodePort for the service.
	// This only applies when type is set to LoadBalancer and
	// externalTrafficPolicy is set to Local. If a value is specified, is
	// in-range, and is not in use, it will be used.  If not specified, a value
	// will be automatically allocated.  External systems (e.g. load-balancers)
	// can use this port to determine if a given node holds endpoints for this
	// service or not.  If this field is specified when creating a Service
	// which does not need it, creation will fail. This field will be wiped
	// when updating a Service to no longer need it (e.g. changing type).
	// This field cannot be updated once set.
	// +optional
	HealthCheckNodePort int32 `json:"healthCheckNodePort,omitempty" protobuf:"bytes,12,opt,name=healthCheckNodePort"`

	// sessionAffinityConfig contains the configurations of session affinity.
	// +optional
	SessionAffinityConfig *SessionAffinityConfig `json:"sessionAffinityConfig,omitempty" protobuf:"bytes,14,opt,name=sessionAffinityConfig"`

	// IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this
	// service. This field is usually assigned automatically based on cluster
	// configuration and the ipFamilyPolicy field. If this field is specified
	// manually, the requested family is available in the cluster,
	// and ipFamilyPolicy allows it, it will be used; otherwise creation of
	// the service will fail. This field is conditionally mutable: it allows
	// for adding or removing a secondary IP family, but it does not allow
	// changing the primary IP family of the Service. Valid values are "IPv4"
	// and "IPv6".  This field only applies to Services of types ClusterIP,
	// NodePort, and LoadBalancer, and does apply to "headless" services.
	// This field will be wiped when updating a Service to type ExternalName.
	//
	// This field may hold a maximum of two entries (dual-stack families, in
	// either order).  These families must correspond to the values of the
	// clusterIPs field, if specified. Both clusterIPs and ipFamilies are
	// governed by the ipFamilyPolicy field.
	// +listType=atomic
	// +optional
	IPFamilies []IPFamily `json:"ipFamilies,omitempty" protobuf:"bytes,19,opt,name=ipFamilies,casttype=IPFamily"`

	// IPFamilyPolicy represents the dual-stack-ness requested or required by
	// this Service. If there is no value provided, then this field will be set
	// to SingleStack. Services can be "SingleStack" (a single IP family),
	// "PreferDualStack" (two IP families on dual-stack configured clusters or
	// a single IP family on single-stack clusters), or "RequireDualStack"
	// (two IP families on dual-stack configured clusters, otherwise fail). The
	// ipFamilies and clusterIPs fields depend on the value of this field. This
	// field will be wiped when updating a service to type ExternalName.
	// +optional
	IPFamilyPolicy *IPFamilyPolicy `json:"ipFamilyPolicy,omitempty" protobuf:"bytes,17,opt,name=ipFamilyPolicy,casttype=IPFamilyPolicy"`

	// loadBalancerClass is the class of the load balancer implementation this Service belongs to.
	// If specified, the value of this field must be a label-style identifier, with an optional prefix,
	// e.g. "internal-vip" or "example.com/internal-vip". Unprefixed names are reserved for end-users.
	// This field can only be set when the Service type is 'LoadBalancer'. If not set, the default load
	// balancer implementation is used, today this is typically done through the cloud provider integration,
	// but should apply for any default implementation. If set, it is assumed that a load balancer
	// implementation is watching for Services with a matching class. Any default load balancer
	// implementation (e.g. cloud providers) should ignore Services that set this field.
	// This field can only be set when creating or updating a Service to type 'LoadBalancer'.
	// Once set, it can not be changed. This field will be wiped when a service is updated to a non 'LoadBalancer' type.
	// +optional
	LoadBalancerClass *string `json:"loadBalancerClass,omitempty" protobuf:"bytes,21,opt,name=loadBalancerClass"`

	// InternalTrafficPolicy describes how nodes distribute service traffic they
	// receive on the ClusterIP. If set to "Local", the proxy will assume that pods
	// only want to talk to endpoints of the service on the same node as the pod,
	// dropping the traffic if there are no local endpoints. The default value,
	// "Cluster", uses the standard behavior of routing to all endpoints evenly
	// (possibly modified by topology and other features).
	// +optional
	InternalTrafficPolicy *ServiceInternalTrafficPolicy `json:"internalTrafficPolicy,omitempty" protobuf:"bytes,22,opt,name=internalTrafficPolicy"`

	// TrafficDistribution offers a way to express preferences for how traffic is
	// distributed to Service endpoints. Implementations can use this field as a
	// hint, but are not required to guarantee strict adherence. If the field is
	// not set, the implementation will apply its default routing strategy. If set
	// to "PreferClose", implementations should prioritize endpoints that are
	// topologically close (e.g., same zone).
	// This is an alpha field and requires enabling ServiceTrafficDistribution feature.
	// +optional
	TrafficDistribution *string `json:"trafficDistribution,omitempty" protobuf:"bytes,23,opt,name=trafficDistribution"`
}

ServiceSpec describes the attributes that a user creates on a service.

func (*ServiceSpec) DeepCopy

func (in *ServiceSpec) DeepCopy() *ServiceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec.

func (*ServiceSpec) DeepCopyInto

func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServiceSpec) DeepEqual

func (in *ServiceSpec) DeepEqual(other *ServiceSpec) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*ServiceSpec) Descriptor

func (*ServiceSpec) Descriptor() ([]byte, []int)

func (*ServiceSpec) Marshal

func (m *ServiceSpec) Marshal() (dAtA []byte, err error)

func (*ServiceSpec) MarshalTo

func (m *ServiceSpec) MarshalTo(dAtA []byte) (int, error)

func (*ServiceSpec) MarshalToSizedBuffer

func (m *ServiceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ServiceSpec) ProtoMessage

func (*ServiceSpec) ProtoMessage()

func (*ServiceSpec) Reset

func (m *ServiceSpec) Reset()

func (*ServiceSpec) Size

func (m *ServiceSpec) Size() (n int)

func (*ServiceSpec) String

func (this *ServiceSpec) String() string

func (*ServiceSpec) Unmarshal

func (m *ServiceSpec) Unmarshal(dAtA []byte) error

func (*ServiceSpec) XXX_DiscardUnknown

func (m *ServiceSpec) XXX_DiscardUnknown()

func (*ServiceSpec) XXX_Marshal

func (m *ServiceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceSpec) XXX_Merge

func (m *ServiceSpec) XXX_Merge(src proto.Message)

func (*ServiceSpec) XXX_Size

func (m *ServiceSpec) XXX_Size() int

func (*ServiceSpec) XXX_Unmarshal

func (m *ServiceSpec) XXX_Unmarshal(b []byte) error

type ServiceStatus

type ServiceStatus struct {
	// LoadBalancer contains the current status of the load-balancer,
	// if one is present.
	// +optional
	LoadBalancer LoadBalancerStatus `json:"loadBalancer,omitempty" protobuf:"bytes,1,opt,name=loadBalancer"`
	// Current service state
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []slim_metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`
}

ServiceStatus represents the current status of a service.

func (*ServiceStatus) DeepCopy

func (in *ServiceStatus) DeepCopy() *ServiceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus.

func (*ServiceStatus) DeepCopyInto

func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServiceStatus) DeepEqual

func (in *ServiceStatus) DeepEqual(other *ServiceStatus) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*ServiceStatus) Descriptor

func (*ServiceStatus) Descriptor() ([]byte, []int)

func (*ServiceStatus) Marshal

func (m *ServiceStatus) Marshal() (dAtA []byte, err error)

func (*ServiceStatus) MarshalTo

func (m *ServiceStatus) MarshalTo(dAtA []byte) (int, error)

func (*ServiceStatus) MarshalToSizedBuffer

func (m *ServiceStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ServiceStatus) ProtoMessage

func (*ServiceStatus) ProtoMessage()

func (*ServiceStatus) Reset

func (m *ServiceStatus) Reset()

func (*ServiceStatus) Size

func (m *ServiceStatus) Size() (n int)

func (*ServiceStatus) String

func (this *ServiceStatus) String() string

func (*ServiceStatus) Unmarshal

func (m *ServiceStatus) Unmarshal(dAtA []byte) error

func (*ServiceStatus) XXX_DiscardUnknown

func (m *ServiceStatus) XXX_DiscardUnknown()

func (*ServiceStatus) XXX_Marshal

func (m *ServiceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceStatus) XXX_Merge

func (m *ServiceStatus) XXX_Merge(src proto.Message)

func (*ServiceStatus) XXX_Size

func (m *ServiceStatus) XXX_Size() int

func (*ServiceStatus) XXX_Unmarshal

func (m *ServiceStatus) XXX_Unmarshal(b []byte) error

type ServiceType

type ServiceType string

Service Type string describes ingress methods for a service +enum

const (
	// ServiceTypeClusterIP means a service will only be accessible inside the
	// cluster, via the cluster IP.
	ServiceTypeClusterIP ServiceType = "ClusterIP"

	// ServiceTypeNodePort means a service will be exposed on one port of
	// every node, in addition to 'ClusterIP' type.
	ServiceTypeNodePort ServiceType = "NodePort"

	// ServiceTypeLoadBalancer means a service will be exposed via an
	// external load balancer (if the cloud provider supports it), in addition
	// to 'NodePort' type.
	ServiceTypeLoadBalancer ServiceType = "LoadBalancer"

	// ServiceTypeExternalName means a service consists of only a reference to
	// an external name that kubedns or equivalent will return as a CNAME
	// record, with no exposing or proxying of any pods involved.
	ServiceTypeExternalName ServiceType = "ExternalName"
)

type SessionAffinityConfig

type SessionAffinityConfig struct {
	// clientIP contains the configurations of Client IP based session affinity.
	// +optional
	ClientIP *ClientIPConfig `json:"clientIP,omitempty" protobuf:"bytes,1,opt,name=clientIP"`
}

SessionAffinityConfig represents the configurations of session affinity.

func (*SessionAffinityConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionAffinityConfig.

func (*SessionAffinityConfig) DeepCopyInto

func (in *SessionAffinityConfig) DeepCopyInto(out *SessionAffinityConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SessionAffinityConfig) DeepEqual

func (in *SessionAffinityConfig) DeepEqual(other *SessionAffinityConfig) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*SessionAffinityConfig) Descriptor

func (*SessionAffinityConfig) Descriptor() ([]byte, []int)

func (*SessionAffinityConfig) Marshal

func (m *SessionAffinityConfig) Marshal() (dAtA []byte, err error)

func (*SessionAffinityConfig) MarshalTo

func (m *SessionAffinityConfig) MarshalTo(dAtA []byte) (int, error)

func (*SessionAffinityConfig) MarshalToSizedBuffer

func (m *SessionAffinityConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionAffinityConfig) ProtoMessage

func (*SessionAffinityConfig) ProtoMessage()

func (*SessionAffinityConfig) Reset

func (m *SessionAffinityConfig) Reset()

func (*SessionAffinityConfig) Size

func (m *SessionAffinityConfig) Size() (n int)

func (*SessionAffinityConfig) String

func (this *SessionAffinityConfig) String() string

func (*SessionAffinityConfig) Unmarshal

func (m *SessionAffinityConfig) Unmarshal(dAtA []byte) error

func (*SessionAffinityConfig) XXX_DiscardUnknown

func (m *SessionAffinityConfig) XXX_DiscardUnknown()

func (*SessionAffinityConfig) XXX_Marshal

func (m *SessionAffinityConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionAffinityConfig) XXX_Merge

func (m *SessionAffinityConfig) XXX_Merge(src proto.Message)

func (*SessionAffinityConfig) XXX_Size

func (m *SessionAffinityConfig) XXX_Size() int

func (*SessionAffinityConfig) XXX_Unmarshal

func (m *SessionAffinityConfig) XXX_Unmarshal(b []byte) error

type Taint

type Taint struct {
	// Required. The taint key to be applied to a node.
	Key string `json:"key" protobuf:"bytes,1,opt,name=key"`
	// The taint value corresponding to the taint key.
	// +optional
	Value string `json:"value,omitempty" protobuf:"bytes,2,opt,name=value"`
	// Required. The effect of the taint on pods
	// that do not tolerate the taint.
	// Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
	Effect TaintEffect `json:"effect" protobuf:"bytes,3,opt,name=effect,casttype=TaintEffect"`
	// TimeAdded represents the time at which the taint was added.
	// It is only written for NoExecute taints.
	// +optional
	TimeAdded *slim_metav1.Time `json:"timeAdded,omitempty" protobuf:"bytes,4,opt,name=timeAdded"`
}

The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.

func (*Taint) DeepCopy

func (in *Taint) DeepCopy() *Taint

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Taint.

func (*Taint) DeepCopyInto

func (in *Taint) DeepCopyInto(out *Taint)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Taint) DeepEqual

func (in *Taint) DeepEqual(other *Taint) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*Taint) Descriptor

func (*Taint) Descriptor() ([]byte, []int)

func (*Taint) Marshal

func (m *Taint) Marshal() (dAtA []byte, err error)

func (*Taint) MarshalTo

func (m *Taint) MarshalTo(dAtA []byte) (int, error)

func (*Taint) MarshalToSizedBuffer

func (m *Taint) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Taint) MatchTaint

func (t *Taint) MatchTaint(taintToMatch *Taint) bool

MatchTaint checks if the taint matches taintToMatch. Taints are unique by key:effect, if the two taints have same key:effect, regard as they match.

func (*Taint) ProtoMessage

func (*Taint) ProtoMessage()

func (*Taint) Reset

func (m *Taint) Reset()

func (*Taint) Size

func (m *Taint) Size() (n int)

func (*Taint) String

func (this *Taint) String() string

func (*Taint) ToString

func (t *Taint) ToString() string

taint.ToString() converts taint struct to string in format '<key>=<value>:<effect>', '<key>=<value>:', '<key>:<effect>', or '<key>'.

func (*Taint) Unmarshal

func (m *Taint) Unmarshal(dAtA []byte) error

func (*Taint) XXX_DiscardUnknown

func (m *Taint) XXX_DiscardUnknown()

func (*Taint) XXX_Marshal

func (m *Taint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Taint) XXX_Merge

func (m *Taint) XXX_Merge(src proto.Message)

func (*Taint) XXX_Size

func (m *Taint) XXX_Size() int

func (*Taint) XXX_Unmarshal

func (m *Taint) XXX_Unmarshal(b []byte) error

type TaintEffect

type TaintEffect string

+enum

const (
	// Do not allow new pods to schedule onto the node unless they tolerate the taint,
	// but allow all pods submitted to Kubelet without going through the scheduler
	// to start, and allow all already-running pods to continue running.
	// Enforced by the scheduler.
	TaintEffectNoSchedule TaintEffect = "NoSchedule"
	// Like TaintEffectNoSchedule, but the scheduler tries not to schedule
	// new pods onto the node, rather than prohibiting new pods from scheduling
	// onto the node entirely. Enforced by the scheduler.
	TaintEffectPreferNoSchedule TaintEffect = "PreferNoSchedule"

	// Evict any already-running pods that do not tolerate the taint.
	// Currently enforced by NodeController.
	TaintEffectNoExecute TaintEffect = "NoExecute"
)

type TypedLocalObjectReference

type TypedLocalObjectReference struct {
	// APIGroup is the group for the resource being referenced.
	// If APIGroup is not specified, the specified Kind must be in the core API group.
	// For any other third-party types, APIGroup is required.
	// +optional
	APIGroup *string `json:"apiGroup" protobuf:"bytes,1,opt,name=apiGroup"`
	// Kind is the type of resource being referenced
	Kind string `json:"kind" protobuf:"bytes,2,opt,name=kind"`
	// Name is the name of resource being referenced
	Name string `json:"name" protobuf:"bytes,3,opt,name=name"`
}

TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. +structType=atomic

func (*TypedLocalObjectReference) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TypedLocalObjectReference.

func (*TypedLocalObjectReference) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TypedLocalObjectReference) DeepEqual

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*TypedLocalObjectReference) Descriptor

func (*TypedLocalObjectReference) Descriptor() ([]byte, []int)

func (*TypedLocalObjectReference) Marshal

func (m *TypedLocalObjectReference) Marshal() (dAtA []byte, err error)

func (*TypedLocalObjectReference) MarshalTo

func (m *TypedLocalObjectReference) MarshalTo(dAtA []byte) (int, error)

func (*TypedLocalObjectReference) MarshalToSizedBuffer

func (m *TypedLocalObjectReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TypedLocalObjectReference) ProtoMessage

func (*TypedLocalObjectReference) ProtoMessage()

func (*TypedLocalObjectReference) Reset

func (m *TypedLocalObjectReference) Reset()

func (*TypedLocalObjectReference) Size

func (m *TypedLocalObjectReference) Size() (n int)

func (*TypedLocalObjectReference) String

func (this *TypedLocalObjectReference) String() string

func (*TypedLocalObjectReference) Unmarshal

func (m *TypedLocalObjectReference) Unmarshal(dAtA []byte) error

func (*TypedLocalObjectReference) XXX_DiscardUnknown

func (m *TypedLocalObjectReference) XXX_DiscardUnknown()

func (*TypedLocalObjectReference) XXX_Marshal

func (m *TypedLocalObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TypedLocalObjectReference) XXX_Merge

func (m *TypedLocalObjectReference) XXX_Merge(src proto.Message)

func (*TypedLocalObjectReference) XXX_Size

func (m *TypedLocalObjectReference) XXX_Size() int

func (*TypedLocalObjectReference) XXX_Unmarshal

func (m *TypedLocalObjectReference) XXX_Unmarshal(b []byte) error

type VolumeMount

type VolumeMount struct {
	// Path within the container at which the volume should be mounted.  Must
	// not contain ':'.
	MountPath string `json:"mountPath" protobuf:"bytes,3,opt,name=mountPath"`
}

VolumeMount describes a mounting of a Volume within a container.

func (*VolumeMount) DeepCopy

func (in *VolumeMount) DeepCopy() *VolumeMount

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMount.

func (*VolumeMount) DeepCopyInto

func (in *VolumeMount) DeepCopyInto(out *VolumeMount)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VolumeMount) DeepEqual

func (in *VolumeMount) DeepEqual(other *VolumeMount) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*VolumeMount) Descriptor

func (*VolumeMount) Descriptor() ([]byte, []int)

func (*VolumeMount) Marshal

func (m *VolumeMount) Marshal() (dAtA []byte, err error)

func (*VolumeMount) MarshalTo

func (m *VolumeMount) MarshalTo(dAtA []byte) (int, error)

func (*VolumeMount) MarshalToSizedBuffer

func (m *VolumeMount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VolumeMount) ProtoMessage

func (*VolumeMount) ProtoMessage()

func (*VolumeMount) Reset

func (m *VolumeMount) Reset()

func (*VolumeMount) Size

func (m *VolumeMount) Size() (n int)

func (*VolumeMount) String

func (this *VolumeMount) String() string

func (*VolumeMount) Unmarshal

func (m *VolumeMount) Unmarshal(dAtA []byte) error

func (*VolumeMount) XXX_DiscardUnknown

func (m *VolumeMount) XXX_DiscardUnknown()

func (*VolumeMount) XXX_Marshal

func (m *VolumeMount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeMount) XXX_Merge

func (m *VolumeMount) XXX_Merge(src proto.Message)

func (*VolumeMount) XXX_Size

func (m *VolumeMount) XXX_Size() int

func (*VolumeMount) XXX_Unmarshal

func (m *VolumeMount) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL