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
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- type DaemonSetStatus
- type ServiceDiscovery
- type ServiceDiscoveryList
- type ServiceDiscoverySpec
- type ServiceDiscoveryStatus
- type Submariner
- type SubmarinerList
- type SubmarinerSpec
- type SubmarinerStatus
Constants ¶
const DefaultColorCode = "blue"
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 DaemonSetStatus ¶ added in v0.7.0
type DaemonSetStatus struct { LastResourceVersion string `json:"lastResourceVersion,omitempty"` Status *appsv1.DaemonSetStatus `json:"status,omitempty"` NonReadyContainerStates *[]corev1.ContainerState `json:"nonReadyContainerStates,omitempty"` MismatchedContainerImages bool `json:"mismatchedContainerImages"` }
func (*DaemonSetStatus) DeepCopy ¶ added in v0.7.0
func (in *DaemonSetStatus) DeepCopy() *DaemonSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetStatus.
func (*DaemonSetStatus) DeepCopyInto ¶ added in v0.7.0
func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceDiscovery ¶ added in v0.3.0
type ServiceDiscovery struct { Status ServiceDiscoveryStatus `json:"status,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceDiscoverySpec `json:"spec,omitempty"` metav1.TypeMeta `json:",inline"` }
ServiceDiscovery is the Schema for the servicediscoveries API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=servicediscoveries,scope=Namespaced +genclient
func (*ServiceDiscovery) DeepCopy ¶ added in v0.3.0
func (in *ServiceDiscovery) DeepCopy() *ServiceDiscovery
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDiscovery.
func (*ServiceDiscovery) DeepCopyInto ¶ added in v0.3.0
func (in *ServiceDiscovery) DeepCopyInto(out *ServiceDiscovery)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceDiscovery) DeepCopyObject ¶ added in v0.3.0
func (in *ServiceDiscovery) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceDiscoveryList ¶ added in v0.3.0
type ServiceDiscoveryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceDiscovery `json:"items"` }
ServiceDiscoveryList contains a list of ServiceDiscovery
func (*ServiceDiscoveryList) DeepCopy ¶ added in v0.3.0
func (in *ServiceDiscoveryList) DeepCopy() *ServiceDiscoveryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDiscoveryList.
func (*ServiceDiscoveryList) DeepCopyInto ¶ added in v0.3.0
func (in *ServiceDiscoveryList) DeepCopyInto(out *ServiceDiscoveryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceDiscoveryList) DeepCopyObject ¶ added in v0.3.0
func (in *ServiceDiscoveryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceDiscoverySpec ¶ added in v0.3.0
type ServiceDiscoverySpec struct { BrokerK8sApiServer string `json:"brokerK8sApiServer"` BrokerK8sApiServerToken string `json:"brokerK8sApiServerToken"` BrokerK8sCA string `json:"brokerK8sCA"` BrokerK8sRemoteNamespace string `json:"brokerK8sRemoteNamespace"` ClusterID string `json:"clusterID"` Namespace string `json:"namespace"` Repository string `json:"repository,omitempty"` Version string `json:"version,omitempty"` Debug bool `json:"debug"` GlobalnetEnabled bool `json:"globalnetEnabled,omitempty"` // +listType=set CustomDomains []string `json:"customDomains,omitempty"` }
ServiceDiscoverySpec defines the desired state of ServiceDiscovery +k8s:openapi-gen=true
func (*ServiceDiscoverySpec) DeepCopy ¶ added in v0.3.0
func (in *ServiceDiscoverySpec) DeepCopy() *ServiceDiscoverySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDiscoverySpec.
func (*ServiceDiscoverySpec) DeepCopyInto ¶ added in v0.3.0
func (in *ServiceDiscoverySpec) DeepCopyInto(out *ServiceDiscoverySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceDiscoveryStatus ¶ added in v0.3.0
type ServiceDiscoveryStatus struct { }
ServiceDiscoveryStatus defines the observed state of ServiceDiscovery +k8s:openapi-gen=true
func (*ServiceDiscoveryStatus) DeepCopy ¶ added in v0.3.0
func (in *ServiceDiscoveryStatus) DeepCopy() *ServiceDiscoveryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDiscoveryStatus.
func (*ServiceDiscoveryStatus) DeepCopyInto ¶ added in v0.3.0
func (in *ServiceDiscoveryStatus) DeepCopyInto(out *ServiceDiscoveryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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.
func (*Submariner) SetDefaults ¶ added in v0.5.0
func (submariner *Submariner) SetDefaults()
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 { Broker string `json:"broker"` BrokerK8sApiServer string `json:"brokerK8sApiServer"` BrokerK8sApiServerToken string `json:"brokerK8sApiServerToken"` BrokerK8sCA string `json:"brokerK8sCA"` BrokerK8sRemoteNamespace string `json:"brokerK8sRemoteNamespace"` CableDriver string `json:"cableDriver,omitempty"` CeIPSecPSK string `json:"ceIPSecPSK"` ClusterCIDR string `json:"clusterCIDR"` ClusterID string `json:"clusterID"` ColorCodes string `json:"colorCodes,omitempty"` Repository string `json:"repository,omitempty"` ServiceCIDR string `json:"serviceCIDR"` GlobalCIDR string `json:"globalCIDR,omitempty"` Namespace string `json:"namespace"` Version string `json:"version,omitempty"` CeIPSecIKEPort int `json:"ceIPSecIKEPort,omitempty"` CeIPSecNATTPort int `json:"ceIPSecNATTPort,omitempty"` CeIPSecDebug bool `json:"ceIPSecDebug"` Debug bool `json:"debug"` NatEnabled bool `json:"natEnabled"` ServiceDiscoveryEnabled bool `json:"serviceDiscoveryEnabled,omitempty"` // +listType=set CustomDomains []string `json:"customDomains,omitempty"` }
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 { NatEnabled bool `json:"natEnabled"` ColorCodes string `json:"colorCodes,omitempty"` ClusterID string `json:"clusterID"` ServiceCIDR string `json:"serviceCIDR,omitempty"` ClusterCIDR string `json:"clusterCIDR,omitempty"` GlobalCIDR string `json:"globalCIDR,omitempty"` EngineDaemonSetStatus DaemonSetStatus `json:"engineDaemonSetStatus,omitempty"` RouteAgentDaemonSetStatus DaemonSetStatus `json:"routeAgentDaemonSetStatus,omitempty"` GlobalnetDaemonSetStatus DaemonSetStatus `json:"globalnetDaemonSetStatus,omitempty"` Gateways *[]submv1.GatewayStatus `json:"gateways,omitempty"` }
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.