Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Package v1alpha1 contains API Schema definitions for the network v1alpha1 API group +groupName=ipam.ironcore.dev
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type Prefix
- type PrefixAllocation
- type PrefixAllocationList
- type PrefixAllocationPhase
- type PrefixAllocationSpec
- type PrefixAllocationStatus
- type PrefixList
- type PrefixPhase
- type PrefixSpec
- type PrefixStatus
- type PrefixTemplateSpec
Constants ¶
const (
PrefixKind = "Prefix"
)
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "ipam.ironcore.dev", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type Prefix ¶
type Prefix struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PrefixSpec `json:"spec,omitempty"` Status PrefixStatus `json:"status,omitempty"` }
Prefix is the Schema for the prefixes API
func (*Prefix) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Prefix.
func (*Prefix) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Prefix) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrefixAllocation ¶
type PrefixAllocation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PrefixAllocationSpec `json:"spec,omitempty"` Status PrefixAllocationStatus `json:"status,omitempty"` }
PrefixAllocation is the Schema for the prefixallocations API
func (*PrefixAllocation) DeepCopy ¶
func (in *PrefixAllocation) DeepCopy() *PrefixAllocation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrefixAllocation.
func (*PrefixAllocation) DeepCopyInto ¶
func (in *PrefixAllocation) DeepCopyInto(out *PrefixAllocation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrefixAllocation) DeepCopyObject ¶
func (in *PrefixAllocation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrefixAllocationList ¶
type PrefixAllocationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PrefixAllocation `json:"items"` }
PrefixAllocationList contains a list of PrefixAllocation
func (*PrefixAllocationList) DeepCopy ¶
func (in *PrefixAllocationList) DeepCopy() *PrefixAllocationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrefixAllocationList.
func (*PrefixAllocationList) DeepCopyInto ¶
func (in *PrefixAllocationList) DeepCopyInto(out *PrefixAllocationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrefixAllocationList) DeepCopyObject ¶
func (in *PrefixAllocationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrefixAllocationPhase ¶
type PrefixAllocationPhase string
PrefixAllocationPhase is a phase a PrefixAllocation can be in.
const ( // PrefixAllocationPhasePending marks a PrefixAllocation as waiting for allocation. PrefixAllocationPhasePending PrefixAllocationPhase = "Pending" // PrefixAllocationPhaseAllocated marks a PrefixAllocation as allocated by a Prefix. PrefixAllocationPhaseAllocated PrefixAllocationPhase = "Allocated" // PrefixAllocationPhaseFailed marks a PrefixAllocation as failed. PrefixAllocationPhaseFailed PrefixAllocationPhase = "Failed" )
func (PrefixAllocationPhase) IsTerminal ¶
func (p PrefixAllocationPhase) IsTerminal() bool
type PrefixAllocationSpec ¶
type PrefixAllocationSpec struct { // IPFamily is the IPFamily of the prefix. // If unset but Prefix is set, this can be inferred. IPFamily corev1.IPFamily `json:"ipFamily,omitempty"` // Prefix is the prefix to allocate for this Prefix. Prefix *commonv1alpha1.IPPrefix `json:"prefix,omitempty"` // PrefixLength is the length of prefix to allocate for this Prefix. PrefixLength int32 `json:"prefixLength,omitempty"` // PrefixRef references the prefix to allocate from. PrefixRef *corev1.LocalObjectReference `json:"prefixRef,omitempty"` // PrefixSelector selects the prefix to allocate from. PrefixSelector *metav1.LabelSelector `json:"prefixSelector,omitempty"` }
PrefixAllocationSpec defines the desired state of PrefixAllocation
func (*PrefixAllocationSpec) DeepCopy ¶
func (in *PrefixAllocationSpec) DeepCopy() *PrefixAllocationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrefixAllocationSpec.
func (*PrefixAllocationSpec) DeepCopyInto ¶
func (in *PrefixAllocationSpec) DeepCopyInto(out *PrefixAllocationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrefixAllocationStatus ¶
type PrefixAllocationStatus struct { // Prefix is the allocated prefix, if any Prefix *commonv1alpha1.IPPrefix `json:"prefix,omitempty"` // Phase is the phase of the PrefixAllocation. Phase PrefixAllocationPhase `json:"phase,omitempty"` // LastPhaseTransitionTime is the last time the Phase changed values. LastPhaseTransitionTime *metav1.Time `json:"lastPhaseTransitionTime,omitempty"` }
PrefixAllocationStatus is the status of a PrefixAllocation.
func (*PrefixAllocationStatus) DeepCopy ¶
func (in *PrefixAllocationStatus) DeepCopy() *PrefixAllocationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrefixAllocationStatus.
func (*PrefixAllocationStatus) DeepCopyInto ¶
func (in *PrefixAllocationStatus) DeepCopyInto(out *PrefixAllocationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrefixList ¶
type PrefixList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Prefix `json:"items"` }
PrefixList contains a list of Prefix
func (*PrefixList) DeepCopy ¶
func (in *PrefixList) DeepCopy() *PrefixList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrefixList.
func (*PrefixList) DeepCopyInto ¶
func (in *PrefixList) DeepCopyInto(out *PrefixList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrefixList) DeepCopyObject ¶
func (in *PrefixList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrefixPhase ¶
type PrefixPhase string
PrefixPhase is a phase a Prefix can be in.
const ( // PrefixPhasePending marks a prefix as waiting for allocation. PrefixPhasePending PrefixPhase = "Pending" // PrefixPhaseAllocated marks a prefix as allocated. PrefixPhaseAllocated PrefixPhase = "Allocated" )
type PrefixSpec ¶
type PrefixSpec struct { // IPFamily is the IPFamily of the prefix. // If unset but Prefix is set, this can be inferred. IPFamily corev1.IPFamily `json:"ipFamily,omitempty"` // Prefix is the prefix to allocate for this Prefix. Prefix *commonv1alpha1.IPPrefix `json:"prefix,omitempty"` // PrefixLength is the length of prefix to allocate for this Prefix. PrefixLength int32 `json:"prefixLength,omitempty"` // ParentRef references the parent to allocate the Prefix from. // If ParentRef and ParentSelector is empty, the Prefix is considered a root prefix and thus // allocated by itself. ParentRef *corev1.LocalObjectReference `json:"parentRef,omitempty"` // ParentSelector is the LabelSelector to use for determining the parent for this Prefix. ParentSelector *metav1.LabelSelector `json:"parentSelector,omitempty"` }
PrefixSpec defines the desired state of Prefix
func (*PrefixSpec) DeepCopy ¶
func (in *PrefixSpec) DeepCopy() *PrefixSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrefixSpec.
func (*PrefixSpec) DeepCopyInto ¶
func (in *PrefixSpec) DeepCopyInto(out *PrefixSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrefixStatus ¶
type PrefixStatus struct { // Phase is the PrefixPhase of the Prefix. Phase PrefixPhase `json:"phase,omitempty"` // LastPhaseTransitionTime is the last time the Phase changed values. LastPhaseTransitionTime *metav1.Time `json:"lastPhaseTransitionTime,omitempty"` // Used is a list of used prefixes. Used []commonv1alpha1.IPPrefix `json:"used,omitempty"` }
PrefixStatus defines the observed state of Prefix
func (*PrefixStatus) DeepCopy ¶
func (in *PrefixStatus) DeepCopy() *PrefixStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrefixStatus.
func (*PrefixStatus) DeepCopyInto ¶
func (in *PrefixStatus) DeepCopyInto(out *PrefixStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrefixTemplateSpec ¶
type PrefixTemplateSpec struct { metav1.ObjectMeta `json:"metadata,omitempty"` Spec PrefixSpec `json:"spec,omitempty"` }
func (*PrefixTemplateSpec) DeepCopy ¶
func (in *PrefixTemplateSpec) DeepCopy() *PrefixTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrefixTemplateSpec.
func (*PrefixTemplateSpec) DeepCopyInto ¶
func (in *PrefixTemplateSpec) DeepCopyInto(out *PrefixTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.