github.com/ydb-platform/ydb-go-sdk/v3@v3.57.0/coordination/coordination.go (about)

     1  package coordination
     2  
     3  import (
     4  	"context"
     5  
     6  	"github.com/ydb-platform/ydb-go-sdk/v3/scheme"
     7  )
     8  
     9  type Client interface {
    10  	CreateNode(ctx context.Context, path string, config NodeConfig) (err error)
    11  	AlterNode(ctx context.Context, path string, config NodeConfig) (err error)
    12  	DropNode(ctx context.Context, path string) (err error)
    13  	DescribeNode(ctx context.Context, path string) (_ *scheme.Entry, _ *NodeConfig, err error)
    14  }