apik8s.io/api/networking/v1alpha1 Index | Files

package v1alpha1

import "k8s.io/api/networking/v1alpha1"

Index

Constants

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

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 ClusterCIDR

type ClusterCIDR 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 ClusterCIDR.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Spec ClusterCIDRSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

ClusterCIDR represents a single configuration for per-Node Pod CIDR allocations when the MultiCIDRRangeAllocator is enabled (see the config for kube-controller-manager). A cluster may have any number of ClusterCIDR resources, all of which will be considered when allocating a CIDR for a Node. A ClusterCIDR is eligible to be used for a given Node when the node selector matches the node in question and has free CIDRs to allocate. In case of multiple matching ClusterCIDR resources, the allocator will attempt to break ties using internal heuristics, but any ClusterCIDR whose node selector matches the Node may be used.

func (*ClusterCIDR) APILifecycleDeprecated

func (in *ClusterCIDR) 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 (*ClusterCIDR) APILifecycleIntroduced

func (in *ClusterCIDR) 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 (*ClusterCIDR) APILifecycleRemoved

func (in *ClusterCIDR) 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 (*ClusterCIDR) DeepCopy

func (in *ClusterCIDR) DeepCopy() *ClusterCIDR

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

func (*ClusterCIDR) DeepCopyInto

func (in *ClusterCIDR) DeepCopyInto(out *ClusterCIDR)

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

func (*ClusterCIDR) DeepCopyObject

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

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

func (*ClusterCIDR) Descriptor

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

func (*ClusterCIDR) Marshal

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

func (*ClusterCIDR) MarshalTo

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

func (*ClusterCIDR) MarshalToSizedBuffer

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

func (*ClusterCIDR) ProtoMessage

func (*ClusterCIDR) ProtoMessage()

func (*ClusterCIDR) Reset

func (m *ClusterCIDR) Reset()

func (*ClusterCIDR) Size

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

func (*ClusterCIDR) String

func (this *ClusterCIDR) String() string

func (ClusterCIDR) SwaggerDoc

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

func (*ClusterCIDR) Unmarshal

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

func (*ClusterCIDR) XXX_DiscardUnknown

func (m *ClusterCIDR) XXX_DiscardUnknown()

func (*ClusterCIDR) XXX_Marshal

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

func (*ClusterCIDR) XXX_Merge

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

func (*ClusterCIDR) XXX_Size

func (m *ClusterCIDR) XXX_Size() int

func (*ClusterCIDR) XXX_Unmarshal

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

type ClusterCIDRList

