Documentation ¶
Index ¶
Constants ¶
View Source
const ( LabelRisingWaveComponent = "risingwave/component" LabelRisingWaveName = "risingwave/name" LabelRisingWaveGeneration = "risingwave/generation" LabelRisingWaveGroup = "risingwave/group" LabelRisingWaveMetaRole = "risingwave/meta-role" LabelRisingWaveOperatorVersion = "risingwave/operator-version" )
System reserved labels.
View Source
const ( AnnotationRestartAt = "risingwave/restart-at" AnnotationPauseReconcile = "risingwave.risingwavelabs.com/pause-reconcile" AnnotationInheritLabelPrefix = "risingwave.risingwavelabs.com/inherit-label-prefix" )
System reserved annotations.
View Source
const ( MetaRoleLeader = "leader" MetaRoleFollower = "follower" MetaRoleUnknown = "unknown" )
Label values of LabelRisingWaveMetaRole.
View Source
const ( ComponentMeta = "meta" ComponentFrontend = "frontend" ComponentCompute = "compute" ComponentCompactor = "compactor" ComponentConnector = "connector" ComponentConfig = "config" )
Label values of LabelRisingWaveComponent.
View Source
const ( SecretKeyMinIOUsername string = "username" SecretKeyMinIOPassword string = "password" )
Credential keys for MinIO.
View Source
const ( SecretKeyEtcdUsername string = "username" SecretKeyEtcdPassword string = "password" )
Credential keys for etcd.
View Source
const ( SecretKeyAWSS3AccessKeyID string = "AccessKeyID" SecretKeyAWSS3SecretAccessKey string = "SecretAccessKey" SecretKeyAWSS3Region string = "Region" )
Credential keys for AWS S3.
View Source
const ( PortService string = "service" PortMetrics string = "metrics" PortDashboard string = "dashboard" )
Port names of components.
View Source
const ( DefaultMetaServicePort int32 = 5690 DefaultMetaDashboardPort int32 = 5691 DefaultMetaMetricsPort int32 = 1250 DefaultComputeServicePort int32 = 5688 DefaultComputeMetricsPort int32 = 1222 DefaultFrontendServicePort int32 = 4567 DefaultFrontendMetricsPort int32 = 8080 DefaultCompactorServicePort int32 = 6660 DefaultCompactorMetricsPort int32 = 1260 DefaultConnectorServicePort int32 = 50051 DefaultConnectorMetricsPort int32 = 8080 )
Default port values of components.
View Source
const (
// FinalizerScaleView Deprecated.
FinalizerScaleView = "risingwavescaleview/finalizer"
)
System reserved finalizers.
View Source
const (
// NoSync indicates that operator won't sync the resource after it's created.
NoSync = "nosync"
)
Special label values of LabelRisingWaveGeneration.
View Source
const (
SecretKeyGCSServiceAccountCredentials string = "ServiceAccountCredentials"
)
Credentials for GCS.
Variables ¶
View Source
var ( RisingWaveEventTypeInitializing = RisingWaveEventType{Name: "Initializing", Type: corev1.EventTypeNormal} RisingWaveEventTypeRunning = RisingWaveEventType{Name: "Running", Type: corev1.EventTypeNormal} RisingWaveEventTypeUnhealthy = RisingWaveEventType{Name: "Unhealthy", Type: corev1.EventTypeWarning} RisingWaveEventTypeRecovering = RisingWaveEventType{Name: "Recovering", Type: corev1.EventTypeNormal} RisingWaveEventTypeUpgrading = RisingWaveEventType{Name: "Upgrading", Type: corev1.EventTypeNormal} )
Valid event types.
Functions ¶
This section is empty.
Types ¶
type RisingWaveEventType ¶
RisingWaveEventType is the struct for RisingWave events.
Click to show internal directories.
Click to hide internal directories.