consts

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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"
	AnnotationBypassValidatingWebhook = "risingwave.risingwavelabs.com/bypass-validating-webhook"
	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"
	ComponentStandalone = "standalone"
	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 (
	SecretKeyAzureBlobAccountName string = "AccountName"
	SecretKeyAzureBlobAccountKey  string = "AccountKey"
)

Credential keys for Azure Blob.

View Source
const (
	SecretKeyAliyunOSSAccessKeyID     string = "AccessKeyID"
	SecretKeyAliyunOSSAccessKeySecret string = "AccessKeySecret"
)

Credential keys for AliyunOSS.

View Source
const (
	SecretKeyHuaweiCloudOBSAccessKeyID     string = "AccessKeyID"
	SecretKeyHuaweiCloudOBSAccessKeySecret string = "AccessKeySecret"
)

Credential keys for HuaweiCloudOBS.

View Source
const (
	PortService   string = "service"
	PortMetrics   string = "metrics"
	PortDashboard string = "dashboard"
)

Port names of components.

View Source
const (
	MetaServicePort      int32 = 5690
	MetaDashboardPort    int32 = 5691
	MetaMetricsPort      int32 = 1250
	ComputeServicePort   int32 = 5688
	ComputeMetricsPort   int32 = 1222
	FrontendServicePort  int32 = 4567
	FrontendMetricsPort  int32 = 8080
	CompactorServicePort int32 = 6660
	CompactorMetricsPort int32 = 1260
)

Port numbers of components.

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

type RisingWaveEventType struct {
	Name string
	Type string
}

RisingWaveEventType is the struct for RisingWave events.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL