kk_rbac_api_def

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PBRole_RoleStatusEnum_name = map[int32]string{
		0: "Disable",
		1: "Enable",
	}
	PBRole_RoleStatusEnum_value = map[string]int32{
		"Disable": 0,
		"Enable":  1,
	}
)

Enum value maps for PBRole_RoleStatusEnum.

View Source
var File_kk_rbac_api_permission_proto protoreflect.FileDescriptor
View Source
var File_kk_rbac_api_role_proto protoreflect.FileDescriptor
View Source
var File_kk_rbac_api_user_proto protoreflect.FileDescriptor
View Source
var File_kk_rbac_pb_permission_proto protoreflect.FileDescriptor
View Source
var File_kk_rbac_pb_role_proto protoreflect.FileDescriptor
View Source
var File_kk_rbac_pb_user_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type KKRBACAddPermissionParam

type KKRBACAddPermissionParam struct {
	Permission *PBPermission `protobuf:"bytes,1,opt,name=Permission,proto3" json:"Permission,omitempty"`
	// contains filtered or unexported fields
}

func (*KKRBACAddPermissionParam) BindCheck

func (x *KKRBACAddPermissionParam) BindCheck(stage *kk_stage.Stage) error

func (*KKRBACAddPermissionParam) Descriptor deprecated

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

Deprecated: Use KKRBACAddPermissionParam.ProtoReflect.Descriptor instead.

func (*KKRBACAddPermissionParam) GetPermission

func (x *KKRBACAddPermissionParam) GetPermission() *PBPermission

func (*KKRBACAddPermissionParam) ProtoMessage

func (*KKRBACAddPermissionParam) ProtoMessage()

func (*KKRBACAddPermissionParam) ProtoReflect

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

func (*KKRBACAddPermissionParam) Reset

func (x *KKRBACAddPermissionParam) Reset()

func (*KKRBACAddPermissionParam) String

func (x *KKRBACAddPermissionParam) String() string

type KKRBACAddPermissionResponse

type KKRBACAddPermissionResponse struct {
	// contains filtered or unexported fields
}

func (*KKRBACAddPermissionResponse) Descriptor deprecated

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

Deprecated: Use KKRBACAddPermissionResponse.ProtoReflect.Descriptor instead.

func (*KKRBACAddPermissionResponse) ProtoMessage

func (*KKRBACAddPermissionResponse) ProtoMessage()

func (*KKRBACAddPermissionResponse) ProtoReflect

func (*KKRBACAddPermissionResponse) Reset

func (x *KKRBACAddPermissionResponse) Reset()

func (*KKRBACAddPermissionResponse) String

func (x *KKRBACAddPermissionResponse) String() string

type KKRBACAddRoleParam

type KKRBACAddRoleParam struct {
	Role *PBRole `protobuf:"bytes,1,opt,name=Role,proto3" json:"Role,omitempty"`
	// contains filtered or unexported fields
}

func (*KKRBACAddRoleParam) BindCheck

func (x *KKRBACAddRoleParam) BindCheck(stage *kk_stage.Stage) error

func (*KKRBACAddRoleParam) Descriptor deprecated

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

Deprecated: Use KKRBACAddRoleParam.ProtoReflect.Descriptor instead.

func (*KKRBACAddRoleParam) GetRole

func (x *KKRBACAddRoleParam) GetRole() *PBRole

func (*KKRBACAddRoleParam) ProtoMessage

func (*KKRBACAddRoleParam) ProtoMessage()

func (*KKRBACAddRoleParam) ProtoReflect

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

func (*KKRBACAddRoleParam) Reset

func (x *KKRBACAddRoleParam) Reset()

func (*KKRBACAddRoleParam) String

func (x *KKRBACAddRoleParam) String() string

type KKRBACAddRoleResponse

type KKRBACAddRoleResponse struct {
	// contains filtered or unexported fields
}

func (*KKRBACAddRoleResponse) Descriptor deprecated

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

Deprecated: Use KKRBACAddRoleResponse.ProtoReflect.Descriptor instead.

