Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the kvnet v1alpha1 API group +kubebuilder:object:generate=true +groupName=kvnet.kojuro.date
Index ¶
- Constants
- Variables
- type Bridge
- func (in *Bridge) DeepCopy() *Bridge
- func (in *Bridge) DeepCopyInto(out *Bridge)
- func (in *Bridge) DeepCopyObject() runtime.Object
- func (r *Bridge) Default()
- func (r *Bridge) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Bridge) ValidateCreate() error
- func (r *Bridge) ValidateDelete() error
- func (r *Bridge) ValidateUpdate(old runtime.Object) error
- type BridgeConfig
- func (in *BridgeConfig) DeepCopy() *BridgeConfig
- func (in *BridgeConfig) DeepCopyInto(out *BridgeConfig)
- func (in *BridgeConfig) DeepCopyObject() runtime.Object
- func (r *BridgeConfig) Default()
- func (r *BridgeConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *BridgeConfig) ValidateCreate() error
- func (r *BridgeConfig) ValidateDelete() error
- func (r *BridgeConfig) ValidateUpdate(old runtime.Object) error
- type BridgeConfigList
- type BridgeConfigSpec
- type BridgeConfigStatus
- type BridgeList
- type BridgeSpec
- type BridgeStatus
- type BridgeTemplateSpec
- type DhcpOption
- type Router
- func (in *Router) DeepCopy() *Router
- func (in *Router) DeepCopyInto(out *Router)
- func (in *Router) DeepCopyObject() runtime.Object
- func (r *Router) Default()
- func (r *Router) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Router) ValidateCreate() error
- func (r *Router) ValidateDelete() error
- func (r *Router) ValidateUpdate(old runtime.Object) error
- type RouterList
- type RouterSpec
- type RouterStatus
- type Subnet
- func (in *Subnet) DeepCopy() *Subnet
- func (in *Subnet) DeepCopyInto(out *Subnet)
- func (in *Subnet) DeepCopyObject() runtime.Object
- func (r *Subnet) Default()
- func (r *Subnet) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Subnet) ValidateCreate() error
- func (r *Subnet) ValidateDelete() error
- func (r *Subnet) ValidateUpdate(old runtime.Object) error
- type SubnetList
- type SubnetOption
- type SubnetSpec
- type SubnetStatus
- type Uplink
- func (in *Uplink) DeepCopy() *Uplink
- func (in *Uplink) DeepCopyInto(out *Uplink)
- func (in *Uplink) DeepCopyObject() runtime.Object
- func (r *Uplink) Default()
- func (r *Uplink) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Uplink) ValidateCreate() error
- func (r *Uplink) ValidateDelete() error
- func (r *Uplink) ValidateUpdate(old runtime.Object) error
- type UplinkConfig
- func (in *UplinkConfig) DeepCopy() *UplinkConfig
- func (in *UplinkConfig) DeepCopyInto(out *UplinkConfig)
- func (in *UplinkConfig) DeepCopyObject() runtime.Object
- func (r *UplinkConfig) Default()
- func (r *UplinkConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *UplinkConfig) ValidateCreate() error
- func (r *UplinkConfig) ValidateDelete() error
- func (r *UplinkConfig) ValidateUpdate(old runtime.Object) error
- type UplinkConfigList
- type UplinkConfigSpec
- type UplinkConfigStatus
- type UplinkList
- type UplinkSpec
- type UplinkStatus
- type UplinkTemplateSpec
- type Vxlan
- func (in *Vxlan) DeepCopy() *Vxlan
- func (in *Vxlan) DeepCopyInto(out *Vxlan)
- func (in *Vxlan) DeepCopyObject() runtime.Object
- func (r *Vxlan) Default()
- func (r *Vxlan) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Vxlan) ValidateCreate() error
- func (r *Vxlan) ValidateDelete() error
- func (r *Vxlan) ValidateUpdate(old runtime.Object) error
- type VxlanConfig
- func (in *VxlanConfig) DeepCopy() *VxlanConfig
- func (in *VxlanConfig) DeepCopyInto(out *VxlanConfig)
- func (in *VxlanConfig) DeepCopyObject() runtime.Object
- func (r *VxlanConfig) Default()
- func (r *VxlanConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *VxlanConfig) ValidateCreate() error
- func (r *VxlanConfig) ValidateDelete() error
- func (r *VxlanConfig) ValidateUpdate(old runtime.Object) error
- type VxlanConfigList
- type VxlanConfigSpec
- type VxlanConfigStatus
- type VxlanList
- type VxlanSpec
- type VxlanStatus
- type VxlanTemplateSpec
Constants ¶
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.
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.
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.
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.
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.
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.
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.
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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bridge.
func (*Bridge) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Bridge) DeepCopyObject ¶
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 (*Bridge) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Bridge) ValidateDelete ¶
ValidateDelete 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Router.
func (*Router) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Router) DeepCopyObject ¶
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 (*Router) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Router) ValidateDelete ¶
ValidateDelete 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet.
func (*Subnet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Subnet) DeepCopyObject ¶
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 (*Subnet) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Subnet) ValidateDelete ¶
ValidateDelete 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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Uplink.
func (*Uplink) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Uplink) DeepCopyObject ¶
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 (*Uplink) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Uplink) ValidateDelete ¶
ValidateDelete 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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vxlan.
func (*Vxlan) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Vxlan) DeepCopyObject ¶
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 (*Vxlan) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Vxlan) ValidateDelete ¶
ValidateDelete 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VxlanList.
func (*VxlanList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VxlanList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VxlanSpec.
func (*VxlanSpec) DeepCopyInto ¶
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.
Source Files ¶
- bridge_types.go
- bridge_webhook.go
- bridgeconfig_types.go
- bridgeconfig_webhook.go
- groupversion_info.go
- router_types.go
- router_webhook.go
- subnet_types.go
- subnet_webhook.go
- uplink_types.go
- uplink_webhook.go
- uplinkconfig_types.go
- uplinkconfig_webhook.go
- vxlan_types.go
- vxlan_webhook.go
- vxlanconfig_types.go
- vxlanconfig_webhook.go
- zz_generated.deepcopy.go