package coordination
import "github.com/ydb-platform/ydb-go-sdk/v3/coordination"
Index ¶
- type Client
- type ConsistencyMode
- func (t ConsistencyMode) String() string
- func (t ConsistencyMode) To() Ydb_Coordination.ConsistencyMode
- type NodeConfig
- type RatelimiterCountersMode
Types ¶
type Client ¶
type Client interface { closer.Closer CreateNode(ctx context.Context, path string, config NodeConfig) (err error) AlterNode(ctx context.Context, path string, config NodeConfig) (err error) DropNode(ctx context.Context, path string) (err error) DescribeNode(ctx context.Context, path string) (_ *scheme.Entry, _ *NodeConfig, err error) }
type ConsistencyMode ¶
type ConsistencyMode uint
const ( ConsistencyModeUnset ConsistencyMode = iota ConsistencyModeStrict ConsistencyModeRelaxed )
func (ConsistencyMode) String ¶
func (t ConsistencyMode) String() string
func (ConsistencyMode) To ¶
func (t ConsistencyMode) To() Ydb_Coordination.ConsistencyMode
type NodeConfig ¶
type NodeConfig struct { Path string SelfCheckPeriodMillis uint32 SessionGracePeriodMillis uint32 ReadConsistencyMode ConsistencyMode AttachConsistencyMode ConsistencyMode RatelimiterCountersMode RatelimiterCountersMode }
type RatelimiterCountersMode ¶
type RatelimiterCountersMode uint
const ( RatelimiterCountersModeUnset RatelimiterCountersMode = iota RatelimiterCountersModeAggregated RatelimiterCountersModeDetailed )
func (RatelimiterCountersMode) String ¶
func (t RatelimiterCountersMode) String() string
func (RatelimiterCountersMode) To ¶
func (t RatelimiterCountersMode) To() Ydb_Coordination.RateLimiterCountersMode
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
coordination/config |
- Version
- v3.16.12
- Published
- Mar 31, 2022
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 5 minutes ago –
Tools for package owners.