func (*KKRBACAddRoleResponse) ProtoMessage

func (*KKRBACAddRoleResponse) ProtoMessage()

func (*KKRBACAddRoleResponse) ProtoReflect

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

func (*KKRBACAddRoleResponse) Reset

func (x *KKRBACAddRoleResponse) Reset()

func (*KKRBACAddRoleResponse) String

func (x *KKRBACAddRoleResponse) String() string

type KKRBACAddUserParam

type KKRBACAddUserParam struct {
	User *PBUser `protobuf:"bytes,1,opt,name=User,proto3" json:"User,omitempty"`
	// contains filtered or unexported fields
}

func (*KKRBACAddUserParam) BindCheck

func (x *KKRBACAddUserParam) BindCheck(stage *kk_stage.Stage) error

func (*KKRBACAddUserParam) Descriptor deprecated

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

Deprecated: Use KKRBACAddUserParam.ProtoReflect.Descriptor instead.

func (*KKRBACAddUserParam) GetUser

func (x *KKRBACAddUserParam) GetUser() *PBUser

func (*KKRBACAddUserParam) ProtoMessage

func (*KKRBACAddUserParam) ProtoMessage()

func (*KKRBACAddUserParam) ProtoReflect

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

func (*KKRBACAddUserParam) Reset

func (x *KKRBACAddUserParam) Reset()

func (*KKRBACAddUserParam) String

func (x *KKRBACAddUserParam) String() string

type KKRBACAddUserResponse

type KKRBACAddUserResponse struct {
	// contains filtered or unexported fields
}

func (*KKRBACAddUserResponse) Descriptor deprecated

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

Deprecated: Use KKRBACAddUserResponse.ProtoReflect.Descriptor instead.

func (*KKRBACAddUserResponse) ProtoMessage

func (*KKRBACAddUserResponse) ProtoMessage()

func (*KKRBACAddUserResponse) ProtoReflect

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

func (*KKRBACAddUserResponse) Reset

func (x *KKRBACAddUserResponse) Reset()

func (*KKRBACAddUserResponse) String

func (x *KKRBACAddUserResponse) String() string

type KKRBACCheckPermissionParam

type KKRBACCheckPermissionParam struct {
	UserId uint64 `protobuf:"varint,1,opt,name=UserId,proto3" json:"UserId,omitempty"`
	ApiId  string `protobuf:"bytes,2,opt,name=ApiId,proto3" json:"ApiId,omitempty"`
	// contains filtered or unexported fields
}

func (*KKRBACCheckPermissionParam) BindCheck

func (x *KKRBACCheckPermissionParam) BindCheck(stage *kk_stage.Stage) error

func (*KKRBACCheckPermissionParam) Descriptor deprecated

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

Deprecated: Use KKRBACCheckPermissionParam.ProtoReflect.Descriptor instead.

func (*KKRBACCheckPermissionParam) GetApiId

func (x *KKRBACCheckPermissionParam) GetApiId() string

func (*KKRBACCheckPermissionParam) GetUserId

func (x *KKRBACCheckPermissionParam) GetUserId() uint64

func (*KKRBACCheckPermissionParam) ProtoMessage

func (*KKRBACCheckPermissionParam) ProtoMessage()

func (*KKRBACCheckPermissionParam) ProtoReflect

func (*KKRBACCheckPermissionParam) Reset

func (x *KKRBACCheckPermissionParam) Reset()

func (*KKRBACCheckPermissionParam) String

func (x *KKRBACCheckPermissionParam) String() string

type KKRBACCheckPermissionResponse

type KKRBACCheckPermissionResponse struct {
	// contains filtered or unexported fields
}

func (*KKRBACCheckPermissionResponse) Descriptor deprecated

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

Deprecated: Use KKRBACCheckPermissionResponse.ProtoReflect.Descriptor instead.

func (*KKRBACCheckPermissionResponse) ProtoMessage

func (*KKRBACCheckPermissionResponse) ProtoMessage()

func (*KKRBACCheckPermissionResponse) ProtoReflect

