datav1

package
v1.33.0-20240109164443... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Role_name = map[int32]string{
		0: "reader",
		1: "writer",
		2: "readwriter",
		3: "admin",
	}
	Role_value = map[string]int32{
		"reader":     0,
		"writer":     1,
		"readwriter": 2,
		"admin":      3,
	}
)

Enum value maps for Role.

View Source
var File_psdb_data_v1_data_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Role

type Role int32
const (
	Role_reader     Role = 0
	Role_writer     Role = 1
	Role_readwriter Role = 2
	Role_admin      Role = 3
)

func (Role) Descriptor

func (Role) Descriptor() protoreflect.EnumDescriptor

func (Role) Enum

func (x Role) Enum() *Role

func (Role) EnumDescriptor deprecated

func (Role) EnumDescriptor() ([]byte, []int)

Deprecated: Use Role.Descriptor instead.

func (Role) Number

func (x Role) Number() protoreflect.EnumNumber

func (Role) String

func (x Role) String() string

func (Role) Type

func (Role) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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