calicov3

package
v0.0.0-...-cfc12f1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

API Schema definitions for configuring the installation of Calico and Calico Enterprise +kubebuilder:object:generate=true +groupName=crd.projectcalico.org

Index

Constants

View Source
const WindowsReservedHandle = "windows-reserved-ipam-handle"

windwowsReservedHandle is the handle used to reserve addresses required for Windows networking so that workloads do not get assigned these addresses.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "crd.projectcalico.org", Version: "v1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is required by pkg/client/...
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource is required by pkg/client/listers/...

Types

type BlockAffinity

type BlockAffinity struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              v3.BlockAffinitySpec `json:"spec,omitempty"`
}

+genclient +kubebuilder:object:root=true +genclient:nonNamespaced +k8s:openapi-gen=true +kubebuilder:resource:scope=Cluster

func (*BlockAffinity) DeepCopy

func (in *BlockAffinity) DeepCopy() *BlockAffinity

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

func (*BlockAffinity) DeepCopyInto

func (in *BlockAffinity) DeepCopyInto(out *BlockAffinity)

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

func (*BlockAffinity) DeepCopyObject

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

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

type BlockAffinityList

type BlockAffinityList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []BlockAffinity `json:"items"`
}

BlockAffinityList contains a list of BlockAffinity resources.

func (*BlockAffinityList) DeepCopy

func (in *BlockAffinityList) DeepCopy() *BlockAffinityList

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

func (*BlockAffinityList) DeepCopyInto

func (in *BlockAffinityList) DeepCopyInto(out *BlockAffinityList)

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

func (*BlockAffinityList) DeepCopyObject

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

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

type IPAMBlock

type IPAMBlock struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              v3.IPAMBlockSpec `json:"spec,omitempty"`
}

+genclient +kubebuilder:object:root=true +genclient:nonNamespaced +k8s:openapi-gen=true +kubebuilder:resource:scope=Cluster

func (*IPAMBlock) DeepCopy

func (in *IPAMBlock) DeepCopy() *IPAMBlock

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

func (*IPAMBlock) DeepCopyInto

func (in *IPAMBlock) DeepCopyInto(out *IPAMBlock)

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

func (*IPAMBlock) DeepCopyObject

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

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

func (*IPAMBlock) Empty

func (b *IPAMBlock) Empty() bool

func (*IPAMBlock) NumAddresses

func (b *IPAMBlock) NumAddresses() int

Get number of addresses covered by the block

func (*IPAMBlock) NumFreeAddresses

func (b *IPAMBlock) NumFreeAddresses() int

func (*IPAMBlock) NumReservedAddresses

func (b *IPAMBlock) NumReservedAddresses() int

type IPAMBlockList

type IPAMBlockList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []IPAMBlock `json:"items"`
}

IPAMBlockList contains a list of IPAMBlock resources.

func (*IPAMBlockList) DeepCopy

func (in *IPAMBlockList) DeepCopy() *IPAMBlockList

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

func (*IPAMBlockList) DeepCopyInto

func (in *IPAMBlockList) DeepCopyInto(out *IPAMBlockList)

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

func (*IPAMBlockList) DeepCopyObject

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

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

type IPPool

type IPPool struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              v3.IPPoolSpec `json:"spec,omitempty"`
}

+genclient +kubebuilder:object:root=true +genclient:nonNamespaced +k8s:openapi-gen=true +kubebuilder:resource:scope=Cluster

func (*IPPool) DeepCopy

func (in *IPPool) DeepCopy() *IPPool

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

func (*IPPool) DeepCopyInto

func (in *IPPool) DeepCopyInto(out *IPPool)

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

func (*IPPool) DeepCopyObject

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

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

func (IPPool) NumAddresses

func (p IPPool) NumAddresses() int

type IPPoolList

type IPPoolList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []IPPool `json:"items"`
}

IPPoolList contains a list of IPPool resources.

func (*IPPoolList) DeepCopy

func (in *IPPoolList) DeepCopy() *IPPoolList

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

func (*IPPoolList) DeepCopyInto

func (in *IPPoolList) DeepCopyInto(out *IPPoolList)

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

func (*IPPoolList) DeepCopyObject

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

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

Jump to

Keyboard shortcuts

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