Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group
Index ¶
- Constants
- Variables
- type Broker
- type BrokerList
- type BrokerSpec
- type BrokerStatus
- type CloudProvider
- type CoreDNSCustomConfig
- type DaemonSetStatusWrapper
- type DeploymentInfo
- type HealthCheckSpec
- type KubernetesType
- type LoadBalancerStatusWrapper
- type ServiceDiscovery
- type ServiceDiscoveryList
- type ServiceDiscoverySpec
- type ServiceDiscoveryStatus
- type Submariner
- type SubmarinerList
- type SubmarinerSpec
- type SubmarinerStatus
Constants ¶
const ( K8s KubernetesType = "k8s" OCP = "ocp" EKS = "eks" AKS = "aks" GKE = "gke" DefaultKubernetesType = K8s Kind CloudProvider = "kind" AWS = "aws" GCP = "gcp" Azure = "azure" Openstack = "openstack" )
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "submariner.io", 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 )
var ( DefaultRepo = "quay.io/submariner" DefaultSubmarinerOperatorVersion = "0.15.0-m1" DefaultSubmarinerVersion = "0.15.0-m1" DefaultLighthouseVersion = "0.15.0-m1" )
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BrokerSpec `json:"spec,omitempty"` Status BrokerStatus `json:"status,omitempty"` }
Broker is the Schema for the brokers API.
func (*Broker) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Broker.
func (*Broker) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Broker) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BrokerList ¶
type BrokerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Broker `json:"items"` }
BrokerList contains a list of Broker.
func (*BrokerList) DeepCopy ¶
func (in *BrokerList) DeepCopy() *BrokerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrokerList.
func (*BrokerList) DeepCopyInto ¶
func (in *BrokerList) DeepCopyInto(out *BrokerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BrokerList) DeepCopyObject ¶
func (in *BrokerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BrokerSpec ¶
type BrokerSpec struct { Components []string `json:"components,omitempty"` DefaultCustomDomains []string `json:"defaultCustomDomains,omitempty"` GlobalnetCIDRRange string `json:"globalnetCIDRRange,omitempty"` DefaultGlobalnetClusterSize uint `json:"defaultGlobalnetClusterSize,omitempty"` GlobalnetEnabled bool `json:"globalnetEnabled,omitempty"` }
BrokerSpec defines the desired state of Broker.
func (*BrokerSpec) DeepCopy ¶
func (in *BrokerSpec) DeepCopy() *BrokerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrokerSpec.
func (*BrokerSpec) DeepCopyInto ¶
func (in *BrokerSpec) DeepCopyInto(out *BrokerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BrokerStatus ¶
type BrokerStatus struct { }
BrokerStatus defines the observed state of Broker.
func (*BrokerStatus) DeepCopy ¶
func (in *BrokerStatus) DeepCopy() *BrokerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrokerStatus.
func (*BrokerStatus) DeepCopyInto ¶
func (in *BrokerStatus) DeepCopyInto(out *BrokerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudProvider ¶
type CloudProvider string
type CoreDNSCustomConfig ¶
type CoreDNSCustomConfig struct { ConfigMapName string `json:"configMapName,omitempty"` Namespace string `json:"namespace,omitempty"` }
func (*CoreDNSCustomConfig) DeepCopy ¶
func (in *CoreDNSCustomConfig) DeepCopy() *CoreDNSCustomConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreDNSCustomConfig.
func (*CoreDNSCustomConfig) DeepCopyInto ¶
func (in *CoreDNSCustomConfig) DeepCopyInto(out *CoreDNSCustomConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DaemonSetStatusWrapper ¶
type DaemonSetStatusWrapper struct { LastResourceVersion string `json:"lastResourceVersion,omitempty"` Status *appsv1.DaemonSetStatus `json:"status,omitempty"` NonReadyContainerStates *[]corev1.ContainerState `json:"nonReadyContainerStates,omitempty"` MismatchedContainerImages bool `json:"mismatchedContainerImages"` }
func (*DaemonSetStatusWrapper) DeepCopy ¶
func (in *DaemonSetStatusWrapper) DeepCopy() *DaemonSetStatusWrapper
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetStatusWrapper.
func (*DaemonSetStatusWrapper) DeepCopyInto ¶
func (in *DaemonSetStatusWrapper) DeepCopyInto(out *DaemonSetStatusWrapper)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentInfo ¶
type DeploymentInfo struct { KubernetesType KubernetesType `json:"kubernetesType,omitempty"` KubernetesTypeVersion string `json:"kubernetesTypeVersion,omitempty"` KubernetesVersion string `json:"kubernetesVersion,omitempty"` CloudProvider CloudProvider `json:"cloudProvider,omitempty"` }
func (*DeploymentInfo) DeepCopy ¶
func (in *DeploymentInfo) DeepCopy() *DeploymentInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentInfo.
func (*DeploymentInfo) DeepCopyInto ¶
func (in *DeploymentInfo) DeepCopyInto(out *DeploymentInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HealthCheckSpec ¶
type HealthCheckSpec struct { Enabled bool `json:"enabled,omitempty"` // The interval at which health check pings are sent. IntervalSeconds uint64 `json:"intervalSeconds,omitempty"` // The maximum number of packets lost at which the health checker will mark the connection as down. MaxPacketLossCount uint64 `json:"maxPacketLossCount,omitempty"` }
func (*HealthCheckSpec) DeepCopy ¶
func (in *HealthCheckSpec) DeepCopy() *HealthCheckSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheckSpec.
func (*HealthCheckSpec) DeepCopyInto ¶
func (in *HealthCheckSpec) DeepCopyInto(out *HealthCheckSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesType ¶
type KubernetesType string
type LoadBalancerStatusWrapper ¶
type LoadBalancerStatusWrapper struct {
Status *corev1.LoadBalancerStatus `json:"status,omitempty"`
}
func (*LoadBalancerStatusWrapper) DeepCopy ¶
func (in *LoadBalancerStatusWrapper) DeepCopy() *LoadBalancerStatusWrapper
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerStatusWrapper.
func (*LoadBalancerStatusWrapper) DeepCopyInto ¶
func (in *LoadBalancerStatusWrapper) DeepCopyInto(out *LoadBalancerStatusWrapper)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceDiscovery ¶
type ServiceDiscovery struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceDiscoverySpec `json:"spec,omitempty"` Status ServiceDiscoveryStatus `json:"status,omitempty"` }
ServiceDiscovery is the Schema for the servicediscoveries API.
func (*ServiceDiscovery) DeepCopy ¶
func (in *ServiceDiscovery) DeepCopy() *ServiceDiscovery
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDiscovery.
func (*ServiceDiscovery) DeepCopyInto ¶
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 ¶
func (in *ServiceDiscovery) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceDiscovery) UnmarshalJSON ¶
func (sd *ServiceDiscovery) UnmarshalJSON(data []byte) error
type ServiceDiscoveryList ¶
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 ¶
func (in *ServiceDiscoveryList) DeepCopy() *ServiceDiscoveryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDiscoveryList.
func (*ServiceDiscoveryList) DeepCopyInto ¶
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 ¶
func (in *ServiceDiscoveryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceDiscoverySpec ¶
type ServiceDiscoverySpec struct { BrokerK8sApiServer string `json:"brokerK8sApiServer"` BrokerK8sApiServerToken string `json:"brokerK8sApiServerToken,omitempty"` BrokerK8sCA string `json:"brokerK8sCA,omitempty"` BrokerK8sSecret string `json:"brokerK8sSecret,omitempty"` 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"` BrokerK8sInsecure bool `json:"brokerK8sInsecure,omitempty"` CoreDNSCustomConfig *CoreDNSCustomConfig `json:"coreDNSCustomConfig,omitempty"` // +listType=set CustomDomains []string `json:"customDomains,omitempty"` ImageOverrides map[string]string `json:"imageOverrides,omitempty"` }
ServiceDiscoverySpec defines the desired state of ServiceDiscovery.
func (*ServiceDiscoverySpec) DeepCopy ¶
func (in *ServiceDiscoverySpec) DeepCopy() *ServiceDiscoverySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDiscoverySpec.
func (*ServiceDiscoverySpec) DeepCopyInto ¶
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 ¶
type ServiceDiscoveryStatus struct {
DeploymentInfo DeploymentInfo `json:"deploymentInfo,omitempty"`
}
ServiceDiscoveryStatus defines the observed state of ServiceDiscovery.
func (*ServiceDiscoveryStatus) DeepCopy ¶
func (in *ServiceDiscoveryStatus) DeepCopy() *ServiceDiscoveryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDiscoveryStatus.
func (*ServiceDiscoveryStatus) DeepCopyInto ¶
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.
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) UnmarshalJSON ¶
func (s *Submariner) UnmarshalJSON(data []byte) error
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,omitempty"` BrokerK8sCA string `json:"brokerK8sCA,omitempty"` BrokerK8sSecret string `json:"brokerK8sSecret,omitempty"` BrokerK8sRemoteNamespace string `json:"brokerK8sRemoteNamespace"` CableDriver string `json:"cableDriver,omitempty"` CeIPSecPSK string `json:"ceIPSecPSK,omitempty"` CeIPSecPSKSecret string `json:"ceIPSecPSKSecret,omitempty"` 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"` CeIPSecPreferredServer bool `json:"ceIPSecPreferredServer,omitempty"` CeIPSecForceUDPEncaps bool `json:"ceIPSecForceUDPEncaps,omitempty"` Debug bool `json:"debug"` NatEnabled bool `json:"natEnabled"` AirGappedDeployment bool `json:"airGappedDeployment,omitempty"` LoadBalancerEnabled bool `json:"loadBalancerEnabled,omitempty"` ServiceDiscoveryEnabled bool `json:"serviceDiscoveryEnabled,omitempty"` BrokerK8sInsecure bool `json:"brokerK8sInsecure,omitempty"` CoreDNSCustomConfig *CoreDNSCustomConfig `json:"coreDNSCustomConfig,omitempty"` // +listType=set CustomDomains []string `json:"customDomains,omitempty"` ImageOverrides map[string]string `json:"imageOverrides,omitempty"` // +optional ConnectionHealthCheck *HealthCheckSpec `json:"connectionHealthCheck,omitempty"` }
SubmarinerSpec defines the desired state of Submariner.
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"` AirGappedDeployment bool `json:"airGappedDeployment,omitempty"` ColorCodes string `json:"colorCodes,omitempty"` ClusterID string `json:"clusterID"` ServiceCIDR string `json:"serviceCIDR,omitempty"` ClusterCIDR string `json:"clusterCIDR,omitempty"` GlobalCIDR string `json:"globalCIDR,omitempty"` NetworkPlugin string `json:"networkPlugin,omitempty"` GatewayDaemonSetStatus DaemonSetStatusWrapper `json:"gatewayDaemonSetStatus,omitempty"` RouteAgentDaemonSetStatus DaemonSetStatusWrapper `json:"routeAgentDaemonSetStatus,omitempty"` GlobalnetDaemonSetStatus DaemonSetStatusWrapper `json:"globalnetDaemonSetStatus,omitempty"` LoadBalancerStatus LoadBalancerStatusWrapper `json:"loadBalancerStatus,omitempty"` Gateways *[]submv1.GatewayStatus `json:"gateways,omitempty"` DeploymentInfo DeploymentInfo `json:"deploymentInfo,omitempty"` }
SubmarinerStatus defines the observed state of Submariner.
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.