Documentation ¶
Index ¶
- Variables
- type AuthAction
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetName() string
- func (x *LoginRequest) GetOwner() string
- func (x *LoginRequest) GetPassword() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetName() string
- func (x *LoginResponse) GetOwnerId() string
- func (x *LoginResponse) GetRole() string
- func (x *LoginResponse) GetToken() string
- func (x *LoginResponse) GetUserId() string
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type ResourceType
- func (ResourceType) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceType) Enum() *ResourceType
- func (ResourceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceType) Number() protoreflect.EnumNumber
- func (x ResourceType) String() string
- func (ResourceType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AuthAction_name = map[int32]string{ 0: "ONLY_READ", 1: "READ_WRITE", } AuthAction_value = map[string]int32{ "ONLY_READ": 0, "READ_WRITE": 1, } )
Enum value maps for AuthAction.
View Source
var ( ResourceType_name = map[int32]string{ 0: "Namespaces", 1: "Executor", } ResourceType_value = map[string]int32{ "Namespaces": 0, "Executor": 1, } )
Enum value maps for ResourceType.
View Source
var File_auth_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AuthAction ¶
type AuthAction int32
const ( AuthAction_ONLY_READ AuthAction = 0 AuthAction_READ_WRITE AuthAction = 1 )
func (AuthAction) Descriptor ¶
func (AuthAction) Descriptor() protoreflect.EnumDescriptor
func (AuthAction) Enum ¶
func (x AuthAction) Enum() *AuthAction
func (AuthAction) EnumDescriptor
deprecated
func (AuthAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use AuthAction.Descriptor instead.
func (AuthAction) Number ¶
func (x AuthAction) Number() protoreflect.EnumNumber
func (AuthAction) String ¶
func (x AuthAction) String() string
func (AuthAction) Type ¶
func (AuthAction) Type() protoreflect.EnumType
type LoginRequest ¶
type LoginRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetName ¶
func (x *LoginRequest) GetName() string
func (*LoginRequest) GetOwner ¶
func (x *LoginRequest) GetOwner() string
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { UserId string `protobuf:"bytes,1,opt,name=user_id,proto3" json:"user_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` OwnerId string `protobuf:"bytes,4,opt,name=owner_id,proto3" json:"owner_id,omitempty"` Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetName ¶
func (x *LoginResponse) GetName() string
func (*LoginResponse) GetOwnerId ¶
func (x *LoginResponse) GetOwnerId() string
func (*LoginResponse) GetRole ¶
func (x *LoginResponse) GetRole() string
func (*LoginResponse) GetToken ¶
func (x *LoginResponse) GetToken() string
func (*LoginResponse) GetUserId ¶
func (x *LoginResponse) GetUserId() string
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type ResourceType ¶
type ResourceType int32
const ( ResourceType_Namespaces ResourceType = 0 ResourceType_Executor ResourceType = 1 )
func (ResourceType) Descriptor ¶
func (ResourceType) Descriptor() protoreflect.EnumDescriptor
func (ResourceType) Enum ¶
func (x ResourceType) Enum() *ResourceType
func (ResourceType) EnumDescriptor
deprecated
func (ResourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceType.Descriptor instead.
func (ResourceType) Number ¶
func (x ResourceType) Number() protoreflect.EnumNumber
func (ResourceType) String ¶
func (x ResourceType) String() string
func (ResourceType) Type ¶
func (ResourceType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.