Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=client.miscord.win
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "client.miscord.win", 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 CNIConfig ¶
type CNIConfig struct { metav1.TypeMeta `json:",inline"` configv1alpha1.ControllerManagerConfigurationSpec `json:",inline"` ClusterName string `json:"clusterName"` NodeName string `json:"nodeName"` ControlPlane ControlPlane `json:"controlPlane"` NetworkNamespace string `json:"networkNamespace"` Wireguard Wireguard `json:"wireguard"` Cleanup bool `json:"cleanup"` StaticAdvertisedRoutes []string `json:"staticAdvertisedRoutes"` CNID CNIDConfig `json:"cnid"` }
CNIConfig is the Schema for the cniconfigs API
func (*CNIConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNIConfig.
func (*CNIConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CNIConfig) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CNIDConfig ¶
type CNIDConfig struct { AddressClaimTemplates []string `json:"addressClaimTemplates"` Extra bool `json:"extra"` SocketPath string `json:"socketPath"` KubeConfig KubeConfig `json:"kubeconfig"` }
func (*CNIDConfig) DeepCopy ¶
func (in *CNIDConfig) DeepCopy() *CNIDConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNIDConfig.
func (*CNIDConfig) DeepCopyInto ¶
func (in *CNIDConfig) DeepCopyInto(out *CNIDConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CNIDConfig) Load ¶
func (c *CNIDConfig) Load(configPath string)
type ControlPlane ¶
type ControlPlane struct { APIEndpoint string `json:"apiEndpoint"` RootCACert string `json:"rootCACert"` Token string `json:"token"` Namespace string `json:"namespace"` KubeConfig KubeConfig `json:"kubeconfig"` AddressClaimTemplates []string `json:"addressClaimTemplates"` }
func (*ControlPlane) DeepCopy ¶
func (in *ControlPlane) DeepCopy() *ControlPlane
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlane.
func (*ControlPlane) DeepCopyInto ¶
func (in *ControlPlane) DeepCopyInto(out *ControlPlane)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControlPlane) Load ¶
func (cp *ControlPlane) Load(configPath string)
type KubeConfig ¶
type KubeConfig struct { File string `json:"file"` Inline *clientcmdapiv1.Config `json:"inline"` Context string `json:"context"` }
func (*KubeConfig) DeepCopy ¶
func (in *KubeConfig) DeepCopy() *KubeConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeConfig.
func (*KubeConfig) DeepCopyInto ¶
func (in *KubeConfig) DeepCopyInto(out *KubeConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubeConfig) Load ¶
func (kc *KubeConfig) Load(configPath string)
type Wireguard ¶
type Wireguard struct { PrivateKey string `json:"privateKey"` ListenPort int `json:"listenPort"` STUNEndpoint string `json:"stunEndpoint"` Name string `json:"name"` VRF string `json:"vrf"` Table int `json:"table"` }
func (*Wireguard) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Wireguard.
func (*Wireguard) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.