func (*KKRBACCheckPermissionResponse) Reset

func (x *KKRBACCheckPermissionResponse) Reset()

func (*KKRBACCheckPermissionResponse) String

type KKRBACDeletePermissionParam

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

func (*KKRBACDeletePermissionParam) BindCheck

func (x *KKRBACDeletePermissionParam) BindCheck(stage *kk_stage.Stage) error

func (*KKRBACDeletePermissionParam) Descriptor deprecated

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

Deprecated: Use KKRBACDeletePermissionParam.ProtoReflect.Descriptor instead.

func (*KKRBACDeletePermissionParam) GetApiIds

func (x *KKRBACDeletePermissionParam) GetApiIds() []string

func (*KKRBACDeletePermissionParam) ProtoMessage

func (*KKRBACDeletePermissionParam) ProtoMessage()

func (*KKRBACDeletePermissionParam) ProtoReflect

func (*KKRBACDeletePermissionParam) Reset

func (x *KKRBACDeletePermissionParam) Reset()

func (*KKRBACDeletePermissionParam) String

func (x *KKRBACDeletePermissionParam) String() string

type KKRBACDeletePermissionResponse

type KKRBACDeletePermissionResponse struct {
	// contains filtered or unexported fields
}

func (*KKRBACDeletePermissionResponse) Descriptor deprecated

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

Deprecated: Use KKRBACDeletePermissionResponse.ProtoReflect.Descriptor instead.

func (*KKRBACDeletePermissionResponse) ProtoMessage

func (*KKRBACDeletePermissionResponse) ProtoMessage()

func (*KKRBACDeletePermissionResponse) ProtoReflect

func (*KKRBACDeletePermissionResponse) Reset

func (x *KKRBACDeletePermissionResponse) Reset()

func (*KKRBACDeletePermissionResponse) String

type KKRBACDeleteRoleParam

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

func (*KKRBACDeleteRoleParam) BindCheck

func (x *KKRBACDeleteRoleParam) BindCheck(stage *kk_stage.Stage) error

func (*KKRBACDeleteRoleParam) Descriptor deprecated

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

Deprecated: Use KKRBACDeleteRoleParam.ProtoReflect.Descriptor instead.

func (*KKRBACDeleteRoleParam) GetRoleNames

func (x *KKRBACDeleteRoleParam) GetRoleNames() []string

func (*KKRBACDeleteRoleParam) ProtoMessage

func (*KKRBACDeleteRoleParam) ProtoMessage()

func (*KKRBACDeleteRoleParam) ProtoReflect

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

func (*KKRBACDeleteRoleParam) Reset

func (x *KKRBACDeleteRoleParam) Reset()

func (*KKRBACDeleteRoleParam) String

func (x *KKRBACDeleteRoleParam) String() string

type KKRBACDeleteRoleResponse

type KKRBACDeleteRoleResponse struct {
	// contains filtered or unexported fields
}

func (*KKRBACDeleteRoleResponse) Descriptor deprecated

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

Deprecated: Use KKRBACDeleteRoleResponse.ProtoReflect.Descriptor instead.

func (*KKRBACDeleteRoleResponse) ProtoMessage

func (*KKRBACDeleteRoleResponse) ProtoMessage()

func (*KKRBACDeleteRoleResponse) ProtoReflect

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

func (*KKRBACDeleteRoleResponse) Reset

func (x *KKRBACDeleteRoleResponse) Reset()

func (*KKRBACDeleteRoleResponse) String

func (x *KKRBACDeleteRoleResponse) String() string

type KKRBACDeleteUserParam

type KKRBACDeleteUserParam struct {
	UserIds []uint64 `protobuf:"varint,1,rep,packed,name=UserIds,proto3" json:"UserIds,omitempty"`
	// contains filtered or unexported fields
}

func (*KKRBACDeleteUserParam) BindCheck

func (x *KKRBACDeleteUserParam) BindCheck(stage *kk_stage.Stage) error

func (*KKRBACDeleteUserParam) Descriptor deprecated

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

