api

package
v0.0.0-...-2ef43c0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional api.Role role = 50001;
	E_Role = &file_role_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

Functions

This section is empty.

Types

type Role

type Role struct {

	// name of the resource
	Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// scope of the resource
	Scope []string `protobuf:"bytes,2,rep,name=scope,proto3" json:"scope,omitempty"`
	// actionable verb of the resource like create, update, list, get, poweroff etc. to be shown to the user
	Verb string `protobuf:"bytes,3,opt,name=verb,proto3" json:"verb,omitempty"`
	// contains filtered or unexported fields
}

Define the Role definition for Auth Gateway

func (*Role) Descriptor deprecated

func (*Role) Descriptor() ([]byte, []int)

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetResource

func (x *Role) GetResource() string

func (*Role) GetScope

func (x *Role) GetScope() []string

func (*Role) GetVerb

func (x *Role) GetVerb() string

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

func (x *Role) ProtoReflect() protoreflect.Message

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

Jump to

Keyboard shortcuts

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