package v1
import "k8s.io/api/discovery/v1"
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AddressType
- type Endpoint
- func (in *Endpoint) DeepCopy() *Endpoint
- func (in *Endpoint) DeepCopyInto(out *Endpoint)
- func (*Endpoint) Descriptor() ([]byte, []int)
- func (m *Endpoint) Marshal() (dAtA []byte, err error)
- func (m *Endpoint) MarshalTo(dAtA []byte) (int, error)
- func (m *Endpoint) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Endpoint) ProtoMessage()
- func (m *Endpoint) Reset()
- func (m *Endpoint) Size() (n int)
- func (this *Endpoint) String() string
- func (Endpoint) SwaggerDoc() map[string]string
- func (m *Endpoint) Unmarshal(dAtA []byte) error
- func (m *Endpoint) XXX_DiscardUnknown()
- func (m *Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Endpoint) XXX_Merge(src proto.Message)
- func (m *Endpoint) XXX_Size() int
- func (m *Endpoint) XXX_Unmarshal(b []byte) error
- type EndpointConditions
- func (in *EndpointConditions) DeepCopy() *EndpointConditions
- func (in *EndpointConditions) DeepCopyInto(out *EndpointConditions)
- func (*EndpointConditions) Descriptor() ([]byte, []int)
- func (m *EndpointConditions) Marshal() (dAtA []byte, err error)
- func (m *EndpointConditions) MarshalTo(dAtA []byte) (int, error)
- func (m *EndpointConditions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EndpointConditions) ProtoMessage()
- func (m *EndpointConditions) Reset()
- func (m *EndpointConditions) Size() (n int)
- func (this *EndpointConditions) String() string
- func (EndpointConditions) SwaggerDoc() map[string]string
- func (m *EndpointConditions) Unmarshal(dAtA []byte) error
- func (m *EndpointConditions) XXX_DiscardUnknown()
- func (m *EndpointConditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EndpointConditions) XXX_Merge(src proto.Message)
- func (m *EndpointConditions) XXX_Size() int
- func (m *EndpointConditions) XXX_Unmarshal(b []byte) error
- type EndpointHints
- func (in *EndpointHints) DeepCopy() *EndpointHints
- func (in *EndpointHints) DeepCopyInto(out *EndpointHints)
- func (*EndpointHints) Descriptor() ([]byte, []int)
- func (m *EndpointHints) Marshal() (dAtA []byte, err error)
- func (m *EndpointHints) MarshalTo(dAtA []byte) (int, error)
- func (m *EndpointHints) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EndpointHints) ProtoMessage()
- func (m *EndpointHints) Reset()
- func (m *EndpointHints) Size() (n int)
- func (this *EndpointHints) String() string
- func (EndpointHints) SwaggerDoc() map[string]string
- func (m *EndpointHints) Unmarshal(dAtA []byte) error
- func (m *EndpointHints) XXX_DiscardUnknown()
- func (m *EndpointHints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EndpointHints) XXX_Merge(src proto.Message)
- func (m *EndpointHints) XXX_Size() int
- func (m *EndpointHints) XXX_Unmarshal(b []byte) error
- type EndpointPort
- func (in *EndpointPort) DeepCopy() *EndpointPort
- func (in *EndpointPort) DeepCopyInto(out *EndpointPort)
- func (*EndpointPort) Descriptor() ([]byte, []int)
- func (m *EndpointPort) Marshal() (dAtA []byte, err error)
- func (m *EndpointPort) MarshalTo(dAtA []byte) (int, error)
- func (m *EndpointPort) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EndpointPort) ProtoMessage()
- func (m *EndpointPort) Reset()
- func (m *EndpointPort) Size() (n int)
- func (this *EndpointPort) String() string
- func (EndpointPort) SwaggerDoc() map[string]string
- func (m *EndpointPort) Unmarshal(dAtA []byte) error
- func (m *EndpointPort) XXX_DiscardUnknown()
- func (m *EndpointPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EndpointPort) XXX_Merge(src proto.Message)
- func (m *EndpointPort) XXX_Size() int
- func (m *EndpointPort) XXX_Unmarshal(b []byte) error
- type EndpointSlice
- func (in *EndpointSlice) APILifecycleIntroduced() (major, minor int)
- func (in *EndpointSlice) DeepCopy() *EndpointSlice
- func (in *EndpointSlice) DeepCopyInto(out *EndpointSlice)
- func (in *EndpointSlice) DeepCopyObject() runtime.Object
- func (*EndpointSlice) Descriptor() ([]byte, []int)
- func (m *EndpointSlice) Marshal() (dAtA []byte, err error)
- func (m *EndpointSlice) MarshalTo(dAtA []byte) (int, error)
- func (m *EndpointSlice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EndpointSlice) ProtoMessage()
- func (m *EndpointSlice) Reset()
- func (m *EndpointSlice) Size() (n int)
- func (this *EndpointSlice) String() string
- func (EndpointSlice) SwaggerDoc() map[string]string
- func (m *EndpointSlice) Unmarshal(dAtA []byte) error
- func (m *EndpointSlice) XXX_DiscardUnknown()
- func (m *EndpointSlice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EndpointSlice) XXX_Merge(src proto.Message)
- func (m *EndpointSlice) XXX_Size() int
- func (m *EndpointSlice) XXX_Unmarshal(b []byte) error
- type EndpointSliceList
- func (in *EndpointSliceList) APILifecycleIntroduced() (major, minor int)
- func (in *EndpointSliceList) DeepCopy() *EndpointSliceList
- func (in *EndpointSliceList) DeepCopyInto(out *EndpointSliceList)
- func (in *EndpointSliceList) DeepCopyObject() runtime.Object
- func (*EndpointSliceList) Descriptor() ([]byte, []int)
- func (m *EndpointSliceList) Marshal() (dAtA []byte, err error)
- func (m *EndpointSliceList) MarshalTo(dAtA []byte) (int, error)
- func (m *EndpointSliceList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EndpointSliceList) ProtoMessage()
- func (m *EndpointSliceList) Reset()
- func (m *EndpointSliceList) Size() (n int)
- func (this *EndpointSliceList) String() string
- func (EndpointSliceList) SwaggerDoc() map[string]string
- func (m *EndpointSliceList) Unmarshal(dAtA []byte) error
- func (m *EndpointSliceList) XXX_DiscardUnknown()
- func (m *EndpointSliceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EndpointSliceList) XXX_Merge(src proto.Message)
- func (m *EndpointSliceList) XXX_Size() int
- func (m *EndpointSliceList) XXX_Unmarshal(b []byte) error
- type ForNode
- func (in *ForNode) DeepCopy() *ForNode
- func (in *ForNode) DeepCopyInto(out *ForNode)
- func (*ForNode) Descriptor() ([]byte, []int)
- func (m *ForNode) Marshal() (dAtA []byte, err error)
- func (m *ForNode) MarshalTo(dAtA []byte) (int, error)
- func (m *ForNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ForNode) ProtoMessage()
- func (m *ForNode) Reset()
- func (m *ForNode) Size() (n int)
- func (this *ForNode) String() string
- func (ForNode) SwaggerDoc() map[string]string
- func (m *ForNode) Unmarshal(dAtA []byte) error
- func (m *ForNode) XXX_DiscardUnknown()
- func (m *ForNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ForNode) XXX_Merge(src proto.Message)
- func (m *ForNode) XXX_Size() int
- func (m *ForNode) XXX_Unmarshal(b []byte) error
- type ForZone
- func (in *ForZone) DeepCopy() *ForZone
- func (in *ForZone) DeepCopyInto(out *ForZone)
- func (*ForZone) Descriptor() ([]byte, []int)
- func (m *ForZone) Marshal() (dAtA []byte, err error)
- func (m *ForZone) MarshalTo(dAtA []byte) (int, error)
- func (m *ForZone) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ForZone) ProtoMessage()
- func (m *ForZone) Reset()
- func (m *ForZone) Size() (n int)
- func (this *ForZone) String() string
- func (ForZone) SwaggerDoc() map[string]string
- func (m *ForZone) Unmarshal(dAtA []byte) error
- func (m *ForZone) XXX_DiscardUnknown()
- func (m *ForZone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ForZone) XXX_Merge(src proto.Message)
- func (m *ForZone) XXX_Size() int
- func (m *ForZone) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // AddressTypeIPv4 represents an IPv4 Address. AddressTypeIPv4 = AddressType(v1.IPv4Protocol) // AddressTypeIPv6 represents an IPv6 Address. AddressTypeIPv6 = AddressType(v1.IPv6Protocol) // AddressTypeFQDN represents a FQDN. AddressTypeFQDN = AddressType("FQDN") )
const ( // LabelServiceName is used to indicate the name of a Kubernetes service. LabelServiceName = "kubernetes.io/service-name" // LabelManagedBy is used to indicate the controller or entity that manages // an EndpointSlice. This label aims to enable different EndpointSlice // objects to be managed by different controllers or entities within the // same cluster. It is highly recommended to configure this label for all // EndpointSlices. LabelManagedBy = "endpointslice.kubernetes.io/managed-by" // LabelSkipMirror can be set to true on an Endpoints resource to indicate // that the EndpointSliceMirroring controller should not mirror this // resource with EndpointSlices. LabelSkipMirror = "endpointslice.kubernetes.io/skip-mirror" )
const GroupName = "discovery.k8s.io"
GroupName is the group name used in this package
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( // SchemeBuilder is the scheme builder with scheme init functions to run for this API package SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a common registration function for mapping packaged scoped group & version keys to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type AddressType ¶
type AddressType string
AddressType represents the type of address referred to by an endpoint. +enum
type Endpoint ¶
type Endpoint struct { // addresses of this endpoint. For EndpointSlices of addressType "IPv4" or "IPv6", // the values are IP addresses in canonical form. The syntax and semantics of // other addressType values are not defined. This must contain at least one // address but no more than 100. EndpointSlices generated by the EndpointSlice // controller will always have exactly 1 address. No semantics are defined for // additional addresses beyond the first, and kube-proxy does not look at them. // +listType=set Addresses []string `json:"addresses" protobuf:"bytes,1,rep,name=addresses"` // conditions contains information about the current status of the endpoint. Conditions EndpointConditions `json:"conditions,omitempty" protobuf:"bytes,2,opt,name=conditions"` // hostname of this endpoint. This field may be used by consumers of // endpoints to distinguish endpoints from each other (e.g. in DNS names). // Multiple endpoints which use the same hostname should be considered // fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS // Label (RFC 1123) validation. // +optional Hostname *string `json:"hostname,omitempty" protobuf:"bytes,3,opt,name=hostname"` // targetRef is a reference to a Kubernetes object that represents this // endpoint. // +optional TargetRef *v1.ObjectReference `json:"targetRef,omitempty" protobuf:"bytes,4,opt,name=targetRef"` // deprecatedTopology contains topology information part of the v1beta1 // API. This field is deprecated, and will be removed when the v1beta1 // API is removed (no sooner than kubernetes v1.24). While this field can // hold values, it is not writable through the v1 API, and any attempts to // write to it will be silently ignored. Topology information can be found // in the zone and nodeName fields instead. // +optional DeprecatedTopology map[string]string `json:"deprecatedTopology,omitempty" protobuf:"bytes,5,opt,name=deprecatedTopology"` // nodeName represents the name of the Node hosting this endpoint. This can // be used to determine endpoints local to a Node. // +optional NodeName *string `json:"nodeName,omitempty" protobuf:"bytes,6,opt,name=nodeName"` // zone is the name of the Zone this endpoint exists in. // +optional Zone *string `json:"zone,omitempty" protobuf:"bytes,7,opt,name=zone"` // hints contains information associated with how an endpoint should be // consumed. // +optional Hints *EndpointHints `json:"hints,omitempty" protobuf:"bytes,8,opt,name=hints"` }
Endpoint represents a single logical "backend" implementing a service.
func (*Endpoint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint.
func (*Endpoint) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Endpoint) Descriptor ¶
func (*Endpoint) Marshal ¶
func (*Endpoint) MarshalTo ¶
func (*Endpoint) MarshalToSizedBuffer ¶
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) Reset ¶
func (m *Endpoint) Reset()
func (*Endpoint) Size ¶
func (*Endpoint) String ¶
func (Endpoint) SwaggerDoc ¶
func (*Endpoint) Unmarshal ¶
func (*Endpoint) XXX_DiscardUnknown ¶
func (m *Endpoint) XXX_DiscardUnknown()
func (*Endpoint) XXX_Marshal ¶
func (*Endpoint) XXX_Merge ¶
func (*Endpoint) XXX_Size ¶
func (*Endpoint) XXX_Unmarshal ¶
type EndpointConditions ¶
type EndpointConditions struct { // ready indicates that this endpoint is ready to receive traffic, // according to whatever system is managing the endpoint. A nil value // should be interpreted as "true". In general, an endpoint should be // marked ready if it is serving and not terminating, though this can // be overridden in some cases, such as when the associated Service has // set the publishNotReadyAddresses flag. // +optional Ready *bool `json:"ready,omitempty" protobuf:"bytes,1,name=ready"` // serving indicates that this endpoint is able to receive traffic, // according to whatever system is managing the endpoint. For endpoints // backed by pods, the EndpointSlice controller will mark the endpoint // as serving if the pod's Ready condition is True. A nil value should be // interpreted as "true". // +optional Serving *bool `json:"serving,omitempty" protobuf:"bytes,2,name=serving"` // terminating indicates that this endpoint is terminating. A nil value // should be interpreted as "false". // +optional Terminating *bool `json:"terminating,omitempty" protobuf:"bytes,3,name=terminating"` }
EndpointConditions represents the current condition of an endpoint.
func (*EndpointConditions) DeepCopy ¶
func (in *EndpointConditions) DeepCopy() *EndpointConditions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConditions.
func (*EndpointConditions) DeepCopyInto ¶
func (in *EndpointConditions) DeepCopyInto(out *EndpointConditions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EndpointConditions) Descriptor ¶
func (*EndpointConditions) Descriptor() ([]byte, []int)
func (*EndpointConditions) Marshal ¶
func (m *EndpointConditions) Marshal() (dAtA []byte, err error)
func (*EndpointConditions) MarshalTo ¶
func (m *EndpointConditions) MarshalTo(dAtA []byte) (int, error)
func (*EndpointConditions) MarshalToSizedBuffer ¶
func (m *EndpointConditions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EndpointConditions) ProtoMessage ¶
func (*EndpointConditions) ProtoMessage()
func (*EndpointConditions) Reset ¶
func (m *EndpointConditions) Reset()
func (*EndpointConditions) Size ¶
func (m *EndpointConditions) Size() (n int)
func (*EndpointConditions) String ¶
func (this *EndpointConditions) String() string
func (EndpointConditions) SwaggerDoc ¶
func (EndpointConditions) SwaggerDoc() map[string]string
func (*EndpointConditions) Unmarshal ¶
func (m *EndpointConditions) Unmarshal(dAtA []byte) error
func (*EndpointConditions) XXX_DiscardUnknown ¶
func (m *EndpointConditions) XXX_DiscardUnknown()
func (*EndpointConditions) XXX_Marshal ¶
func (m *EndpointConditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EndpointConditions) XXX_Merge ¶
func (m *EndpointConditions) XXX_Merge(src proto.Message)
func (*EndpointConditions) XXX_Size ¶
func (m *EndpointConditions) XXX_Size() int
func (*EndpointConditions) XXX_Unmarshal ¶
func (m *EndpointConditions) XXX_Unmarshal(b []byte) error
type EndpointHints ¶
type EndpointHints struct { // forZones indicates the zone(s) this endpoint should be consumed by when // using topology aware routing. May contain a maximum of 8 entries. // +listType=atomic ForZones []ForZone `json:"forZones,omitempty" protobuf:"bytes,1,name=forZones"` // forNodes indicates the node(s) this endpoint should be consumed by when // using topology aware routing. May contain a maximum of 8 entries. // This is an Alpha feature and is only used when the PreferSameTrafficDistribution // feature gate is enabled. // +listType=atomic ForNodes []ForNode `json:"forNodes,omitempty" protobuf:"bytes,2,name=forNodes"` }
EndpointHints provides hints describing how an endpoint should be consumed.
func (*EndpointHints) DeepCopy ¶
func (in *EndpointHints) DeepCopy() *EndpointHints
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointHints.
func (*EndpointHints) DeepCopyInto ¶
func (in *EndpointHints) DeepCopyInto(out *EndpointHints)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EndpointHints) Descriptor ¶
func (*EndpointHints) Descriptor() ([]byte, []int)
func (*EndpointHints) Marshal ¶
func (m *EndpointHints) Marshal() (dAtA []byte, err error)
func (*EndpointHints) MarshalTo ¶
func (m *EndpointHints) MarshalTo(dAtA []byte) (int, error)
func (*EndpointHints) MarshalToSizedBuffer ¶
func (m *EndpointHints) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EndpointHints) ProtoMessage ¶
func (*EndpointHints) ProtoMessage()
func (*EndpointHints) Reset ¶
func (m *EndpointHints) Reset()
func (*EndpointHints) Size ¶
func (m *EndpointHints) Size() (n int)
func (*EndpointHints) String ¶
func (this *EndpointHints) String() string
func (EndpointHints) SwaggerDoc ¶
func (EndpointHints) SwaggerDoc() map[string]string
func (*EndpointHints) Unmarshal ¶
func (m *EndpointHints) Unmarshal(dAtA []byte) error
func (*EndpointHints) XXX_DiscardUnknown ¶
func (m *EndpointHints) XXX_DiscardUnknown()
func (*EndpointHints) XXX_Marshal ¶
func (m *EndpointHints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EndpointHints) XXX_Merge ¶
func (m *EndpointHints) XXX_Merge(src proto.Message)
func (*EndpointHints) XXX_Size ¶
func (m *EndpointHints) XXX_Size() int
func (*EndpointHints) XXX_Unmarshal ¶
func (m *EndpointHints) XXX_Unmarshal(b []byte) error
type EndpointPort ¶
type EndpointPort struct { // name represents the name of this port. All ports in an EndpointSlice must have a unique name. // If the EndpointSlice is derived from a Kubernetes service, this corresponds to the Service.ports[].name. // Name must either be an empty string or pass DNS_LABEL validation: // * must be no more than 63 characters long. // * must consist of lower case alphanumeric characters or '-'. // * must start and end with an alphanumeric character. // Default is empty string. Name *string `json:"name,omitempty" protobuf:"bytes,1,name=name"` // protocol represents the IP protocol for this port. // Must be UDP, TCP, or SCTP. // Default is TCP. Protocol *v1.Protocol `json:"protocol,omitempty" protobuf:"bytes,2,name=protocol"` // port represents the port number of the endpoint. // If the EndpointSlice is derived from a Kubernetes service, this must be set // to the service's target port. EndpointSlices used for other purposes may have // a nil port. Port *int32 `json:"port,omitempty" protobuf:"bytes,3,opt,name=port"` // The application protocol for this port. // This is used as a hint for implementations to offer richer behavior for protocols that they understand. // This field follows standard Kubernetes label syntax. // Valid values are either: // // * Un-prefixed protocol names - reserved for IANA standard service names (as per // RFC-6335 and https://www.iana.org/assignments/service-names). // // * Kubernetes-defined prefixed names: // * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior- // * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 // * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 // // * Other protocols should use implementation-defined prefixed names such as // mycompany.com/my-custom-protocol. // +optional AppProtocol *string `json:"appProtocol,omitempty" protobuf:"bytes,4,name=appProtocol"` }
EndpointPort represents a Port used by an EndpointSlice +structType=atomic
func (*EndpointPort) DeepCopy ¶
func (in *EndpointPort) DeepCopy() *EndpointPort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointPort.
func (*EndpointPort) DeepCopyInto ¶
func (in *EndpointPort) DeepCopyInto(out *EndpointPort)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EndpointPort) 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) SwaggerDoc ¶
func (EndpointPort) SwaggerDoc() map[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 EndpointSlice ¶
type EndpointSlice struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // addressType specifies the type of address carried by this EndpointSlice. // All addresses in this slice must be the same type. This field is // immutable after creation. The following address types are currently // supported: // * IPv4: Represents an IPv4 Address. // * IPv6: Represents an IPv6 Address. // * FQDN: Represents a Fully Qualified Domain Name. (Deprecated) // The EndpointSlice controller only generates, and kube-proxy only processes, // slices of addressType "IPv4" and "IPv6". No semantics are defined for // the "FQDN" type. AddressType AddressType `json:"addressType" protobuf:"bytes,4,rep,name=addressType"` // endpoints is a list of unique endpoints in this slice. Each slice may // include a maximum of 1000 endpoints. // +listType=atomic Endpoints []Endpoint `json:"endpoints" protobuf:"bytes,2,rep,name=endpoints"` // ports specifies the list of network ports exposed by each endpoint in // this slice. Each port must have a unique name. Each slice may include a // maximum of 100 ports. // Services always have at least 1 port, so EndpointSlices generated by the // EndpointSlice controller will likewise always have at least 1 port. // EndpointSlices used for other purposes may have an empty ports list. // +optional // +listType=atomic Ports []EndpointPort `json:"ports" protobuf:"bytes,3,rep,name=ports"` }
EndpointSlice represents a set of service endpoints. Most EndpointSlices are created by the EndpointSlice controller to represent the Pods selected by Service objects. For a given service there may be multiple EndpointSlice objects which must be joined to produce the full set of endpoints; you can find all of the slices for a given service by listing EndpointSlices in the service's namespace whose `kubernetes.io/service-name` label contains the service's name.
func (*EndpointSlice) APILifecycleIntroduced ¶
func (in *EndpointSlice) APILifecycleIntroduced() (major, minor int)
APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (*EndpointSlice) DeepCopy ¶
func (in *EndpointSlice) DeepCopy() *EndpointSlice
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSlice.
func (*EndpointSlice) DeepCopyInto ¶
func (in *EndpointSlice) DeepCopyInto(out *EndpointSlice)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EndpointSlice) DeepCopyObject ¶
func (in *EndpointSlice) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EndpointSlice) Descriptor ¶
func (*EndpointSlice) Descriptor() ([]byte, []int)
func (*EndpointSlice) Marshal ¶
func (m *EndpointSlice) Marshal() (dAtA []byte, err error)
func (*EndpointSlice) MarshalTo ¶
func (m *EndpointSlice) MarshalTo(dAtA []byte) (int, error)
func (*EndpointSlice) MarshalToSizedBuffer ¶
func (m *EndpointSlice) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EndpointSlice) ProtoMessage ¶
func (*EndpointSlice) ProtoMessage()
func (*EndpointSlice) Reset ¶
func (m *EndpointSlice) Reset()
func (*EndpointSlice) Size ¶
func (m *EndpointSlice) Size() (n int)
func (*EndpointSlice) String ¶
func (this *EndpointSlice) String() string
func (EndpointSlice) SwaggerDoc ¶
func (EndpointSlice) SwaggerDoc() map[string]string
func (*EndpointSlice) Unmarshal ¶
func (m *EndpointSlice) Unmarshal(dAtA []byte) error
func (*EndpointSlice) XXX_DiscardUnknown ¶
func (m *EndpointSlice) XXX_DiscardUnknown()
func (*EndpointSlice) XXX_Marshal ¶
func (m *EndpointSlice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EndpointSlice) XXX_Merge ¶
func (m *EndpointSlice) XXX_Merge(src proto.Message)
func (*EndpointSlice) XXX_Size ¶
func (m *EndpointSlice) XXX_Size() int
func (*EndpointSlice) XXX_Unmarshal ¶
func (m *EndpointSlice) XXX_Unmarshal(b []byte) error
type EndpointSliceList ¶
type EndpointSliceList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata. // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // items is the list of endpoint slices Items []EndpointSlice `json:"items" protobuf:"bytes,2,rep,name=items"` }
EndpointSliceList represents a list of endpoint slices
func (*EndpointSliceList) APILifecycleIntroduced ¶
func (in *EndpointSliceList) APILifecycleIntroduced() (major, minor int)
APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (*EndpointSliceList) DeepCopy ¶
func (in *EndpointSliceList) DeepCopy() *EndpointSliceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSliceList.
func (*EndpointSliceList) DeepCopyInto ¶
func (in *EndpointSliceList) DeepCopyInto(out *EndpointSliceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EndpointSliceList) DeepCopyObject ¶
func (in *EndpointSliceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EndpointSliceList) Descriptor ¶
func (*EndpointSliceList) Descriptor() ([]byte, []int)
func (*EndpointSliceList) Marshal ¶
func (m *EndpointSliceList) Marshal() (dAtA []byte, err error)
func (*EndpointSliceList) MarshalTo ¶
func (m *EndpointSliceList) MarshalTo(dAtA []byte) (int, error)
func (*EndpointSliceList) MarshalToSizedBuffer ¶
func (m *EndpointSliceList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EndpointSliceList) ProtoMessage ¶
func (*EndpointSliceList) ProtoMessage()
func (*EndpointSliceList) Reset ¶
func (m *EndpointSliceList) Reset()
func (*EndpointSliceList) Size ¶
func (m *EndpointSliceList) Size() (n int)
func (*EndpointSliceList) String ¶
func (this *EndpointSliceList) String() string
func (EndpointSliceList) SwaggerDoc ¶
func (EndpointSliceList) SwaggerDoc() map[string]string
func (*EndpointSliceList) Unmarshal ¶
func (m *EndpointSliceList) Unmarshal(dAtA []byte) error
func (*EndpointSliceList) XXX_DiscardUnknown ¶
func (m *EndpointSliceList) XXX_DiscardUnknown()
func (*EndpointSliceList) XXX_Marshal ¶
func (m *EndpointSliceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EndpointSliceList) XXX_Merge ¶
func (m *EndpointSliceList) XXX_Merge(src proto.Message)
func (*EndpointSliceList) XXX_Size ¶
func (m *EndpointSliceList) XXX_Size() int
func (*EndpointSliceList) XXX_Unmarshal ¶
func (m *EndpointSliceList) XXX_Unmarshal(b []byte) error
type ForNode ¶
type ForNode struct { // name represents the name of the node. Name string `json:"name" protobuf:"bytes,1,name=name"` }
ForNode provides information about which nodes should consume this endpoint.
func (*ForNode) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForNode.
func (*ForNode) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ForNode) Descriptor ¶
func (*ForNode) Marshal ¶
func (*ForNode) MarshalTo ¶
func (*ForNode) MarshalToSizedBuffer ¶
func (*ForNode) ProtoMessage ¶
func (*ForNode) ProtoMessage()
func (*ForNode) Reset ¶
func (m *ForNode) Reset()
func (*ForNode) Size ¶
func (*ForNode) String ¶
func (ForNode) SwaggerDoc ¶
func (*ForNode) Unmarshal ¶
func (*ForNode) XXX_DiscardUnknown ¶
func (m *ForNode) XXX_DiscardUnknown()
func (*ForNode) XXX_Marshal ¶
func (*ForNode) XXX_Merge ¶
func (*ForNode) XXX_Size ¶
func (*ForNode) XXX_Unmarshal ¶
type ForZone ¶
type ForZone struct { // name represents the name of the zone. Name string `json:"name" protobuf:"bytes,1,name=name"` }
ForZone provides information about which zones should consume this endpoint.
func (*ForZone) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForZone.
func (*ForZone) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ForZone) Descriptor ¶
func (*ForZone) Marshal ¶
func (*ForZone) MarshalTo ¶
func (*ForZone) MarshalToSizedBuffer ¶
func (*ForZone) ProtoMessage ¶
func (*ForZone) ProtoMessage()
func (*ForZone) Reset ¶
func (m *ForZone) Reset()
func (*ForZone) Size ¶
func (*ForZone) String ¶
func (ForZone) SwaggerDoc ¶
func (*ForZone) Unmarshal ¶
func (*ForZone) XXX_DiscardUnknown ¶
func (m *ForZone) XXX_DiscardUnknown()
func (*ForZone) XXX_Marshal ¶
func (*ForZone) XXX_Merge ¶
func (*ForZone) XXX_Size ¶
func (*ForZone) XXX_Unmarshal ¶
Source Files ¶
doc.go generated.pb.go register.go types.go types_swagger_doc_generated.go well_known_labels.go zz_generated.deepcopy.go zz_generated.prerelease-lifecycle.go
- Version
- v0.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 12 packages
- Last checked
- 3 days ago –
Tools for package owners.