Deprecated: Use KKRBACDeleteUserParam.ProtoReflect.Descriptor instead.

func (*KKRBACDeleteUserParam) GetUserIds

func (x *KKRBACDeleteUserParam) GetUserIds() []uint64

func (*KKRBACDeleteUserParam) ProtoMessage

func (*KKRBACDeleteUserParam) ProtoMessage()

func (*KKRBACDeleteUserParam) ProtoReflect

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

func (*KKRBACDeleteUserParam) Reset

func (x *KKRBACDeleteUserParam) Reset()

func (*KKRBACDeleteUserParam) String

func (x *KKRBACDeleteUserParam) String() string

type KKRBACDeleteUserResponse

type KKRBACDeleteUserResponse struct {
	// contains filtered or unexported fields
}

func (*KKRBACDeleteUserResponse) Descriptor deprecated

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

Deprecated: Use KKRBACDeleteUserResponse.ProtoReflect.Descriptor instead.

func (*KKRBACDeleteUserResponse) ProtoMessage

func (*KKRBACDeleteUserResponse) ProtoMessage()

func (*KKRBACDeleteUserResponse) ProtoReflect

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

func (*KKRBACDeleteUserResponse) Reset

func (x *KKRBACDeleteUserResponse) Reset()

func (*KKRBACDeleteUserResponse) String

func (x *KKRBACDeleteUserResponse) String() string

type KKRBACPermissionListParam

type KKRBACPermissionListParam struct {
	// contains filtered or unexported fields
}

func (*KKRBACPermissionListParam) BindCheck

func (x *KKRBACPermissionListParam) BindCheck(stage *kk_stage.Stage) error

func (*KKRBACPermissionListParam) Descriptor deprecated

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

Deprecated: Use KKRBACPermissionListParam.ProtoReflect.Descriptor instead.

func (*KKRBACPermissionListParam) ProtoMessage

func (*KKRBACPermissionListParam) ProtoMessage()

func (*KKRBACPermissionListParam) ProtoReflect

func (*KKRBACPermissionListParam) Reset

func (x *KKRBACPermissionListParam) Reset()

func (*KKRBACPermissionListParam) String

func (x *KKRBACPermissionListParam) String() string

type KKRBACPermissionListResponse

type KKRBACPermissionListResponse struct {
	List *PBListPermission `protobuf:"bytes,1,opt,name=List,proto3" json:"List,omitempty"`
	// contains filtered or unexported fields
}

func (*KKRBACPermissionListResponse) Descriptor deprecated

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

Deprecated: Use KKRBACPermissionListResponse.ProtoReflect.Descriptor instead.

func (*KKRBACPermissionListResponse) GetList

func (*KKRBACPermissionListResponse) ProtoMessage

func (*KKRBACPermissionListResponse) ProtoMessage()

func (*KKRBACPermissionListResponse) ProtoReflect

func (*KKRBACPermissionListResponse) Reset

func (x *KKRBACPermissionListResponse) Reset()

func (*KKRBACPermissionListResponse) String

type KKRBACRoleListParam

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

func (*KKRBACRoleListParam) BindCheck

func (x *KKRBACRoleListParam) BindCheck(stage *kk_stage.Stage) error

func (*KKRBACRoleListParam) Descriptor deprecated

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

Deprecated: Use KKRBACRoleListParam.ProtoReflect.Descriptor instead.

func (*KKRBACRoleListParam) GetRoleNames

func (x *KKRBACRoleListParam) GetRoleNames() []string

func (*KKRBACRoleListParam) ProtoMessage

func (*KKRBACRoleListParam) ProtoMessage()

func (*KKRBACRoleListParam) ProtoReflect

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

func (*KKRBACRoleListParam) Reset

func (x *KKRBACRoleListParam) Reset()

func (*KKRBACRoleListParam) String

func (x *KKRBACRoleListParam) String() string

type KKRBACRoleListResponse

type KKRBACRoleListResponse struct {
	List *PBListRole `protobuf:"bytes,1,opt,name=List,proto3" json:"List,omitempty"`
	// contains filtered or unexported fields
}

