kv

package
v0.0.22 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateKvVolume

func CreateKvVolume(ctx context.Context, kvResource *Resource, stub Ydb_KeyValue_V1.KeyValueServiceClient) error

func DropKvVolume

func DropKvVolume(ctx context.Context, kvResource *Resource, stub Ydb_KeyValue_V1.KeyValueServiceClient) error

func NewHandler

func NewHandler(authCreds auth.YdbCredentials) resources.Handler

Types

type ChannelConfig

type ChannelConfig struct {
	Channel []*MediaConfig
}

type MediaConfig

type MediaConfig struct {
	Media string
}

type Resource

type Resource struct {
	Entity *helpers.YDBEntity

	FullPath         string
	Endpoint         string
	Database         string
	Path             string
	DatabaseEndpoint string
	PartitionCount   int
	StorageConfig    *ChannelConfig
	UseTLS           bool
}

Directories

Path Synopsis
Package mock_Ydb_KeyValue_V1 is a generated GoMock package.
Package mock_Ydb_KeyValue_V1 is a generated GoMock package.

Jump to

Keyboard shortcuts

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