Documentation ¶
Overview ¶
Package v1alpha2 contains API Schema definitions for the infrastructure v1alpha2 API group +kubebuilder:object:generate=true +groupName=ipam.cluster.x-k8s.io
Index ¶
- Variables
- type GlobalInClusterIPPool
- func (in *GlobalInClusterIPPool) DeepCopy() *GlobalInClusterIPPool
- func (in *GlobalInClusterIPPool) DeepCopyInto(out *GlobalInClusterIPPool)
- func (in *GlobalInClusterIPPool) DeepCopyObject() runtime.Object
- func (*GlobalInClusterIPPool) Hub()
- func (p *GlobalInClusterIPPool) PoolSpec() *InClusterIPPoolSpec
- func (p *GlobalInClusterIPPool) PoolStatus() *InClusterIPPoolStatus
- type GlobalInClusterIPPoolList
- type InClusterIPPool
- func (in *InClusterIPPool) DeepCopy() *InClusterIPPool
- func (in *InClusterIPPool) DeepCopyInto(out *InClusterIPPool)
- func (in *InClusterIPPool) DeepCopyObject() runtime.Object
- func (*InClusterIPPool) Hub()
- func (p *InClusterIPPool) PoolSpec() *InClusterIPPoolSpec
- func (p *InClusterIPPool) PoolStatus() *InClusterIPPoolStatus
- type InClusterIPPoolList
- type InClusterIPPoolSpec
- type InClusterIPPoolStatus
- type InClusterIPPoolStatusIPAddresses
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "ipam.cluster.x-k8s.io", Version: "v1alpha2"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type GlobalInClusterIPPool ¶
type GlobalInClusterIPPool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InClusterIPPoolSpec `json:"spec,omitempty"` Status InClusterIPPoolStatus `json:"status,omitempty"` }
GlobalInClusterIPPool is the Schema for the global inclusterippools API. This pool type is cluster scoped. IPAddressClaims can reference pools of this type from any namespace.
func (*GlobalInClusterIPPool) DeepCopy ¶
func (in *GlobalInClusterIPPool) DeepCopy() *GlobalInClusterIPPool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalInClusterIPPool.
func (*GlobalInClusterIPPool) DeepCopyInto ¶
func (in *GlobalInClusterIPPool) DeepCopyInto(out *GlobalInClusterIPPool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GlobalInClusterIPPool) DeepCopyObject ¶
func (in *GlobalInClusterIPPool) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*GlobalInClusterIPPool) Hub ¶
func (*GlobalInClusterIPPool) Hub()
Hub marks GlobalInClusterIPPool as a conversion hub.
func (*GlobalInClusterIPPool) PoolSpec ¶
func (p *GlobalInClusterIPPool) PoolSpec() *InClusterIPPoolSpec
PoolSpec implements the genericInClusterPool interface.
func (*GlobalInClusterIPPool) PoolStatus ¶
func (p *GlobalInClusterIPPool) PoolStatus() *InClusterIPPoolStatus
PoolStatus implements the genericInClusterPool interface.
type GlobalInClusterIPPoolList ¶
type GlobalInClusterIPPoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []GlobalInClusterIPPool `json:"items"` }
GlobalInClusterIPPoolList contains a list of GlobalInClusterIPPool.
func (*GlobalInClusterIPPoolList) DeepCopy ¶
func (in *GlobalInClusterIPPoolList) DeepCopy() *GlobalInClusterIPPoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalInClusterIPPoolList.
func (*GlobalInClusterIPPoolList) DeepCopyInto ¶
func (in *GlobalInClusterIPPoolList) DeepCopyInto(out *GlobalInClusterIPPoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GlobalInClusterIPPoolList) DeepCopyObject ¶
func (in *GlobalInClusterIPPoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*GlobalInClusterIPPoolList) Hub ¶
func (*GlobalInClusterIPPoolList) Hub()
Hub marks GlobalInClusterIPPoolList as a conversion hub.
type InClusterIPPool ¶
type InClusterIPPool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InClusterIPPoolSpec `json:"spec,omitempty"` Status InClusterIPPoolStatus `json:"status,omitempty"` }
InClusterIPPool is the Schema for the inclusterippools API.
func (*InClusterIPPool) DeepCopy ¶
func (in *InClusterIPPool) DeepCopy() *InClusterIPPool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InClusterIPPool.
func (*InClusterIPPool) DeepCopyInto ¶
func (in *InClusterIPPool) DeepCopyInto(out *InClusterIPPool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InClusterIPPool) DeepCopyObject ¶
func (in *InClusterIPPool) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InClusterIPPool) Hub ¶
func (*InClusterIPPool) Hub()
Hub marks InClusterIPPool as a conversion hub.
func (*InClusterIPPool) PoolSpec ¶
func (p *InClusterIPPool) PoolSpec() *InClusterIPPoolSpec
PoolSpec implements the genericInClusterPool interface.
func (*InClusterIPPool) PoolStatus ¶
func (p *InClusterIPPool) PoolStatus() *InClusterIPPoolStatus
PoolStatus implements the genericInClusterPool interface.
type InClusterIPPoolList ¶
type InClusterIPPoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []InClusterIPPool `json:"items"` }
InClusterIPPoolList contains a list of InClusterIPPool.
func (*InClusterIPPoolList) DeepCopy ¶
func (in *InClusterIPPoolList) DeepCopy() *InClusterIPPoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InClusterIPPoolList.
func (*InClusterIPPoolList) DeepCopyInto ¶
func (in *InClusterIPPoolList) DeepCopyInto(out *InClusterIPPoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InClusterIPPoolList) DeepCopyObject ¶
func (in *InClusterIPPoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InClusterIPPoolList) Hub ¶
func (*InClusterIPPoolList) Hub()
Hub marks InClusterIPPoolList as a conversion hub.
type InClusterIPPoolSpec ¶
type InClusterIPPoolSpec struct { // Addresses is a list of IP addresses that can be assigned. This set of // addresses can be non-contiguous. Addresses []string `json:"addresses"` // Prefix is the network prefix to use. // +kubebuilder:validation:Maximum=128 // +kubebuilder:validation:Minimum=0 Prefix int `json:"prefix"` // Gateway // +optional Gateway string `json:"gateway,omitempty"` // AllocateReservedIPAddresses causes the provider to allocate the network // address (the first address in the inferred subnet) and broadcast address // (the last address in the inferred subnet) when IPv4. The provider will // allocate the anycast address (the first address in the inferred // subnet) when IPv6. // +optional AllocateReservedIPAddresses bool `json:"allocateReservedIPAddresses,omitempty"` // ExcludedAddresses is a list of IP addresses, which will be excluded from // the set of assignable IP addresses. // +optional ExcludedAddresses []string `json:"excludedAddresses,omitempty"` }
InClusterIPPoolSpec defines the desired state of InClusterIPPool.
func (*InClusterIPPoolSpec) DeepCopy ¶
func (in *InClusterIPPoolSpec) DeepCopy() *InClusterIPPoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InClusterIPPoolSpec.
func (*InClusterIPPoolSpec) DeepCopyInto ¶
func (in *InClusterIPPoolSpec) DeepCopyInto(out *InClusterIPPoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InClusterIPPoolStatus ¶
type InClusterIPPoolStatus struct { // Addresses reports the count of total, free, and used IPs in the pool. // +optional Addresses *InClusterIPPoolStatusIPAddresses `json:"ipAddresses,omitempty"` }
InClusterIPPoolStatus defines the observed state of InClusterIPPool.
func (*InClusterIPPoolStatus) DeepCopy ¶
func (in *InClusterIPPoolStatus) DeepCopy() *InClusterIPPoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InClusterIPPoolStatus.
func (*InClusterIPPoolStatus) DeepCopyInto ¶
func (in *InClusterIPPoolStatus) DeepCopyInto(out *InClusterIPPoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InClusterIPPoolStatusIPAddresses ¶
type InClusterIPPoolStatusIPAddresses struct { // Total is the total number of IPs configured for the pool. // Counts greater than int can contain will report as math.MaxInt. Total int `json:"total"` // Free is the count of unallocated IPs in the pool. // Counts greater than int can contain will report as math.MaxInt. Free int `json:"free"` // Used is the count of allocated IPs in the pool. // Counts greater than int can contain will report as math.MaxInt. Used int `json:"used"` // Out of Range is the count of allocated IPs in the pool that is not // contained within spec.Addresses. // Counts greater than int can contain will report as math.MaxInt. OutOfRange int `json:"outOfRange"` }
InClusterIPPoolStatusIPAddresses contains the count of total, free, and used IPs in a pool.
func (*InClusterIPPoolStatusIPAddresses) DeepCopy ¶
func (in *InClusterIPPoolStatusIPAddresses) DeepCopy() *InClusterIPPoolStatusIPAddresses
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InClusterIPPoolStatusIPAddresses.
func (*InClusterIPPoolStatusIPAddresses) DeepCopyInto ¶
func (in *InClusterIPPoolStatusIPAddresses) DeepCopyInto(out *InClusterIPPoolStatusIPAddresses)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.