func (*KKRBACRoleListResponse) Descriptor deprecated

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

Deprecated: Use KKRBACRoleListResponse.ProtoReflect.Descriptor instead.

func (*KKRBACRoleListResponse) GetList

func (x *KKRBACRoleListResponse) GetList() *PBListRole

func (*KKRBACRoleListResponse) ProtoMessage

func (*KKRBACRoleListResponse) ProtoMessage()

func (*KKRBACRoleListResponse) ProtoReflect

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

func (*KKRBACRoleListResponse) Reset

func (x *KKRBACRoleListResponse) Reset()

func (*KKRBACRoleListResponse) String

func (x *KKRBACRoleListResponse) String() string

type KKRBACUpdatePermissionParam

type KKRBACUpdatePermissionParam struct {
	Permission *PBPermission `protobuf:"bytes,1,opt,name=Permission,proto3" json:"Permission,omitempty"`
	// contains filtered or unexported fields
}

func (*KKRBACUpdatePermissionParam) BindCheck

func (x *KKRBACUpdatePermissionParam) BindCheck(stage *kk_stage.Stage) error

func (*KKRBACUpdatePermissionParam) Descriptor deprecated

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

Deprecated: Use KKRBACUpdatePermissionParam.ProtoReflect.Descriptor instead.

func (*KKRBACUpdatePermissionParam) GetPermission

func (x *KKRBACUpdatePermissionParam) GetPermission() *PBPermission

func (*KKRBACUpdatePermissionParam) ProtoMessage

func (*KKRBACUpdatePermissionParam) ProtoMessage()

func (*KKRBACUpdatePermissionParam) ProtoReflect

func (*KKRBACUpdatePermissionParam) Reset

func (x *KKRBACUpdatePermissionParam) Reset()

func (*KKRBACUpdatePermissionParam) String

func (x *KKRBACUpdatePermissionParam) String() string

type KKRBACUpdatePermissionResponse

type KKRBACUpdatePermissionResponse struct {
	// contains filtered or unexported fields
}

func (*KKRBACUpdatePermissionResponse) Descriptor deprecated

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

Deprecated: Use KKRBACUpdatePermissionResponse.ProtoReflect.Descriptor instead.

func (*KKRBACUpdatePermissionResponse) ProtoMessage

func (*KKRBACUpdatePermissionResponse) ProtoMessage()

func (*KKRBACUpdatePermissionResponse) ProtoReflect

func (*KKRBACUpdatePermissionResponse) Reset

func (x *KKRBACUpdatePermissionResponse) Reset()

func (*KKRBACUpdatePermissionResponse) String

type KKRBACUpdateRoleParam

type KKRBACUpdateRoleParam struct {
	Role *PBRole `protobuf:"bytes,1,opt,name=Role,proto3" json:"Role,omitempty"`
	// contains filtered or unexported fields
}

func (*KKRBACUpdateRoleParam) BindCheck

func (x *KKRBACUpdateRoleParam) BindCheck(stage *kk_stage.Stage) error

func (*KKRBACUpdateRoleParam) Descriptor deprecated

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

Deprecated: Use KKRBACUpdateRoleParam.ProtoReflect.Descriptor instead.

func (*KKRBACUpdateRoleParam) GetRole

func (x *KKRBACUpdateRoleParam) GetRole() *PBRole

func (*KKRBACUpdateRoleParam) ProtoMessage

func (*KKRBACUpdateRoleParam) ProtoMessage()

func (*KKRBACUpdateRoleParam) ProtoReflect

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

func (*KKRBACUpdateRoleParam) Reset

func (x *KKRBACUpdateRoleParam) Reset()

func (*KKRBACUpdateRoleParam) String

func (x *KKRBACUpdateRoleParam) String() string

type KKRBACUpdateRoleResponse

type KKRBACUpdateRoleResponse struct {
	// contains filtered or unexported fields
}

func (*KKRBACUpdateRoleResponse) Descriptor deprecated

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

