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

package v1alpha1

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

Index

Constants

const GroupName = "networking.k8s.io"

GroupName is the group name use 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 these objects.

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource.

Types

type ClusterCIDRConfig

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

	// Status is the current state of the ClusterCIDRConfig.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status ClusterCIDRConfigStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

ClusterCIDRConfig is the Schema for the clustercidrconfigs API.

func (*ClusterCIDRConfig) APILifecycleDeprecated

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

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

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

func (in *ClusterCIDRConfig) DeepCopy() *ClusterCIDRConfig

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

func (*ClusterCIDRConfig) DeepCopyInto

func (in *ClusterCIDRConfig) DeepCopyInto(out *ClusterCIDRConfig)

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

func (*ClusterCIDRConfig) DeepCopyObject

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

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

func (*ClusterCIDRConfig) Descriptor

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

func (*ClusterCIDRConfig) Marshal

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

func (*ClusterCIDRConfig) MarshalTo

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

func (*ClusterCIDRConfig) MarshalToSizedBuffer

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

func (*ClusterCIDRConfig) ProtoMessage

func (*ClusterCIDRConfig) ProtoMessage()

func (*ClusterCIDRConfig) Reset

func (m *ClusterCIDRConfig) Reset()

func (*ClusterCIDRConfig) Size

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

func (*ClusterCIDRConfig) String

func (this *ClusterCIDRConfig) String() string

func (ClusterCIDRConfig) SwaggerDoc

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

func (*ClusterCIDRConfig) Unmarshal

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

func (*ClusterCIDRConfig) XXX_DiscardUnknown

func (m *ClusterCIDRConfig) XXX_DiscardUnknown()

func (*ClusterCIDRConfig) XXX_Marshal

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

func (*ClusterCIDRConfig) XXX_Merge

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

func (*ClusterCIDRConfig) XXX_Size

func (m *ClusterCIDRConfig) XXX_Size() int

func (*ClusterCIDRConfig) XXX_Unmarshal

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

type ClusterCIDRConfigList

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

ClusterCIDRConfigList contains a list of ClusterCIDRConfig.

func (*ClusterCIDRConfigList) APILifecycleDeprecated

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

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

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

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

func (*ClusterCIDRConfigList) DeepCopyInto

func (in *ClusterCIDRConfigList) DeepCopyInto(out *ClusterCIDRConfigList)

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

func (*ClusterCIDRConfigList) DeepCopyObject

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

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

func (*ClusterCIDRConfigList) Descriptor

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

func (*ClusterCIDRConfigList) Marshal

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

func (*ClusterCIDRConfigList) MarshalTo

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

func (*ClusterCIDRConfigList) MarshalToSizedBuffer

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

func (*ClusterCIDRConfigList) ProtoMessage

func (*ClusterCIDRConfigList) ProtoMessage()

func (*ClusterCIDRConfigList) Reset

func (m *ClusterCIDRConfigList) Reset()

func (*ClusterCIDRConfigList) Size

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

func (*ClusterCIDRConfigList) String

func (this *ClusterCIDRConfigList) String() string

func (ClusterCIDRConfigList) SwaggerDoc

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

func (*ClusterCIDRConfigList) Unmarshal

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

func (*ClusterCIDRConfigList) XXX_DiscardUnknown

func (m *ClusterCIDRConfigList) XXX_DiscardUnknown()

func (*ClusterCIDRConfigList) XXX_Marshal

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

func (*ClusterCIDRConfigList) XXX_Merge

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

func (*ClusterCIDRConfigList) XXX_Size

func (m *ClusterCIDRConfigList) XXX_Size() int

func (*ClusterCIDRConfigList) XXX_Unmarshal

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

type ClusterCIDRConfigSpec

type ClusterCIDRConfigSpec struct {
	// NodeSelector defines which nodes the config is applicable to.
	// An empty or nil NodeSelector functions as a default that applies to 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 and 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.
	// For a /24 mask for IPv4 or a /120 for IPv6, configure PerNodeHostBits=8
	// This field is immutable.
	// +optional
	PerNodeHostBits int32 `json:"perNodeHostBits" protobuf:"varint,2,opt,name=perNodeHostBits"`

	// IPv4CIDR defines an IPv4 IP block in CIDR notation(e.g. "10.0.0.0/8").
	// This field is immutable.
	// +optional
	IPv4CIDR string `json:"ipv4CIDR" protobuf:"bytes,3,opt,name=ipv4CIDR"`

	// IPv6CIDR defines an IPv6 IP block in CIDR notation(e.g. "fd12:3456:789a:1::/64").
	// This field is immutable.
	// +optional
	IPv6CIDR string `json:"ipv6CIDR" protobuf:"bytes,4,opt,name=ipv6CIDR"`
}

