v1alpha1

package
v1.15.22 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 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=networking.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: "networking.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 MultiTenantInfo

type MultiTenantInfo struct {
	// EncapType is type of encapsulation
	EncapType string `json:"encapType,omitempty"`
	// ID of encapsulation, can be vlanid, vxlanid, gre-key, etc depending on EncapType
	ID int64 `json:"id,omitempty"`
}

MultiTenantInfo holds the encap type and id for the NC

func (*MultiTenantInfo) DeepCopy

func (in *MultiTenantInfo) DeepCopy() *MultiTenantInfo

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

func (*MultiTenantInfo) DeepCopyInto

func (in *MultiTenantInfo) DeepCopyInto(out *MultiTenantInfo)

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

type MultiTenantNetworkContainer

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

	Spec   MultiTenantNetworkContainerSpec   `json:"spec,omitempty"`
	Status MultiTenantNetworkContainerStatus `json:"status,omitempty"`
}

MultiTenantNetworkContainer is the Schema for the MultiTenantnetworkcontainers API

func (*MultiTenantNetworkContainer) DeepCopy

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

func (*MultiTenantNetworkContainer) DeepCopyInto

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

func (*MultiTenantNetworkContainer) DeepCopyObject

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

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

type MultiTenantNetworkContainerList

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

MultiTenantNetworkContainerList contains a list of MultiTenantNetworkContainer

func (*MultiTenantNetworkContainerList) DeepCopy

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

func (*MultiTenantNetworkContainerList) DeepCopyInto

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

func (*MultiTenantNetworkContainerList) DeepCopyObject

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

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

type MultiTenantNetworkContainerSpec

type MultiTenantNetworkContainerSpec struct {
	// UUID - network container UUID
	UUID string `json:"uuid,omitempty"`
	// Network - customer VNet GUID
	Network string `json:"network,omitempty"`
	// Subnet - customer subnet name
	Subnet string `json:"subnet,omitempty"`
	// Node - kubernetes node name
	Node string `json:"node,omitempty"`
	// InterfaceName - the interface name for consuming Pod
	InterfaceName string `json:"interfaceName,omitempty"`
	// ReservationID - reservation ID for allocating IP
	ReservationID string `json:"reservationID,omitempty"`
	// ReservationSetID - reservationSet for networkcontainer
	ReservationSetID string `json:"reservationSetID,omitempty"`
}

MultiTenantNetworkContainerSpec defines the desired state of MultiTenantNetworkContainer

func (*MultiTenantNetworkContainerSpec) DeepCopy

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

func (*MultiTenantNetworkContainerSpec) DeepCopyInto

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

type MultiTenantNetworkContainerStatus

type MultiTenantNetworkContainerStatus struct {
	// The IP address
	IP string `json:"ip,omitempty"`
	// The gateway IP address
	Gateway string `json:"gateway,omitempty"`
	// The state of network container
	State string `json:"state,omitempty"`
	// The subnet CIDR
	IPSubnet string `json:"ipSubnet,omitempty"`
	// The primary interface identifier
	PrimaryInterfaceIdentifier string `json:"primaryInterfaceIdentifier,omitempty"`
	// MultiTenantInfo holds the encap type and id
	MultiTenantInfo MultiTenantInfo `json:"multiTenantInfo,omitempty"`
}

MultiTenantNetworkContainerStatus defines the observed state of MultiTenantNetworkContainer

func (*MultiTenantNetworkContainerStatus) DeepCopy

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

func (*MultiTenantNetworkContainerStatus) 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