Deprecated: Use KKRBACUpdateRoleResponse.ProtoReflect.Descriptor instead.

func (*KKRBACUpdateRoleResponse) ProtoMessage

func (*KKRBACUpdateRoleResponse) ProtoMessage()

func (*KKRBACUpdateRoleResponse) ProtoReflect

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

func (*KKRBACUpdateRoleResponse) Reset

func (x *KKRBACUpdateRoleResponse) Reset()

func (*KKRBACUpdateRoleResponse) String

func (x *KKRBACUpdateRoleResponse) String() string

type KKRBACUpdateUserParam

type KKRBACUpdateUserParam struct {
	User *PBUser `protobuf:"bytes,1,opt,name=User,proto3" json:"User,omitempty"`
	// contains filtered or unexported fields
}

func (*KKRBACUpdateUserParam) BindCheck

func (x *KKRBACUpdateUserParam) BindCheck(stage *kk_stage.Stage) error

func (*KKRBACUpdateUserParam) Descriptor deprecated

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

Deprecated: Use KKRBACUpdateUserParam.ProtoReflect.Descriptor instead.

func (*KKRBACUpdateUserParam) GetUser

func (x *KKRBACUpdateUserParam) GetUser() *PBUser

func (*KKRBACUpdateUserParam) ProtoMessage

func (*KKRBACUpdateUserParam) ProtoMessage()

func (*KKRBACUpdateUserParam) ProtoReflect

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

func (*KKRBACUpdateUserParam) Reset

func (x *KKRBACUpdateUserParam) Reset()

func (*KKRBACUpdateUserParam) String

func (x *KKRBACUpdateUserParam) String() string

type KKRBACUpdateUserResponse

type KKRBACUpdateUserResponse struct {
	// contains filtered or unexported fields
}

func (*KKRBACUpdateUserResponse) Descriptor deprecated

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

Deprecated: Use KKRBACUpdateUserResponse.ProtoReflect.Descriptor instead.

func (*KKRBACUpdateUserResponse) ProtoMessage

func (*KKRBACUpdateUserResponse) ProtoMessage()

func (*KKRBACUpdateUserResponse) ProtoReflect

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

func (*KKRBACUpdateUserResponse) Reset

func (x *KKRBACUpdateUserResponse) Reset()

func (*KKRBACUpdateUserResponse) String

func (x *KKRBACUpdateUserResponse) String() string

type KKRBACUserListParam

type KKRBACUserListParam struct {
	// contains filtered or unexported fields
}

func (*KKRBACUserListParam) BindCheck

func (x *KKRBACUserListParam) BindCheck(stage *kk_stage.Stage) error

func (*KKRBACUserListParam) Descriptor deprecated

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

Deprecated: Use KKRBACUserListParam.ProtoReflect.Descriptor instead.

func (*KKRBACUserListParam) ProtoMessage

func (*KKRBACUserListParam) ProtoMessage()

func (*KKRBACUserListParam) ProtoReflect

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

func (*KKRBACUserListParam) Reset

func (x *KKRBACUserListParam) Reset()

func (*KKRBACUserListParam) String

func (x *KKRBACUserListParam) String() string

type KKRBACUserListResponse

type KKRBACUserListResponse struct {
	List *PBListUser `protobuf:"bytes,1,opt,name=List,proto3" json:"List,omitempty"`
	// contains filtered or unexported fields
}

func (*KKRBACUserListResponse) Descriptor deprecated

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

Deprecated: Use KKRBACUserListResponse.ProtoReflect.Descriptor instead.

func (*KKRBACUserListResponse) GetList

func (x *KKRBACUserListResponse) GetList() *PBListUser

func (*KKRBACUserListResponse) ProtoMessage

func (*KKRBACUserListResponse) ProtoMessage()

func (*KKRBACUserListResponse) ProtoReflect

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

func (*KKRBACUserListResponse) Reset

func (x *KKRBACUserListResponse) Reset()

func (*KKRBACUserListResponse) String

func (x *KKRBACUserListResponse) String() string

type PBListPermission