type ClusterCIDRList 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 ClusterCIDRs.
	Items []ClusterCIDR `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ClusterCIDRList contains a list of ClusterCIDR.

func (*ClusterCIDRList) APILifecycleDeprecated

func (in *ClusterCIDRList) 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 (*ClusterCIDRList) APILifecycleIntroduced

func (in *ClusterCIDRList) 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 (*ClusterCIDRList) APILifecycleRemoved

func (in *ClusterCIDRList) 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 (*ClusterCIDRList) DeepCopy

func (in *ClusterCIDRList) DeepCopy() *ClusterCIDRList

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

func (*ClusterCIDRList) DeepCopyInto

func (in *ClusterCIDRList) DeepCopyInto(out *ClusterCIDRList)

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

func (*ClusterCIDRList) DeepCopyObject

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

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

func (*ClusterCIDRList) Descriptor

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

func (*ClusterCIDRList) Marshal

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

func (*ClusterCIDRList) MarshalTo

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

func (*ClusterCIDRList) MarshalToSizedBuffer

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

func (*ClusterCIDRList) ProtoMessage

func (*ClusterCIDRList) ProtoMessage()

func (*ClusterCIDRList) Reset

func (m *ClusterCIDRList) Reset()

func (*ClusterCIDRList) Size

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

func (*ClusterCIDRList) String

func (this *ClusterCIDRList) String() string

func (ClusterCIDRList) SwaggerDoc

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

func (*ClusterCIDRList) Unmarshal

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

func (*ClusterCIDRList) XXX_DiscardUnknown

func (m *ClusterCIDRList) XXX_DiscardUnknown()

func (*ClusterCIDRList) XXX_Marshal

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

func (*ClusterCIDRList) XXX_Merge

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

func (*ClusterCIDRList) XXX_Size

func (m *ClusterCIDRList) XXX_Size() int

func (*ClusterCIDRList) XXX_Unmarshal

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

type ClusterCIDRSpec

type ClusterCIDRSpec struct {
	// nodeSelector defines which nodes the config is applicable to.
	// An empty or nil nodeSelector selects all nodes.
	// This field is immutable.
	// +optional
	NodeSelector *v1.NodeSelector `json:"nodeSelector,omitempty" protobuf:"bytes,1,opt,name=nodeSelector"`

	// perNodeHostBits defines the number of host bits to be configured per node.
	// A subnet mask determines how much of the address is used for network bits
	// and host bits. For example an IPv4 address of 192.168.0.0/24, splits the
	// address into 24 bits for the network portion and 8 bits for the host portion.
	// To allocate 256 IPs, set this field to 8 (a /24 mask for IPv4 or a /120 for IPv6).
	// Minimum value is 4 (16 IPs).
	// This field is immutable.
	// +required
	PerNodeHostBits int32 `json:"perNodeHostBits" protobuf:"varint,2,opt,name=perNodeHostBits"`

	// ipv4 defines an IPv4 IP block in CIDR notation(e.g. "10.0.0.0/8").
	// At least one of ipv4 and ipv6 must be specified.
	// This field is immutable.
	// +optional
	IPv4 string `json:"ipv4" protobuf:"bytes,3,opt,name=ipv4"`

	// ipv6 defines an IPv6 IP block in CIDR notation(e.g. "2001:db8::/64").
	// At least one of ipv4 and ipv6 must be specified.
	// This field is immutable.
	// +optional
	IPv6 string `json:"ipv6" protobuf:"bytes,4,opt,name=ipv6"`
}

ClusterCIDRSpec defines the desired state of ClusterCIDR.

func (*ClusterCIDRSpec) DeepCopy

func (in *ClusterCIDRSpec) DeepCopy() *ClusterCIDRSpec

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

func (*ClusterCIDRSpec) DeepCopyInto

func (in *ClusterCIDRSpec) DeepCopyInto(out *ClusterCIDRSpec)

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

func (*ClusterCIDRSpec) Descriptor

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

func (*ClusterCIDRSpec) Marshal

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

func (*ClusterCIDRSpec) MarshalTo

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

func (*ClusterCIDRSpec) MarshalToSizedBuffer

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

func (*ClusterCIDRSpec) ProtoMessage

func (*ClusterCIDRSpec) ProtoMessage()

func (*ClusterCIDRSpec) Reset

func (m *ClusterCIDRSpec) Reset()

func (*ClusterCIDRSpec) Size

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

func (*ClusterCIDRSpec) String

func (this *ClusterCIDRSpec) String() string

func (ClusterCIDRSpec) SwaggerDoc

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

func (*ClusterCIDRSpec) Unmarshal

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

func (*ClusterCIDRSpec) XXX_DiscardUnknown

func (m *ClusterCIDRSpec) XXX_DiscardUnknown()

func (*ClusterCIDRSpec) XXX_Marshal

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

func (*ClusterCIDRSpec) XXX_Merge

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

func (*ClusterCIDRSpec) XXX_Size

func (m *ClusterCIDRSpec) XXX_Size() int

func (*ClusterCIDRSpec) XXX_Unmarshal

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

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

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

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

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

func (in *IPAddress) DeepCopy() *IPAddress

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

func (*IPAddress) DeepCopyInto

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

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

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

func (*IPAddress) Descriptor

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

func (*IPAddress) Marshal

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

func (*IPAddress) MarshalTo

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

func (*IPAddress) MarshalToSizedBuffer

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

func (*IPAddress) ProtoMessage

func (*IPAddress) ProtoMessage()

func (*IPAddress) Reset

func (m *IPAddress) Reset()

func (*IPAddress) Size

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

func (*IPAddress) String

func (this *IPAddress) String() string

func (IPAddress) SwaggerDoc

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

func (*IPAddress) Unmarshal

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

func (*IPAddress) XXX_DiscardUnknown

func (m *IPAddress) XXX_DiscardUnknown()

func (*IPAddress) XXX_Marshal

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

func (*IPAddress) XXX_Merge

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

func (*IPAddress) XXX_Size

func (m *IPAddress) XXX_Size() int

func (*IPAddress) XXX_Unmarshal

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

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"`
	// UID is the uid of the object being referenced.
	// +optional
	UID types.UID `json:"uid,omitempty" protobuf:"bytes,5,opt,name=uid,casttype=k8s.io/apimachinery/pkg/types.UID"`
}

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

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.28.7
Published
Feb 14, 2024
Platform
js/wasm
Imports
12 packages
Last checked
3 minutes ago

Tools for package owners.