Documentation ¶
Index ¶
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" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checkpoint ¶
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 { Username string `yaml:"username"` BucketName string `yaml:"bucketName"` ScopeName string `yaml:"scopeName"` Password string `yaml:"password"` RootCAPath string `yaml:"rootCAPath"` Metadata Metadata `yaml:"metadata"` Hosts []string `yaml:"hosts"` CollectionNames []string `yaml:"collectionNames"` Metric Metric `yaml:"metric"` Checkpoint Checkpoint `yaml:"checkpoint"` LeaderElection LeaderElection `yaml:"leaderElector"` Dcp ExternalDcp `yaml:"dcp"` HealthCheck HealthCheck `yaml:"healthCheck"` API API `yaml:"api"` RollbackMitigation RollbackMitigation `yaml:"rollbackMitigation"` ConnectionTimeout time.Duration `yaml:"connectionTimeout"` ConnectionBufferSize uint `yaml:"connectionBufferSize"` SecureConnection bool `yaml:"secureConnection"` Debug bool `yaml:"debug"` }
func (*Dcp) ApplyDefaults ¶
func (c *Dcp) ApplyDefaults()
func (*Dcp) GetCouchbaseMetadata ¶
func (*Dcp) GetFileMetadata ¶
func (*Dcp) IsCollectionModeEnabled ¶
func (*Dcp) IsCouchbaseMetadata ¶
func (*Dcp) IsFileMetadata ¶
type ExternalDcp ¶
type HealthCheck ¶
type LeaderElection ¶
Click to show internal directories.
Click to hide internal directories.