rbac

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional rbac.RBAC access = 1191;
	E_Access = &file_rbac_rbac_proto_extTypes[1]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var (
	// optional rbac.RoleDefinition def = 1190;
	E_Def = &file_rbac_rbac_proto_extTypes[0]
)

Extension fields to descriptorpb.ServiceOptions.

View Source
var File_rbac_rbac_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type RBAC

type RBAC struct {
	Roles []string `protobuf:"bytes,1,rep,name=roles" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*RBAC) Descriptor deprecated

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

Deprecated: Use RBAC.ProtoReflect.Descriptor instead.

func (*RBAC) GetRoles

func (x *RBAC) GetRoles() []string

func (*RBAC) ProtoMessage

func (*RBAC) ProtoMessage()

func (*RBAC) ProtoReflect

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

func (*RBAC) Reset

func (x *RBAC) Reset()

func (*RBAC) String

func (x *RBAC) String() string

type Role added in v0.1.0

type Role struct {
	Name    *string  `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Parents []string `protobuf:"bytes,2,rep,name=parents" json:"parents,omitempty"`
	// contains filtered or unexported fields
}

func (*Role) Descriptor deprecated added in v0.1.0

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

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetName added in v0.1.0

func (x *Role) GetName() string

func (*Role) GetParents added in v0.1.0

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

func (*Role) ProtoMessage added in v0.1.0

func (*Role) ProtoMessage()

func (*Role) ProtoReflect added in v0.1.0

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

func (*Role) Reset added in v0.1.0

func (x *Role) Reset()

func (*Role) String added in v0.1.0

func (x *Role) String() string

type RoleDefinition added in v0.1.0

type RoleDefinition struct {
	Roles []*Role `protobuf:"bytes,1,rep,name=roles" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleDefinition) Descriptor deprecated added in v0.1.0

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

Deprecated: Use RoleDefinition.ProtoReflect.Descriptor instead.

func (*RoleDefinition) GetRoles added in v0.1.0

func (x *RoleDefinition) GetRoles() []*Role

func (*RoleDefinition) ProtoMessage added in v0.1.0

func (*RoleDefinition) ProtoMessage()

func (*RoleDefinition) ProtoReflect added in v0.1.0

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

func (*RoleDefinition) Reset added in v0.1.0

func (x *RoleDefinition) Reset()

func (*RoleDefinition) String added in v0.1.0

func (x *RoleDefinition) String() string

Jump to

Keyboard shortcuts

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