v1alpha1

package
v1.30.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the nsxnetworking v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=nsx.vmware.com

Package v1alpha1 contains API Schema definitions for the nsxnetworking v1alpha1 API group

Index

Constants

View Source
const (
	// GroupName is the group name for this API.
	GroupName = "nsx.vmware.com"
	// Version is the API version.
	Version = "v1alpha1"
)

Variables

View Source
var (
	// SchemeBuilder points to a list of functions added to Scheme.
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme applies all the stored functions to the scheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}

SchemeGroupVersion is group version used to register these objects.

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource.

Types

type IPPool

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

	Spec   IPPoolSpec   `json:"spec"`
	Status IPPoolStatus `json:"status,omitempty"`
}

IPPool is the Schema for the ippools API.

func (*IPPool) DeepCopy

func (in *IPPool) DeepCopy() *IPPool

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

func (*IPPool) DeepCopyInto

func (in *IPPool) DeepCopyInto(out *IPPool)

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

func (*IPPool) DeepCopyObject

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

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

type IPPoolCondition

type IPPoolCondition struct {
	// IPPoolConditionType defines the type of condition.
	Type IPPoolConditionType `json:"type"`
	// Status shows the status of condition, one of True, False, Unknown.
	Status corev1.ConditionStatus `json:"status"`
	// Reason shows a brief reason of condition
	Reason string `json:"reason,omitempty"`
	// Message shows a human readable message about the condition
	Message string `json:"message,omitempty"`
}

IPPoolCondition defines the condition for the IPPool.

func (*IPPoolCondition) DeepCopy

func (in *IPPoolCondition) DeepCopy() *IPPoolCondition

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

func (*IPPoolCondition) DeepCopyInto

func (in *IPPoolCondition) DeepCopyInto(out *IPPoolCondition)

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

type IPPoolConditionType

type IPPoolConditionType string

IPPoolConditionType describes the IPPool condition type.

const (
	// IPPoolConditionTypeReady means IPPool is healthy.
	IPPoolConditionTypeReady IPPoolConditionType = "Ready"
)

type IPPoolList

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

IPPoolList is a list of IPPool

func (*IPPoolList) DeepCopy

func (in *IPPoolList) DeepCopy() *IPPoolList

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

func (*IPPoolList) DeepCopyInto

func (in *IPPoolList) DeepCopyInto(out *IPPoolList)

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

func (*IPPoolList) DeepCopyObject

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

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

type IPPoolSpec

type IPPoolSpec struct {
	// Subnets defines set of subnets need to be allocated.
	Subnets []SubnetRequest `json:"subnets"`
}

IPPoolSpec defines the desired state of IPPool.

func (*IPPoolSpec) DeepCopy

func (in *IPPoolSpec) DeepCopy() *IPPoolSpec

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

func (*IPPoolSpec) DeepCopyInto

func (in *IPPoolSpec) DeepCopyInto(out *IPPoolSpec)

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

type IPPoolStatus

type IPPoolStatus struct {
	// Subnets defines subnets allocation result.
	Subnets []SubnetResult `json:"subnets"`
	// Conditions defines current state of the IPPool.
	Conditions []IPPoolCondition `json:"conditions"`
}

IPPoolStatus defines the observed state of IPPool.

func (*IPPoolStatus) DeepCopy

func (in *IPPoolStatus) DeepCopy() *IPPoolStatus

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

func (*IPPoolStatus) DeepCopyInto

func (in *IPPoolStatus) DeepCopyInto(out *IPPoolStatus)

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

type Route

type Route struct {
	// Name is the name of this route entry.
	Name string `json:"name"`
	// Destination is the CIDR block used for the destination match.
	// It is network address in CIDR format, support both IPv4 and IPv6.
	Destination string `json:"destination"`
	// Target is the IP address used to determine where traffic goes to.
	// Support both IPv4 and IPv6, and it needs to be consistent with Destination.
	Target string `json:"target"`
}

Route defines a route entry.

func (*Route) DeepCopy

func (in *Route) DeepCopy() *Route

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

func (*Route) DeepCopyInto

func (in *Route) DeepCopyInto(out *Route)

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

