rawscheme

package
v3.54.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EntryTypeUnspecified      = EntryType(Ydb_Scheme.Entry_TYPE_UNSPECIFIED)
	EntryTypeDirectory        = EntryType(Ydb_Scheme.Entry_DIRECTORY)
	EntryTypeTable            = EntryType(Ydb_Scheme.Entry_TABLE)
	EntryTypePersQueueGroup   = EntryType(Ydb_Scheme.Entry_PERS_QUEUE_GROUP)
	EntryTypeDatabase         = EntryType(Ydb_Scheme.Entry_DATABASE)
	EntryTypeRtmrVolume       = EntryType(Ydb_Scheme.Entry_RTMR_VOLUME)
	EntryTypeBlockStoreVolume = EntryType(Ydb_Scheme.Entry_BLOCK_STORE_VOLUME)
	EntryTypeCoordinationNode = EntryType(Ydb_Scheme.Entry_COORDINATION_NODE)
	EntryTypeSequence         = EntryType(Ydb_Scheme.Entry_SEQUENCE)
	EntryTypeReplication      = EntryType(Ydb_Scheme.Entry_REPLICATION)
	EntryTypeTopic            = EntryType(Ydb_Scheme.Entry_TOPIC)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Name                 string
	Owner                string
	Type                 EntryType
	EffectivePermissions []Permissions
	Permissions          []Permissions
	SizeBytes            uint64
}

func (*Entry) FromProto

func (e *Entry) FromProto(proto *Ydb_Scheme.Entry) error

type EntryType

type EntryType int

type Permissions

type Permissions struct {
	Subject         string
	PermissionNames []string
}

func (*Permissions) FromProto

func (p *Permissions) FromProto(proto *Ydb_Scheme.Permissions) error

Jump to

Keyboard shortcuts

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