v1alpha1

package
v1.6.15 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the acn v1alpha1 API group +kubebuilder:object:generate=true +groupName=acn.azure.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "acn.azure.com", Version: "v1alpha1"}

	// 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 OECState

type OECState string
const (
	None      OECState = "None"
	Pending   OECState = "Pending"
	Succeeded OECState = "Succeeded"
	Failed    OECState = "Failed"
)

type OverlayExtensionConfig

type OverlayExtensionConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   OverlayExtensionConfigSpec   `json:"spec,omitempty"`
	Status OverlayExtensionConfigStatus `json:"status,omitempty"`
}

OverlayExtensionConfig is the Schema for the overlayextensionconfigs API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Namespaced +kubebuilder:resource:shortName=oec +kubebuilder:printcolumn:name="OverlayExtensionConfig IP range",type=string,priority=1,JSONPath=`.spec.extensionIPRange`

func (*OverlayExtensionConfig) DeepCopy

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

func (*OverlayExtensionConfig) DeepCopyInto

func (in *OverlayExtensionConfig) DeepCopyInto(out *OverlayExtensionConfig)

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

func (*OverlayExtensionConfig) DeepCopyObject

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

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

type OverlayExtensionConfigList

type OverlayExtensionConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []OverlayExtensionConfig `json:"items"`
}

OverlayExtensionConfigList contains a list of OverlayExtensionConfig

func (*OverlayExtensionConfigList) DeepCopy

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

func (*OverlayExtensionConfigList) DeepCopyInto

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

func (*OverlayExtensionConfigList) DeepCopyObject

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

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

type OverlayExtensionConfigSpec

type OverlayExtensionConfigSpec struct {
	// ExtensionIPRange field defines a CIDR that should be able to reach routing domain ip addresses.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	// +kubebuilder:validation:MaxLength=43
	// 43 is max length of IPv6 CIDR string
	ExtensionIPRange string `json:"extensionIPRange,omitempty"`
}

OverlayExtensionConfigSpec defines the desired state of OverlayExtensionConfig. +kubebuilder:validation:XValidation:rule="!has(oldSelf.extensionIPRange) || has(self.extensionIPRange)", message="ExtensionIPRange is required once set"

func (*OverlayExtensionConfigSpec) DeepCopy

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

func (*OverlayExtensionConfigSpec) DeepCopyInto

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

type OverlayExtensionConfigStatus

type OverlayExtensionConfigStatus struct {
	// +kubebuilder:validation:Enum=None;Pending;Succeeded;Failed
	// +kubebuilder:default="None"
	State   OECState `json:"state,omitempty"`
	Message string   `json:"message,omitempty"`
}

OverlayExtensionConfigStatus defines the observed state of OverlayExtensionConfig

func (*OverlayExtensionConfigStatus) DeepCopy

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

func (*OverlayExtensionConfigStatus) DeepCopyInto

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

Jump to

Keyboard shortcuts

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