kk_etcd_models

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: BSD-3-Clause Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Server            = "kk_server/"
	Http   ServerType = Server + "http"
	Grpc   ServerType = Server + "grpc"
	// InternalServerStatus use for store server status as normal kv, cannot use key in endpoint, watch manager will watch any key with same target prefix
	InternalServerStatus = Server + "internal_server_status/"
)
View Source
const (
	HealthCheckPath = "/KKHealthCheck"
)

Variables

View Source
var (
	PBServer_ServerStatus_name = map[int32]string{
		0: "UnKnown",
		1: "Running",
		2: "Stop",
		3: "Init",
	}
	PBServer_ServerStatus_value = map[string]int32{
		"UnKnown": 0,
		"Running": 1,
		"Stop":    2,
		"Init":    3,
	}
)

Enum value maps for PBServer_ServerStatus.

View Source
var File_api_backup_kk_etcd_proto protoreflect.FileDescriptor
View Source
var File_api_kv_kk_etcd_proto protoreflect.FileDescriptor
View Source
var File_api_role_kk_etcd_proto protoreflect.FileDescriptor
View Source
var File_api_server_kk_etcd_proto protoreflect.FileDescriptor
View Source
var File_api_user_kk_etcd_proto protoreflect.FileDescriptor
View Source
var File_pb_kv_kk_etcd_proto protoreflect.FileDescriptor
View Source
var File_pb_role_kk_etcd_proto protoreflect.FileDescriptor
View Source
var File_pb_server_kk_etcd_proto protoreflect.FileDescriptor
View Source
var File_pb_user_kk_etcd_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AllKVsBackupParam added in v1.4.0

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

func (*AllKVsBackupParam) BindCheck added in v1.4.0

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

