Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the submariner v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=submariner.io
Package v1alpha1 contains API Schema definitions for the submariner v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=submariner.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "submariner.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type Submariner ¶
type Submariner struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SubmarinerSpec `json:"spec,omitempty"` Status SubmarinerStatus `json:"status,omitempty"` }
Submariner is the Schema for the submariners API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=submariners,scope=Namespaced +genclient
func (*Submariner) DeepCopy ¶
func (in *Submariner) DeepCopy() *Submariner
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Submariner.
func (*Submariner) DeepCopyInto ¶
func (in *Submariner) DeepCopyInto(out *Submariner)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Submariner) DeepCopyObject ¶
func (in *Submariner) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SubmarinerList ¶
type SubmarinerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Submariner `json:"items"` }
SubmarinerList contains a list of Submariner
func (*SubmarinerList) DeepCopy ¶
func (in *SubmarinerList) DeepCopy() *SubmarinerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubmarinerList.
func (*SubmarinerList) DeepCopyInto ¶
func (in *SubmarinerList) DeepCopyInto(out *SubmarinerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubmarinerList) DeepCopyObject ¶
func (in *SubmarinerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SubmarinerSpec ¶
type SubmarinerSpec struct { Version string `json:"version,omitempty"` Repository string `json:"repository,omitempty"` CeIPSecNATTPort int `json:"ceIPSecNATTPort,omitempty"` CeIPSecIKEPort int `json:"ceIPSecIKEPort,omitempty"` CeIPSecDebug bool `json:"ceIPSecDebug"` CeIPSecPSK string `json:"ceIPSecPSK"` BrokerK8sCA string `json:"brokerK8sCA"` BrokerK8sRemoteNamespace string `json:"brokerK8sRemoteNamespace"` BrokerK8sApiServerToken string `json:"brokerK8sApiServerToken"` BrokerK8sApiServer string `json:"brokerK8sApiServer"` Broker string `json:"broker"` NatEnabled bool `json:"natEnabled"` Debug bool `json:"debug"` ColorCodes string `json:"colorCodes,omitempty"` ClusterID string `json:"clusterID"` ServiceCIDR string `json:"serviceCIDR"` ClusterCIDR string `json:"clusterCIDR"` Namespace string `json:"namespace"` }
SubmarinerSpec defines the desired state of Submariner +k8s:openapi-gen=true
func (*SubmarinerSpec) DeepCopy ¶
func (in *SubmarinerSpec) DeepCopy() *SubmarinerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubmarinerSpec.
func (*SubmarinerSpec) DeepCopyInto ¶
func (in *SubmarinerSpec) DeepCopyInto(out *SubmarinerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubmarinerStatus ¶
type SubmarinerStatus struct { }
SubmarinerStatus defines the observed state of Submariner +k8s:openapi-gen=true
func (*SubmarinerStatus) DeepCopy ¶
func (in *SubmarinerStatus) DeepCopy() *SubmarinerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubmarinerStatus.
func (*SubmarinerStatus) DeepCopyInto ¶
func (in *SubmarinerStatus) DeepCopyInto(out *SubmarinerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.