v1alpha1

package
v0.0.0-...-3cfcee8 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the kvnet v1alpha1 API group +kubebuilder:object:generate=true +groupName=kvnet.kojuro.date

Index

Constants

View Source
const (
	BridgeFinalizer = "bridge.kvnet.kojuro.date/finalizer"
	BridgeNodeLabel = "bridge.kvnet.kojuro.date/"
)

EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

View Source
const (
	BridgeConfigFinalizer      = "bridgeconfig.kvnet.kojuro.date/finalizer"
	BridgeConfigNamespaceLabel = "bridgeconfig.kvnet.kojuro.date/namespace"
	BridgeConfigNameLabel      = "bridgeconfig.kvnet.kojuro.date/name"
	BridgeConfigNodeLabel      = "bridgeconfig.kvnet.kojuro.date/node"
)

EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

View Source
const (
	RouterFinalizer        = "router.kvnet.kojuro.date/finalizer"
	RouterSubnetOwnerLabel = "router.kvnet.kojuro.date/owner"
)

EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

View Source
const (
	UplinkFinalizer = "uplink.kvnet.kojuro.date/finalizer"
	UplinkNodeLabel = "uplink.kvnet.kojuro.date/"
)

EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

View Source
const (
	UplinkConfigFinalizer      = "uplinkconfig.kvnet.kojuro.date/finalizer"
	UplinkConfigNamespaceLabel = "uplinkconfig.kvnet.kojuro.date/namespace"
	UplinkConfigNameLabel      = "uplinkconfig.kvnet.kojuro.date/name"
	UplinkConfigNodeLabel      = "uplinkconfig.kvnet.kojuro.date/node"
)

EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

View Source
const (
	VxlanFinalizer = "vxlan.kvnet.kojuro.date/finalizer"
	VxlanNodeLabel = "vxlan.kvnet.kojuro.date/"
)

EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

View Source
const (
	VxlanConfigFinalizer      = "vxlanconfig.kvnet.kojuro.date/finalizer"
	VxlanConfigNamespaceLabel = "vxlanconfig.kvnet.kojuro.date/namespace"
	VxlanConfigNameLabel      = "vxlanconfig.kvnet.kojuro.date/name"
	VxlanConfigNodeLabel      = "vxlanconfig.kvnet.kojuro.date/node"
)

EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

View Source
const (
	SubnetFinalizer = "subnet.kvnet.kojuro.date/finalizer"
)

EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "kvnet.kojuro.date", 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 Bridge

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

	Spec   BridgeSpec   `json:"spec,omitempty"`
	Status BridgeStatus `json:"status,omitempty"`
}

Bridge is the Schema for the bridges API

func (*Bridge) DeepCopy

func (in *Bridge) DeepCopy() *Bridge

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

func (*Bridge) DeepCopyInto

func (in *Bridge) DeepCopyInto(out *Bridge)

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

func (*Bridge) DeepCopyObject

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

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

func (*Bridge) Default

func (r *Bridge) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*Bridge) SetupWebhookWithManager

func (r *Bridge) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Bridge) ValidateCreate

func (r *Bridge) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Bridge) ValidateDelete

func (r *Bridge) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Bridge) ValidateUpdate

func (r *Bridge) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type BridgeConfig

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

	Spec   BridgeConfigSpec   `json:"spec,omitempty"`
	Status BridgeConfigStatus `json:"status,omitempty"`
}

BridgeConfig is the Schema for the bridgeconfigs API

func (*BridgeConfig) DeepCopy

func (in *BridgeConfig) DeepCopy() *BridgeConfig

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

func (*BridgeConfig) DeepCopyInto

func (in *BridgeConfig) DeepCopyInto(out *BridgeConfig)

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

func (*BridgeConfig) DeepCopyObject

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

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

func (*BridgeConfig) Default

func (r *BridgeConfig) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*BridgeConfig) SetupWebhookWithManager

func (r *BridgeConfig) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*BridgeConfig) ValidateCreate

func (r *BridgeConfig) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*BridgeConfig) ValidateDelete

func (r *BridgeConfig) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*BridgeConfig) ValidateUpdate

func (r *BridgeConfig) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type BridgeConfigList

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

BridgeConfigList contains a list of BridgeConfig

func (*BridgeConfigList) DeepCopy

func (in *BridgeConfigList) DeepCopy() *BridgeConfigList

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

func (*BridgeConfigList) DeepCopyInto

