v1alpha1

package
v1.5.10 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the networking 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 PodNetworkInstance

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

	Spec   PodNetworkInstanceSpec   `json:"spec,omitempty"`
	Status PodNetworkInstanceStatus `json:"status,omitempty"`
}

PodNetworkInstance is the Schema for the PodNetworkInstances API +kubebuilder:resource:scope=Namespaced +kubebuilder:resource:shortName=pni +kubebuilder:subresource:status +kubebuilder:metadata:labels=managed= +kubebuilder:metadata:labels=owner= +kubebuilder:printcolumn:name="Pod IPs",type=string,priority=1,JSONPath=`.status.podIPAddresses` +kubebuilder:printcolumn:name="PodNetwork",type=string,priority=1,JSONPath=`.spec.podNetwork` +kubebuilder:printcolumn:name="PodIPReservationSize",type=string,priority=1,JSONPath=`.spec.podIPReservationSize`

func (*PodNetworkInstance) DeepCopy

func (in *PodNetworkInstance) DeepCopy() *PodNetworkInstance

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

func (*PodNetworkInstance) DeepCopyInto

func (in *PodNetworkInstance) DeepCopyInto(out *PodNetworkInstance)

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

func (*PodNetworkInstance) DeepCopyObject

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

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

type PodNetworkInstanceList

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

PodNetworkInstanceList contains a list of PodNetworkInstance

func (*PodNetworkInstanceList) DeepCopy

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

func (*PodNetworkInstanceList) DeepCopyInto

func (in *PodNetworkInstanceList) DeepCopyInto(out *PodNetworkInstanceList)

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

func (*PodNetworkInstanceList) DeepCopyObject

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

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

type PodNetworkInstanceSpec

type PodNetworkInstanceSpec struct {
	// pod network resource object name
	PodNetwork string `json:"podnetwork"`
	// number of backend IP address to reserve for running pods
	// +kubebuilder:default=0
	PodIPReservationSize int `json:"podIPReservationSize"`
}

PodNetworkInstanceSpec defines the desired state of PodNetworkInstance

func (*PodNetworkInstanceSpec) DeepCopy

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

func (*PodNetworkInstanceSpec) DeepCopyInto

func (in *PodNetworkInstanceSpec) DeepCopyInto(out *PodNetworkInstanceSpec)

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

type PodNetworkInstanceStatus

type PodNetworkInstanceStatus struct {
	PodIPAddresses []string `json:"podIPAddresses,omitempty"`
}

PodNetworkInstanceStatus defines the observed state of PodNetworkInstance

func (*PodNetworkInstanceStatus) DeepCopy

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

func (*PodNetworkInstanceStatus) DeepCopyInto

func (in *PodNetworkInstanceStatus) DeepCopyInto(out *PodNetworkInstanceStatus)

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