package v1alpha1
import "k8s.io/api/networking/v1alpha1"
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type IPAddress
- func (in *IPAddress) APILifecycleDeprecated() (major, minor int)
- func (in *IPAddress) APILifecycleIntroduced() (major, minor int)
- func (in *IPAddress) APILifecycleRemoved() (major, minor int)
- func (in *IPAddress) DeepCopy() *IPAddress
- func (in *IPAddress) DeepCopyInto(out *IPAddress)
- func (in *IPAddress) DeepCopyObject() runtime.Object
- func (*IPAddress) Descriptor() ([]byte, []int)
- func (m *IPAddress) Marshal() (dAtA []byte, err error)
- func (m *IPAddress) MarshalTo(dAtA []byte) (int, error)
- func (m *IPAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IPAddress) ProtoMessage()
- func (m *IPAddress) Reset()
- func (m *IPAddress) Size() (n int)
- func (this *IPAddress) String() string
- func (IPAddress) SwaggerDoc() map[string]string
- func (m *IPAddress) Unmarshal(dAtA []byte) error
- func (m *IPAddress) XXX_DiscardUnknown()
- func (m *IPAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IPAddress) XXX_Merge(src proto.Message)
- func (m *IPAddress) XXX_Size() int
- func (m *IPAddress) XXX_Unmarshal(b []byte) error
- type IPAddressList
- func (in *IPAddressList) APILifecycleDeprecated() (major, minor int)
- func (in *IPAddressList) APILifecycleIntroduced() (major, minor int)
- func (in *IPAddressList) APILifecycleRemoved() (major, minor int)
- func (in *IPAddressList) DeepCopy() *IPAddressList
- func (in *IPAddressList) DeepCopyInto(out *IPAddressList)
- func (in *IPAddressList) DeepCopyObject() runtime.Object
- func (*IPAddressList) Descriptor() ([]byte, []int)
- func (m *IPAddressList) Marshal() (dAtA []byte, err error)
- func (m *IPAddressList) MarshalTo(dAtA []byte) (int, error)
- func (m *IPAddressList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IPAddressList) ProtoMessage()
- func (m *IPAddressList) Reset()
- func (m *IPAddressList) Size() (n int)
- func (this *IPAddressList) String() string
- func (IPAddressList) SwaggerDoc() map[string]string
- func (m *IPAddressList) Unmarshal(dAtA []byte) error
- func (m *IPAddressList) XXX_DiscardUnknown()
- func (m *IPAddressList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IPAddressList) XXX_Merge(src proto.Message)
- func (m *IPAddressList) XXX_Size() int
- func (m *IPAddressList) XXX_Unmarshal(b []byte) error
- type IPAddressSpec
- func (in *IPAddressSpec) DeepCopy() *IPAddressSpec
- func (in *IPAddressSpec) DeepCopyInto(out *IPAddressSpec)
- func (*IPAddressSpec) Descriptor() ([]byte, []int)
- func (m *IPAddressSpec) Marshal() (dAtA []byte, err error)
- func (m *IPAddressSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *IPAddressSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IPAddressSpec) ProtoMessage()
- func (m *IPAddressSpec) Reset()
- func (m *IPAddressSpec) Size() (n int)
- func (this *IPAddressSpec) String() string
- func (IPAddressSpec) SwaggerDoc() map[string]string
- func (m *IPAddressSpec) Unmarshal(dAtA []byte) error
- func (m *IPAddressSpec) XXX_DiscardUnknown()
- func (m *IPAddressSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IPAddressSpec) XXX_Merge(src proto.Message)
- func (m *IPAddressSpec) XXX_Size() int
- func (m *IPAddressSpec) XXX_Unmarshal(b []byte) error
- type ParentReference
- func (in *ParentReference) DeepCopy() *ParentReference
- func (in *ParentReference) DeepCopyInto(out *ParentReference)
- func (*ParentReference) Descriptor() ([]byte, []int)
- func (m *ParentReference) Marshal() (dAtA []byte, err error)
- func (m *ParentReference) MarshalTo(dAtA []byte) (int, error)
- func (m *ParentReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ParentReference) ProtoMessage()
- func (m *ParentReference) Reset()
- func (m *ParentReference) Size() (n int)
- func (this *ParentReference) String() string
- func (ParentReference) SwaggerDoc() map[string]string
- func (m *ParentReference) Unmarshal(dAtA []byte) error
- func (m *ParentReference) XXX_DiscardUnknown()
- func (m *ParentReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParentReference) XXX_Merge(src proto.Message)
- func (m *ParentReference) XXX_Size() int
- func (m *ParentReference) XXX_Unmarshal(b []byte) error
- type ServiceCIDR
- func (in *ServiceCIDR) APILifecycleDeprecated() (major, minor int)
- func (in *ServiceCIDR) APILifecycleIntroduced() (major, minor int)
- func (in *ServiceCIDR) APILifecycleRemoved() (major, minor int)
- func (in *ServiceCIDR) DeepCopy() *ServiceCIDR
- func (in *ServiceCIDR) DeepCopyInto(out *ServiceCIDR)
- func (in *ServiceCIDR) DeepCopyObject() runtime.Object
- func (*ServiceCIDR) Descriptor() ([]byte, []int)
- func (m *ServiceCIDR) Marshal() (dAtA []byte, err error)
- func (m *ServiceCIDR) MarshalTo(dAtA []byte) (int, error)
- func (m *ServiceCIDR) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ServiceCIDR) ProtoMessage()
- func (m *ServiceCIDR) Reset()
- func (m *ServiceCIDR) Size() (n int)
- func (this *ServiceCIDR) String() string
- func (ServiceCIDR) SwaggerDoc() map[string]string
- func (m *ServiceCIDR) Unmarshal(dAtA []byte) error
- func (m *ServiceCIDR) XXX_DiscardUnknown()
- func (m *ServiceCIDR) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceCIDR) XXX_Merge(src proto.Message)
- func (m *ServiceCIDR) XXX_Size() int
- func (m *ServiceCIDR) XXX_Unmarshal(b []byte) error
- type ServiceCIDRList
- func (in *ServiceCIDRList) APILifecycleDeprecated() (major, minor int)
- func (in *ServiceCIDRList) APILifecycleIntroduced() (major, minor int)
- func (in *ServiceCIDRList) APILifecycleRemoved() (major, minor int)
- func (in *ServiceCIDRList) DeepCopy() *ServiceCIDRList
- func (in *ServiceCIDRList) DeepCopyInto(out *ServiceCIDRList)
- func (in *ServiceCIDRList) DeepCopyObject() runtime.Object
- func (*ServiceCIDRList) Descriptor() ([]byte, []int)
- func (m *ServiceCIDRList) Marshal() (dAtA []byte, err error)
- func (m *ServiceCIDRList) MarshalTo(dAtA []byte) (int, error)
- func (m *ServiceCIDRList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ServiceCIDRList) ProtoMessage()
- func (m *ServiceCIDRList) Reset()
- func (m *ServiceCIDRList) Size() (n int)
- func (this *ServiceCIDRList) String() string
- func (ServiceCIDRList) SwaggerDoc() map[string]string
- func (m *ServiceCIDRList) Unmarshal(dAtA []byte) error
- func (m *ServiceCIDRList) XXX_DiscardUnknown()
- func (m *ServiceCIDRList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceCIDRList) XXX_Merge(src proto.Message)
- func (m *ServiceCIDRList) XXX_Size() int
- func (m *ServiceCIDRList) XXX_Unmarshal(b []byte) error
- type ServiceCIDRSpec
- func (in *ServiceCIDRSpec) DeepCopy() *ServiceCIDRSpec
- func (in *ServiceCIDRSpec) DeepCopyInto(out *ServiceCIDRSpec)
- func (*ServiceCIDRSpec) Descriptor() ([]byte, []int)
- func (m *ServiceCIDRSpec) Marshal() (dAtA []byte, err error)
- func (m *ServiceCIDRSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *ServiceCIDRSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ServiceCIDRSpec) ProtoMessage()
- func (m *ServiceCIDRSpec) Reset()
- func (m *ServiceCIDRSpec) Size() (n int)
- func (this *ServiceCIDRSpec) String() string
- func (ServiceCIDRSpec) SwaggerDoc() map[string]string
- func (m *ServiceCIDRSpec) Unmarshal(dAtA []byte) error
- func (m *ServiceCIDRSpec) XXX_DiscardUnknown()
- func (m *ServiceCIDRSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceCIDRSpec) XXX_Merge(src proto.Message)
- func (m *ServiceCIDRSpec) XXX_Size() int
- func (m *ServiceCIDRSpec) XXX_Unmarshal(b []byte) error
- type ServiceCIDRStatus
- func (in *ServiceCIDRStatus) DeepCopy() *ServiceCIDRStatus
- func (in *ServiceCIDRStatus) DeepCopyInto(out *ServiceCIDRStatus)
- func (*ServiceCIDRStatus) Descriptor() ([]byte, []int)
- func (m *ServiceCIDRStatus) Marshal() (dAtA []byte, err error)
- func (m *ServiceCIDRStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *ServiceCIDRStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ServiceCIDRStatus) ProtoMessage()
- func (m *ServiceCIDRStatus) Reset()
- func (m *ServiceCIDRStatus) Size() (n int)
- func (this *ServiceCIDRStatus) String() string
- func (ServiceCIDRStatus) SwaggerDoc() map[string]string
- func (m *ServiceCIDRStatus) Unmarshal(dAtA []byte) error
- func (m *ServiceCIDRStatus) XXX_DiscardUnknown()
- func (m *ServiceCIDRStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceCIDRStatus) XXX_Merge(src proto.Message)
- func (m *ServiceCIDRStatus) XXX_Size() int
- func (m *ServiceCIDRStatus) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // ServiceCIDRConditionReady represents status of a ServiceCIDR that is ready to be used by the // apiserver to allocate ClusterIPs for Services. ServiceCIDRConditionReady = "Ready" // ServiceCIDRReasonTerminating represents a reason where a ServiceCIDR is not ready because it is // being deleted. ServiceCIDRReasonTerminating = "Terminating" )
const ( // TODO: Use IPFamily as field with a field selector,And the value is set based on // the name at create time and immutable. // LabelIPAddressFamily is used to indicate the IP family of a Kubernetes IPAddress. // This label simplify dual-stack client operations allowing to obtain the list of // IP addresses filtered by family. LabelIPAddressFamily = "ipaddress.kubernetes.io/ip-family" // LabelManagedBy is used to indicate the controller or entity that manages // an IPAddress. This label aims to enable different IPAddress // objects to be managed by different controllers or entities within the // same cluster. It is highly recommended to configure this label for all // IPAddress objects. LabelManagedBy = "ipaddress.kubernetes.io/managed-by" )
const GroupName = "networking.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 holds functions that add things to a scheme. // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme adds the types of this group into the given scheme. AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register objects in this package.
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 IPAddress ¶
type IPAddress struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // spec is the desired state of the IPAddress. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status // +optional Spec IPAddressSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` }
IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1
func (*IPAddress) APILifecycleDeprecated ¶
APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
func (*IPAddress) APILifecycleIntroduced ¶
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 (*IPAddress) APILifecycleRemoved ¶
APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
func (*IPAddress) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddress.
func (*IPAddress) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPAddress) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IPAddress) Descriptor ¶
func (*IPAddress) Marshal ¶
func (*IPAddress) MarshalTo ¶
func (*IPAddress) MarshalToSizedBuffer ¶
func (*IPAddress) ProtoMessage ¶
func (*IPAddress) ProtoMessage()
func (*IPAddress) Reset ¶
func (m *IPAddress) Reset()
func (*IPAddress) Size ¶
func (*IPAddress) String ¶
func (IPAddress) SwaggerDoc ¶
func (*IPAddress) Unmarshal ¶
func (*IPAddress) XXX_DiscardUnknown ¶
func (m *IPAddress) XXX_DiscardUnknown()
func (*IPAddress) XXX_Marshal ¶
func (*IPAddress) XXX_Merge ¶
func (*IPAddress) XXX_Size ¶
func (*IPAddress) XXX_Unmarshal ¶
type IPAddressList ¶
type IPAddressList struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // items is the list of IPAddresses. Items []IPAddress `json:"items" protobuf:"bytes,2,rep,name=items"` }
IPAddressList contains a list of IPAddress.
func (*IPAddressList) APILifecycleDeprecated ¶
func (in *IPAddressList) APILifecycleDeprecated() (major, minor int)
APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
func (*IPAddressList) APILifecycleIntroduced ¶
func (in *IPAddressList) 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 (*IPAddressList) APILifecycleRemoved ¶
func (in *IPAddressList) APILifecycleRemoved() (major, minor int)
APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
func (*IPAddressList) DeepCopy ¶
func (in *IPAddressList) DeepCopy() *IPAddressList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressList.
func (*IPAddressList) DeepCopyInto ¶
func (in *IPAddressList) DeepCopyInto(out *IPAddressList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPAddressList) DeepCopyObject ¶
func (in *IPAddressList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IPAddressList) Descriptor ¶
func (*IPAddressList) Descriptor() ([]byte, []int)
func (*IPAddressList) Marshal ¶
func (m *IPAddressList) Marshal() (dAtA []byte, err error)
func (*IPAddressList) MarshalTo ¶
func (m *IPAddressList) MarshalTo(dAtA []byte) (int, error)
func (*IPAddressList) MarshalToSizedBuffer ¶
func (m *IPAddressList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IPAddressList) ProtoMessage ¶
func (*IPAddressList) ProtoMessage()
func (*IPAddressList) Reset ¶
func (m *IPAddressList) Reset()
func (*IPAddressList) Size ¶
func (m *IPAddressList) Size() (n int)
func (*IPAddressList) String ¶
func (this *IPAddressList) String() string
func (IPAddressList) SwaggerDoc ¶
func (IPAddressList) SwaggerDoc() map[string]string
func (*IPAddressList) Unmarshal ¶
func (m *IPAddressList) Unmarshal(dAtA []byte) error
func (*IPAddressList) XXX_DiscardUnknown ¶
func (m *IPAddressList) XXX_DiscardUnknown()
func (*IPAddressList) XXX_Marshal ¶
func (m *IPAddressList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IPAddressList) XXX_Merge ¶
func (m *IPAddressList) XXX_Merge(src proto.Message)
func (*IPAddressList) XXX_Size ¶
func (m *IPAddressList) XXX_Size() int
func (*IPAddressList) XXX_Unmarshal ¶
func (m *IPAddressList) XXX_Unmarshal(b []byte) error
type IPAddressSpec ¶
type IPAddressSpec struct { // ParentRef references the resource that an IPAddress is attached to. // An IPAddress must reference a parent object. // +required ParentRef *ParentReference `json:"parentRef,omitempty" protobuf:"bytes,1,opt,name=parentRef"` }
IPAddressSpec describe the attributes in an IP Address.
func (*IPAddressSpec) DeepCopy ¶
func (in *IPAddressSpec) DeepCopy() *IPAddressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressSpec.
func (*IPAddressSpec) DeepCopyInto ¶
func (in *IPAddressSpec) DeepCopyInto(out *IPAddressSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPAddressSpec) Descriptor ¶
func (*IPAddressSpec) Descriptor() ([]byte, []int)
func (*IPAddressSpec) Marshal ¶
func (m *IPAddressSpec) Marshal() (dAtA []byte, err error)
func (*IPAddressSpec) MarshalTo ¶
func (m *IPAddressSpec) MarshalTo(dAtA []byte) (int, error)
func (*IPAddressSpec) MarshalToSizedBuffer ¶
func (m *IPAddressSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IPAddressSpec) ProtoMessage ¶
func (*IPAddressSpec) ProtoMessage()
func (*IPAddressSpec) Reset ¶
func (m *IPAddressSpec) Reset()
func (*IPAddressSpec) Size ¶
func (m *IPAddressSpec) Size() (n int)
func (*IPAddressSpec) String ¶
func (this *IPAddressSpec) String() string
func (IPAddressSpec) SwaggerDoc ¶
func (IPAddressSpec) SwaggerDoc() map[string]string
func (*IPAddressSpec) Unmarshal ¶
func (m *IPAddressSpec) Unmarshal(dAtA []byte) error
func (*IPAddressSpec) XXX_DiscardUnknown ¶
func (m *IPAddressSpec) XXX_DiscardUnknown()
func (*IPAddressSpec) XXX_Marshal ¶
func (m *IPAddressSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IPAddressSpec) XXX_Merge ¶
func (m *IPAddressSpec) XXX_Merge(src proto.Message)
func (*IPAddressSpec) XXX_Size ¶
func (m *IPAddressSpec) XXX_Size() int
func (*IPAddressSpec) XXX_Unmarshal ¶
func (m *IPAddressSpec) XXX_Unmarshal(b []byte) error
type ParentReference ¶
type ParentReference struct { // Group is the group of the object being referenced. // +optional Group string `json:"group,omitempty" protobuf:"bytes,1,opt,name=group"` // Resource is the resource of the object being referenced. // +required Resource string `json:"resource,omitempty" protobuf:"bytes,2,opt,name=resource"` // Namespace is the namespace of the object being referenced. // +optional Namespace string `json:"namespace,omitempty" protobuf:"bytes,3,opt,name=namespace"` // Name is the name of the object being referenced. // +required Name string `json:"name,omitempty" protobuf:"bytes,4,opt,name=name"` }
ParentReference describes a reference to a parent object.
func (*ParentReference) DeepCopy ¶
func (in *ParentReference) DeepCopy() *ParentReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParentReference.
func (*ParentReference) DeepCopyInto ¶
func (in *ParentReference) DeepCopyInto(out *ParentReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ParentReference) Descriptor ¶
func (*ParentReference) Descriptor() ([]byte, []int)
func (*ParentReference) Marshal ¶
func (m *ParentReference) Marshal() (dAtA []byte, err error)
func (*ParentReference) MarshalTo ¶
func (m *ParentReference) MarshalTo(dAtA []byte) (int, error)
func (*ParentReference) MarshalToSizedBuffer ¶
func (m *ParentReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ParentReference) ProtoMessage ¶
func (*ParentReference) ProtoMessage()
func (*ParentReference) Reset ¶
func (m *ParentReference) Reset()
func (*ParentReference) Size ¶
func (m *ParentReference) Size() (n int)
func (*ParentReference) String ¶
func (this *ParentReference) String() string
func (ParentReference) SwaggerDoc ¶
func (ParentReference) SwaggerDoc() map[string]string
func (*ParentReference) Unmarshal ¶
func (m *ParentReference) Unmarshal(dAtA []byte) error
func (*ParentReference) XXX_DiscardUnknown ¶
func (m *ParentReference) XXX_DiscardUnknown()
func (*ParentReference) XXX_Marshal ¶
func (m *ParentReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParentReference) XXX_Merge ¶
func (m *ParentReference) XXX_Merge(src proto.Message)
func (*ParentReference) XXX_Size ¶
func (m *ParentReference) XXX_Size() int
func (*ParentReference) XXX_Unmarshal ¶
func (m *ParentReference) XXX_Unmarshal(b []byte) error
type ServiceCIDR ¶
type ServiceCIDR struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // spec is the desired state of the ServiceCIDR. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status // +optional Spec ServiceCIDRSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // status represents the current state of the ServiceCIDR. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status // +optional Status ServiceCIDRStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.
func (*ServiceCIDR) APILifecycleDeprecated ¶
func (in *ServiceCIDR) APILifecycleDeprecated() (major, minor int)
APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
func (*ServiceCIDR) APILifecycleIntroduced ¶
func (in *ServiceCIDR) 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 (*ServiceCIDR) APILifecycleRemoved ¶
func (in *ServiceCIDR) APILifecycleRemoved() (major, minor int)
APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
func (*ServiceCIDR) DeepCopy ¶
func (in *ServiceCIDR) DeepCopy() *ServiceCIDR
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCIDR.
func (*ServiceCIDR) DeepCopyInto ¶
func (in *ServiceCIDR) DeepCopyInto(out *ServiceCIDR)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceCIDR) DeepCopyObject ¶
func (in *ServiceCIDR) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceCIDR) Descriptor ¶
func (*ServiceCIDR) Descriptor() ([]byte, []int)
func (*ServiceCIDR) Marshal ¶
func (m *ServiceCIDR) Marshal() (dAtA []byte, err error)
func (*ServiceCIDR) MarshalTo ¶
func (m *ServiceCIDR) MarshalTo(dAtA []byte) (int, error)
func (*ServiceCIDR) MarshalToSizedBuffer ¶
func (m *ServiceCIDR) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ServiceCIDR) ProtoMessage ¶
func (*ServiceCIDR) ProtoMessage()
func (*ServiceCIDR) Reset ¶
func (m *ServiceCIDR) Reset()
func (*ServiceCIDR) Size ¶
func (m *ServiceCIDR) Size() (n int)
func (*ServiceCIDR) String ¶
func (this *ServiceCIDR) String() string
func (ServiceCIDR) SwaggerDoc ¶
func (ServiceCIDR) SwaggerDoc() map[string]string
func (*ServiceCIDR) Unmarshal ¶
func (m *ServiceCIDR) Unmarshal(dAtA []byte) error
func (*ServiceCIDR) XXX_DiscardUnknown ¶
func (m *ServiceCIDR) XXX_DiscardUnknown()
func (*ServiceCIDR) XXX_Marshal ¶
func (m *ServiceCIDR) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceCIDR) XXX_Merge ¶
func (m *ServiceCIDR) XXX_Merge(src proto.Message)
func (*ServiceCIDR) XXX_Size ¶
func (m *ServiceCIDR) XXX_Size() int
func (*ServiceCIDR) XXX_Unmarshal ¶
func (m *ServiceCIDR) XXX_Unmarshal(b []byte) error
type ServiceCIDRList ¶
type ServiceCIDRList struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // items is the list of ServiceCIDRs. Items []ServiceCIDR `json:"items" protobuf:"bytes,2,rep,name=items"` }
ServiceCIDRList contains a list of ServiceCIDR objects.
func (*ServiceCIDRList) APILifecycleDeprecated ¶
func (in *ServiceCIDRList) APILifecycleDeprecated() (major, minor int)
APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
func (*ServiceCIDRList) APILifecycleIntroduced ¶
func (in *ServiceCIDRList) 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 (*ServiceCIDRList) APILifecycleRemoved ¶
func (in *ServiceCIDRList) APILifecycleRemoved() (major, minor int)
APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
func (*ServiceCIDRList) DeepCopy ¶
func (in *ServiceCIDRList) DeepCopy() *ServiceCIDRList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCIDRList.
func (*ServiceCIDRList) DeepCopyInto ¶
func (in *ServiceCIDRList) DeepCopyInto(out *ServiceCIDRList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceCIDRList) DeepCopyObject ¶
func (in *ServiceCIDRList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceCIDRList) Descriptor ¶
func (*ServiceCIDRList) Descriptor() ([]byte, []int)
func (*ServiceCIDRList) Marshal ¶
func (m *ServiceCIDRList) Marshal() (dAtA []byte, err error)
func (*ServiceCIDRList) MarshalTo ¶
func (m *ServiceCIDRList) MarshalTo(dAtA []byte) (int, error)
func (*ServiceCIDRList) MarshalToSizedBuffer ¶
func (m *ServiceCIDRList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ServiceCIDRList) ProtoMessage ¶
func (*ServiceCIDRList) ProtoMessage()
func (*ServiceCIDRList) Reset ¶
func (m *ServiceCIDRList) Reset()
func (*ServiceCIDRList) Size ¶
func (m *ServiceCIDRList) Size() (n int)
func (*ServiceCIDRList) String ¶
func (this *ServiceCIDRList) String() string
func (ServiceCIDRList) SwaggerDoc ¶
func (ServiceCIDRList) SwaggerDoc() map[string]string
func (*ServiceCIDRList) Unmarshal ¶
func (m *ServiceCIDRList) Unmarshal(dAtA []byte) error
func (*ServiceCIDRList) XXX_DiscardUnknown ¶
func (m *ServiceCIDRList) XXX_DiscardUnknown()
func (*ServiceCIDRList) XXX_Marshal ¶
func (m *ServiceCIDRList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceCIDRList) XXX_Merge ¶
func (m *ServiceCIDRList) XXX_Merge(src proto.Message)
func (*ServiceCIDRList) XXX_Size ¶
func (m *ServiceCIDRList) XXX_Size() int
func (*ServiceCIDRList) XXX_Unmarshal ¶
func (m *ServiceCIDRList) XXX_Unmarshal(b []byte) error
type ServiceCIDRSpec ¶
type ServiceCIDRSpec struct { // CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64") // from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. // The network address of each CIDR, the address that identifies the subnet of a host, is reserved // and will not be allocated. The broadcast address for IPv4 CIDRs is also reserved and will not be // allocated. // This field is immutable. // +optional // +listType=atomic CIDRs []string `json:"cidrs,omitempty" protobuf:"bytes,1,opt,name=cidrs"` }
ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.
func (*ServiceCIDRSpec) DeepCopy ¶
func (in *ServiceCIDRSpec) DeepCopy() *ServiceCIDRSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCIDRSpec.
func (*ServiceCIDRSpec) DeepCopyInto ¶
func (in *ServiceCIDRSpec) DeepCopyInto(out *ServiceCIDRSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceCIDRSpec) Descriptor ¶
func (*ServiceCIDRSpec) Descriptor() ([]byte, []int)
func (*ServiceCIDRSpec) Marshal ¶
func (m *ServiceCIDRSpec) Marshal() (dAtA []byte, err error)
func (*ServiceCIDRSpec) MarshalTo ¶
func (m *ServiceCIDRSpec) MarshalTo(dAtA []byte) (int, error)
func (*ServiceCIDRSpec) MarshalToSizedBuffer ¶
func (m *ServiceCIDRSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ServiceCIDRSpec) ProtoMessage ¶
func (*ServiceCIDRSpec) ProtoMessage()
func (*ServiceCIDRSpec) Reset ¶
func (m *ServiceCIDRSpec) Reset()
func (*ServiceCIDRSpec) Size ¶
func (m *ServiceCIDRSpec) Size() (n int)
func (*ServiceCIDRSpec) String ¶
func (this *ServiceCIDRSpec) String() string
func (ServiceCIDRSpec) SwaggerDoc ¶
func (ServiceCIDRSpec) SwaggerDoc() map[string]string
func (*ServiceCIDRSpec) Unmarshal ¶
func (m *ServiceCIDRSpec) Unmarshal(dAtA []byte) error
func (*ServiceCIDRSpec) XXX_DiscardUnknown ¶
func (m *ServiceCIDRSpec) XXX_DiscardUnknown()
func (*ServiceCIDRSpec) XXX_Marshal ¶
func (m *ServiceCIDRSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceCIDRSpec) XXX_Merge ¶
func (m *ServiceCIDRSpec) XXX_Merge(src proto.Message)
func (*ServiceCIDRSpec) XXX_Size ¶
func (m *ServiceCIDRSpec) XXX_Size() int
func (*ServiceCIDRSpec) XXX_Unmarshal ¶
func (m *ServiceCIDRSpec) XXX_Unmarshal(b []byte) error
type ServiceCIDRStatus ¶
type ServiceCIDRStatus struct { // conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. // Current service state // +optional // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` }
ServiceCIDRStatus describes the current state of the ServiceCIDR.
func (*ServiceCIDRStatus) DeepCopy ¶
func (in *ServiceCIDRStatus) DeepCopy() *ServiceCIDRStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCIDRStatus.
func (*ServiceCIDRStatus) DeepCopyInto ¶
func (in *ServiceCIDRStatus) DeepCopyInto(out *ServiceCIDRStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceCIDRStatus) Descriptor ¶
func (*ServiceCIDRStatus) Descriptor() ([]byte, []int)
func (*ServiceCIDRStatus) Marshal ¶
func (m *ServiceCIDRStatus) Marshal() (dAtA []byte, err error)
func (*ServiceCIDRStatus) MarshalTo ¶
func (m *ServiceCIDRStatus) MarshalTo(dAtA []byte) (int, error)
func (*ServiceCIDRStatus) MarshalToSizedBuffer ¶
func (m *ServiceCIDRStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ServiceCIDRStatus) ProtoMessage ¶
func (*ServiceCIDRStatus) ProtoMessage()
func (*ServiceCIDRStatus) Reset ¶
func (m *ServiceCIDRStatus) Reset()
func (*ServiceCIDRStatus) Size ¶
func (m *ServiceCIDRStatus) Size() (n int)
func (*ServiceCIDRStatus) String ¶
func (this *ServiceCIDRStatus) String() string
func (ServiceCIDRStatus) SwaggerDoc ¶
func (ServiceCIDRStatus) SwaggerDoc() map[string]string
func (*ServiceCIDRStatus) Unmarshal ¶
func (m *ServiceCIDRStatus) Unmarshal(dAtA []byte) error
func (*ServiceCIDRStatus) XXX_DiscardUnknown ¶
func (m *ServiceCIDRStatus) XXX_DiscardUnknown()
func (*ServiceCIDRStatus) XXX_Marshal ¶
func (m *ServiceCIDRStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceCIDRStatus) XXX_Merge ¶
func (m *ServiceCIDRStatus) XXX_Merge(src proto.Message)
func (*ServiceCIDRStatus) XXX_Size ¶
func (m *ServiceCIDRStatus) XXX_Size() int
func (*ServiceCIDRStatus) XXX_Unmarshal ¶
func (m *ServiceCIDRStatus) XXX_Unmarshal(b []byte) error
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
- 10 packages
- Last checked
- 3 days ago –
Tools for package owners.