func (in *BridgeConfigList) DeepCopyInto(out *BridgeConfigList)

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

func (*BridgeConfigList) DeepCopyObject

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

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

type BridgeConfigSpec

type BridgeConfigSpec struct {
	NodeSelector *metav1.LabelSelector `json:"selector,omitempty"`
	BridgeName   string                `json:"bridge,omitempty"`
	Template     BridgeTemplateSpec    `json:"template,omitempty"`
}

BridgeConfigSpec defines the desired state of BridgeConfig

func (*BridgeConfigSpec) DeepCopy

func (in *BridgeConfigSpec) DeepCopy() *BridgeConfigSpec

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

func (*BridgeConfigSpec) DeepCopyInto

func (in *BridgeConfigSpec) DeepCopyInto(out *BridgeConfigSpec)

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

type BridgeConfigStatus

type BridgeConfigStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Conditions []metav1.Condition `json:"conditions"`
}

BridgeConfigStatus defines the observed state of BridgeConfig

func (*BridgeConfigStatus) DeepCopy

func (in *BridgeConfigStatus) DeepCopy() *BridgeConfigStatus

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

func (*BridgeConfigStatus) DeepCopyInto

func (in *BridgeConfigStatus) DeepCopyInto(out *BridgeConfigStatus)

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

type BridgeList

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

BridgeList contains a list of Bridge

func (*BridgeList) DeepCopy

func (in *BridgeList) DeepCopy() *BridgeList

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

func (*BridgeList) DeepCopyInto

func (in *BridgeList) DeepCopyInto(out *BridgeList)

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

func (*BridgeList) DeepCopyObject

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

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

type BridgeSpec

type BridgeSpec struct {
	VlanFiltering bool `json:"vlanFiltering,omitempty"`
}

BridgeSpec defines the desired state of Bridge

func (*BridgeSpec) DeepCopy

func (in *BridgeSpec) DeepCopy() *BridgeSpec

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

func (*BridgeSpec) DeepCopyInto

func (in *BridgeSpec) DeepCopyInto(out *BridgeSpec)

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

type BridgeStatus

type BridgeStatus struct {
}

BridgeStatus defines the observed state of Bridge

func (*BridgeStatus) DeepCopy

func (in *BridgeStatus) DeepCopy() *BridgeStatus

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

func (*BridgeStatus) DeepCopyInto

func (in *BridgeStatus) DeepCopyInto(out *BridgeStatus)

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

type BridgeTemplateSpec

type BridgeTemplateSpec struct {
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BridgeSpec `json:"spec,omitempty"`
}

BridgeTemplateSpec

func (*BridgeTemplateSpec) DeepCopy

func (in *BridgeTemplateSpec) DeepCopy() *BridgeTemplateSpec

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

func (*BridgeTemplateSpec) DeepCopyInto

func (in *BridgeTemplateSpec) DeepCopyInto(out *BridgeTemplateSpec)

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

type DhcpOption

type DhcpOption struct {
	Enable       bool   `json:"enable,omitempty"`
	DhcpServerIP string `json:"serverIP,omitempty"`
}

func (*DhcpOption) DeepCopy

func (in *DhcpOption) DeepCopy() *DhcpOption

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

func (*DhcpOption) DeepCopyInto

func (in *DhcpOption) DeepCopyInto(out *DhcpOption)

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

type Router

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

	Spec   RouterSpec   `json:"spec,omitempty"`
	Status RouterStatus `json:"status,omitempty"`
}

Router is the Schema for the routers API

func (*Router) DeepCopy

func (in *Router) DeepCopy() *Router

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

func (*Router) DeepCopyInto

func (in *Router) DeepCopyInto(out *Router)

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

func (*Router) DeepCopyObject

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

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

func (*Router) Default

func (r *Router) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*Router) SetupWebhookWithManager

func (r *Router) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Router) ValidateCreate

func (r *Router) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Router) ValidateDelete

func (r *Router) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Router) ValidateUpdate

func (r *Router) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type RouterList

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

RouterList contains a list of Router

func (*RouterList) DeepCopy

func (in *RouterList) DeepCopy() *RouterList

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

func (*RouterList) DeepCopyInto

func (in *RouterList) DeepCopyInto(out *RouterList)

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

func (*RouterList) DeepCopyObject

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

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

type RouterSpec

type RouterSpec struct {
	Subnets []SubnetOption `json:"subnets,omitempty"`
}