type PBListPermission struct {
	List []*PBPermission `protobuf:"bytes,1,rep,name=List,proto3" json:"List,omitempty"`
	// contains filtered or unexported fields
}

func (*PBListPermission) Descriptor deprecated

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

Deprecated: Use PBListPermission.ProtoReflect.Descriptor instead.

func (*PBListPermission) GetList

func (x *PBListPermission) GetList() []*PBPermission

func (*PBListPermission) ProtoMessage

func (*PBListPermission) ProtoMessage()

func (*PBListPermission) ProtoReflect

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

func (*PBListPermission) Reset

func (x *PBListPermission) Reset()

func (*PBListPermission) String

func (x *PBListPermission) String() string

type PBListRole

type PBListRole struct {
	List []*PBRole `protobuf:"bytes,1,rep,name=List,proto3" json:"List,omitempty"`
	// contains filtered or unexported fields
}

func (*PBListRole) Descriptor deprecated

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

Deprecated: Use PBListRole.ProtoReflect.Descriptor instead.

func (*PBListRole) GetList

func (x *PBListRole) GetList() []*PBRole

func (*PBListRole) ProtoMessage

func (*PBListRole) ProtoMessage()

func (*PBListRole) ProtoReflect

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

func (*PBListRole) Reset

func (x *PBListRole) Reset()

func (*PBListRole) String

func (x *PBListRole) String() string

type PBListUser

type PBListUser struct {
	List []*PBUser `protobuf:"bytes,1,rep,name=List,proto3" json:"List,omitempty"`
	// contains filtered or unexported fields
}

func (*PBListUser) Descriptor deprecated

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

Deprecated: Use PBListUser.ProtoReflect.Descriptor instead.

func (*PBListUser) GetList

func (x *PBListUser) GetList() []*PBUser

func (*PBListUser) ProtoMessage

func (*PBListUser) ProtoMessage()

func (*PBListUser) ProtoReflect

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

func (*PBListUser) Reset

func (x *PBListUser) Reset()

func (*PBListUser) String

func (x *PBListUser) String() string

type PBPermission

type PBPermission struct {
	Id        uint64                 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"`
	Status    int32                  `protobuf:"varint,4,opt,name=Status,proto3" json:"Status,omitempty"`
	Remark    string                 `protobuf:"bytes,5,opt,name=Remark,proto3" json:"Remark,omitempty"`
	ApiTag    string                 `protobuf:"bytes,6,opt,name=ApiTag,proto3" json:"ApiTag,omitempty"`
	ApiId     string                 `protobuf:"bytes,7,opt,name=ApiId,proto3" json:"ApiId,omitempty"`
	ApiName   string                 `protobuf:"bytes,8,opt,name=ApiName,proto3" json:"ApiName,omitempty"`
	// contains filtered or unexported fields
}

func (*PBPermission) Descriptor deprecated

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

Deprecated: Use PBPermission.ProtoReflect.Descriptor instead.

func (*PBPermission) GetApiId

func (x *PBPermission) GetApiId() string

func (*PBPermission) GetApiName

func (x *PBPermission) GetApiName() string

func (*PBPermission) GetApiTag

func (x *PBPermission) GetApiTag() string

func (*PBPermission) GetCreatedAt

func (x *PBPermission) GetCreatedAt() *timestamppb.Timestamp

func (*PBPermission) GetId

func (x *PBPermission) GetId() uint64

func (*PBPermission) GetRemark

func (x *PBPermission) GetRemark() string

func (*PBPermission) GetStatus

func (x *PBPermission) GetStatus() int32

func (*PBPermission) GetUpdatedAt

func (x *PBPermission) GetUpdatedAt() *timestamppb.Timestamp

func (*PBPermission) ProtoMessage

func (*PBPermission) ProtoMessage()

func (*PBPermission) ProtoReflect

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

func (*PBPermission) Reset

func (x *PBPermission) Reset()

func (*PBPermission) String

func (x *PBPermission) String() string

type PBRole