ClusterCIDRConfigSpec defines the desired state of ClusterCIDRConfig.

func (*ClusterCIDRConfigSpec) DeepCopy

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

func (*ClusterCIDRConfigSpec) DeepCopyInto

func (in *ClusterCIDRConfigSpec) DeepCopyInto(out *ClusterCIDRConfigSpec)

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

func (*ClusterCIDRConfigSpec) Descriptor

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

func (*ClusterCIDRConfigSpec) Marshal

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

func (*ClusterCIDRConfigSpec) MarshalTo

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

func (*ClusterCIDRConfigSpec) MarshalToSizedBuffer

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

func (*ClusterCIDRConfigSpec) ProtoMessage

func (*ClusterCIDRConfigSpec) ProtoMessage()

func (*ClusterCIDRConfigSpec) Reset

func (m *ClusterCIDRConfigSpec) Reset()

func (*ClusterCIDRConfigSpec) Size

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

func (*ClusterCIDRConfigSpec) String

func (this *ClusterCIDRConfigSpec) String() string

func (ClusterCIDRConfigSpec) SwaggerDoc

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

func (*ClusterCIDRConfigSpec) Unmarshal

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

func (*ClusterCIDRConfigSpec) XXX_DiscardUnknown

func (m *ClusterCIDRConfigSpec) XXX_DiscardUnknown()

func (*ClusterCIDRConfigSpec) XXX_Marshal

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

func (*ClusterCIDRConfigSpec) XXX_Merge

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

func (*ClusterCIDRConfigSpec) XXX_Size

func (m *ClusterCIDRConfigSpec) XXX_Size() int

func (*ClusterCIDRConfigSpec) XXX_Unmarshal

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

type ClusterCIDRConfigStatus

type ClusterCIDRConfigStatus struct {
}

ClusterCIDRConfigStatus defines the observed state of ClusterCIDRConfig.

func (*ClusterCIDRConfigStatus) DeepCopy

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

func (*ClusterCIDRConfigStatus) DeepCopyInto

func (in *ClusterCIDRConfigStatus) DeepCopyInto(out *ClusterCIDRConfigStatus)

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

func (*ClusterCIDRConfigStatus) Descriptor

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

func (*ClusterCIDRConfigStatus) Marshal

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

func (*ClusterCIDRConfigStatus) MarshalTo

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

func (*ClusterCIDRConfigStatus) MarshalToSizedBuffer

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

func (*ClusterCIDRConfigStatus) ProtoMessage

func (*ClusterCIDRConfigStatus) ProtoMessage()

func (*ClusterCIDRConfigStatus) Reset

func (m *ClusterCIDRConfigStatus) Reset()

func (*ClusterCIDRConfigStatus) Size

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

func (*ClusterCIDRConfigStatus) String

func (this *ClusterCIDRConfigStatus) String() string

func (ClusterCIDRConfigStatus) SwaggerDoc

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

func (*ClusterCIDRConfigStatus) Unmarshal

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

func (*ClusterCIDRConfigStatus) XXX_DiscardUnknown

func (m *ClusterCIDRConfigStatus) XXX_DiscardUnknown()

func (*ClusterCIDRConfigStatus) XXX_Marshal

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

func (*ClusterCIDRConfigStatus) XXX_Merge

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

func (*ClusterCIDRConfigStatus) XXX_Size

func (m *ClusterCIDRConfigStatus) XXX_Size() int

func (*ClusterCIDRConfigStatus) XXX_Unmarshal

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

Source Files

doc.go generated.pb.go register.go types.go types_swagger_doc_generated.go zz_generated.deepcopy.go zz_generated.prerelease-lifecycle.go

Version
v0.24.0-beta.0
Published
Mar 31, 2022
Platform
js/wasm
Imports
11 packages
Last checked
28 seconds ago

Tools for package owners.