v1alpha1

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 5 Imported by: 5 modules, 9 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

View Source
const (
	PrefixKind = "Prefix"
)

Variables

View Source
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

func (in *Prefix) DeepCopy() *Prefix

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

func (*Prefix) DeepCopyInto

func (in *Prefix) DeepCopyInto(out *Prefix)

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

func (*Prefix) DeepCopyObject

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

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

func (Prefix) OpenAPIModelName added in v0.4.0

func (in Prefix) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

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.

func (PrefixAllocation) OpenAPIModelName added in v0.4.0

func (in PrefixAllocation) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

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

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.

func (PrefixAllocationList) OpenAPIModelName added in v0.4.0

func (in PrefixAllocationList) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

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

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.

func (PrefixAllocationSpec) OpenAPIModelName added in v0.4.0

func (in PrefixAllocationSpec) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

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

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.

func (PrefixAllocationStatus) OpenAPIModelName added in v0.4.0

func (in PrefixAllocationStatus) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

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.

func (PrefixList) OpenAPIModelName added in v0.4.0

func (in PrefixList) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

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.

func (PrefixSpec) OpenAPIModelName added in v0.4.0

func (in PrefixSpec) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

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.

func (PrefixStatus) OpenAPIModelName added in v0.4.0

func (in PrefixStatus) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

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.

func (PrefixTemplateSpec) OpenAPIModelName added in v0.4.0

func (in PrefixTemplateSpec) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

Jump to

Keyboard shortcuts

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