scopes

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Scope_name = map[int32]string{
		0: "READ",
		1: "CREATE",
		2: "GETACCESS",
		3: "MODIFYACCESS",
		4: "UPDATE",
		5: "DELETE",
		6: "INDEX",
	}
	Scope_value = map[string]int32{
		"READ":         0,
		"CREATE":       1,
		"GETACCESS":    2,
		"MODIFYACCESS": 3,
		"UPDATE":       4,
		"DELETE":       5,
		"INDEX":        6,
	}
)

Enum value maps for Scope.

View Source
var File_scopes_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Scope

type Scope int32

/ Access scopes.

const (
	/// Read and decrypt data.
	Scope_READ Scope = 0
	/// Store and encrypt data.
	Scope_CREATE Scope = 1
	/// Get permissions to an object.
	Scope_GETACCESS Scope = 2
	/// Modify permissions to an object.
	Scope_MODIFYACCESS Scope = 3
	/// Modify data.
	Scope_UPDATE Scope = 4
	/// Delete data.
	Scope_DELETE Scope = 5
	/// Use secure index for searching in data.
	Scope_INDEX Scope = 6
)

func (Scope) Descriptor

func (Scope) Descriptor() protoreflect.EnumDescriptor

func (Scope) Enum

func (x Scope) Enum() *Scope

func (Scope) EnumDescriptor deprecated

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

Deprecated: Use Scope.Descriptor instead.

func (Scope) Number

func (x Scope) Number() protoreflect.EnumNumber

func (Scope) String

func (x Scope) String() string

func (Scope) Type

func (Scope) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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