Documentation ¶
Index ¶
- Constants
- type API
- type Checkpoint
- type CouchbaseMembership
- type CouchbaseMetadata
- type DCPGroup
- type DCPGroupMembership
- type DCPListener
- type Dcp
- func (c *Dcp) ApplyDefaults()
- func (c *Dcp) GetCouchbaseMembership() *CouchbaseMembership
- func (c *Dcp) GetCouchbaseMetadata() *CouchbaseMetadata
- func (c *Dcp) GetFileMetadata() string
- func (c *Dcp) GetKubernetesLeaderElector() *KubernetesLeaderElector
- func (c *Dcp) IsCouchbaseMetadata() bool
- func (c *Dcp) IsFileMetadata() bool
- type ExternalDcp
- type ExternalDcpConfig
- type HealthCheck
- type KubernetesLeaderElector
- type LeaderElection
- type Logging
- type Metadata
- type Metric
- type RPC
- type RollbackMitigation
Constants ¶
View Source
const ( DefaultScopeName = "_default" DefaultCollectionName = "_default" FileMetadataFileNameConfig = "fileName" MetadataTypeCouchbase = "couchbase" MetadataTypeFile = "file" MembershipTypeCouchbase = "couchbase" CouchbaseMetadataBucketConfig = "bucket" CouchbaseMetadataScopeConfig = "scope" CouchbaseMetadataCollectionConfig = "collection" CouchbaseMetadataConnectionBufferSizeConfig = "connectionBufferSize" CouchbaseMetadataConnectionTimeoutConfig = "connectionTimeout" CheckpointTypeAuto = "auto" CouchbaseMembershipExpirySecondsConfig = "expirySeconds" CouchbaseMembershipHeartbeatIntervalConfig = "heartbeatInterval" CouchbaseMembershipHeartbeatToleranceConfig = "heartbeatToleranceDuration" CouchbaseMembershipMonitorIntervalConfig = "monitorInterval" CouchbaseMembershipTimeoutConfig = "timeout" KubernetesLeaderElectorLeaseLockNameConfig = "leaseLockName" KubernetesLeaderElectorLeaseLockNamespaceConfig = "leaseLockNamespace" KubernetesLeaderElectorLeaseDurationConfig = "leaseDuration" KubernetesLeaderElectorRenewDeadlineConfig = "renewDeadline" KubernetesLeaderElectorRetryPeriodConfig = "retryPeriod" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checkpoint ¶
type CouchbaseMembership ¶ added in v1.1.11
type CouchbaseMembership struct { ExpirySeconds uint32 `yaml:"expirySeconds"` HeartbeatInterval time.Duration `yaml:"heartbeatInterval"` HeartbeatToleranceDuration time.Duration `yaml:"heartbeatToleranceDuration"` MonitorInterval time.Duration `yaml:"monitorInterval"` Timeout time.Duration `yaml:"timeout"` }
type CouchbaseMetadata ¶ added in v1.1.11
type DCPGroup ¶
type DCPGroup struct { Name string `yaml:"name"` Membership DCPGroupMembership `yaml:"membership"` }
type DCPGroupMembership ¶
type DCPListener ¶
type DCPListener struct {
BufferSize uint `yaml:"bufferSize"`
}
type Dcp ¶
type Dcp struct { ConnectionBufferSize any `yaml:"connectionBufferSize"` BucketName string `yaml:"bucketName"` ScopeName string `yaml:"scopeName"` Password string `yaml:"password"` RootCAPath string `yaml:"rootCAPath"` Username string `yaml:"username"` Logging Logging `yaml:"logging"` Metadata Metadata `yaml:"metadata"` CollectionNames []string `yaml:"collectionNames"` Hosts []string `yaml:"hosts"` Metric Metric `yaml:"metric"` Checkpoint Checkpoint `yaml:"checkpoint"` LeaderElection LeaderElection `yaml:"leaderElection"` Dcp ExternalDcp `yaml:"dcp"` HealthCheck HealthCheck `yaml:"healthCheck"` RollbackMitigation RollbackMitigation `yaml:"rollbackMitigation"` API API `yaml:"api"` ConnectionTimeout time.Duration `yaml:"connectionTimeout"` SecureConnection bool `yaml:"secureConnection"` Debug bool `yaml:"debug"` }
func (*Dcp) ApplyDefaults ¶
func (c *Dcp) ApplyDefaults()
func (*Dcp) GetCouchbaseMembership ¶ added in v1.1.11
func (c *Dcp) GetCouchbaseMembership() *CouchbaseMembership
func (*Dcp) GetCouchbaseMetadata ¶
func (c *Dcp) GetCouchbaseMetadata() *CouchbaseMetadata
func (*Dcp) GetFileMetadata ¶
func (*Dcp) GetKubernetesLeaderElector ¶ added in v1.1.13
func (c *Dcp) GetKubernetesLeaderElector() *KubernetesLeaderElector
func (*Dcp) IsCouchbaseMetadata ¶
func (*Dcp) IsFileMetadata ¶
type ExternalDcp ¶
type ExternalDcp struct { BufferSize any `yaml:"bufferSize"` ConnectionBufferSize any `yaml:"connectionBufferSize"` Group DCPGroup `yaml:"group"` ConnectionTimeout time.Duration `yaml:"connectionTimeout"` Listener DCPListener `yaml:"listener"` Config ExternalDcpConfig `yaml:"config"` }
type ExternalDcpConfig ¶ added in v1.1.16
type ExternalDcpConfig struct {
DisableChangeStreams bool `yaml:"disableChangeStreams"`
}
type HealthCheck ¶
type KubernetesLeaderElector ¶ added in v1.1.13
type LeaderElection ¶
Click to show internal directories.
Click to hide internal directories.