RouterSpec defines the desired state of Router

func (*RouterSpec) DeepCopy

func (in *RouterSpec) DeepCopy() *RouterSpec

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

func (*RouterSpec) DeepCopyInto

func (in *RouterSpec) DeepCopyInto(out *RouterSpec)

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

type RouterStatus

type RouterStatus struct {
}

RouterStatus defines the observed state of Router

func (*RouterStatus) DeepCopy

func (in *RouterStatus) DeepCopy() *RouterStatus

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

func (*RouterStatus) DeepCopyInto

func (in *RouterStatus) DeepCopyInto(out *RouterStatus)

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

type Subnet

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

	Spec   SubnetSpec   `json:"spec,omitempty"`
	Status SubnetStatus `json:"status,omitempty"`
}

Subnet is the Schema for the subnets API

func (*Subnet) DeepCopy

func (in *Subnet) DeepCopy() *Subnet

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

func (*Subnet) DeepCopyInto

func (in *Subnet) DeepCopyInto(out *Subnet)

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

func (*Subnet) DeepCopyObject

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

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

func (*Subnet) Default

func (r *Subnet) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*Subnet) SetupWebhookWithManager

func (r *Subnet) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Subnet) ValidateCreate

func (r *Subnet) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Subnet) ValidateDelete

func (r *Subnet) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Subnet) ValidateUpdate

func (r *Subnet) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type SubnetList

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

SubnetList contains a list of Subnet

func (*SubnetList) DeepCopy

func (in *SubnetList) DeepCopy() *SubnetList

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

func (*SubnetList) DeepCopyInto

func (in *SubnetList) DeepCopyInto(out *SubnetList)

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

func (*SubnetList) DeepCopyObject

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

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

type SubnetOption

type SubnetOption struct {
	Name string `json:"name,omitempty"`

	// mode: "", "static", "dhcp"
	IPMode  string `json:"ipMode,omitempty"`
	IP      string `json:"ip,omitempty"`
	Gateway string `json:"gateway,omitempty"`

	Masq bool `json:"masq,omitempty"`
}

func (*SubnetOption) DeepCopy

func (in *SubnetOption) DeepCopy() *SubnetOption

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

func (*SubnetOption) DeepCopyInto

func (in *SubnetOption) DeepCopyInto(out *SubnetOption)

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

type SubnetSpec

type SubnetSpec struct {
	Network     string `json:"network,omitempty"`
	NetworkCIDR string `json:"networkCIDR,omitempty"`
	RouterIP    string `json:"routerIP,omitempty"`

	DHCP *DhcpOption `json:"dhcp,omitempty"`
}

SubnetSpec defines the desired state of Subnet

func (*SubnetSpec) DeepCopy

func (in *SubnetSpec) DeepCopy() *SubnetSpec

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

func (*SubnetSpec) DeepCopyInto

func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec)

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

type SubnetStatus

type SubnetStatus struct {
}

SubnetStatus defines the observed state of Subnet

func (*SubnetStatus) DeepCopy

func (in *SubnetStatus) DeepCopy() *SubnetStatus

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

func (*SubnetStatus) DeepCopyInto

func (in *SubnetStatus) DeepCopyInto(out *SubnetStatus)

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

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

	Spec   UplinkSpec   `json:"spec,omitempty"`
	Status UplinkStatus `json:"status,omitempty"`
}

Uplink is the Schema for the uplinks API

func (*Uplink) DeepCopy

func (in *Uplink) DeepCopy() *Uplink

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

func (*Uplink) DeepCopyInto

func (in *Uplink) DeepCopyInto(out *Uplink)

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

func (*Uplink) DeepCopyObject

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

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

func (*Uplink) Default

func (r *Uplink) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*Uplink) SetupWebhookWithManager

func (r *Uplink) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Uplink) ValidateCreate

func (r *Uplink) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Uplink) ValidateDelete

func (r *Uplink) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Uplink) ValidateUpdate

func (r *Uplink) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type UplinkConfig

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

	Spec   UplinkConfigSpec   `json:"spec,omitempty"`
	Status UplinkConfigStatus `json:"status,omitempty"`
}

UplinkConfig is the Schema for the uplinkconfigs API

func (*UplinkConfig) DeepCopy

func (in *UplinkConfig) DeepCopy() *UplinkConfig

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

func (*UplinkConfig) DeepCopyInto

func (in *UplinkConfig) DeepCopyInto(out *UplinkConfig)

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

