security

package
v0.0.0-...-1e3467c Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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.

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

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) Enum

func (x ResourceType) Enum() *ResourceType

func (ResourceType) EnumDescriptor deprecated

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

Deprecated: Use ResourceType.Descriptor instead.

func (ResourceType) Number

func (ResourceType) String

func (x ResourceType) String() string

func (ResourceType) Type

Jump to

Keyboard shortcuts

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