Documentation ¶
Index ¶
- type AdminGlobal
- type AdminMeta
- type AdminSpec
- type Autoscaling
- type BaseMeta
- type DeploymentStrategy
- type DubboComponentsMeta
- func (dcm *DubboComponentsMeta) IsAdminEnabled() bool
- func (dcm *DubboComponentsMeta) IsGrafanaEnabled() bool
- func (dcm *DubboComponentsMeta) IsNacosEnabled() bool
- func (dcm *DubboComponentsMeta) IsPrometheusEnabled() bool
- func (dcm *DubboComponentsMeta) IsSkywalkingEnabled() bool
- func (dcm *DubboComponentsMeta) IsZipkinEnabled() bool
- func (dcm *DubboComponentsMeta) IsZookeeperEnabled() bool
- type DubboComponentsSpec
- type DubboConfig
- type DubboConfigList
- type DubboConfigSpec
- func (dcs *DubboConfigSpec) IsAdminEnabled() bool
- func (dcs *DubboConfigSpec) IsGrafanaEnabled() bool
- func (dcs *DubboConfigSpec) IsNacosEnabled() bool
- func (dcs *DubboConfigSpec) IsPrometheusEnabled() bool
- func (dcs *DubboConfigSpec) IsSkywalkingEnabled() bool
- func (dcs *DubboConfigSpec) IsZipkinEnabled() bool
- func (dcs *DubboConfigSpec) IsZookeeperEnabled() bool
- type DubboConfigStatus
- type Egress
- type ExtraPath
- type GrafanaMeta
- type GrafanaSpec
- type Image
- type Ingress
- type Mode
- type NacosGlobal
- type NacosImage
- type NacosMeta
- type NacosPersistence
- type NacosPlugin
- type NacosPluginImage
- type NacosService
- type NacosSpec
- type NacosStorage
- type NacosStorageDb
- type NetworkPolicy
- type PrometheusMeta
- type PrometheusSpec
- type Rbac
- type RemoteMeta
- type ServiceAccount
- type SkywalkingMeta
- type SkywalkingSpec
- type ZipkinMeta
- type ZipkinSpec
- type ZookeeperMeta
- type ZookeeperSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminGlobal ¶
type AdminSpec ¶
type AdminSpec struct { Image *Image `json:"image,omitempty"` Replicas uint32 `json:"replicas"` Global *AdminGlobal `json:"global,omitempty"` Rbac *Rbac `json:"rbac,omitempty"` ServiceAccount *ServiceAccount `json:"serviceAccount,omitempty"` ImagePullSecrets []string `json:"imagePullSecrets,omitempty"` Autoscaling *Autoscaling `json:"autoscaling,omitempty"` DeploymentStrategy *DeploymentStrategy `json:"deploymentStrategy,omitempty"` corev1.ContainerImage }
type Autoscaling ¶
type Autoscaling struct { Enabled bool `json:"enabled,omitempty"` MinReplicas uint32 `json:"minReplicas,omitempty"` MaxReplicas uint32 `json:"maxReplicas,omitempty"` TargetCPU uint32 `json:"targetCPU,omitempty"` TargetMemory uint32 `json:"targetMemory,omitempty"` Behavior map[string]string `json:"behavior,omitempty"` }
type DeploymentStrategy ¶
type DeploymentStrategy struct {
Type string `json:"type"`
}
type DubboComponentsMeta ¶
type DubboComponentsMeta struct { Admin *AdminMeta `json:"admin,omitempty"` Grafana *GrafanaMeta `json:"grafana,omitempty"` Nacos *NacosMeta `json:"nacos,omitempty"` Zookeeper *ZookeeperMeta `json:"zookeeper,omitempty"` Prometheus *PrometheusMeta `json:"prometheus,omitempty"` Skywalking *SkywalkingMeta `json:"skywalking,omitempty"` Zipkin *ZipkinMeta `json:"zipkin,omitempty"` }
func (*DubboComponentsMeta) IsAdminEnabled ¶
func (dcm *DubboComponentsMeta) IsAdminEnabled() bool
func (*DubboComponentsMeta) IsGrafanaEnabled ¶
func (dcm *DubboComponentsMeta) IsGrafanaEnabled() bool
func (*DubboComponentsMeta) IsNacosEnabled ¶
func (dcm *DubboComponentsMeta) IsNacosEnabled() bool
func (*DubboComponentsMeta) IsPrometheusEnabled ¶
func (dcm *DubboComponentsMeta) IsPrometheusEnabled() bool
func (*DubboComponentsMeta) IsSkywalkingEnabled ¶
func (dcm *DubboComponentsMeta) IsSkywalkingEnabled() bool
func (*DubboComponentsMeta) IsZipkinEnabled ¶
func (dcm *DubboComponentsMeta) IsZipkinEnabled() bool
func (*DubboComponentsMeta) IsZookeeperEnabled ¶
func (dcm *DubboComponentsMeta) IsZookeeperEnabled() bool
type DubboComponentsSpec ¶
type DubboComponentsSpec struct { Admin *AdminSpec `json:"admin,omitempty"` Grafana *GrafanaSpec `json:"grafana,omitempty"` Nacos *NacosSpec `json:"nacos,omitempty"` Zookeeper *ZookeeperSpec `json:"zookeeper,omitempty"` Prometheus *PrometheusSpec `json:"prometheus,omitempty"` Skywalking *SkywalkingSpec `json:"skywalking,omitempty"` Zipkin *ZipkinSpec `json:"zipkin,omitempty"` }
type DubboConfig ¶
type DubboConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec *DubboConfigSpec `json:"spec,omitempty"` Status *DubboConfigStatus `json:"status,omitempty"` }
+kubebuilder:subresource:status +kubebuilder:object:root=true DubboConfig describes configuration for DubboOperator
func (*DubboConfig) GetProfile ¶
func (do *DubboConfig) GetProfile() string
type DubboConfigList ¶
type DubboConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DubboConfig `json:"items"` }
DubboConfigList is a list of DubboConfig resources
type DubboConfigSpec ¶
type DubboConfigSpec struct { ProfilePath string `json:"profilePath,omitempty"` Profile string `json:"profile,omitempty"` ChartPath string `json:"chartPath,omitempty"` Namespace string `json:"namespace,omitempty"` ComponentsMeta *DubboComponentsMeta `json:"componentsMeta,omitempty"` Components *DubboComponentsSpec `json:"components,omitempty"` }
func (*DubboConfigSpec) IsAdminEnabled ¶
func (dcs *DubboConfigSpec) IsAdminEnabled() bool
func (*DubboConfigSpec) IsGrafanaEnabled ¶
func (dcs *DubboConfigSpec) IsGrafanaEnabled() bool
func (*DubboConfigSpec) IsNacosEnabled ¶
func (dcs *DubboConfigSpec) IsNacosEnabled() bool
func (*DubboConfigSpec) IsPrometheusEnabled ¶
func (dcs *DubboConfigSpec) IsPrometheusEnabled() bool
func (*DubboConfigSpec) IsSkywalkingEnabled ¶
func (dcs *DubboConfigSpec) IsSkywalkingEnabled() bool
func (*DubboConfigSpec) IsZipkinEnabled ¶
func (dcs *DubboConfigSpec) IsZipkinEnabled() bool
func (*DubboConfigSpec) IsZookeeperEnabled ¶
func (dcs *DubboConfigSpec) IsZookeeperEnabled() bool
type DubboConfigStatus ¶
type DubboConfigStatus struct{}
type ExtraPath ¶
type ExtraPath struct { Path string `json:"path,omitempty"` PathType netv1.PathType `json:"pathType,omitempty"` Backend netv1.IngressBackend `json:"backend,omitempty"` }
type GrafanaMeta ¶
type GrafanaMeta struct { BaseMeta RemoteMeta }
type GrafanaSpec ¶
func (*GrafanaSpec) DeepCopyInto ¶
func (in *GrafanaSpec) DeepCopyInto(out *GrafanaSpec)
type Ingress ¶
type Ingress struct { Enabled bool `json:"enabled,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` Labels map[string]string `json:"labels,omitempty"` Path string `json:"path,omitempty"` PathType netv1.PathType `json:"pathType,omitempty"` Hosts []string `json:"hosts,omitempty"` ExtraPaths []*ExtraPath `json:"extraPaths,omitempty"` Tls []*netv1.IngressTLS `json:"tls,omitempty"` }
type NacosGlobal ¶
type NacosGlobal struct {
Mode Mode `json:"mode,omitempty"`
}
type NacosImage ¶
type NacosPersistence ¶
type NacosPersistence struct { Enabled bool `json:"enabled,omitempty"` AccessModes []corev1.PersistentVolumeAccessMode `json:"accessModes,omitempty"` StorageClassName string `json:"storageClassName,omitempty"` Size *resource.Quantity `json:"size,omitempty"` // todo: need to reconcile between this struct and values.yaml ClaimName string `json:"claimName,omitempty"` EmptyDir *corev1.EmptyDirVolumeSource `json:"emptyDir,omitempty"` }
type NacosPlugin ¶
type NacosPlugin struct { Enable bool `json:"enable,omitempty"` Image *NacosPluginImage `json:"image,omitempty"` }
type NacosPluginImage ¶
type NacosService ¶
type NacosService struct { Name string `json:"name,omitempty"` Type corev1.ServiceType `json:"type,omitempty"` Port uint32 `json:"port,omitempty"` NodePort uint32 `json:"nodePort,omitempty"` ClusterIP string `json:"clusterIP,omitempty"` LoadBalancerIP string `json:"loadBalancerIP,omitempty"` LoadBalancerSourceRanges string `json:"loadBalancerSourceRanges,omitempty"` ExternalIPs string `json:"externalIPs,omitempty"` }
type NacosSpec ¶
type NacosSpec struct { Global *NacosGlobal `json:"global,omitempty"` Image *NacosImage `json:"image,omitempty"` Plugin *NacosPlugin `json:"plugin,omitempty"` Replicas uint32 `json:"replicas,omitempty"` DomainName string `json:"domainName,omitempty"` Storage *NacosStorage `json:"storage,omitempty"` Service *NacosService `json:"service,omitempty"` Persistence *NacosPersistence `json:"persistence,omitempty"` PodDisruptionBudget *policyv1.PodDisruptionBudget `json:"podDisruptionBudget,omitempty"` Ingress *Ingress `json:"ingress,omitempty"` NetworkPolicy *NetworkPolicy `json:"networkPolicy,omitempty"` }
type NacosStorage ¶
type NacosStorage struct { Type string `json:"type,omitempty"` Db *NacosStorageDb `json:"db,omitempty"` }
type NacosStorageDb ¶
type NetworkPolicy ¶
type PrometheusMeta ¶
type PrometheusMeta struct { BaseMeta RemoteMeta }
type PrometheusSpec ¶
func (*PrometheusSpec) DeepCopyInto ¶
func (in *PrometheusSpec) DeepCopyInto(out *PrometheusSpec)
type RemoteMeta ¶
type ServiceAccount ¶
type SkywalkingMeta ¶
type SkywalkingMeta struct { BaseMeta RemoteMeta }
type SkywalkingSpec ¶
func (*SkywalkingSpec) DeepCopyInto ¶
func (in *SkywalkingSpec) DeepCopyInto(out *SkywalkingSpec)
type ZipkinMeta ¶
type ZipkinMeta struct { BaseMeta RemoteMeta }
type ZipkinSpec ¶
func (*ZipkinSpec) DeepCopyInto ¶
func (in *ZipkinSpec) DeepCopyInto(out *ZipkinSpec)
type ZookeeperMeta ¶
type ZookeeperMeta struct { BaseMeta RemoteMeta }
type ZookeeperSpec ¶
func (*ZookeeperSpec) DeepCopyInto ¶
func (in *ZookeeperSpec) DeepCopyInto(out *ZookeeperSpec)
Click to show internal directories.
Click to hide internal directories.