func (*UplinkConfig) DeepCopyObject

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

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

func (*UplinkConfig) Default

func (r *UplinkConfig) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*UplinkConfig) SetupWebhookWithManager

func (r *UplinkConfig) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*UplinkConfig) ValidateCreate

func (r *UplinkConfig) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*UplinkConfig) ValidateDelete

func (r *UplinkConfig) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*UplinkConfig) ValidateUpdate

func (r *UplinkConfig) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type UplinkConfigList

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

UplinkConfigList contains a list of UplinkConfig

func (*UplinkConfigList) DeepCopy

func (in *UplinkConfigList) DeepCopy() *UplinkConfigList

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

func (*UplinkConfigList) DeepCopyInto

func (in *UplinkConfigList) DeepCopyInto(out *UplinkConfigList)

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

func (*UplinkConfigList) DeepCopyObject

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

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

type UplinkConfigSpec

type UplinkConfigSpec struct {
	NodeSelector *metav1.LabelSelector `json:"selector,omitempty"`
	BondName     string                `json:"bond,omitempty"`
	Template     UplinkTemplateSpec    `json:"template,omitempty"`
}

UplinkConfigSpec defines the desired state of UplinkConfig

func (*UplinkConfigSpec) DeepCopy

func (in *UplinkConfigSpec) DeepCopy() *UplinkConfigSpec

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

func (*UplinkConfigSpec) DeepCopyInto

func (in *UplinkConfigSpec) DeepCopyInto(out *UplinkConfigSpec)

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

type UplinkConfigStatus

type UplinkConfigStatus struct {
}

UplinkConfigStatus defines the observed state of UplinkConfig

func (*UplinkConfigStatus) DeepCopy

func (in *UplinkConfigStatus) DeepCopy() *UplinkConfigStatus

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

func (*UplinkConfigStatus) DeepCopyInto

func (in *UplinkConfigStatus) DeepCopyInto(out *UplinkConfigStatus)

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

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

UplinkList contains a list of Uplink

func (*UplinkList) DeepCopy

func (in *UplinkList) DeepCopy() *UplinkList

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

func (*UplinkList) DeepCopyInto

func (in *UplinkList) DeepCopyInto(out *UplinkList)

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

func (*UplinkList) DeepCopyObject

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

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

type UplinkSpec

type UplinkSpec struct {
	Master     string   `json:"master,omitempty"`
	BondMode   string   `json:"mode,omitempty"`
	BondSlaves []string `json:"slaves,omitempty"`
}

UplinkSpec defines the desired state of Uplink

func (*UplinkSpec) DeepCopy

func (in *UplinkSpec) DeepCopy() *UplinkSpec

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

func (*UplinkSpec) DeepCopyInto

func (in *UplinkSpec) DeepCopyInto(out *UplinkSpec)

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

type UplinkStatus

type UplinkStatus struct {
}

UplinkStatus defines the observed state of Uplink

func (*UplinkStatus) DeepCopy

func (in *UplinkStatus) DeepCopy() *UplinkStatus

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

func (*UplinkStatus) DeepCopyInto

func (in *UplinkStatus) DeepCopyInto(out *UplinkStatus)

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

type UplinkTemplateSpec

type UplinkTemplateSpec struct {
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              UplinkSpec `json:"spec,omitempty"`
}

UplinkTemplateSpec

func (*UplinkTemplateSpec) DeepCopy

func (in *UplinkTemplateSpec) DeepCopy() *UplinkTemplateSpec

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

func (*UplinkTemplateSpec) DeepCopyInto

func (in *UplinkTemplateSpec) DeepCopyInto(out *UplinkTemplateSpec)

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

type Vxlan

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

	Spec   VxlanSpec   `json:"spec,omitempty"`
	Status VxlanStatus `json:"status,omitempty"`
}

Vxlan is the Schema for the vxlans API

func (*Vxlan) DeepCopy

func (in *Vxlan) DeepCopy() *Vxlan

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

func (*Vxlan) DeepCopyInto

func (in *Vxlan) DeepCopyInto(out *Vxlan)

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

func (*Vxlan) DeepCopyObject

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

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

func (*Vxlan) Default

func (r *Vxlan) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*Vxlan) SetupWebhookWithManager

func (r *Vxlan) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Vxlan) ValidateCreate

func (r *Vxlan) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Vxlan) ValidateDelete

func (r *Vxlan) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Vxlan) ValidateUpdate

