v1alpha1

package
v0.30.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 10 Imported by: 40

Documentation

Index

Constants

View Source
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"
)
View Source
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"
)
View Source
const GroupName = "networking.k8s.io"

GroupName is the group name used in this package.

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 (
	// 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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register objects in this package.

Functions

func Kind added in v0.27.0

func Kind(kind string) schema.GroupKind

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 added in v0.27.0

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 added in v0.27.0

func (in *IPAddress) 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 (*IPAddress) APILifecycleIntroduced added in v0.27.0

func (in *IPAddress) 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 (*IPAddress) APILifecycleRemoved added in v0.27.0

func (in *IPAddress) 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 (*IPAddress) DeepCopy added in v0.27.0

func (in *IPAddress) DeepCopy() *IPAddress

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

func (*IPAddress) DeepCopyInto added in v0.27.0

func (in *IPAddress) DeepCopyInto(out *IPAddress)

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

func (*IPAddress) DeepCopyObject added in v0.27.0

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

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

func (*IPAddress) Descriptor added in v0.27.0

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

func (*IPAddress) Marshal added in v0.27.0

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

func (*IPAddress) MarshalTo added in v0.27.0

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

func (*IPAddress) MarshalToSizedBuffer added in v0.27.0

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

func (*IPAddress) ProtoMessage added in v0.27.0

func (*IPAddress) ProtoMessage()

func (*IPAddress) Reset added in v0.27.0

func (m *IPAddress) Reset()

func (*IPAddress) Size added in v0.27.0

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

func (*IPAddress) String added in v0.27.0

func (this *IPAddress) String() string

func (IPAddress) SwaggerDoc added in v0.27.0

func (IPAddress) SwaggerDoc() map[string]string

func (*IPAddress) Unmarshal added in v0.27.0

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

func (*IPAddress) XXX_DiscardUnknown added in v0.27.0

func (m *IPAddress) XXX_DiscardUnknown()

func (*IPAddress) XXX_Marshal added in v0.27.0

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

func (*IPAddress) XXX_Merge added in v0.27.0

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

func (*IPAddress) XXX_Size added in v0.27.0

func (m *IPAddress) XXX_Size() int

func (*IPAddress) XXX_Unmarshal added in v0.27.0

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

type IPAddressList added in v0.27.0

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 added in v0.27.0

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 added in v0.27.0

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 added in v0.27.0

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 added in v0.27.0

func (in *IPAddressList) DeepCopy() *IPAddressList

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

func (*IPAddressList) DeepCopyInto added in v0.27.0

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 added in v0.27.0

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

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

func (*IPAddressList) Descriptor added in v0.27.0

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

func (*IPAddressList) Marshal added in v0.27.0

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

func (*IPAddressList) MarshalTo added in v0.27.0

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

func (*IPAddressList) MarshalToSizedBuffer added in v0.27.0

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

func (*IPAddressList) ProtoMessage added in v0.27.0

func (*IPAddressList) ProtoMessage()

func (*IPAddressList) Reset added in v0.27.0

func (m *IPAddressList) Reset()

func (*IPAddressList) Size added in v0.27.0

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

func (*IPAddressList) String added in v0.27.0

func (this *IPAddressList) String() string

func (IPAddressList) SwaggerDoc added in v0.27.0

func (IPAddressList) SwaggerDoc() map[string]string

func (*IPAddressList) Unmarshal added in v0.27.0

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

func (*IPAddressList) XXX_DiscardUnknown added in v0.27.0

func (m *IPAddressList) XXX_DiscardUnknown()

func (*IPAddressList) XXX_Marshal added in v0.27.0

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

func (*IPAddressList) XXX_Merge added in v0.27.0

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

func (*IPAddressList) XXX_Size added in v0.27.0

func (m *IPAddressList) XXX_Size() int

func (*IPAddressList) XXX_Unmarshal added in v0.27.0

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

type IPAddressSpec added in v0.27.0

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 added in v0.27.0

func (in *IPAddressSpec) DeepCopy() *IPAddressSpec

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

func (*IPAddressSpec) DeepCopyInto added in v0.27.0

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 added in v0.27.0

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

func (*IPAddressSpec) Marshal added in v0.27.0

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

func (*IPAddressSpec) MarshalTo added in v0.27.0

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

func (*IPAddressSpec) MarshalToSizedBuffer added in v0.27.0

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

func (*IPAddressSpec) ProtoMessage added in v0.27.0

func (*IPAddressSpec) ProtoMessage()

func (*IPAddressSpec) Reset added in v0.27.0

func (m *IPAddressSpec) Reset()

func (*IPAddressSpec) Size added in v0.27.0

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

func (*IPAddressSpec) String added in v0.27.0

func (this *IPAddressSpec) String() string

func (IPAddressSpec) SwaggerDoc added in v0.27.0

func (IPAddressSpec) SwaggerDoc() map[string]string

func (*IPAddressSpec) Unmarshal added in v0.27.0

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

func (*IPAddressSpec) XXX_DiscardUnknown added in v0.27.0

func (m *IPAddressSpec) XXX_DiscardUnknown()

func (*IPAddressSpec) XXX_Marshal added in v0.27.0

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

func (*IPAddressSpec) XXX_Merge added in v0.27.0

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

func (*IPAddressSpec) XXX_Size added in v0.27.0

func (m *IPAddressSpec) XXX_Size() int

func (*IPAddressSpec) XXX_Unmarshal added in v0.27.0

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

type ParentReference added in v0.27.0

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 added in v0.27.0

func (in *ParentReference) DeepCopy() *ParentReference

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

func (*ParentReference) DeepCopyInto added in v0.27.0

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 added in v0.27.0

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

func (*ParentReference) Marshal added in v0.27.0

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

func (*ParentReference) MarshalTo added in v0.27.0

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

func (*ParentReference) MarshalToSizedBuffer added in v0.27.0

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

func (*ParentReference) ProtoMessage added in v0.27.0

func (*ParentReference) ProtoMessage()

func (*ParentReference) Reset added in v0.27.0

func (m *ParentReference) Reset()

func (*ParentReference) Size added in v0.27.0

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

func (*ParentReference) String added in v0.27.0

func (this *ParentReference) String() string

func (ParentReference) SwaggerDoc added in v0.27.0

func (ParentReference) SwaggerDoc() map[string]string

func (*ParentReference) Unmarshal added in v0.27.0

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

func (*ParentReference) XXX_DiscardUnknown added in v0.27.0

func (m *ParentReference) XXX_DiscardUnknown()

func (*ParentReference) XXX_Marshal added in v0.27.0

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

func (*ParentReference) XXX_Merge added in v0.27.0

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

func (*ParentReference) XXX_Size added in v0.27.0

func (m *ParentReference) XXX_Size() int

func (*ParentReference) XXX_Unmarshal added in v0.27.0

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

type ServiceCIDR added in v0.29.0

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 added in v0.29.0

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 added in v0.29.0

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 added in v0.29.0

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 added in v0.29.0

func (in *ServiceCIDR) DeepCopy() *ServiceCIDR

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

func (*ServiceCIDR) DeepCopyInto added in v0.29.0

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 added in v0.29.0

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

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

func (*ServiceCIDR) Descriptor added in v0.29.0

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

func (*ServiceCIDR) Marshal added in v0.29.0

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

func (*ServiceCIDR) MarshalTo added in v0.29.0

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

func (*ServiceCIDR) MarshalToSizedBuffer added in v0.29.0

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

func (*ServiceCIDR) ProtoMessage added in v0.29.0

func (*ServiceCIDR) ProtoMessage()

func (*ServiceCIDR) Reset added in v0.29.0

func (m *ServiceCIDR) Reset()

func (*ServiceCIDR) Size added in v0.29.0

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

func (*ServiceCIDR) String added in v0.29.0

func (this *ServiceCIDR) String() string

func (ServiceCIDR) SwaggerDoc added in v0.29.0

func (ServiceCIDR) SwaggerDoc() map[string]string

func (*ServiceCIDR) Unmarshal added in v0.29.0

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

func (*ServiceCIDR) XXX_DiscardUnknown added in v0.29.0

func (m *ServiceCIDR) XXX_DiscardUnknown()

func (*ServiceCIDR) XXX_Marshal added in v0.29.0

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

func (*ServiceCIDR) XXX_Merge added in v0.29.0

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

func (*ServiceCIDR) XXX_Size added in v0.29.0

func (m *ServiceCIDR) XXX_Size() int

func (*ServiceCIDR) XXX_Unmarshal added in v0.29.0

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

type ServiceCIDRList added in v0.29.0

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 added in v0.29.0

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 added in v0.29.0

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 added in v0.29.0

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 added in v0.29.0

func (in *ServiceCIDRList) DeepCopy() *ServiceCIDRList

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

func (*ServiceCIDRList) DeepCopyInto added in v0.29.0

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 added in v0.29.0

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

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

func (*ServiceCIDRList) Descriptor added in v0.29.0

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

func (*ServiceCIDRList) Marshal added in v0.29.0

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

func (*ServiceCIDRList) MarshalTo added in v0.29.0

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

func (*ServiceCIDRList) MarshalToSizedBuffer added in v0.29.0

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

func (*ServiceCIDRList) ProtoMessage added in v0.29.0

func (*ServiceCIDRList) ProtoMessage()

func (*ServiceCIDRList) Reset added in v0.29.0

func (m *ServiceCIDRList) Reset()

func (*ServiceCIDRList) Size added in v0.29.0

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

func (*ServiceCIDRList) String added in v0.29.0

func (this *ServiceCIDRList) String() string

func (ServiceCIDRList) SwaggerDoc added in v0.29.0

func (ServiceCIDRList) SwaggerDoc() map[string]string

func (*ServiceCIDRList) Unmarshal added in v0.29.0

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

func (*ServiceCIDRList) XXX_DiscardUnknown added in v0.29.0

func (m *ServiceCIDRList) XXX_DiscardUnknown()

func (*ServiceCIDRList) XXX_Marshal added in v0.29.0

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

func (*ServiceCIDRList) XXX_Merge added in v0.29.0

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

func (*ServiceCIDRList) XXX_Size added in v0.29.0

func (m *ServiceCIDRList) XXX_Size() int

func (*ServiceCIDRList) XXX_Unmarshal added in v0.29.0

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

type ServiceCIDRSpec added in v0.29.0

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.
	// This field is immutable.
	// +optional
	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 added in v0.29.0

func (in *ServiceCIDRSpec) DeepCopy() *ServiceCIDRSpec

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

func (*ServiceCIDRSpec) DeepCopyInto added in v0.29.0

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 added in v0.29.0

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

func (*ServiceCIDRSpec) Marshal added in v0.29.0

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

func (*ServiceCIDRSpec) MarshalTo added in v0.29.0

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

func (*ServiceCIDRSpec) MarshalToSizedBuffer added in v0.29.0

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

func (*ServiceCIDRSpec) ProtoMessage added in v0.29.0

func (*ServiceCIDRSpec) ProtoMessage()

func (*ServiceCIDRSpec) Reset added in v0.29.0

func (m *ServiceCIDRSpec) Reset()

func (*ServiceCIDRSpec) Size added in v0.29.0

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

func (*ServiceCIDRSpec) String added in v0.29.0

func (this *ServiceCIDRSpec) String() string

func (ServiceCIDRSpec) SwaggerDoc added in v0.29.0

func (ServiceCIDRSpec) SwaggerDoc() map[string]string

func (*ServiceCIDRSpec) Unmarshal added in v0.29.0

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

func (*ServiceCIDRSpec) XXX_DiscardUnknown added in v0.29.0

func (m *ServiceCIDRSpec) XXX_DiscardUnknown()

func (*ServiceCIDRSpec) XXX_Marshal added in v0.29.0

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

func (*ServiceCIDRSpec) XXX_Merge added in v0.29.0

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

func (*ServiceCIDRSpec) XXX_Size added in v0.29.0

func (m *ServiceCIDRSpec) XXX_Size() int

func (*ServiceCIDRSpec) XXX_Unmarshal added in v0.29.0

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

type ServiceCIDRStatus added in v0.29.0

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 added in v0.29.0

func (in *ServiceCIDRStatus) DeepCopy() *ServiceCIDRStatus

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

func (*ServiceCIDRStatus) DeepCopyInto added in v0.29.0

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 added in v0.29.0

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

func (*ServiceCIDRStatus) Marshal added in v0.29.0

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

func (*ServiceCIDRStatus) MarshalTo added in v0.29.0

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

func (*ServiceCIDRStatus) MarshalToSizedBuffer added in v0.29.0

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

func (*ServiceCIDRStatus) ProtoMessage added in v0.29.0

func (*ServiceCIDRStatus) ProtoMessage()

func (*ServiceCIDRStatus) Reset added in v0.29.0

func (m *ServiceCIDRStatus) Reset()

func (*ServiceCIDRStatus) Size added in v0.29.0

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

func (*ServiceCIDRStatus) String added in v0.29.0

func (this *ServiceCIDRStatus) String() string

func (ServiceCIDRStatus) SwaggerDoc added in v0.29.0

func (ServiceCIDRStatus) SwaggerDoc() map[string]string

func (*ServiceCIDRStatus) Unmarshal added in v0.29.0

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

func (*ServiceCIDRStatus) XXX_DiscardUnknown added in v0.29.0

func (m *ServiceCIDRStatus) XXX_DiscardUnknown()

func (*ServiceCIDRStatus) XXX_Marshal added in v0.29.0

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

func (*ServiceCIDRStatus) XXX_Merge added in v0.29.0

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

func (*ServiceCIDRStatus) XXX_Size added in v0.29.0

func (m *ServiceCIDRStatus) XXX_Size() int

func (*ServiceCIDRStatus) XXX_Unmarshal added in v0.29.0

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

Jump to

Keyboard shortcuts

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