type RouteSet

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

	Spec   RouteSetSpec   `json:"spec"`
	Status RouteSetStatus `json:"status,omitempty"`
}

RouteSet describe a set of routes.

func (*RouteSet) DeepCopy

func (in *RouteSet) DeepCopy() *RouteSet

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

func (*RouteSet) DeepCopyInto

func (in *RouteSet) DeepCopyInto(out *RouteSet)

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

func (*RouteSet) DeepCopyObject

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

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

type RouteSetCondition

type RouteSetCondition struct {
	// RouteSetConditionType defines the type of condition.
	Type RouteSetConditionType `json:"type"`
	// Status shows the status of condition, one of True, False, Unknown.
	Status corev1.ConditionStatus `json:"status"`
	// Reason shows a brief reason of condition.
	Reason string `json:"reason,omitempty"`
	// Message shows a human readable message about the condition.
	Message string `json:"message,omitempty"`
}

RouteSetCondition defines the condition for the RouteSet.

func (*RouteSetCondition) DeepCopy

func (in *RouteSetCondition) DeepCopy() *RouteSetCondition

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

func (*RouteSetCondition) DeepCopyInto

func (in *RouteSetCondition) DeepCopyInto(out *RouteSetCondition)

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

type RouteSetConditionType

type RouteSetConditionType string

RouteSetConditionType describes the RouteSet condition type.

const (
	// RouteSetConditionTypeReady means RouteSet is healthy.
	RouteSetConditionTypeReady RouteSetConditionType = "Ready"
)

type RouteSetList

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

RouteSetList is a list of RouteSet.

func (*RouteSetList) DeepCopy

func (in *RouteSetList) DeepCopy() *RouteSetList

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

func (*RouteSetList) DeepCopyInto

func (in *RouteSetList) DeepCopyInto(out *RouteSetList)

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

func (*RouteSetList) DeepCopyObject

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

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

type RouteSetSpec

type RouteSetSpec struct {
	// Routes is the set of desired routes.
	Routes []Route `json:"routes"`
}

RouteSetSpec defines the desired state of RouteSet.

func (*RouteSetSpec) DeepCopy

func (in *RouteSetSpec) DeepCopy() *RouteSetSpec

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

func (*RouteSetSpec) DeepCopyInto

func (in *RouteSetSpec) DeepCopyInto(out *RouteSetSpec)

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

type RouteSetStatus

type RouteSetStatus struct {
	// Routes is the set of realized routes.
	Routes []Route `json:"routes"`
	// Conditions defines current state of the RouteSet.
	Conditions []RouteSetCondition `json:"conditions"`
}

RouteSetStatus defines the realized state of RouteSet.

func (*RouteSetStatus) DeepCopy

func (in *RouteSetStatus) DeepCopy() *RouteSetStatus

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

func (*RouteSetStatus) DeepCopyInto

func (in *RouteSetStatus) DeepCopyInto(out *RouteSetStatus)

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

type SubnetRequest

type SubnetRequest struct {
	// PrefixLength defines prefix length for this subnet.
	// +optional
	PrefixLength int `json:"prefixLength,omitempty"`

	// IPFamily defines the IP family type for this subnet, could be IPv4 or IPv6.
	// This is optional, the default is IPv4.
	// +optional
	IPFamily string `json:"ipFamily,omitempty"`

	// Name defines the name of this subnet.
	Name string `json:"name"`
}

SubnetRequest defines the subnet allocation request.

func (*SubnetRequest) DeepCopy

func (in *SubnetRequest) DeepCopy() *SubnetRequest

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

func (*SubnetRequest) DeepCopyInto

func (in *SubnetRequest) DeepCopyInto(out *SubnetRequest)

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

type SubnetResult

type SubnetResult struct {
	// CIDR defines the allocated CIDR.
	CIDR string `json:"cidr"`

	// Name defines the name of this subnet.
	Name string `json:"name"`
}

SubnetResult defines the subnet allocation result.

func (*SubnetResult) DeepCopy

func (in *SubnetResult) DeepCopy() *SubnetResult

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

func (*SubnetResult) DeepCopyInto

func (in *SubnetResult) DeepCopyInto(out *SubnetResult)

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