func (*AllKVsBackupParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use AllKVsBackupParam.ProtoReflect.Descriptor instead.

func (*AllKVsBackupParam) ProtoMessage added in v1.4.0

func (*AllKVsBackupParam) ProtoMessage()

func (*AllKVsBackupParam) ProtoReflect added in v1.4.0

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

func (*AllKVsBackupParam) Reset added in v1.4.0

func (x *AllKVsBackupParam) Reset()

func (*AllKVsBackupParam) String added in v1.4.0

func (x *AllKVsBackupParam) String() string

type AllKVsBackupResponse added in v1.4.0

type AllKVsBackupResponse struct {
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	File []byte `protobuf:"bytes,2,opt,name=File,proto3" json:"File,omitempty"`
	// contains filtered or unexported fields
}

func (*AllKVsBackupResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use AllKVsBackupResponse.ProtoReflect.Descriptor instead.

func (*AllKVsBackupResponse) GetFile added in v1.4.0

func (x *AllKVsBackupResponse) GetFile() []byte

func (*AllKVsBackupResponse) GetName added in v1.4.0

func (x *AllKVsBackupResponse) GetName() string

func (*AllKVsBackupResponse) ProtoMessage added in v1.4.0

func (*AllKVsBackupResponse) ProtoMessage()

func (*AllKVsBackupResponse) ProtoReflect added in v1.4.0

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

func (*AllKVsBackupResponse) Reset added in v1.4.0

func (x *AllKVsBackupResponse) Reset()

func (*AllKVsBackupResponse) String added in v1.4.0

func (x *AllKVsBackupResponse) String() string

type AllKVsRestoreParam added in v1.4.0

type AllKVsRestoreParam struct {
	File []byte `protobuf:"bytes,2,opt,name=File,proto3" json:"File,omitempty"`
	// contains filtered or unexported fields
}

func (*AllKVsRestoreParam) BindCheck added in v1.4.0

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

func (*AllKVsRestoreParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use AllKVsRestoreParam.ProtoReflect.Descriptor instead.

func (*AllKVsRestoreParam) GetFile added in v1.4.0

func (x *AllKVsRestoreParam) GetFile() []byte

func (*AllKVsRestoreParam) ProtoMessage added in v1.4.0

func (*AllKVsRestoreParam) ProtoMessage()

func (*AllKVsRestoreParam) ProtoReflect added in v1.4.0

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

func (*AllKVsRestoreParam) Reset added in v1.4.0

func (x *AllKVsRestoreParam) Reset()

func (*AllKVsRestoreParam) String added in v1.4.0

func (x *AllKVsRestoreParam) String() string

type AllKVsRestoreResponse added in v1.4.0

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

func (*AllKVsRestoreResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use AllKVsRestoreResponse.ProtoReflect.Descriptor instead.

func (*AllKVsRestoreResponse) ProtoMessage added in v1.4.0

func (*AllKVsRestoreResponse) ProtoMessage()

func (*AllKVsRestoreResponse) ProtoReflect added in v1.4.0

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

func (*AllKVsRestoreResponse) Reset added in v1.4.0

func (x *AllKVsRestoreResponse) Reset()

func (*AllKVsRestoreResponse) String added in v1.4.0

func (x *AllKVsRestoreResponse) String() string

type CheckConfig added in v1.4.0

type CheckConfig struct {
	Type ServerType // Http or Grpc
	// check timeout
	// must grater than 1 second
	Timeout time.Duration
	// check interval, kk_etcd will per Interval to send check request
	// must grater than Timeout
	Interval time.Duration
	// Http default http://+Addr+/KKHealthCheck
	// Grpc Addr in ServerRegistration
	Addr string
}

func (*CheckConfig) Check added in v1.4.0

func (x *CheckConfig) Check() error

type DeregisterServerParam added in v1.4.0

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

func (*DeregisterServerParam) BindCheck added in v1.4.0

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

func (*DeregisterServerParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use DeregisterServerParam.ProtoReflect.Descriptor instead.

func (*DeregisterServerParam) GetServer added in v1.4.0

func (x *DeregisterServerParam) GetServer() *PBServer

func (*DeregisterServerParam) ProtoMessage added in v1.4.0

func (*DeregisterServerParam) ProtoMessage()

func (*DeregisterServerParam) ProtoReflect added in v1.4.0

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

func (*DeregisterServerParam) Reset added in v1.4.0

func (x *DeregisterServerParam) Reset()

func (*DeregisterServerParam) String added in v1.4.0

func (x *DeregisterServerParam) String() string

type DeregisterServerResponse added in v1.4.0

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

func (*DeregisterServerResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use DeregisterServerResponse.ProtoReflect.Descriptor instead.

func (*DeregisterServerResponse) ProtoMessage added in v1.4.0

func (*DeregisterServerResponse) ProtoMessage()

func (*DeregisterServerResponse) ProtoReflect added in v1.4.0

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

func (*DeregisterServerResponse) Reset added in v1.4.0

func (x *DeregisterServerResponse) Reset()

func (*DeregisterServerResponse) String added in v1.4.0

func (x *DeregisterServerResponse) String() string

type GetUserParam added in v1.4.0

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

func (*GetUserParam) BindCheck added in v1.4.0

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

func (*GetUserParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use GetUserParam.ProtoReflect.Descriptor instead.

func (*GetUserParam) GetUserName added in v1.4.0

func (x *GetUserParam) GetUserName() string

func (*GetUserParam) ProtoMessage added in v1.4.0

func (*GetUserParam) ProtoMessage()

func (*GetUserParam) ProtoReflect added in v1.4.0

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

func (*GetUserParam) Reset added in v1.4.0

func (x *GetUserParam) Reset()

func (*GetUserParam) String added in v1.4.0

func (x *GetUserParam) String() string

type GetUserResponse added in v1.4.0

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

func (*GetUserResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.

func (*GetUserResponse) GetUser added in v1.4.0

func (x *GetUserResponse) GetUser() *PBUser

func (*GetUserResponse) ProtoMessage added in v1.4.0

func (*GetUserResponse) ProtoMessage()

func (*GetUserResponse) ProtoReflect added in v1.4.0

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

func (*GetUserResponse) Reset added in v1.4.0

func (x *GetUserResponse) Reset()

func (*GetUserResponse) String added in v1.4.0

func (x *GetUserResponse) String() string

type KVDelParam added in v1.4.0

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

func (*KVDelParam) BindCheck added in v1.4.0

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

func (*KVDelParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use KVDelParam.ProtoReflect.Descriptor instead.

func (*KVDelParam) GetKey added in v1.4.0

func (x *KVDelParam) GetKey() string

func (*KVDelParam) ProtoMessage added in v1.4.0

func (*KVDelParam) ProtoMessage()

func (*KVDelParam) ProtoReflect added in v1.4.0

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

func (*KVDelParam) Reset added in v1.4.0

func (x *KVDelParam) Reset()

func (*KVDelParam) String added in v1.4.0

func (x *KVDelParam) String() string

type KVDelResponse added in v1.4.0

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

func (*KVDelResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use KVDelResponse.ProtoReflect.Descriptor instead.

func (*KVDelResponse) ProtoMessage added in v1.4.0

func (*KVDelResponse) ProtoMessage()

func (*KVDelResponse) ProtoReflect added in v1.4.0

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

func (*KVDelResponse) Reset added in v1.4.0

func (x *KVDelResponse) Reset()

func (*KVDelResponse) String added in v1.4.0

func (x *KVDelResponse) String() string

type KVGetParam added in v1.4.0

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

func (*KVGetParam) BindCheck added in v1.4.0

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

func (*KVGetParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use KVGetParam.ProtoReflect.Descriptor instead.

func (*KVGetParam) GetKey added in v1.4.0

func (x *KVGetParam) GetKey() string

func (*KVGetParam) ProtoMessage added in v1.4.0

func (*KVGetParam) ProtoMessage()

func (*KVGetParam) ProtoReflect added in v1.4.0

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

func (*KVGetParam) Reset added in v1.4.0

func (x *KVGetParam) Reset()

func (*KVGetParam) String added in v1.4.0

func (x *KVGetParam) String() string

type KVGetResponse added in v1.4.0

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

func (*KVGetResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use KVGetResponse.ProtoReflect.Descriptor instead.

func (*KVGetResponse) GetKV added in v1.4.0

func (x *KVGetResponse) GetKV() *PBKV

func (*KVGetResponse) ProtoMessage added in v1.4.0

func (*KVGetResponse) ProtoMessage()

func (*KVGetResponse) ProtoReflect added in v1.4.0

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

func (*KVGetResponse) Reset added in v1.4.0

func (x *KVGetResponse) Reset()

func (*KVGetResponse) String added in v1.4.0

func (x *KVGetResponse) String() string

type KVListParam added in v1.4.0

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

func (*KVListParam) BindCheck added in v1.4.0

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

func (*KVListParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use KVListParam.ProtoReflect.Descriptor instead.

func (*KVListParam) GetPrefix added in v1.4.0

func (x *KVListParam) GetPrefix() string

func (*KVListParam) ProtoMessage added in v1.4.0

func (*KVListParam) ProtoMessage()

func (*KVListParam) ProtoReflect added in v1.4.0

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

func (*KVListParam) Reset added in v1.4.0

func (x *KVListParam) Reset()

func (*KVListParam) String added in v1.4.0

func (x *KVListParam) String() string

type KVListResponse added in v1.4.0

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

func (*KVListResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use KVListResponse.ProtoReflect.Descriptor instead.

func (*KVListResponse) GetKVList added in v1.4.0

func (x *KVListResponse) GetKVList() *PBListKV

func (*KVListResponse) ProtoMessage added in v1.4.0

func (*KVListResponse) ProtoMessage()

func (*KVListResponse) ProtoReflect added in v1.4.0

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

func (*KVListResponse) Reset added in v1.4.0

func (x *KVListResponse) Reset()

func (*KVListResponse) String added in v1.4.0

func (x *KVListResponse) String() string

type KVPutParam added in v1.4.0

type KVPutParam struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*KVPutParam) BindCheck added in v1.4.0

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

func (*KVPutParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use KVPutParam.ProtoReflect.Descriptor instead.

func (*KVPutParam) GetKey added in v1.4.0

func (x *KVPutParam) GetKey() string

func (*KVPutParam) GetValue added in v1.4.0

func (x *KVPutParam) GetValue() string

func (*KVPutParam) ProtoMessage added in v1.4.0

func (*KVPutParam) ProtoMessage()

func (*KVPutParam) ProtoReflect added in v1.4.0

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

func (*KVPutParam) Reset added in v1.4.0

func (x *KVPutParam) Reset()

func (*KVPutParam) String added in v1.4.0

func (x *KVPutParam) String() string

type KVPutResponse added in v1.4.0

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

func (*KVPutResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use KVPutResponse.ProtoReflect.Descriptor instead.

func (*KVPutResponse) ProtoMessage added in v1.4.0

func (*KVPutResponse) ProtoMessage()

func (*KVPutResponse) ProtoReflect added in v1.4.0

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

func (*KVPutResponse) Reset added in v1.4.0

func (x *KVPutResponse) Reset()

func (*KVPutResponse) String added in v1.4.0

func (x *KVPutResponse) String() string

type LoginParam added in v1.4.0

type LoginParam struct {
	UserName string `protobuf:"bytes,1,opt,name=UserName,proto3" json:"UserName,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginParam) BindCheck added in v1.4.0

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

func (*LoginParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use LoginParam.ProtoReflect.Descriptor instead.

func (*LoginParam) GetPassword added in v1.4.0

func (x *LoginParam) GetPassword() string

func (*LoginParam) GetUserName added in v1.4.0

func (x *LoginParam) GetUserName() string

func (*LoginParam) ProtoMessage added in v1.4.0

func (*LoginParam) ProtoMessage()

func (*LoginParam) ProtoReflect added in v1.4.0

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

func (*LoginParam) Reset added in v1.4.0

func (x *LoginParam) Reset()

func (*LoginParam) String added in v1.4.0

func (x *LoginParam) String() string

type LoginResponse added in v1.4.0

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

func (*LoginResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetToken added in v1.4.0

func (x *LoginResponse) GetToken() string

func (*LoginResponse) ProtoMessage added in v1.4.0

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect added in v1.4.0

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

func (*LoginResponse) Reset added in v1.4.0

func (x *LoginResponse) Reset()

func (*LoginResponse) String added in v1.4.0

func (x *LoginResponse) String() string

type LogoutParam added in v1.4.0

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

func (*LogoutParam) BindCheck added in v1.4.0

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

func (*LogoutParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use LogoutParam.ProtoReflect.Descriptor instead.

func (*LogoutParam) ProtoMessage added in v1.4.0

func (*LogoutParam) ProtoMessage()

func (*LogoutParam) ProtoReflect added in v1.4.0

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

func (*LogoutParam) Reset added in v1.4.0

func (x *LogoutParam) Reset()

func (*LogoutParam) String added in v1.4.0

func (x *LogoutParam) String() string

type LogoutResponse added in v1.4.0

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

func (*LogoutResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.

func (*LogoutResponse) ProtoMessage added in v1.4.0

func (*LogoutResponse) ProtoMessage()

func (*LogoutResponse) ProtoReflect added in v1.4.0

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

func (*LogoutResponse) Reset added in v1.4.0

func (x *LogoutResponse) Reset()

func (*LogoutResponse) String added in v1.4.0

func (x *LogoutResponse) String() string

type MyInfoParam added in v1.4.0

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

func (*MyInfoParam) BindCheck added in v1.4.0

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

func (*MyInfoParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use MyInfoParam.ProtoReflect.Descriptor instead.

func (*MyInfoParam) ProtoMessage added in v1.4.0

func (*MyInfoParam) ProtoMessage()

func (*MyInfoParam) ProtoReflect added in v1.4.0

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

func (*MyInfoParam) Reset added in v1.4.0

func (x *MyInfoParam) Reset()

func (*MyInfoParam) String added in v1.4.0

func (x *MyInfoParam) String() string

type MyInfoResponse added in v1.4.0

type MyInfoResponse struct {
	UserName string   `protobuf:"bytes,2,opt,name=UserName,proto3" json:"UserName,omitempty"`
	Roles    []string `protobuf:"bytes,4,rep,name=Roles,proto3" json:"Roles,omitempty"`
	// contains filtered or unexported fields
}

func (*MyInfoResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use MyInfoResponse.ProtoReflect.Descriptor instead.

func (*MyInfoResponse) GetRoles added in v1.4.0

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

func (*MyInfoResponse) GetUserName added in v1.4.0

func (x *MyInfoResponse) GetUserName() string

func (*MyInfoResponse) ProtoMessage added in v1.4.0

func (*MyInfoResponse) ProtoMessage()

func (*MyInfoResponse) ProtoReflect added in v1.4.0

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

func (*MyInfoResponse) Reset added in v1.4.0

func (x *MyInfoResponse) Reset()

func (*MyInfoResponse) String added in v1.4.0

func (x *MyInfoResponse) String() string

type PBKV

type PBKV struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*PBKV) Descriptor deprecated

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

Deprecated: Use PBKV.ProtoReflect.Descriptor instead.

func (*PBKV) GetKey

func (x *PBKV) GetKey() string

func (*PBKV) GetValue

func (x *PBKV) GetValue() string

func (*PBKV) ProtoMessage

func (*PBKV) ProtoMessage()

func (*PBKV) ProtoReflect

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

func (*PBKV) Reset

func (x *PBKV) Reset()

func (*PBKV) String

func (x *PBKV) String() string

type PBListKV

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

func (*PBListKV) Descriptor deprecated

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

Deprecated: Use PBListKV.ProtoReflect.Descriptor instead.

func (*PBListKV) GetListKV

func (x *PBListKV) GetListKV() []*PBKV

func (*PBListKV) ProtoMessage

func (*PBListKV) ProtoMessage()

func (*PBListKV) ProtoReflect

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

func (*PBListKV) Reset

func (x *PBListKV) Reset()

func (*PBListKV) String

func (x *PBListKV) 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 PBListServer

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

func (*PBListServer) Descriptor deprecated

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

Deprecated: Use PBListServer.ProtoReflect.Descriptor instead.

func (*PBListServer) GetListServer

func (x *PBListServer) GetListServer() []*PBServer

func (*PBListServer) ProtoMessage

func (*PBListServer) ProtoMessage()

func (*PBListServer) ProtoReflect

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

func (*PBListServer) Reset

func (x *PBListServer) Reset()

func (*PBListServer) String

func (x *PBListServer) String() string

type PBListUser

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

func (*PBListUser) Descriptor deprecated

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

Deprecated: Use PBListUser.ProtoReflect.Descriptor instead.

func (*PBListUser) GetListUser

func (x *PBListUser) GetListUser() []*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 added in v1.4.0

type PBPermission struct {
	Key      string `protobuf:"bytes,2,opt,name=Key,proto3" json:"Key,omitempty"`
	RangeEnd string `protobuf:"bytes,3,opt,name=RangeEnd,proto3" json:"RangeEnd,omitempty"`
	// authpb.READ 0
	// authpb.WRITE 1
	// authpb.READWRITE 2
	PermissionType int32 `protobuf:"varint,4,opt,name=PermissionType,proto3" json:"PermissionType,omitempty"`
	// contains filtered or unexported fields
}

func (*PBPermission) Descriptor deprecated added in v1.4.0

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

Deprecated: Use PBPermission.ProtoReflect.Descriptor instead.

func (*PBPermission) GetKey added in v1.4.0

func (x *PBPermission) GetKey() string

func (*PBPermission) GetPermissionType added in v1.4.0

func (x *PBPermission) GetPermissionType() int32

func (*PBPermission) GetRangeEnd added in v1.4.0

func (x *PBPermission) GetRangeEnd() string

func (*PBPermission) ProtoMessage added in v1.4.0

func (*PBPermission) ProtoMessage()

func (*PBPermission) ProtoReflect added in v1.4.0

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

func (*PBPermission) Reset added in v1.4.0

func (x *PBPermission) Reset()

func (*PBPermission) String added in v1.4.0

func (x *PBPermission) String() string

type PBRole

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

func (*PBRole) Descriptor deprecated

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

Deprecated: Use PBRole.ProtoReflect.Descriptor instead.

func (*PBRole) GetName

func (x *PBRole) GetName() string

func (*PBRole) GetPerms added in v1.4.0

func (x *PBRole) GetPerms() []*PBPermission

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 PBServer

type PBServer struct {
	ServerType   string                 `protobuf:"bytes,2,opt,name=ServerType,proto3" json:"ServerType,omitempty"`
	EndpointKey  string                 `protobuf:"bytes,3,opt,name=EndpointKey,proto3" json:"EndpointKey,omitempty"`
	EndpointAddr string                 `protobuf:"bytes,4,opt,name=EndpointAddr,proto3" json:"EndpointAddr,omitempty"`
	Status       PBServer_ServerStatus  `protobuf:"varint,5,opt,name=Status,proto3,enum=kk_etcd_models.PBServer_ServerStatus" json:"Status,omitempty"`
	LastCheck    *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=LastCheck,proto3" json:"LastCheck,omitempty"`
	Msg          string                 `protobuf:"bytes,7,opt,name=Msg,proto3" json:"Msg,omitempty"`
	// contains filtered or unexported fields
}

func (*PBServer) Descriptor deprecated

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

Deprecated: Use PBServer.ProtoReflect.Descriptor instead.

func (*PBServer) GetEndpointAddr added in v1.4.1

func (x *PBServer) GetEndpointAddr() string

func (*PBServer) GetEndpointKey added in v1.4.1

func (x *PBServer) GetEndpointKey() string

func (*PBServer) GetLastCheck added in v1.4.0

func (x *PBServer) GetLastCheck() *timestamppb.Timestamp

func (*PBServer) GetMsg added in v1.4.0

func (x *PBServer) GetMsg() string

func (*PBServer) GetServerType added in v1.4.0

func (x *PBServer) GetServerType() string

func (*PBServer) GetStatus added in v1.4.0

func (x *PBServer) GetStatus() PBServer_ServerStatus

func (*PBServer) ProtoMessage

func (*PBServer) ProtoMessage()

func (*PBServer) ProtoReflect

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

func (*PBServer) Reset

func (x *PBServer) Reset()

func (*PBServer) String

func (x *PBServer) String() string

type PBServer_ServerStatus added in v1.4.0

type PBServer_ServerStatus int32
const (
	PBServer_UnKnown PBServer_ServerStatus = 0
	PBServer_Running PBServer_ServerStatus = 1
	PBServer_Stop    PBServer_ServerStatus = 2
	PBServer_Init    PBServer_ServerStatus = 3
)

func (PBServer_ServerStatus) Descriptor added in v1.4.0

func (PBServer_ServerStatus) Enum added in v1.4.0

func (PBServer_ServerStatus) EnumDescriptor deprecated added in v1.4.0

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

Deprecated: Use PBServer_ServerStatus.Descriptor instead.

func (PBServer_ServerStatus) Number added in v1.4.0

func (PBServer_ServerStatus) String added in v1.4.0

func (x PBServer_ServerStatus) String() string

func (PBServer_ServerStatus) Type added in v1.4.0

type PBUser

type PBUser struct {
	UserName string   `protobuf:"bytes,2,opt,name=UserName,proto3" json:"UserName,omitempty"`
	Password string   `protobuf:"bytes,3,opt,name=Password,proto3" json:"Password,omitempty"`
	Roles    []string `protobuf:"bytes,4,rep,name=Roles,proto3" json:"Roles,omitempty"`
	// contains filtered or unexported fields
}

func (*PBUser) Descriptor deprecated

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

Deprecated: Use PBUser.ProtoReflect.Descriptor instead.

func (*PBUser) GetPassword

func (x *PBUser) GetPassword() string

func (*PBUser) GetRoles

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

func (*PBUser) GetUserName

func (x *PBUser) GetUserName() string

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

type RoleAddParam added in v1.4.0

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

func (*RoleAddParam) BindCheck added in v1.4.0

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

func (*RoleAddParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use RoleAddParam.ProtoReflect.Descriptor instead.

func (*RoleAddParam) GetName added in v1.4.0

func (x *RoleAddParam) GetName() string

func (*RoleAddParam) ProtoMessage added in v1.4.0

func (*RoleAddParam) ProtoMessage()

func (*RoleAddParam) ProtoReflect added in v1.4.0

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

func (*RoleAddParam) Reset added in v1.4.0

func (x *RoleAddParam) Reset()

func (*RoleAddParam) String added in v1.4.0

func (x *RoleAddParam) String() string

type RoleAddResponse added in v1.4.0

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

func (*RoleAddResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use RoleAddResponse.ProtoReflect.Descriptor instead.

func (*RoleAddResponse) ProtoMessage added in v1.4.0

func (*RoleAddResponse) ProtoMessage()

func (*RoleAddResponse) ProtoReflect added in v1.4.0

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

func (*RoleAddResponse) Reset added in v1.4.0

func (x *RoleAddResponse) Reset()

func (*RoleAddResponse) String added in v1.4.0

func (x *RoleAddResponse) String() string

type RoleDeleteParam added in v1.4.0

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

func (*RoleDeleteParam) BindCheck added in v1.4.0

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

func (*RoleDeleteParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use RoleDeleteParam.ProtoReflect.Descriptor instead.

func (*RoleDeleteParam) GetName added in v1.4.0

func (x *RoleDeleteParam) GetName() string

func (*RoleDeleteParam) ProtoMessage added in v1.4.0

func (*RoleDeleteParam) ProtoMessage()

func (*RoleDeleteParam) ProtoReflect added in v1.4.0

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

func (*RoleDeleteParam) Reset added in v1.4.0

func (x *RoleDeleteParam) Reset()

func (*RoleDeleteParam) String added in v1.4.0

func (x *RoleDeleteParam) String() string

type RoleDeleteResponse added in v1.4.0

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

func (*RoleDeleteResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use RoleDeleteResponse.ProtoReflect.Descriptor instead.

func (*RoleDeleteResponse) ProtoMessage added in v1.4.0

func (*RoleDeleteResponse) ProtoMessage()

func (*RoleDeleteResponse) ProtoReflect added in v1.4.0

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

func (*RoleDeleteResponse) Reset added in v1.4.0

func (x *RoleDeleteResponse) Reset()

func (*RoleDeleteResponse) String added in v1.4.0

func (x *RoleDeleteResponse) String() string

type RoleGetParam added in v1.4.0

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

func (*RoleGetParam) BindCheck added in v1.4.0

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

func (*RoleGetParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use RoleGetParam.ProtoReflect.Descriptor instead.

func (*RoleGetParam) GetName added in v1.4.0

func (x *RoleGetParam) GetName() string

func (*RoleGetParam) ProtoMessage added in v1.4.0

func (*RoleGetParam) ProtoMessage()

func (*RoleGetParam) ProtoReflect added in v1.4.0

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

func (*RoleGetParam) Reset added in v1.4.0

func (x *RoleGetParam) Reset()

func (*RoleGetParam) String added in v1.4.0

func (x *RoleGetParam) String() string

type RoleGetResponse added in v1.4.0

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

func (*RoleGetResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use RoleGetResponse.ProtoReflect.Descriptor instead.

func (*RoleGetResponse) GetRole added in v1.4.0

func (x *RoleGetResponse) GetRole() *PBRole

func (*RoleGetResponse) ProtoMessage added in v1.4.0

func (*RoleGetResponse) ProtoMessage()

func (*RoleGetResponse) ProtoReflect added in v1.4.0

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

func (*RoleGetResponse) Reset added in v1.4.0

func (x *RoleGetResponse) Reset()

func (*RoleGetResponse) String added in v1.4.0

func (x *RoleGetResponse) String() string

type RoleGrantPermissionParam added in v1.4.0

type RoleGrantPermissionParam struct {
	Name string        `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Perm *PBPermission `protobuf:"bytes,2,opt,name=Perm,proto3" json:"Perm,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleGrantPermissionParam) BindCheck added in v1.4.0

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

func (*RoleGrantPermissionParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use RoleGrantPermissionParam.ProtoReflect.Descriptor instead.

func (*RoleGrantPermissionParam) GetName added in v1.4.0

func (x *RoleGrantPermissionParam) GetName() string

func (*RoleGrantPermissionParam) GetPerm added in v1.4.0

func (x *RoleGrantPermissionParam) GetPerm() *PBPermission

func (*RoleGrantPermissionParam) ProtoMessage added in v1.4.0

func (*RoleGrantPermissionParam) ProtoMessage()

func (*RoleGrantPermissionParam) ProtoReflect added in v1.4.0

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

func (*RoleGrantPermissionParam) Reset added in v1.4.0

func (x *RoleGrantPermissionParam) Reset()

func (*RoleGrantPermissionParam) String added in v1.4.0

func (x *RoleGrantPermissionParam) String() string

type RoleGrantPermissionResponse added in v1.4.0

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

func (*RoleGrantPermissionResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use RoleGrantPermissionResponse.ProtoReflect.Descriptor instead.

func (*RoleGrantPermissionResponse) ProtoMessage added in v1.4.0

func (*RoleGrantPermissionResponse) ProtoMessage()

func (*RoleGrantPermissionResponse) ProtoReflect added in v1.4.0

func (*RoleGrantPermissionResponse) Reset added in v1.4.0

func (x *RoleGrantPermissionResponse) Reset()

func (*RoleGrantPermissionResponse) String added in v1.4.0

func (x *RoleGrantPermissionResponse) String() string

type RoleListParam added in v1.4.0

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

func (*RoleListParam) BindCheck added in v1.4.0

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

func (*RoleListParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use RoleListParam.ProtoReflect.Descriptor instead.

func (*RoleListParam) ProtoMessage added in v1.4.0

func (*RoleListParam) ProtoMessage()

func (*RoleListParam) ProtoReflect added in v1.4.0

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

func (*RoleListParam) Reset added in v1.4.0

func (x *RoleListParam) Reset()

func (*RoleListParam) String added in v1.4.0

func (x *RoleListParam) String() string

type RoleListResponse added in v1.4.0

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

func (*RoleListResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use RoleListResponse.ProtoReflect.Descriptor instead.

func (*RoleListResponse) GetListRole added in v1.4.0

func (x *RoleListResponse) GetListRole() *PBListRole

func (*RoleListResponse) ProtoMessage added in v1.4.0

func (*RoleListResponse) ProtoMessage()

func (*RoleListResponse) ProtoReflect added in v1.4.0

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

func (*RoleListResponse) Reset added in v1.4.0

func (x *RoleListResponse) Reset()

func (*RoleListResponse) String added in v1.4.0

func (x *RoleListResponse) String() string

type RoleRevokePermissionParam added in v1.4.0

type RoleRevokePermissionParam struct {
	Name     string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Key      string `protobuf:"bytes,2,opt,name=Key,proto3" json:"Key,omitempty"`
	RangeEnd string `protobuf:"bytes,3,opt,name=RangeEnd,proto3" json:"RangeEnd,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleRevokePermissionParam) BindCheck added in v1.4.0

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

func (*RoleRevokePermissionParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use RoleRevokePermissionParam.ProtoReflect.Descriptor instead.

func (*RoleRevokePermissionParam) GetKey added in v1.4.0

func (x *RoleRevokePermissionParam) GetKey() string

func (*RoleRevokePermissionParam) GetName added in v1.4.0

func (x *RoleRevokePermissionParam) GetName() string

func (*RoleRevokePermissionParam) GetRangeEnd added in v1.4.0

func (x *RoleRevokePermissionParam) GetRangeEnd() string

func (*RoleRevokePermissionParam) ProtoMessage added in v1.4.0

func (*RoleRevokePermissionParam) ProtoMessage()

func (*RoleRevokePermissionParam) ProtoReflect added in v1.4.0

func (*RoleRevokePermissionParam) Reset added in v1.4.0

func (x *RoleRevokePermissionParam) Reset()

func (*RoleRevokePermissionParam) String added in v1.4.0

func (x *RoleRevokePermissionParam) String() string

type RoleRevokePermissionResponse added in v1.4.0

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

func (*RoleRevokePermissionResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use RoleRevokePermissionResponse.ProtoReflect.Descriptor instead.

func (*RoleRevokePermissionResponse) ProtoMessage added in v1.4.0

func (*RoleRevokePermissionResponse) ProtoMessage()

func (*RoleRevokePermissionResponse) ProtoReflect added in v1.4.0

func (*RoleRevokePermissionResponse) Reset added in v1.4.0

func (x *RoleRevokePermissionResponse) Reset()

func (*RoleRevokePermissionResponse) String added in v1.4.0

type ServerListParam added in v1.4.0

type ServerListParam struct {
	ServerType string `protobuf:"bytes,1,opt,name=ServerType,proto3" json:"ServerType,omitempty"`
	ServerName string `protobuf:"bytes,2,opt,name=ServerName,proto3" json:"ServerName,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerListParam) BindCheck added in v1.4.0

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

func (*ServerListParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use ServerListParam.ProtoReflect.Descriptor instead.

func (*ServerListParam) GetServerName added in v1.4.0

func (x *ServerListParam) GetServerName() string

func (*ServerListParam) GetServerType added in v1.4.0

func (x *ServerListParam) GetServerType() string

func (*ServerListParam) ProtoMessage added in v1.4.0

func (*ServerListParam) ProtoMessage()

func (*ServerListParam) ProtoReflect added in v1.4.0

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

func (*ServerListParam) Reset added in v1.4.0

func (x *ServerListParam) Reset()

func (*ServerListParam) String added in v1.4.0

func (x *ServerListParam) String() string

type ServerListResponse added in v1.4.0

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

func (*ServerListResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use ServerListResponse.ProtoReflect.Descriptor instead.

func (*ServerListResponse) GetServerList added in v1.4.0

func (x *ServerListResponse) GetServerList() *PBListServer

func (*ServerListResponse) ProtoMessage added in v1.4.0

func (*ServerListResponse) ProtoMessage()

func (*ServerListResponse) ProtoReflect added in v1.4.0

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

func (*ServerListResponse) Reset added in v1.4.0

func (x *ServerListResponse) Reset()

func (*ServerListResponse) String added in v1.4.0

func (x *ServerListResponse) String() string

type ServerRegistration added in v1.4.0

type ServerRegistration struct {
	ServerType  ServerType
	ServerName  string
	ServerAddr  string
	Metadata    any
	CheckConfig CheckConfig
}

func (*ServerRegistration) Check added in v1.4.0

func (x *ServerRegistration) Check() error

func (*ServerRegistration) EndpointKey added in v1.4.0

func (x *ServerRegistration) EndpointKey() string

type ServerType added in v1.4.0

type ServerType string

func (ServerType) NewEndpointManager added in v1.4.0

func (x ServerType) NewEndpointManager(client *clientv3.Client) (endpoints.Manager, error)

func (ServerType) String added in v1.4.0

func (x ServerType) String() string

type SnapshotInfoParam added in v1.4.0

type SnapshotInfoParam struct {
	File []byte `protobuf:"bytes,2,opt,name=File,proto3" json:"File,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotInfoParam) BindCheck added in v1.4.0

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

func (*SnapshotInfoParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use SnapshotInfoParam.ProtoReflect.Descriptor instead.

func (*SnapshotInfoParam) GetFile added in v1.4.0

func (x *SnapshotInfoParam) GetFile() []byte

func (*SnapshotInfoParam) ProtoMessage added in v1.4.0

func (*SnapshotInfoParam) ProtoMessage()

func (*SnapshotInfoParam) ProtoReflect added in v1.4.0

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

func (*SnapshotInfoParam) Reset added in v1.4.0

func (x *SnapshotInfoParam) Reset()

func (*SnapshotInfoParam) String added in v1.4.0

func (x *SnapshotInfoParam) String() string

type SnapshotInfoResponse added in v1.4.0

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

func (*SnapshotInfoResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use SnapshotInfoResponse.ProtoReflect.Descriptor instead.

func (*SnapshotInfoResponse) GetInfo added in v1.4.0

func (x *SnapshotInfoResponse) GetInfo() string

func (*SnapshotInfoResponse) ProtoMessage added in v1.4.0

func (*SnapshotInfoResponse) ProtoMessage()

func (*SnapshotInfoResponse) ProtoReflect added in v1.4.0

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

func (*SnapshotInfoResponse) Reset added in v1.4.0

func (x *SnapshotInfoResponse) Reset()

func (*SnapshotInfoResponse) String added in v1.4.0

func (x *SnapshotInfoResponse) String() string

type SnapshotParam added in v1.4.0

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

func (*SnapshotParam) BindCheck added in v1.4.0

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

func (*SnapshotParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use SnapshotParam.ProtoReflect.Descriptor instead.

func (*SnapshotParam) ProtoMessage added in v1.4.0

func (*SnapshotParam) ProtoMessage()

func (*SnapshotParam) ProtoReflect added in v1.4.0

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

func (*SnapshotParam) Reset added in v1.4.0

func (x *SnapshotParam) Reset()

func (*SnapshotParam) String added in v1.4.0

func (x *SnapshotParam) String() string

type SnapshotResponse added in v1.4.0

type SnapshotResponse struct {
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	File []byte `protobuf:"bytes,2,opt,name=File,proto3" json:"File,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use SnapshotResponse.ProtoReflect.Descriptor instead.

func (*SnapshotResponse) GetFile added in v1.4.0

func (x *SnapshotResponse) GetFile() []byte

func (*SnapshotResponse) GetName added in v1.4.0

func (x *SnapshotResponse) GetName() string

func (*SnapshotResponse) ProtoMessage added in v1.4.0

func (*SnapshotResponse) ProtoMessage()

func (*SnapshotResponse) ProtoReflect added in v1.4.0

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

func (*SnapshotResponse) Reset added in v1.4.0

func (x *SnapshotResponse) Reset()

func (*SnapshotResponse) String added in v1.4.0

func (x *SnapshotResponse) String() string

type SnapshotRestoreParam added in v1.4.0

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

func (*SnapshotRestoreParam) BindCheck added in v1.4.0

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

func (*SnapshotRestoreParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use SnapshotRestoreParam.ProtoReflect.Descriptor instead.

func (*SnapshotRestoreParam) ProtoMessage added in v1.4.0

func (*SnapshotRestoreParam) ProtoMessage()

func (*SnapshotRestoreParam) ProtoReflect added in v1.4.0

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

func (*SnapshotRestoreParam) Reset added in v1.4.0

func (x *SnapshotRestoreParam) Reset()

func (*SnapshotRestoreParam) String added in v1.4.0

func (x *SnapshotRestoreParam) String() string

type SnapshotRestoreResponse added in v1.4.0

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

func (*SnapshotRestoreResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use SnapshotRestoreResponse.ProtoReflect.Descriptor instead.

func (*SnapshotRestoreResponse) GetCmdStr added in v1.4.0

func (x *SnapshotRestoreResponse) GetCmdStr() string

func (*SnapshotRestoreResponse) ProtoMessage added in v1.4.0

func (*SnapshotRestoreResponse) ProtoMessage()

func (*SnapshotRestoreResponse) ProtoReflect added in v1.4.0

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

func (*SnapshotRestoreResponse) Reset added in v1.4.0

func (x *SnapshotRestoreResponse) Reset()

func (*SnapshotRestoreResponse) String added in v1.4.0

func (x *SnapshotRestoreResponse) String() string

type UserAddParam added in v1.4.0

type UserAddParam struct {
	UserName string   `protobuf:"bytes,2,opt,name=UserName,proto3" json:"UserName,omitempty"`
	Password string   `protobuf:"bytes,3,opt,name=Password,proto3" json:"Password,omitempty"`
	Roles    []string `protobuf:"bytes,4,rep,name=Roles,proto3" json:"Roles,omitempty"`
	// contains filtered or unexported fields
}

func (*UserAddParam) BindCheck added in v1.4.0

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

func (*UserAddParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use UserAddParam.ProtoReflect.Descriptor instead.

func (*UserAddParam) GetPassword added in v1.4.0

func (x *UserAddParam) GetPassword() string

func (*UserAddParam) GetRoles added in v1.4.0

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

func (*UserAddParam) GetUserName added in v1.4.0

func (x *UserAddParam) GetUserName() string

func (*UserAddParam) ProtoMessage added in v1.4.0

func (*UserAddParam) ProtoMessage()

func (*UserAddParam) ProtoReflect added in v1.4.0

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

func (*UserAddParam) Reset added in v1.4.0

func (x *UserAddParam) Reset()

func (*UserAddParam) String added in v1.4.0

func (x *UserAddParam) String() string

type UserAddResponse added in v1.4.0

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

func (*UserAddResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use UserAddResponse.ProtoReflect.Descriptor instead.

func (*UserAddResponse) ProtoMessage added in v1.4.0

func (*UserAddResponse) ProtoMessage()

func (*UserAddResponse) ProtoReflect added in v1.4.0

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

func (*UserAddResponse) Reset added in v1.4.0

func (x *UserAddResponse) Reset()

func (*UserAddResponse) String added in v1.4.0

func (x *UserAddResponse) String() string

type UserDeleteParam added in v1.4.0

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

func (*UserDeleteParam) BindCheck added in v1.4.0

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

func (*UserDeleteParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use UserDeleteParam.ProtoReflect.Descriptor instead.

func (*UserDeleteParam) GetUserName added in v1.4.0

func (x *UserDeleteParam) GetUserName() string

func (*UserDeleteParam) ProtoMessage added in v1.4.0

func (*UserDeleteParam) ProtoMessage()

func (*UserDeleteParam) ProtoReflect added in v1.4.0

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

func (*UserDeleteParam) Reset added in v1.4.0

func (x *UserDeleteParam) Reset()

func (*UserDeleteParam) String added in v1.4.0

func (x *UserDeleteParam) String() string

type UserDeleteResponse added in v1.4.0

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

func (*UserDeleteResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use UserDeleteResponse.ProtoReflect.Descriptor instead.

func (*UserDeleteResponse) ProtoMessage added in v1.4.0

func (*UserDeleteResponse) ProtoMessage()

func (*UserDeleteResponse) ProtoReflect added in v1.4.0

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

func (*UserDeleteResponse) Reset added in v1.4.0

func (x *UserDeleteResponse) Reset()

func (*UserDeleteResponse) String added in v1.4.0

func (x *UserDeleteResponse) String() string

type UserGrantRoleParam added in v1.4.0

type UserGrantRoleParam struct {
	UserName string   `protobuf:"bytes,2,opt,name=UserName,proto3" json:"UserName,omitempty"`
	Roles    []string `protobuf:"bytes,4,rep,name=Roles,proto3" json:"Roles,omitempty"`
	// contains filtered or unexported fields
}

func (*UserGrantRoleParam) BindCheck added in v1.4.0

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

func (*UserGrantRoleParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use UserGrantRoleParam.ProtoReflect.Descriptor instead.

func (*UserGrantRoleParam) GetRoles added in v1.4.0

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

func (*UserGrantRoleParam) GetUserName added in v1.4.0

func (x *UserGrantRoleParam) GetUserName() string

func (*UserGrantRoleParam) ProtoMessage added in v1.4.0

func (*UserGrantRoleParam) ProtoMessage()

func (*UserGrantRoleParam) ProtoReflect added in v1.4.0

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

func (*UserGrantRoleParam) Reset added in v1.4.0

func (x *UserGrantRoleParam) Reset()

func (*UserGrantRoleParam) String added in v1.4.0

func (x *UserGrantRoleParam) String() string

type UserGrantRoleResponse added in v1.4.0

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

func (*UserGrantRoleResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use UserGrantRoleResponse.ProtoReflect.Descriptor instead.

func (*UserGrantRoleResponse) ProtoMessage added in v1.4.0

func (*UserGrantRoleResponse) ProtoMessage()

func (*UserGrantRoleResponse) ProtoReflect added in v1.4.0

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

func (*UserGrantRoleResponse) Reset added in v1.4.0

func (x *UserGrantRoleResponse) Reset()

func (*UserGrantRoleResponse) String added in v1.4.0

func (x *UserGrantRoleResponse) String() string

type UserListParam added in v1.4.0

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

func (*UserListParam) BindCheck added in v1.4.0

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

func (*UserListParam) Descriptor deprecated added in v1.4.0

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

Deprecated: Use UserListParam.ProtoReflect.Descriptor instead.

func (*UserListParam) ProtoMessage added in v1.4.0

func (*UserListParam) ProtoMessage()

func (*UserListParam) ProtoReflect added in v1.4.0

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

func (*UserListParam) Reset added in v1.4.0

func (x *UserListParam) Reset()

func (*UserListParam) String added in v1.4.0

func (x *UserListParam) String() string

type UserListResponse added in v1.4.0

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

func (*UserListResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use UserListResponse.ProtoReflect.Descriptor instead.

func (*UserListResponse) GetListUser added in v1.4.0

func (x *UserListResponse) GetListUser() *PBListUser

func (*UserListResponse) ProtoMessage added in v1.4.0

func (*UserListResponse) ProtoMessage()

func (*UserListResponse) ProtoReflect added in v1.4.0

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

func (*UserListResponse) Reset added in v1.4.0

func (x *UserListResponse) Reset()

func (*UserListResponse) String added in v1.4.0

func (x *UserListResponse) String() string

Jump to

Keyboard shortcuts

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