v1

package
v1.10.8 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 12 Imported by: 25

Documentation

Overview

Package v1 contains slimmer versions of k8s core types.

Index

Constants

View Source
const DefaultClientIPServiceAffinitySeconds int32 = 10800
View Source
const GroupName = ""

GroupName is the group name use in this package

View Source
const (
	// MaxServiceTopologyKeys is the largest number of topology keys allowed on a service
	MaxServiceTopologyKeys = 16
)
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"
)

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

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 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"`
	// Docker 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. Exposing a port here gives
	// the system additional information about the network connections a
	// container uses, but is primarily informational. 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.
	// 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 EndpointAddress

type EndpointAddress struct {
	// The IP of this endpoint.
	// May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16),
	// or link-local multicast ((224.0.0.0/24).
	// IPv6 is also accepted but not fully supported on all platforms. Also, certain
	// kubernetes components, like kube-proxy, are not IPv6 ready.
	// TODO: This should allow hostname or IP, See #4447.
	IP string `json:"ip" protobuf:"bytes,1,opt,name=ip"`
	// 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.

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"`
}

EndpointPort is a tuple that describes a single port.

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
	Addresses []EndpointAddress `json:"addresses,omitempty" protobuf:"bytes,1,rep,name=addresses"`
	// Port numbers available on the related IP addresses.
	// +optional
	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
	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 EphemeralContainers added in v1.9.0

type EphemeralContainers struct {
	slim_metav1.TypeMeta `json:",inline"`
	// +optional
	slim_metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
}

A list of ephemeral containers used with the Pod ephemeralcontainers subresource.

func (*EphemeralContainers) DeepCopy added in v1.9.0

func (in *EphemeralContainers) DeepCopy() *EphemeralContainers

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

func (*EphemeralContainers) DeepCopyInto added in v1.9.0

func (in *EphemeralContainers) DeepCopyInto(out *EphemeralContainers)

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

func (*EphemeralContainers) DeepCopyObject added in v1.9.0

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

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

func (*EphemeralContainers) DeepEqual added in v1.9.0

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

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

func (*EphemeralContainers) Descriptor added in v1.9.0

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

func (*EphemeralContainers) Marshal added in v1.9.0

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

func (*EphemeralContainers) MarshalTo added in v1.9.0

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

func (*EphemeralContainers) MarshalToSizedBuffer added in v1.9.0

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

func (*EphemeralContainers) ProtoMessage added in v1.9.0

func (*EphemeralContainers) ProtoMessage()

func (*EphemeralContainers) Reset added in v1.9.0

func (m *EphemeralContainers) Reset()

func (*EphemeralContainers) Size added in v1.9.0

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

func (*EphemeralContainers) String added in v1.9.0

func (this *EphemeralContainers) String() string

func (*EphemeralContainers) Unmarshal added in v1.9.0

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

func (*EphemeralContainers) XXX_DiscardUnknown added in v1.9.0

func (m *EphemeralContainers) XXX_DiscardUnknown()

func (*EphemeralContainers) XXX_Marshal added in v1.9.0

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

func (*EphemeralContainers) XXX_Merge added in v1.9.0

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

func (*EphemeralContainers) XXX_Size added in v1.9.0

func (m *EphemeralContainers) XXX_Size() int

func (*EphemeralContainers) XXX_Unmarshal added in v1.9.0

func (m *EphemeralContainers) 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).

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

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"`
}

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
	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    NodeAddressType = "Hostname"
	NodeExternalIP  NodeAddressType = "ExternalIP"
	NodeInternalIP  NodeAddressType = "InternalIP"
	NodeExternalDNS NodeAddressType = "ExternalDNS"
	NodeInternalDNS NodeAddressType = "InternalDNS"
)

These are valid address type of node.

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 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
	PodCIDRs []string `json:"podCIDRs,omitempty" protobuf:"bytes,7,opt,name=podCIDRs" patchStrategy:"merge"`

	// If specified, the node's taints.
	// +optional
	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 {
	// 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 http://pr.k8s.io/79391 for an example.
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	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) 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"
)

These are valid conditions of pod.

type PodIP

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

IP address information for entries in the (plural) PodIPs field. Each entry includes:

IP: An IP address allocated to the pod. Routable at least within the cluster.

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.

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.
	PodUnknown PodPhase = "Unknown"
)

These are the valid statuses of pods.

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
	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
	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"`
	// 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
	Conditions []PodCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`
	// IP address of the host to which the pod is assigned. Empty if not yet scheduled.
	// +optional
	HostIP string `json:"hostIP,omitempty" protobuf:"bytes,5,opt,name=hostIP"`
	// IP 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
	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"`
}

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 Protocol

type Protocol string

Protocol defines network protocols supported for things like container ports.

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 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

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

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

type ServiceExternalTrafficPolicyType

type ServiceExternalTrafficPolicyType string

Service External Traffic Policy Type string

const (
	// ServiceExternalTrafficPolicyTypeLocal specifies node-local endpoints behavior.
	ServiceExternalTrafficPolicyTypeLocal ServiceExternalTrafficPolicyType = "Local"
	// ServiceExternalTrafficPolicyTypeCluster specifies node-global (legacy) behavior.
	ServiceExternalTrafficPolicyTypeCluster ServiceExternalTrafficPolicyType = "Cluster"
)

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 port that will be exposed by this service.
	Port int32 `json:"port" protobuf:"varint,3,opt,name=port"`

	// 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
	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.
	//
	// Unless the "IPv6DualStack" feature gate is enabled, this field is
	// limited to one value, which must be the same as the clusterIP field.  If
	// the feature gate is enabled, 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
	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
	// LoadBalancer will get created with the IP specified in this field.
	// 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.
	// +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/configure-cloud-provider-firewall/
	// +optional
	LoadBalancerSourceRanges []string `json:"loadBalancerSourceRanges,omitempty" protobuf:"bytes,9,opt,name=loadBalancerSourceRanges"`

	// externalTrafficPolicy denotes if this Service desires to route external
	// traffic to node-local or cluster-wide endpoints. "Local" preserves the
	// client source IP and avoids a second hop for LoadBalancer and Nodeport
	// type services, but risks potentially imbalanced traffic spreading.
	// "Cluster" obscures the client source IP and may cause a second hop to
	// another node, but should have good overall load-spreading.
	// +optional
	ExternalTrafficPolicy ServiceExternalTrafficPolicyType `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).
	// +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, and is gated by the "IPv6DualStack" feature gate.  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"`
}

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"`
}

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

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
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 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