rolev3

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_types_rolepb_v3_role_proto protoreflect.FileDescriptor
View Source
var File_proto_types_rolepb_v3_rolepermission_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Role

type Role struct {
	ApiVersion string       `protobuf:"bytes,1,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Kind       string       `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Metadata   *v3.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Spec       *RoleSpec    `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	Status     *v3.Status   `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Role) Descriptor deprecated

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

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetApiVersion

func (x *Role) GetApiVersion() string

func (*Role) GetKind

func (x *Role) GetKind() string

func (*Role) GetMetadata

func (x *Role) GetMetadata() *v3.Metadata

func (*Role) GetSpec

func (x *Role) GetSpec() *RoleSpec

func (*Role) GetStatus

func (x *Role) GetStatus() *v3.Status

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

type RoleList

type RoleList struct {
	ApiVersion string           `protobuf:"bytes,1,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Kind       string           `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Metadata   *v3.ListMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Items      []*Role          `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleList) Descriptor deprecated

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

Deprecated: Use RoleList.ProtoReflect.Descriptor instead.

func (*RoleList) GetApiVersion

func (x *RoleList) GetApiVersion() string

func (*RoleList) GetItems

func (x *RoleList) GetItems() []*Role

func (*RoleList) GetKind

func (x *RoleList) GetKind() string

func (*RoleList) GetMetadata

func (x *RoleList) GetMetadata() *v3.ListMetadata

func (*RoleList) ProtoMessage

func (*RoleList) ProtoMessage()

func (*RoleList) ProtoReflect

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

func (*RoleList) Reset

func (x *RoleList) Reset()

func (*RoleList) String

func (x *RoleList) String() string

type RolePermission

type RolePermission struct {
	ApiVersion string              `protobuf:"bytes,1,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Kind       string              `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Metadata   *v3.Metadata        `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Spec       *RolePermissionSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	Status     *v3.Status          `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*RolePermission) Descriptor deprecated

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

Deprecated: Use RolePermission.ProtoReflect.Descriptor instead.

func (*RolePermission) GetApiVersion

func (x *RolePermission) GetApiVersion() string

func (*RolePermission) GetKind

func (x *RolePermission) GetKind() string

func (*RolePermission) GetMetadata

func (x *RolePermission) GetMetadata() *v3.Metadata

func (*RolePermission) GetSpec

func (x *RolePermission) GetSpec() *RolePermissionSpec

func (*RolePermission) GetStatus

func (x *RolePermission) GetStatus() *v3.Status

func (*RolePermission) ProtoMessage

func (*RolePermission) ProtoMessage()

func (*RolePermission) ProtoReflect

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

func (*RolePermission) Reset

func (x *RolePermission) Reset()

func (*RolePermission) String

func (x *RolePermission) String() string

type RolePermissionList

type RolePermissionList struct {
	ApiVersion string            `protobuf:"bytes,1,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Kind       string            `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Metadata   *v3.ListMetadata  `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Items      []*RolePermission `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*RolePermissionList) Descriptor deprecated

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

Deprecated: Use RolePermissionList.ProtoReflect.Descriptor instead.

func (*RolePermissionList) GetApiVersion

func (x *RolePermissionList) GetApiVersion() string

func (*RolePermissionList) GetItems

func (x *RolePermissionList) GetItems() []*RolePermission

func (*RolePermissionList) GetKind

func (x *RolePermissionList) GetKind() string

func (*RolePermissionList) GetMetadata

func (x *RolePermissionList) GetMetadata() *v3.ListMetadata

func (*RolePermissionList) ProtoMessage

func (*RolePermissionList) ProtoMessage()

func (*RolePermissionList) ProtoReflect

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

func (*RolePermissionList) Reset

func (x *RolePermissionList) Reset()

func (*RolePermissionList) String

func (x *RolePermissionList) String() string

type RolePermissionSpec

type RolePermissionSpec struct {
	Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	// contains filtered or unexported fields
}

func (*RolePermissionSpec) Descriptor deprecated

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

Deprecated: Use RolePermissionSpec.ProtoReflect.Descriptor instead.

func (*RolePermissionSpec) GetScope

func (x *RolePermissionSpec) GetScope() string

func (*RolePermissionSpec) ProtoMessage

func (*RolePermissionSpec) ProtoMessage()

func (*RolePermissionSpec) ProtoReflect

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

func (*RolePermissionSpec) Reset

func (x *RolePermissionSpec) Reset()

func (*RolePermissionSpec) String

func (x *RolePermissionSpec) String() string

type RoleSpec

type RoleSpec struct {
	Rolepermissions []string `protobuf:"bytes,1,rep,name=rolepermissions,proto3" json:"rolepermissions,omitempty"`
	IsGlobal        bool     `protobuf:"varint,2,opt,name=isGlobal,proto3" json:"isGlobal,omitempty"`
	Scope           string   `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"`
	Builtin         bool     `protobuf:"varint,4,opt,name=builtin,proto3" json:"builtin,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleSpec) Descriptor deprecated

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

Deprecated: Use RoleSpec.ProtoReflect.Descriptor instead.

func (*RoleSpec) GetBuiltin

func (x *RoleSpec) GetBuiltin() bool

func (*RoleSpec) GetIsGlobal

func (x *RoleSpec) GetIsGlobal() bool

func (*RoleSpec) GetRolepermissions

func (x *RoleSpec) GetRolepermissions() []string

func (*RoleSpec) GetScope

func (x *RoleSpec) GetScope() string

func (*RoleSpec) ProtoMessage

func (*RoleSpec) ProtoMessage()

func (*RoleSpec) ProtoReflect

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

func (*RoleSpec) Reset

func (x *RoleSpec) Reset()

func (*RoleSpec) String

func (x *RoleSpec) String() string

Jump to

Keyboard shortcuts

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