func (r *Vxlan) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type VxlanConfig

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

	Spec   VxlanConfigSpec   `json:"spec,omitempty"`
	Status VxlanConfigStatus `json:"status,omitempty"`
}

VxlanConfig is the Schema for the vxlanconfigs API

func (*VxlanConfig) DeepCopy

func (in *VxlanConfig) DeepCopy() *VxlanConfig

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

func (*VxlanConfig) DeepCopyInto

func (in *VxlanConfig) DeepCopyInto(out *VxlanConfig)

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

func (*VxlanConfig) DeepCopyObject

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

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

func (*VxlanConfig) Default

func (r *VxlanConfig) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*VxlanConfig) SetupWebhookWithManager

func (r *VxlanConfig) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*VxlanConfig) ValidateCreate

func (r *VxlanConfig) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*VxlanConfig) ValidateDelete

func (r *VxlanConfig) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*VxlanConfig) ValidateUpdate

func (r *VxlanConfig) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type VxlanConfigList

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

VxlanConfigList contains a list of VxlanConfig

func (*VxlanConfigList) DeepCopy

func (in *VxlanConfigList) DeepCopy() *VxlanConfigList

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

func (*VxlanConfigList) DeepCopyInto

func (in *VxlanConfigList) DeepCopyInto(out *VxlanConfigList)

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

func (*VxlanConfigList) DeepCopyObject

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

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

type VxlanConfigSpec

type VxlanConfigSpec struct {
	NodeSelector *metav1.LabelSelector `json:"selector,omitempty"`
	VxlanID      int                   `json:"vxlanID,omitempty"`
	Template     VxlanTemplateSpec     `json:"template,omitempty"`
}

VxlanConfigSpec defines the desired state of VxlanConfig

func (*VxlanConfigSpec) DeepCopy

func (in *VxlanConfigSpec) DeepCopy() *VxlanConfigSpec

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

func (*VxlanConfigSpec) DeepCopyInto

func (in *VxlanConfigSpec) DeepCopyInto(out *VxlanConfigSpec)

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

type VxlanConfigStatus

type VxlanConfigStatus struct {
}

VxlanConfigStatus defines the observed state of VxlanConfig

func (*VxlanConfigStatus) DeepCopy

func (in *VxlanConfigStatus) DeepCopy() *VxlanConfigStatus

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

func (*VxlanConfigStatus) DeepCopyInto

func (in *VxlanConfigStatus) DeepCopyInto(out *VxlanConfigStatus)

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

type VxlanList

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

VxlanList contains a list of Vxlan

func (*VxlanList) DeepCopy

func (in *VxlanList) DeepCopy() *VxlanList

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

func (*VxlanList) DeepCopyInto

func (in *VxlanList) DeepCopyInto(out *VxlanList)

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

func (*VxlanList) DeepCopyObject

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

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

type VxlanSpec

type VxlanSpec struct {
	Master   string `json:"master,omitempty"`
	MTU      int    `json:"mtu,omitempty"`
	Dev      string `json:"dev,omitempty"`
	LocalIP  string `json:"localIP,omitempty"`
	Learning bool   `json:"learning,omitempty"`
}

VxlanSpec defines the desired state of Vxlan

func (*VxlanSpec) DeepCopy

func (in *VxlanSpec) DeepCopy() *VxlanSpec

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

func (*VxlanSpec) DeepCopyInto

func (in *VxlanSpec) DeepCopyInto(out *VxlanSpec)

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

type VxlanStatus

type VxlanStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	LocalIP string `json:"localIP,omitempty"`
}

VxlanStatus defines the observed state of Vxlan

func (*VxlanStatus) DeepCopy

func (in *VxlanStatus) DeepCopy() *VxlanStatus

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

func (*VxlanStatus) DeepCopyInto

func (in *VxlanStatus) DeepCopyInto(out *VxlanStatus)

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

type VxlanTemplateSpec

type VxlanTemplateSpec struct {
	metav1.ObjectMeta `json:"metadata.omitempty"`
	Spec              VxlanSpec `json:"spec,omitempty"`
}

VxlanTemplateSpec

func (*VxlanTemplateSpec) DeepCopy

func (in *VxlanTemplateSpec) DeepCopy() *VxlanTemplateSpec

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

func (*VxlanTemplateSpec) DeepCopyInto

func (in *VxlanTemplateSpec) DeepCopyInto(out *VxlanTemplateSpec)

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