type PBRole struct {
	Id        uint64                 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"`
	Status    PBRole_RoleStatusEnum  `protobuf:"varint,4,opt,name=Status,proto3,enum=kk_rbac_api_def.PBRole_RoleStatusEnum" json:"Status,omitempty"`
	Remark    string                 `protobuf:"bytes,5,opt,name=Remark,proto3" json:"Remark,omitempty"`
	Name      string                 `protobuf:"bytes,6,opt,name=Name,proto3" json:"Name,omitempty"`
	ApiIds    []string               `protobuf:"bytes,7,rep,name=ApiIds,proto3" json:"ApiIds,omitempty"`
	// contains filtered or unexported fields
}

func (*PBRole) Descriptor deprecated

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

Deprecated: Use PBRole.ProtoReflect.Descriptor instead.

func (*PBRole) GetApiIds

func (x *PBRole) GetApiIds() []string

func (*PBRole) GetCreatedAt

func (x *PBRole) GetCreatedAt() *timestamppb.Timestamp

func (*PBRole) GetId

func (x *PBRole) GetId() uint64

func (*PBRole) GetName

func (x *PBRole) GetName() string

func (*PBRole) GetRemark

func (x *PBRole) GetRemark() string

func (*PBRole) GetStatus

func (x *PBRole) GetStatus() PBRole_RoleStatusEnum

func (*PBRole) GetUpdatedAt

func (x *PBRole) GetUpdatedAt() *timestamppb.Timestamp

func (*PBRole) ProtoMessage

func (*PBRole) ProtoMessage()

func (*PBRole) ProtoReflect

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

func (*PBRole) Reset

func (x *PBRole) Reset()

func (*PBRole) String

func (x *PBRole) String() string

type PBRole_RoleStatusEnum

type PBRole_RoleStatusEnum int32
const (
	PBRole_Disable PBRole_RoleStatusEnum = 0
	PBRole_Enable  PBRole_RoleStatusEnum = 1
)

func (PBRole_RoleStatusEnum) Descriptor

func (PBRole_RoleStatusEnum) Enum

func (PBRole_RoleStatusEnum) EnumDescriptor deprecated

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

Deprecated: Use PBRole_RoleStatusEnum.Descriptor instead.

func (PBRole_RoleStatusEnum) Number

func (PBRole_RoleStatusEnum) String

func (x PBRole_RoleStatusEnum) String() string

func (PBRole_RoleStatusEnum) Type

type PBUser

type PBUser struct {
	Id        uint64                 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"`
	Status    int32                  `protobuf:"varint,4,opt,name=Status,proto3" json:"Status,omitempty"`
	Remark    string                 `protobuf:"bytes,5,opt,name=Remark,proto3" json:"Remark,omitempty"`
	UserId    uint64                 `protobuf:"varint,6,opt,name=UserId,proto3" json:"UserId,omitempty"`
	RoleNames []string               `protobuf:"bytes,7,rep,name=RoleNames,proto3" json:"RoleNames,omitempty"`
	// contains filtered or unexported fields
}

func (*PBUser) Descriptor deprecated

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

Deprecated: Use PBUser.ProtoReflect.Descriptor instead.

func (*PBUser) GetCreatedAt

func (x *PBUser) GetCreatedAt() *timestamppb.Timestamp

func (*PBUser) GetId

func (x *PBUser) GetId() uint64

func (*PBUser) GetRemark

func (x *PBUser) GetRemark() string

func (*PBUser) GetRoleNames

func (x *PBUser) GetRoleNames() []string

func (*PBUser) GetStatus

func (x *PBUser) GetStatus() int32

func (*PBUser) GetUpdatedAt

func (x *PBUser) GetUpdatedAt() *timestamppb.Timestamp

func (*PBUser) GetUserId

func (x *PBUser) GetUserId() uint64

func (*PBUser) ProtoMessage

func (*PBUser) ProtoMessage()

func (*PBUser) ProtoReflect

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

func (*PBUser) Reset

func (x *PBUser) Reset()

func (*PBUser) String

func (x *PBUser) String() string

Jump to

Keyboard shortcuts

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