server

package
v1.0.56 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const OperationServerCreatDir = "/server.Server/CreatDir"
View Source
const OperationServerCreateServer = "/server.Server/CreateServer"
View Source
const OperationServerGetNginxData = "/server.Server/GetNginxData"
View Source
const OperationServerInstallServerComponent = "/server.Server/InstallServerComponent"
View Source
const OperationServerInstallServerComponentExist = "/server.Server/InstallServerComponentExist"
View Source
const OperationServerListBackup = "/server.Server/ListBackup"
View Source
const OperationServerListServer = "/server.Server/ListServer"
View Source
const OperationServerListServerComponent = "/server.Server/ListServerComponent"
View Source
const OperationServerListServerDirs = "/server.Server/ListServerDirs"
View Source
const OperationServerRestartServerComponent = "/server.Server/RestartServerComponent"
View Source
const OperationServerStartServerComponent = "/server.Server/StartServerComponent"
View Source
const OperationServerStopServerComponent = "/server.Server/StopServerComponent"
View Source
const OperationServerUFWStatus = "/server.Server/UFWStatus"
View Source
const OperationServerUninstallSystemComponent = "/server.Server/UninstallSystemComponent"
View Source
const OperationServerUpdateNginxData = "/server.Server/UpdateNginxData"
View Source
const OperationServerUpdateServer = "/server.Server/UpdateServer"
View Source
const OperationServerUploadServerFile = "/server.Server/UploadServerFile"

Variables

View Source
var File_api_server_api_proto protoreflect.FileDescriptor
View Source
var File_api_server_backup_proto protoreflect.FileDescriptor
View Source
var File_api_server_dir_proto protoreflect.FileDescriptor
View Source
var File_api_server_server_proto protoreflect.FileDescriptor
View Source
var Server_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "server.Server",
	HandlerType: (*ServerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListServer",
			Handler:    _Server_ListServer_Handler,
		},
		{
			MethodName: "CreateServer",
			Handler:    _Server_CreateServer_Handler,
		},
		{
			MethodName: "UpdateServer",
			Handler:    _Server_UpdateServer_Handler,
		},
		{
			MethodName: "ListServerComponent",
			Handler:    _Server_ListServerComponent_Handler,
		},
		{
			MethodName: "InstallServerComponent",
			Handler:    _Server_InstallServerComponent_Handler,
		},
		{
			MethodName: "StartServerComponent",
			Handler:    _Server_StartServerComponent_Handler,
		},
		{
			MethodName: "StopServerComponent",
			Handler:    _Server_StopServerComponent_Handler,
		},
		{
			MethodName: "RestartServerComponent",
			Handler:    _Server_RestartServerComponent_Handler,
		},
		{
			MethodName: "ListServerDirs",
			Handler:    _Server_ListServerDirs_Handler,
		},
		{
			MethodName: "UploadServerFile",
			Handler:    _Server_UploadServerFile_Handler,
		},
		{
			MethodName: "CreatDir",
			Handler:    _Server_CreatDir_Handler,
		},
		{
			MethodName: "GetNginxData",
			Handler:    _Server_GetNginxData_Handler,
		},
		{
			MethodName: "UpdateNginxData",
			Handler:    _Server_UpdateNginxData_Handler,
		},
		{
			MethodName: "UninstallSystemComponent",
			Handler:    _Server_UninstallSystemComponent_Handler,
		},
		{
			MethodName: "UFWStatus",
			Handler:    _Server_UFWStatus_Handler,
		},
		{
			MethodName: "ListBackup",
			Handler:    _Server_ListBackup_Handler,
		},
		{
			MethodName: "InstallServerComponentExist",
			Handler:    _Server_InstallServerComponentExist_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/server/api.proto",
}

Server_ServiceDesc is the grpc.ServiceDesc for Server service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterServerHTTPServer

func RegisterServerHTTPServer(s *http.Server, srv ServerHTTPServer)

func RegisterServerServer

func RegisterServerServer(s grpc.ServiceRegistrar, srv ServerServer)

Types

type ComponentsParameter

type ComponentsParameter struct {
	ParameterName  string `protobuf:"bytes,1,opt,name=parameterName,proto3" json:"parameterName,omitempty"`
	ParameterType  int32  `protobuf:"varint,2,opt,name=parameterType,proto3" json:"parameterType,omitempty"`
	ParameterValue string `protobuf:"bytes,3,opt,name=parameterValue,proto3" json:"parameterValue,omitempty"`
	// contains filtered or unexported fields
}

func (*ComponentsParameter) Descriptor deprecated

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

Deprecated: Use ComponentsParameter.ProtoReflect.Descriptor instead.

func (*ComponentsParameter) GetParameterName

func (x *ComponentsParameter) GetParameterName() string

func (*ComponentsParameter) GetParameterType

func (x *ComponentsParameter) GetParameterType() int32

func (*ComponentsParameter) GetParameterValue

func (x *ComponentsParameter) GetParameterValue() string

func (*ComponentsParameter) ProtoMessage

func (*ComponentsParameter) ProtoMessage()

func (*ComponentsParameter) ProtoReflect

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

func (*ComponentsParameter) Reset

func (x *ComponentsParameter) Reset()

func (*ComponentsParameter) String

func (x *ComponentsParameter) String() string

func (*ComponentsParameter) Validate

func (m *ComponentsParameter) Validate() error

Validate checks the field values on ComponentsParameter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ComponentsParameter) ValidateAll

func (m *ComponentsParameter) ValidateAll() error

ValidateAll checks the field values on ComponentsParameter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ComponentsParameterMultiError, or nil if none found.

type ComponentsParameterDesc

type ComponentsParameterDesc struct {
	ParameterName  string `protobuf:"bytes,1,opt,name=parameterName,proto3" json:"parameterName,omitempty"`
	ParameterType  int32  `protobuf:"varint,2,opt,name=parameterType,proto3" json:"parameterType,omitempty"`
	ParameterValue string `protobuf:"bytes,3,opt,name=parameterValue,proto3" json:"parameterValue,omitempty"`
	// contains filtered or unexported fields
}

func (*ComponentsParameterDesc) Descriptor deprecated

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

Deprecated: Use ComponentsParameterDesc.ProtoReflect.Descriptor instead.

func (*ComponentsParameterDesc) GetParameterName

func (x *ComponentsParameterDesc) GetParameterName() string

func (*ComponentsParameterDesc) GetParameterType

func (x *ComponentsParameterDesc) GetParameterType() int32

func (*ComponentsParameterDesc) GetParameterValue

func (x *ComponentsParameterDesc) GetParameterValue() string

func (*ComponentsParameterDesc) ProtoMessage

func (*ComponentsParameterDesc) ProtoMessage()

func (*ComponentsParameterDesc) ProtoReflect

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

func (*ComponentsParameterDesc) Reset

func (x *ComponentsParameterDesc) Reset()

func (*ComponentsParameterDesc) String

func (x *ComponentsParameterDesc) String() string

func (*ComponentsParameterDesc) Validate

func (m *ComponentsParameterDesc) Validate() error

Validate checks the field values on ComponentsParameterDesc with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ComponentsParameterDesc) ValidateAll

func (m *ComponentsParameterDesc) ValidateAll() error

ValidateAll checks the field values on ComponentsParameterDesc with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ComponentsParameterDescMultiError, or nil if none found.

type ComponentsParameterDescMultiError

type ComponentsParameterDescMultiError []error

ComponentsParameterDescMultiError is an error wrapping multiple validation errors returned by ComponentsParameterDesc.ValidateAll() if the designated constraints aren't met.

func (ComponentsParameterDescMultiError) AllErrors

func (m ComponentsParameterDescMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ComponentsParameterDescMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ComponentsParameterDescValidationError

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

ComponentsParameterDescValidationError is the validation error returned by ComponentsParameterDesc.Validate if the designated constraints aren't met.

func (ComponentsParameterDescValidationError) Cause

Cause function returns cause value.

func (ComponentsParameterDescValidationError) Error

Error satisfies the builtin error interface

func (ComponentsParameterDescValidationError) ErrorName

ErrorName returns error name.

func (ComponentsParameterDescValidationError) Field

Field function returns field value.

func (ComponentsParameterDescValidationError) Key

Key function returns key value.

func (ComponentsParameterDescValidationError) Reason

Reason function returns reason value.

type ComponentsParameterMultiError

type ComponentsParameterMultiError []error

ComponentsParameterMultiError is an error wrapping multiple validation errors returned by ComponentsParameter.ValidateAll() if the designated constraints aren't met.

func (ComponentsParameterMultiError) AllErrors

func (m ComponentsParameterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ComponentsParameterMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ComponentsParameterValidationError

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

ComponentsParameterValidationError is the validation error returned by ComponentsParameter.Validate if the designated constraints aren't met.

func (ComponentsParameterValidationError) Cause

Cause function returns cause value.

func (ComponentsParameterValidationError) Error

Error satisfies the builtin error interface

func (ComponentsParameterValidationError) ErrorName

ErrorName returns error name.

func (ComponentsParameterValidationError) Field

Field function returns field value.

func (ComponentsParameterValidationError) Key

Key function returns key value.

func (ComponentsParameterValidationError) Reason

Reason function returns reason value.

type CreateDirReq

type CreateDirReq struct {
	ServerID int64  `protobuf:"varint,1,opt,name=serverID,proto3" json:"serverID,omitempty"`
	Path     string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDirReq) Descriptor deprecated

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

Deprecated: Use CreateDirReq.ProtoReflect.Descriptor instead.

func (*CreateDirReq) GetPath

func (x *CreateDirReq) GetPath() string

func (*CreateDirReq) GetServerID

func (x *CreateDirReq) GetServerID() int64

func (*CreateDirReq) ProtoMessage

func (*CreateDirReq) ProtoMessage()

func (*CreateDirReq) ProtoReflect

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

func (*CreateDirReq) Reset

func (x *CreateDirReq) Reset()

func (*CreateDirReq) String

func (x *CreateDirReq) String() string

func (*CreateDirReq) Validate

func (m *CreateDirReq) Validate() error

Validate checks the field values on CreateDirReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateDirReq) ValidateAll

func (m *CreateDirReq) ValidateAll() error

ValidateAll checks the field values on CreateDirReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateDirReqMultiError, or nil if none found.

type CreateDirReqMultiError

type CreateDirReqMultiError []error

CreateDirReqMultiError is an error wrapping multiple validation errors returned by CreateDirReq.ValidateAll() if the designated constraints aren't met.

func (CreateDirReqMultiError) AllErrors

func (m CreateDirReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateDirReqMultiError) Error

func (m CreateDirReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CreateDirReqValidationError

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

CreateDirReqValidationError is the validation error returned by CreateDirReq.Validate if the designated constraints aren't met.

func (CreateDirReqValidationError) Cause

Cause function returns cause value.

func (CreateDirReqValidationError) Error

Error satisfies the builtin error interface

func (CreateDirReqValidationError) ErrorName

func (e CreateDirReqValidationError) ErrorName() string

ErrorName returns error name.

func (CreateDirReqValidationError) Field

Field function returns field value.

func (CreateDirReqValidationError) Key

Key function returns key value.

func (CreateDirReqValidationError) Reason

Reason function returns reason value.

type CreateServerRequest

type CreateServerRequest struct {
	Port     int32  `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	Ip       string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	Desc     string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateServerRequest) Descriptor deprecated

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

Deprecated: Use CreateServerRequest.ProtoReflect.Descriptor instead.

func (*CreateServerRequest) GetDesc

func (x *CreateServerRequest) GetDesc() string

func (*CreateServerRequest) GetIp

func (x *CreateServerRequest) GetIp() string

func (*CreateServerRequest) GetPassword

func (x *CreateServerRequest) GetPassword() string

func (*CreateServerRequest) GetPort

func (x *CreateServerRequest) GetPort() int32

func (*CreateServerRequest) GetUsername

func (x *CreateServerRequest) GetUsername() string

func (*CreateServerRequest) ProtoMessage

func (*CreateServerRequest) ProtoMessage()

func (*CreateServerRequest) ProtoReflect

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

func (*CreateServerRequest) Reset

func (x *CreateServerRequest) Reset()

func (*CreateServerRequest) String

func (x *CreateServerRequest) String() string

func (*CreateServerRequest) Validate

func (m *CreateServerRequest) Validate() error

Validate checks the field values on CreateServerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateServerRequest) ValidateAll

func (m *CreateServerRequest) ValidateAll() error

ValidateAll checks the field values on CreateServerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateServerRequestMultiError, or nil if none found.

type CreateServerRequestMultiError

type CreateServerRequestMultiError []error

CreateServerRequestMultiError is an error wrapping multiple validation errors returned by CreateServerRequest.ValidateAll() if the designated constraints aren't met.

func (CreateServerRequestMultiError) AllErrors

func (m CreateServerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateServerRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateServerRequestValidationError

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

CreateServerRequestValidationError is the validation error returned by CreateServerRequest.Validate if the designated constraints aren't met.

func (CreateServerRequestValidationError) Cause

Cause function returns cause value.

func (CreateServerRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateServerRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateServerRequestValidationError) Field

Field function returns field value.

func (CreateServerRequestValidationError) Key

Key function returns key value.

func (CreateServerRequestValidationError) Reason

Reason function returns reason value.

type GetNginxDataReq

type GetNginxDataReq struct {
	ServerID int64 `protobuf:"varint,1,opt,name=serverID,proto3" json:"serverID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNginxDataReq) Descriptor deprecated

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

Deprecated: Use GetNginxDataReq.ProtoReflect.Descriptor instead.

func (*GetNginxDataReq) GetServerID

func (x *GetNginxDataReq) GetServerID() int64

func (*GetNginxDataReq) ProtoMessage

func (*GetNginxDataReq) ProtoMessage()

func (*GetNginxDataReq) ProtoReflect

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

func (*GetNginxDataReq) Reset

func (x *GetNginxDataReq) Reset()

func (*GetNginxDataReq) String

func (x *GetNginxDataReq) String() string

func (*GetNginxDataReq) Validate

func (m *GetNginxDataReq) Validate() error

Validate checks the field values on GetNginxDataReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetNginxDataReq) ValidateAll

func (m *GetNginxDataReq) ValidateAll() error

ValidateAll checks the field values on GetNginxDataReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetNginxDataReqMultiError, or nil if none found.

type GetNginxDataReqMultiError

type GetNginxDataReqMultiError []error

GetNginxDataReqMultiError is an error wrapping multiple validation errors returned by GetNginxDataReq.ValidateAll() if the designated constraints aren't met.

func (GetNginxDataReqMultiError) AllErrors

func (m GetNginxDataReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetNginxDataReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetNginxDataReqValidationError

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

GetNginxDataReqValidationError is the validation error returned by GetNginxDataReq.Validate if the designated constraints aren't met.

func (GetNginxDataReqValidationError) Cause

Cause function returns cause value.

func (GetNginxDataReqValidationError) Error

Error satisfies the builtin error interface

func (GetNginxDataReqValidationError) ErrorName

func (e GetNginxDataReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetNginxDataReqValidationError) Field

Field function returns field value.

func (GetNginxDataReqValidationError) Key

Key function returns key value.

func (GetNginxDataReqValidationError) Reason

Reason function returns reason value.

type GetNginxDataRes

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

func (*GetNginxDataRes) Descriptor deprecated

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

Deprecated: Use GetNginxDataRes.ProtoReflect.Descriptor instead.

func (*GetNginxDataRes) GetConfText

func (x *GetNginxDataRes) GetConfText() string

func (*GetNginxDataRes) ProtoMessage

func (*GetNginxDataRes) ProtoMessage()

func (*GetNginxDataRes) ProtoReflect

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

func (*GetNginxDataRes) Reset

func (x *GetNginxDataRes) Reset()

func (*GetNginxDataRes) String

func (x *GetNginxDataRes) String() string

func (*GetNginxDataRes) Validate

func (m *GetNginxDataRes) Validate() error

Validate checks the field values on GetNginxDataRes with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetNginxDataRes) ValidateAll

func (m *GetNginxDataRes) ValidateAll() error

ValidateAll checks the field values on GetNginxDataRes with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetNginxDataResMultiError, or nil if none found.

type GetNginxDataResMultiError

type GetNginxDataResMultiError []error

GetNginxDataResMultiError is an error wrapping multiple validation errors returned by GetNginxDataRes.ValidateAll() if the designated constraints aren't met.

func (GetNginxDataResMultiError) AllErrors

func (m GetNginxDataResMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetNginxDataResMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetNginxDataResValidationError

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

GetNginxDataResValidationError is the validation error returned by GetNginxDataRes.Validate if the designated constraints aren't met.

func (GetNginxDataResValidationError) Cause

Cause function returns cause value.

func (GetNginxDataResValidationError) Error

Error satisfies the builtin error interface

func (GetNginxDataResValidationError) ErrorName

func (e GetNginxDataResValidationError) ErrorName() string

ErrorName returns error name.

func (GetNginxDataResValidationError) Field

Field function returns field value.

func (GetNginxDataResValidationError) Key

Key function returns key value.

func (GetNginxDataResValidationError) Reason

Reason function returns reason value.

type GetServerReply

type GetServerReply struct {
	Id                  int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Ip                  string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	Desc                string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	Username            string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	Password            string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	Port                int32  `protobuf:"varint,6,opt,name=port,proto3" json:"port,omitempty"`
	SshConnect          int32  `protobuf:"varint,7,opt,name=sshConnect,proto3" json:"sshConnect,omitempty"`
	HasInstalledProduct string `protobuf:"bytes,8,opt,name=hasInstalledProduct,proto3" json:"hasInstalledProduct,omitempty"`
	CanProductInstall   int32  `protobuf:"varint,9,opt,name=canProductInstall,proto3" json:"canProductInstall,omitempty"`
	CanNotInstallReason string `protobuf:"bytes,10,opt,name=canNotInstallReason,proto3" json:"canNotInstallReason,omitempty"`
	CanNginxConfEdit    int32  `protobuf:"varint,11,opt,name=canNginxConfEdit,proto3" json:"canNginxConfEdit,omitempty"`
	CanMonitor          int32  `protobuf:"varint,12,opt,name=canMonitor,proto3" json:"canMonitor,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerReply) Descriptor deprecated

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

Deprecated: Use GetServerReply.ProtoReflect.Descriptor instead.

func (*GetServerReply) GetCanMonitor

func (x *GetServerReply) GetCanMonitor() int32

func (*GetServerReply) GetCanNginxConfEdit

func (x *GetServerReply) GetCanNginxConfEdit() int32

func (*GetServerReply) GetCanNotInstallReason

func (x *GetServerReply) GetCanNotInstallReason() string

func (*GetServerReply) GetCanProductInstall

func (x *GetServerReply) GetCanProductInstall() int32

func (*GetServerReply) GetDesc

func (x *GetServerReply) GetDesc() string

func (*GetServerReply) GetHasInstalledProduct

func (x *GetServerReply) GetHasInstalledProduct() string

func (*GetServerReply) GetId

func (x *GetServerReply) GetId() int64

func (*GetServerReply) GetIp

func (x *GetServerReply) GetIp() string

func (*GetServerReply) GetPassword

func (x *GetServerReply) GetPassword() string

func (*GetServerReply) GetPort

func (x *GetServerReply) GetPort() int32

func (*GetServerReply) GetSshConnect

func (x *GetServerReply) GetSshConnect() int32

func (*GetServerReply) GetUsername

func (x *GetServerReply) GetUsername() string

func (*GetServerReply) ProtoMessage

func (*GetServerReply) ProtoMessage()

func (*GetServerReply) ProtoReflect

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

func (*GetServerReply) Reset

func (x *GetServerReply) Reset()

func (*GetServerReply) String

func (x *GetServerReply) String() string

func (*GetServerReply) Validate

func (m *GetServerReply) Validate() error

Validate checks the field values on GetServerReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetServerReply) ValidateAll

func (m *GetServerReply) ValidateAll() error

ValidateAll checks the field values on GetServerReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetServerReplyMultiError, or nil if none found.

type GetServerReplyMultiError

type GetServerReplyMultiError []error

GetServerReplyMultiError is an error wrapping multiple validation errors returned by GetServerReply.ValidateAll() if the designated constraints aren't met.

func (GetServerReplyMultiError) AllErrors

func (m GetServerReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetServerReplyMultiError) Error

func (m GetServerReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetServerReplyValidationError

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

GetServerReplyValidationError is the validation error returned by GetServerReply.Validate if the designated constraints aren't met.

func (GetServerReplyValidationError) Cause

Cause function returns cause value.

func (GetServerReplyValidationError) Error

Error satisfies the builtin error interface

func (GetServerReplyValidationError) ErrorName

func (e GetServerReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetServerReplyValidationError) Field

Field function returns field value.

func (GetServerReplyValidationError) Key

Key function returns key value.

func (GetServerReplyValidationError) Reason

Reason function returns reason value.

type InstallExistedServerComponentRequest

type InstallExistedServerComponentRequest struct {
	ServerID      int64  `protobuf:"varint,1,opt,name=serverID,proto3" json:"serverID,omitempty"`
	ComponentCode string `protobuf:"bytes,2,opt,name=componentCode,proto3" json:"componentCode,omitempty"`
	// contains filtered or unexported fields
}

func (*InstallExistedServerComponentRequest) Descriptor deprecated

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

Deprecated: Use InstallExistedServerComponentRequest.ProtoReflect.Descriptor instead.

func (*InstallExistedServerComponentRequest) GetComponentCode

func (x *InstallExistedServerComponentRequest) GetComponentCode() string

func (*InstallExistedServerComponentRequest) GetServerID

func (*InstallExistedServerComponentRequest) ProtoMessage

func (*InstallExistedServerComponentRequest) ProtoMessage()

func (*InstallExistedServerComponentRequest) ProtoReflect

func (*InstallExistedServerComponentRequest) Reset

func (*InstallExistedServerComponentRequest) String

func (*InstallExistedServerComponentRequest) Validate

Validate checks the field values on InstallExistedServerComponentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*InstallExistedServerComponentRequest) ValidateAll

ValidateAll checks the field values on InstallExistedServerComponentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InstallExistedServerComponentRequestMultiError, or nil if none found.

type InstallExistedServerComponentRequestMultiError

type InstallExistedServerComponentRequestMultiError []error

InstallExistedServerComponentRequestMultiError is an error wrapping multiple validation errors returned by InstallExistedServerComponentRequest.ValidateAll() if the designated constraints aren't met.

func (InstallExistedServerComponentRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (InstallExistedServerComponentRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type InstallExistedServerComponentRequestValidationError

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

InstallExistedServerComponentRequestValidationError is the validation error returned by InstallExistedServerComponentRequest.Validate if the designated constraints aren't met.

func (InstallExistedServerComponentRequestValidationError) Cause

Cause function returns cause value.

func (InstallExistedServerComponentRequestValidationError) Error

Error satisfies the builtin error interface

func (InstallExistedServerComponentRequestValidationError) ErrorName

ErrorName returns error name.

func (InstallExistedServerComponentRequestValidationError) Field

Field function returns field value.

func (InstallExistedServerComponentRequestValidationError) Key

Key function returns key value.

func (InstallExistedServerComponentRequestValidationError) Reason

Reason function returns reason value.

type InstallServerComponentRequest

type InstallServerComponentRequest struct {
	ServerID           int64                  `protobuf:"varint,1,opt,name=serverID,proto3" json:"serverID,omitempty"`
	ComponentCode      string                 `protobuf:"bytes,2,opt,name=componentCode,proto3" json:"componentCode,omitempty"`
	InstallPackagePath string                 `protobuf:"bytes,3,opt,name=installPackagePath,proto3" json:"installPackagePath,omitempty"`
	Params             []*ComponentsParameter `protobuf:"bytes,4,rep,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*InstallServerComponentRequest) Descriptor deprecated

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

Deprecated: Use InstallServerComponentRequest.ProtoReflect.Descriptor instead.

func (*InstallServerComponentRequest) GetComponentCode

func (x *InstallServerComponentRequest) GetComponentCode() string

func (*InstallServerComponentRequest) GetInstallPackagePath

func (x *InstallServerComponentRequest) GetInstallPackagePath() string

func (*InstallServerComponentRequest) GetParams

func (*InstallServerComponentRequest) GetServerID

func (x *InstallServerComponentRequest) GetServerID() int64

func (*InstallServerComponentRequest) ProtoMessage

func (*InstallServerComponentRequest) ProtoMessage()

func (*InstallServerComponentRequest) ProtoReflect

func (*InstallServerComponentRequest) Reset

func (x *InstallServerComponentRequest) Reset()

func (*InstallServerComponentRequest) String

func (*InstallServerComponentRequest) Validate

func (m *InstallServerComponentRequest) Validate() error

Validate checks the field values on InstallServerComponentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*InstallServerComponentRequest) ValidateAll

func (m *InstallServerComponentRequest) ValidateAll() error

ValidateAll checks the field values on InstallServerComponentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InstallServerComponentRequestMultiError, or nil if none found.

type InstallServerComponentRequestMultiError

type InstallServerComponentRequestMultiError []error

InstallServerComponentRequestMultiError is an error wrapping multiple validation errors returned by InstallServerComponentRequest.ValidateAll() if the designated constraints aren't met.

func (InstallServerComponentRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (InstallServerComponentRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type InstallServerComponentRequestValidationError

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

InstallServerComponentRequestValidationError is the validation error returned by InstallServerComponentRequest.Validate if the designated constraints aren't met.

func (InstallServerComponentRequestValidationError) Cause

Cause function returns cause value.

func (InstallServerComponentRequestValidationError) Error

Error satisfies the builtin error interface

func (InstallServerComponentRequestValidationError) ErrorName

ErrorName returns error name.

func (InstallServerComponentRequestValidationError) Field

Field function returns field value.

func (InstallServerComponentRequestValidationError) Key

Key function returns key value.

func (InstallServerComponentRequestValidationError) Reason

Reason function returns reason value.

type ListBackupInfoReq

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

func (*ListBackupInfoReq) Descriptor deprecated

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

Deprecated: Use ListBackupInfoReq.ProtoReflect.Descriptor instead.

func (*ListBackupInfoReq) ProtoMessage

func (*ListBackupInfoReq) ProtoMessage()

func (*ListBackupInfoReq) ProtoReflect

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

func (*ListBackupInfoReq) Reset

func (x *ListBackupInfoReq) Reset()

func (*ListBackupInfoReq) String

func (x *ListBackupInfoReq) String() string

func (*ListBackupInfoReq) Validate

func (m *ListBackupInfoReq) Validate() error

Validate checks the field values on ListBackupInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListBackupInfoReq) ValidateAll

func (m *ListBackupInfoReq) ValidateAll() error

ValidateAll checks the field values on ListBackupInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListBackupInfoReqMultiError, or nil if none found.

type ListBackupInfoReqMultiError

type ListBackupInfoReqMultiError []error

ListBackupInfoReqMultiError is an error wrapping multiple validation errors returned by ListBackupInfoReq.ValidateAll() if the designated constraints aren't met.

func (ListBackupInfoReqMultiError) AllErrors

func (m ListBackupInfoReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListBackupInfoReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListBackupInfoReqValidationError

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

ListBackupInfoReqValidationError is the validation error returned by ListBackupInfoReq.Validate if the designated constraints aren't met.

func (ListBackupInfoReqValidationError) Cause

Cause function returns cause value.

func (ListBackupInfoReqValidationError) Error

Error satisfies the builtin error interface

func (ListBackupInfoReqValidationError) ErrorName

ErrorName returns error name.

func (ListBackupInfoReqValidationError) Field

Field function returns field value.

func (ListBackupInfoReqValidationError) Key

Key function returns key value.

func (ListBackupInfoReqValidationError) Reason

Reason function returns reason value.

type ListBackupInfoRes

type ListBackupInfoRes struct {
	Res []*ListBackupInfoResItem `protobuf:"bytes,1,rep,name=res,proto3" json:"res,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBackupInfoRes) Descriptor deprecated

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

Deprecated: Use ListBackupInfoRes.ProtoReflect.Descriptor instead.

func (*ListBackupInfoRes) GetRes

func (*ListBackupInfoRes) ProtoMessage

func (*ListBackupInfoRes) ProtoMessage()

func (*ListBackupInfoRes) ProtoReflect

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

func (*ListBackupInfoRes) Reset

func (x *ListBackupInfoRes) Reset()

func (*ListBackupInfoRes) String

func (x *ListBackupInfoRes) String() string

func (*ListBackupInfoRes) Validate

func (m *ListBackupInfoRes) Validate() error

Validate checks the field values on ListBackupInfoRes with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListBackupInfoRes) ValidateAll

func (m *ListBackupInfoRes) ValidateAll() error

ValidateAll checks the field values on ListBackupInfoRes with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListBackupInfoResMultiError, or nil if none found.

type ListBackupInfoResItem

type ListBackupInfoResItem struct {
	Id         int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ServerIp   string `protobuf:"bytes,2,opt,name=serverIp,proto3" json:"serverIp,omitempty"`
	FileName   string `protobuf:"bytes,3,opt,name=fileName,proto3" json:"fileName,omitempty"`
	BackupDate string `protobuf:"bytes,4,opt,name=backupDate,proto3" json:"backupDate,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBackupInfoResItem) Descriptor deprecated

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

Deprecated: Use ListBackupInfoResItem.ProtoReflect.Descriptor instead.

func (*ListBackupInfoResItem) GetBackupDate

func (x *ListBackupInfoResItem) GetBackupDate() string

func (*ListBackupInfoResItem) GetFileName

func (x *ListBackupInfoResItem) GetFileName() string

func (*ListBackupInfoResItem) GetId

func (x *ListBackupInfoResItem) GetId() int64

func (*ListBackupInfoResItem) GetServerIp

func (x *ListBackupInfoResItem) GetServerIp() string

func (*ListBackupInfoResItem) ProtoMessage

func (*ListBackupInfoResItem) ProtoMessage()

func (*ListBackupInfoResItem) ProtoReflect

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

func (*ListBackupInfoResItem) Reset

func (x *ListBackupInfoResItem) Reset()

func (*ListBackupInfoResItem) String

func (x *ListBackupInfoResItem) String() string

func (*ListBackupInfoResItem) Validate

func (m *ListBackupInfoResItem) Validate() error

Validate checks the field values on ListBackupInfoResItem with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListBackupInfoResItem) ValidateAll

func (m *ListBackupInfoResItem) ValidateAll() error

ValidateAll checks the field values on ListBackupInfoResItem with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListBackupInfoResItemMultiError, or nil if none found.

type ListBackupInfoResItemMultiError

type ListBackupInfoResItemMultiError []error

ListBackupInfoResItemMultiError is an error wrapping multiple validation errors returned by ListBackupInfoResItem.ValidateAll() if the designated constraints aren't met.

func (ListBackupInfoResItemMultiError) AllErrors

func (m ListBackupInfoResItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListBackupInfoResItemMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListBackupInfoResItemValidationError

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

ListBackupInfoResItemValidationError is the validation error returned by ListBackupInfoResItem.Validate if the designated constraints aren't met.

func (ListBackupInfoResItemValidationError) Cause

Cause function returns cause value.

func (ListBackupInfoResItemValidationError) Error

Error satisfies the builtin error interface

func (ListBackupInfoResItemValidationError) ErrorName

ErrorName returns error name.

func (ListBackupInfoResItemValidationError) Field

Field function returns field value.

func (ListBackupInfoResItemValidationError) Key

Key function returns key value.

func (ListBackupInfoResItemValidationError) Reason

Reason function returns reason value.

type ListBackupInfoResMultiError

type ListBackupInfoResMultiError []error

ListBackupInfoResMultiError is an error wrapping multiple validation errors returned by ListBackupInfoRes.ValidateAll() if the designated constraints aren't met.

func (ListBackupInfoResMultiError) AllErrors

func (m ListBackupInfoResMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListBackupInfoResMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListBackupInfoResValidationError

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

ListBackupInfoResValidationError is the validation error returned by ListBackupInfoRes.Validate if the designated constraints aren't met.

func (ListBackupInfoResValidationError) Cause

Cause function returns cause value.

func (ListBackupInfoResValidationError) Error

Error satisfies the builtin error interface

func (ListBackupInfoResValidationError) ErrorName

ErrorName returns error name.

func (ListBackupInfoResValidationError) Field

Field function returns field value.

func (ListBackupInfoResValidationError) Key

Key function returns key value.

func (ListBackupInfoResValidationError) Reason

Reason function returns reason value.

type ListDirReq

type ListDirReq struct {
	Path     string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	ServerID int64  `protobuf:"varint,2,opt,name=serverID,proto3" json:"serverID,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDirReq) Descriptor deprecated

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

Deprecated: Use ListDirReq.ProtoReflect.Descriptor instead.

func (*ListDirReq) GetPath

func (x *ListDirReq) GetPath() string

func (*ListDirReq) GetServerID

func (x *ListDirReq) GetServerID() int64

func (*ListDirReq) ProtoMessage

func (*ListDirReq) ProtoMessage()

func (*ListDirReq) ProtoReflect

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

func (*ListDirReq) Reset

func (x *ListDirReq) Reset()

func (*ListDirReq) String

func (x *ListDirReq) String() string

func (*ListDirReq) Validate

func (m *ListDirReq) Validate() error

Validate checks the field values on ListDirReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListDirReq) ValidateAll

func (m *ListDirReq) ValidateAll() error

ValidateAll checks the field values on ListDirReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDirReqMultiError, or nil if none found.

type ListDirReqMultiError

type ListDirReqMultiError []error

ListDirReqMultiError is an error wrapping multiple validation errors returned by ListDirReq.ValidateAll() if the designated constraints aren't met.

func (ListDirReqMultiError) AllErrors

func (m ListDirReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListDirReqMultiError) Error

func (m ListDirReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ListDirReqValidationError

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

ListDirReqValidationError is the validation error returned by ListDirReq.Validate if the designated constraints aren't met.

func (ListDirReqValidationError) Cause

func (e ListDirReqValidationError) Cause() error

Cause function returns cause value.

func (ListDirReqValidationError) Error

Error satisfies the builtin error interface

func (ListDirReqValidationError) ErrorName

func (e ListDirReqValidationError) ErrorName() string

ErrorName returns error name.

func (ListDirReqValidationError) Field

Field function returns field value.

func (ListDirReqValidationError) Key

Key function returns key value.

func (ListDirReqValidationError) Reason

func (e ListDirReqValidationError) Reason() string

Reason function returns reason value.

type ListDirRes

type ListDirRes struct {
	DirsList []*LsItem `protobuf:"bytes,1,rep,name=dirsList,proto3" json:"dirsList,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDirRes) Descriptor deprecated

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

Deprecated: Use ListDirRes.ProtoReflect.Descriptor instead.

func (*ListDirRes) GetDirsList

func (x *ListDirRes) GetDirsList() []*LsItem

func (*ListDirRes) ProtoMessage

func (*ListDirRes) ProtoMessage()

func (*ListDirRes) ProtoReflect

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

func (*ListDirRes) Reset

func (x *ListDirRes) Reset()

func (*ListDirRes) String

func (x *ListDirRes) String() string

func (*ListDirRes) Validate

func (m *ListDirRes) Validate() error

Validate checks the field values on ListDirRes with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListDirRes) ValidateAll

func (m *ListDirRes) ValidateAll() error

ValidateAll checks the field values on ListDirRes with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDirResMultiError, or nil if none found.

type ListDirResMultiError

type ListDirResMultiError []error

ListDirResMultiError is an error wrapping multiple validation errors returned by ListDirRes.ValidateAll() if the designated constraints aren't met.

func (ListDirResMultiError) AllErrors

func (m ListDirResMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListDirResMultiError) Error

func (m ListDirResMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ListDirResValidationError

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

ListDirResValidationError is the validation error returned by ListDirRes.Validate if the designated constraints aren't met.

func (ListDirResValidationError) Cause

func (e ListDirResValidationError) Cause() error

Cause function returns cause value.

func (ListDirResValidationError) Error

Error satisfies the builtin error interface

func (ListDirResValidationError) ErrorName

func (e ListDirResValidationError) ErrorName() string

ErrorName returns error name.

func (ListDirResValidationError) Field

Field function returns field value.

func (ListDirResValidationError) Key

Key function returns key value.

func (ListDirResValidationError) Reason

func (e ListDirResValidationError) Reason() string

Reason function returns reason value.

type ListServerComponentReply

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

func (*ListServerComponentReply) Descriptor deprecated

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

Deprecated: Use ListServerComponentReply.ProtoReflect.Descriptor instead.

func (*ListServerComponentReply) GetList

func (*ListServerComponentReply) ProtoMessage

func (*ListServerComponentReply) ProtoMessage()

func (*ListServerComponentReply) ProtoReflect

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

func (*ListServerComponentReply) Reset

func (x *ListServerComponentReply) Reset()

func (*ListServerComponentReply) String

func (x *ListServerComponentReply) String() string

func (*ListServerComponentReply) Validate

func (m *ListServerComponentReply) Validate() error

Validate checks the field values on ListServerComponentReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListServerComponentReply) ValidateAll

func (m *ListServerComponentReply) ValidateAll() error

ValidateAll checks the field values on ListServerComponentReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListServerComponentReplyMultiError, or nil if none found.

type ListServerComponentReplyMultiError

type ListServerComponentReplyMultiError []error

ListServerComponentReplyMultiError is an error wrapping multiple validation errors returned by ListServerComponentReply.ValidateAll() if the designated constraints aren't met.

func (ListServerComponentReplyMultiError) AllErrors

func (m ListServerComponentReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListServerComponentReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListServerComponentReplyValidationError

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

ListServerComponentReplyValidationError is the validation error returned by ListServerComponentReply.Validate if the designated constraints aren't met.

func (ListServerComponentReplyValidationError) Cause

Cause function returns cause value.

func (ListServerComponentReplyValidationError) Error

Error satisfies the builtin error interface

func (ListServerComponentReplyValidationError) ErrorName

ErrorName returns error name.

func (ListServerComponentReplyValidationError) Field

Field function returns field value.

func (ListServerComponentReplyValidationError) Key

Key function returns key value.

func (ListServerComponentReplyValidationError) Reason

Reason function returns reason value.

type ListServerComponentReply_Item

type ListServerComponentReply_Item struct {
	Name         string                                      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Code         string                                      `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	HasInstalled int32                                       `protobuf:"varint,5,opt,name=hasInstalled,proto3" json:"hasInstalled,omitempty"`
	Status       int32                                       `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
	DownloadURL  string                                      `protobuf:"bytes,3,opt,name=downloadURL,proto3" json:"downloadURL,omitempty"`
	Parameters   []*ComponentsParameter                      `protobuf:"bytes,7,rep,name=parameters,proto3" json:"parameters,omitempty"`
	CanInstall   int32                                       `protobuf:"varint,8,opt,name=canInstall,proto3" json:"canInstall,omitempty"`
	DependItems  []*ListServerComponentReply_Item_DependItem `protobuf:"bytes,9,rep,name=dependItems,proto3" json:"dependItems,omitempty"`
	// contains filtered or unexported fields
}

func (*ListServerComponentReply_Item) Descriptor deprecated

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

Deprecated: Use ListServerComponentReply_Item.ProtoReflect.Descriptor instead.

func (*ListServerComponentReply_Item) GetCanInstall

func (x *ListServerComponentReply_Item) GetCanInstall() int32

func (*ListServerComponentReply_Item) GetCode

func (*ListServerComponentReply_Item) GetDependItems

func (*ListServerComponentReply_Item) GetDownloadURL

func (x *ListServerComponentReply_Item) GetDownloadURL() string

func (*ListServerComponentReply_Item) GetHasInstalled

func (x *ListServerComponentReply_Item) GetHasInstalled() int32

func (*ListServerComponentReply_Item) GetName

func (*ListServerComponentReply_Item) GetParameters

func (x *ListServerComponentReply_Item) GetParameters() []*ComponentsParameter

func (*ListServerComponentReply_Item) GetStatus

func (x *ListServerComponentReply_Item) GetStatus() int32

func (*ListServerComponentReply_Item) ProtoMessage

func (*ListServerComponentReply_Item) ProtoMessage()

func (*ListServerComponentReply_Item) ProtoReflect

func (*ListServerComponentReply_Item) Reset

func (x *ListServerComponentReply_Item) Reset()

func (*ListServerComponentReply_Item) String

func (*ListServerComponentReply_Item) Validate

func (m *ListServerComponentReply_Item) Validate() error

Validate checks the field values on ListServerComponentReply_Item with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListServerComponentReply_Item) ValidateAll

func (m *ListServerComponentReply_Item) ValidateAll() error

ValidateAll checks the field values on ListServerComponentReply_Item with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListServerComponentReply_ItemMultiError, or nil if none found.

type ListServerComponentReply_ItemMultiError

type ListServerComponentReply_ItemMultiError []error

ListServerComponentReply_ItemMultiError is an error wrapping multiple validation errors returned by ListServerComponentReply_Item.ValidateAll() if the designated constraints aren't met.

func (ListServerComponentReply_ItemMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListServerComponentReply_ItemMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListServerComponentReply_ItemValidationError

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

ListServerComponentReply_ItemValidationError is the validation error returned by ListServerComponentReply_Item.Validate if the designated constraints aren't met.

func (ListServerComponentReply_ItemValidationError) Cause

Cause function returns cause value.

func (ListServerComponentReply_ItemValidationError) Error

Error satisfies the builtin error interface

func (ListServerComponentReply_ItemValidationError) ErrorName

ErrorName returns error name.

func (ListServerComponentReply_ItemValidationError) Field

Field function returns field value.

func (ListServerComponentReply_ItemValidationError) Key

Key function returns key value.

func (ListServerComponentReply_ItemValidationError) Reason

Reason function returns reason value.

type ListServerComponentReply_Item_DependItem

type ListServerComponentReply_Item_DependItem struct {
	Code         string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	HasInstalled int32  `protobuf:"varint,2,opt,name=hasInstalled,proto3" json:"hasInstalled,omitempty"`
	// contains filtered or unexported fields
}

func (*ListServerComponentReply_Item_DependItem) Descriptor deprecated

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

Deprecated: Use ListServerComponentReply_Item_DependItem.ProtoReflect.Descriptor instead.

func (*ListServerComponentReply_Item_DependItem) GetCode

func (*ListServerComponentReply_Item_DependItem) GetHasInstalled

func (x *ListServerComponentReply_Item_DependItem) GetHasInstalled() int32

func (*ListServerComponentReply_Item_DependItem) ProtoMessage

func (*ListServerComponentReply_Item_DependItem) ProtoReflect

func (*ListServerComponentReply_Item_DependItem) Reset

func (*ListServerComponentReply_Item_DependItem) String

func (*ListServerComponentReply_Item_DependItem) Validate

Validate checks the field values on ListServerComponentReply_Item_DependItem with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListServerComponentReply_Item_DependItem) ValidateAll

ValidateAll checks the field values on ListServerComponentReply_Item_DependItem with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListServerComponentReply_Item_DependItemMultiError, or nil if none found.

type ListServerComponentReply_Item_DependItemMultiError

type ListServerComponentReply_Item_DependItemMultiError []error

ListServerComponentReply_Item_DependItemMultiError is an error wrapping multiple validation errors returned by ListServerComponentReply_Item_DependItem.ValidateAll() if the designated constraints aren't met.

func (ListServerComponentReply_Item_DependItemMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListServerComponentReply_Item_DependItemMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListServerComponentReply_Item_DependItemValidationError

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

ListServerComponentReply_Item_DependItemValidationError is the validation error returned by ListServerComponentReply_Item_DependItem.Validate if the designated constraints aren't met.

func (ListServerComponentReply_Item_DependItemValidationError) Cause

Cause function returns cause value.

func (ListServerComponentReply_Item_DependItemValidationError) Error

Error satisfies the builtin error interface

func (ListServerComponentReply_Item_DependItemValidationError) ErrorName

ErrorName returns error name.

func (ListServerComponentReply_Item_DependItemValidationError) Field

Field function returns field value.

func (ListServerComponentReply_Item_DependItemValidationError) Key

Key function returns key value.

func (ListServerComponentReply_Item_DependItemValidationError) Reason

Reason function returns reason value.

type ListServerComponentRequest

type ListServerComponentRequest struct {
	ServerID int64 `protobuf:"varint,1,opt,name=serverID,proto3" json:"serverID,omitempty"`
	// contains filtered or unexported fields
}

func (*ListServerComponentRequest) Descriptor deprecated

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

Deprecated: Use ListServerComponentRequest.ProtoReflect.Descriptor instead.

func (*ListServerComponentRequest) GetServerID

func (x *ListServerComponentRequest) GetServerID() int64

func (*ListServerComponentRequest) ProtoMessage

func (*ListServerComponentRequest) ProtoMessage()

func (*ListServerComponentRequest) ProtoReflect

func (*ListServerComponentRequest) Reset

func (x *ListServerComponentRequest) Reset()

func (*ListServerComponentRequest) String

func (x *ListServerComponentRequest) String() string

func (*ListServerComponentRequest) Validate

func (m *ListServerComponentRequest) Validate() error

Validate checks the field values on ListServerComponentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListServerComponentRequest) ValidateAll

func (m *ListServerComponentRequest) ValidateAll() error

ValidateAll checks the field values on ListServerComponentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListServerComponentRequestMultiError, or nil if none found.

type ListServerComponentRequestMultiError

type ListServerComponentRequestMultiError []error

ListServerComponentRequestMultiError is an error wrapping multiple validation errors returned by ListServerComponentRequest.ValidateAll() if the designated constraints aren't met.

func (ListServerComponentRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListServerComponentRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListServerComponentRequestValidationError

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

ListServerComponentRequestValidationError is the validation error returned by ListServerComponentRequest.Validate if the designated constraints aren't met.

func (ListServerComponentRequestValidationError) Cause

Cause function returns cause value.

func (ListServerComponentRequestValidationError) Error

Error satisfies the builtin error interface

func (ListServerComponentRequestValidationError) ErrorName

ErrorName returns error name.

func (ListServerComponentRequestValidationError) Field

Field function returns field value.

func (ListServerComponentRequestValidationError) Key

Key function returns key value.

func (ListServerComponentRequestValidationError) Reason

Reason function returns reason value.

type ListServerReply

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

func (*ListServerReply) Descriptor deprecated

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

Deprecated: Use ListServerReply.ProtoReflect.Descriptor instead.

func (*ListServerReply) GetList

func (x *ListServerReply) GetList() []*GetServerReply

func (*ListServerReply) ProtoMessage

func (*ListServerReply) ProtoMessage()

func (*ListServerReply) ProtoReflect

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

func (*ListServerReply) Reset

func (x *ListServerReply) Reset()

func (*ListServerReply) String

func (x *ListServerReply) String() string

func (*ListServerReply) Validate

func (m *ListServerReply) Validate() error

Validate checks the field values on ListServerReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListServerReply) ValidateAll

func (m *ListServerReply) ValidateAll() error

ValidateAll checks the field values on ListServerReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListServerReplyMultiError, or nil if none found.

type ListServerReplyMultiError

type ListServerReplyMultiError []error

ListServerReplyMultiError is an error wrapping multiple validation errors returned by ListServerReply.ValidateAll() if the designated constraints aren't met.

func (ListServerReplyMultiError) AllErrors

func (m ListServerReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListServerReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListServerReplyValidationError

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

ListServerReplyValidationError is the validation error returned by ListServerReply.Validate if the designated constraints aren't met.

func (ListServerReplyValidationError) Cause

Cause function returns cause value.

func (ListServerReplyValidationError) Error

Error satisfies the builtin error interface

func (ListServerReplyValidationError) ErrorName

func (e ListServerReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListServerReplyValidationError) Field

Field function returns field value.

func (ListServerReplyValidationError) Key

Key function returns key value.

func (ListServerReplyValidationError) Reason

Reason function returns reason value.

type ListServerRequest

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

func (*ListServerRequest) Descriptor deprecated

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

Deprecated: Use ListServerRequest.ProtoReflect.Descriptor instead.

func (*ListServerRequest) ProtoMessage

func (*ListServerRequest) ProtoMessage()

func (*ListServerRequest) ProtoReflect

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

func (*ListServerRequest) Reset

func (x *ListServerRequest) Reset()

func (*ListServerRequest) String

func (x *ListServerRequest) String() string

func (*ListServerRequest) Validate

func (m *ListServerRequest) Validate() error

Validate checks the field values on ListServerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListServerRequest) ValidateAll

func (m *ListServerRequest) ValidateAll() error

ValidateAll checks the field values on ListServerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListServerRequestMultiError, or nil if none found.

type ListServerRequestMultiError

type ListServerRequestMultiError []error

ListServerRequestMultiError is an error wrapping multiple validation errors returned by ListServerRequest.ValidateAll() if the designated constraints aren't met.

func (ListServerRequestMultiError) AllErrors

func (m ListServerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListServerRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListServerRequestValidationError

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

ListServerRequestValidationError is the validation error returned by ListServerRequest.Validate if the designated constraints aren't met.

func (ListServerRequestValidationError) Cause

Cause function returns cause value.

func (ListServerRequestValidationError) Error

Error satisfies the builtin error interface

func (ListServerRequestValidationError) ErrorName

ErrorName returns error name.

func (ListServerRequestValidationError) Field

Field function returns field value.

func (ListServerRequestValidationError) Key

Key function returns key value.

func (ListServerRequestValidationError) Reason

Reason function returns reason value.

type LsItem

type LsItem struct {
	Name           string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type           int32  `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
	LastUpdateTime string `protobuf:"bytes,3,opt,name=lastUpdateTime,proto3" json:"lastUpdateTime,omitempty"`
	Size           string `protobuf:"bytes,4,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*LsItem) Descriptor deprecated

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

Deprecated: Use LsItem.ProtoReflect.Descriptor instead.

func (*LsItem) GetLastUpdateTime

func (x *LsItem) GetLastUpdateTime() string

func (*LsItem) GetName

func (x *LsItem) GetName() string

func (*LsItem) GetSize

func (x *LsItem) GetSize() string

func (*LsItem) GetType

func (x *LsItem) GetType() int32

func (*LsItem) ProtoMessage

func (*LsItem) ProtoMessage()

func (*LsItem) ProtoReflect

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

func (*LsItem) Reset

func (x *LsItem) Reset()

func (*LsItem) String

func (x *LsItem) String() string

func (*LsItem) Validate

func (m *LsItem) Validate() error

Validate checks the field values on LsItem with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LsItem) ValidateAll

func (m *LsItem) ValidateAll() error

ValidateAll checks the field values on LsItem with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LsItemMultiError, or nil if none found.

type LsItemMultiError

type LsItemMultiError []error

LsItemMultiError is an error wrapping multiple validation errors returned by LsItem.ValidateAll() if the designated constraints aren't met.

func (LsItemMultiError) AllErrors

func (m LsItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LsItemMultiError) Error

func (m LsItemMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LsItemValidationError

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

LsItemValidationError is the validation error returned by LsItem.Validate if the designated constraints aren't met.

func (LsItemValidationError) Cause

func (e LsItemValidationError) Cause() error

Cause function returns cause value.

func (LsItemValidationError) Error

func (e LsItemValidationError) Error() string

Error satisfies the builtin error interface

func (LsItemValidationError) ErrorName

func (e LsItemValidationError) ErrorName() string

ErrorName returns error name.

func (LsItemValidationError) Field

func (e LsItemValidationError) Field() string

Field function returns field value.

func (LsItemValidationError) Key

func (e LsItemValidationError) Key() bool

Key function returns key value.

func (LsItemValidationError) Reason

func (e LsItemValidationError) Reason() string

Reason function returns reason value.

type RestartServerComponentRequest

type RestartServerComponentRequest struct {
	ServerID      int64  `protobuf:"varint,1,opt,name=serverID,proto3" json:"serverID,omitempty"`
	ComponentCode string `protobuf:"bytes,2,opt,name=componentCode,proto3" json:"componentCode,omitempty"`
	// contains filtered or unexported fields
}

func (*RestartServerComponentRequest) Descriptor deprecated

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

Deprecated: Use RestartServerComponentRequest.ProtoReflect.Descriptor instead.

func (*RestartServerComponentRequest) GetComponentCode

func (x *RestartServerComponentRequest) GetComponentCode() string

func (*RestartServerComponentRequest) GetServerID

func (x *RestartServerComponentRequest) GetServerID() int64

func (*RestartServerComponentRequest) ProtoMessage

func (*RestartServerComponentRequest) ProtoMessage()

func (*RestartServerComponentRequest) ProtoReflect

func (*RestartServerComponentRequest) Reset

func (x *RestartServerComponentRequest) Reset()

func (*RestartServerComponentRequest) String

func (*RestartServerComponentRequest) Validate

func (m *RestartServerComponentRequest) Validate() error

Validate checks the field values on RestartServerComponentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RestartServerComponentRequest) ValidateAll

func (m *RestartServerComponentRequest) ValidateAll() error

ValidateAll checks the field values on RestartServerComponentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RestartServerComponentRequestMultiError, or nil if none found.

type RestartServerComponentRequestMultiError

type RestartServerComponentRequestMultiError []error

RestartServerComponentRequestMultiError is an error wrapping multiple validation errors returned by RestartServerComponentRequest.ValidateAll() if the designated constraints aren't met.

func (RestartServerComponentRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RestartServerComponentRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RestartServerComponentRequestValidationError

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

RestartServerComponentRequestValidationError is the validation error returned by RestartServerComponentRequest.Validate if the designated constraints aren't met.

func (RestartServerComponentRequestValidationError) Cause

Cause function returns cause value.

func (RestartServerComponentRequestValidationError) Error

Error satisfies the builtin error interface

func (RestartServerComponentRequestValidationError) ErrorName

ErrorName returns error name.

func (RestartServerComponentRequestValidationError) Field

Field function returns field value.

func (RestartServerComponentRequestValidationError) Key

Key function returns key value.

func (RestartServerComponentRequestValidationError) Reason

Reason function returns reason value.

type ServerClient

type ServerClient interface {
	ListServer(ctx context.Context, in *ListServerRequest, opts ...grpc.CallOption) (*ListServerReply, error)
	CreateServer(ctx context.Context, in *CreateServerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	UpdateServer(ctx context.Context, in *UpdateServerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListServerComponent(ctx context.Context, in *ListServerComponentRequest, opts ...grpc.CallOption) (*ListServerComponentReply, error)
	InstallServerComponent(ctx context.Context, in *InstallServerComponentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	StartServerComponent(ctx context.Context, in *StartServerComponentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	StopServerComponent(ctx context.Context, in *StopServerComponentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	RestartServerComponent(ctx context.Context, in *StopServerComponentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListServerDirs(ctx context.Context, in *ListDirReq, opts ...grpc.CallOption) (*ListDirRes, error)
	UploadServerFile(ctx context.Context, in *UploadFileReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CreatDir(ctx context.Context, in *CreateDirReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetNginxData(ctx context.Context, in *GetNginxDataReq, opts ...grpc.CallOption) (*GetNginxDataRes, error)
	UpdateNginxData(ctx context.Context, in *UpdateNginxDataReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	UninstallSystemComponent(ctx context.Context, in *SystemComponentUninstall, opts ...grpc.CallOption) (*emptypb.Empty, error)
	UFWStatus(ctx context.Context, in *UFWReq, opts ...grpc.CallOption) (*UFWRes, error)
	ListBackup(ctx context.Context, in *ListBackupInfoReq, opts ...grpc.CallOption) (*ListBackupInfoRes, error)
	InstallServerComponentExist(ctx context.Context, in *InstallExistedServerComponentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

ServerClient is the client API for Server service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewServerClient

func NewServerClient(cc grpc.ClientConnInterface) ServerClient

type ServerHTTPClient

type ServerHTTPClient interface {
	CreatDir(ctx context.Context, req *CreateDirReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	CreateServer(ctx context.Context, req *CreateServerRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	GetNginxData(ctx context.Context, req *GetNginxDataReq, opts ...http.CallOption) (rsp *GetNginxDataRes, err error)
	InstallServerComponent(ctx context.Context, req *InstallServerComponentRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	InstallServerComponentExist(ctx context.Context, req *InstallExistedServerComponentRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	ListBackup(ctx context.Context, req *ListBackupInfoReq, opts ...http.CallOption) (rsp *ListBackupInfoRes, err error)
	ListServer(ctx context.Context, req *ListServerRequest, opts ...http.CallOption) (rsp *ListServerReply, err error)
	ListServerComponent(ctx context.Context, req *ListServerComponentRequest, opts ...http.CallOption) (rsp *ListServerComponentReply, err error)
	ListServerDirs(ctx context.Context, req *ListDirReq, opts ...http.CallOption) (rsp *ListDirRes, err error)
	RestartServerComponent(ctx context.Context, req *StopServerComponentRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	StartServerComponent(ctx context.Context, req *StartServerComponentRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	StopServerComponent(ctx context.Context, req *StopServerComponentRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	UFWStatus(ctx context.Context, req *UFWReq, opts ...http.CallOption) (rsp *UFWRes, err error)
	UninstallSystemComponent(ctx context.Context, req *SystemComponentUninstall, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	UpdateNginxData(ctx context.Context, req *UpdateNginxDataReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	UpdateServer(ctx context.Context, req *UpdateServerRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	UploadServerFile(ctx context.Context, req *UploadFileReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
}

func NewServerHTTPClient

func NewServerHTTPClient(client *http.Client) ServerHTTPClient

type ServerHTTPClientImpl

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

func (*ServerHTTPClientImpl) CreatDir

func (c *ServerHTTPClientImpl) CreatDir(ctx context.Context, in *CreateDirReq, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServerHTTPClientImpl) CreateServer

func (c *ServerHTTPClientImpl) CreateServer(ctx context.Context, in *CreateServerRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServerHTTPClientImpl) GetNginxData

func (*ServerHTTPClientImpl) InstallServerComponent

func (c *ServerHTTPClientImpl) InstallServerComponent(ctx context.Context, in *InstallServerComponentRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServerHTTPClientImpl) InstallServerComponentExist

func (c *ServerHTTPClientImpl) InstallServerComponentExist(ctx context.Context, in *InstallExistedServerComponentRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServerHTTPClientImpl) ListBackup

func (*ServerHTTPClientImpl) ListServer

func (*ServerHTTPClientImpl) ListServerComponent

func (*ServerHTTPClientImpl) ListServerDirs

func (c *ServerHTTPClientImpl) ListServerDirs(ctx context.Context, in *ListDirReq, opts ...http.CallOption) (*ListDirRes, error)

func (*ServerHTTPClientImpl) RestartServerComponent

func (c *ServerHTTPClientImpl) RestartServerComponent(ctx context.Context, in *StopServerComponentRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServerHTTPClientImpl) StartServerComponent

func (c *ServerHTTPClientImpl) StartServerComponent(ctx context.Context, in *StartServerComponentRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServerHTTPClientImpl) StopServerComponent

func (c *ServerHTTPClientImpl) StopServerComponent(ctx context.Context, in *StopServerComponentRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServerHTTPClientImpl) UFWStatus

func (c *ServerHTTPClientImpl) UFWStatus(ctx context.Context, in *UFWReq, opts ...http.CallOption) (*UFWRes, error)

func (*ServerHTTPClientImpl) UninstallSystemComponent

func (c *ServerHTTPClientImpl) UninstallSystemComponent(ctx context.Context, in *SystemComponentUninstall, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServerHTTPClientImpl) UpdateNginxData

func (c *ServerHTTPClientImpl) UpdateNginxData(ctx context.Context, in *UpdateNginxDataReq, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServerHTTPClientImpl) UpdateServer

func (c *ServerHTTPClientImpl) UpdateServer(ctx context.Context, in *UpdateServerRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServerHTTPClientImpl) UploadServerFile

func (c *ServerHTTPClientImpl) UploadServerFile(ctx context.Context, in *UploadFileReq, opts ...http.CallOption) (*emptypb.Empty, error)

type ServerServer

ServerServer is the server API for Server service. All implementations must embed UnimplementedServerServer for forward compatibility

type StartServerComponentRequest

type StartServerComponentRequest struct {
	ServerID      int64  `protobuf:"varint,1,opt,name=serverID,proto3" json:"serverID,omitempty"`
	ComponentCode string `protobuf:"bytes,2,opt,name=componentCode,proto3" json:"componentCode,omitempty"`
	// contains filtered or unexported fields
}

func (*StartServerComponentRequest) Descriptor deprecated

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

Deprecated: Use StartServerComponentRequest.ProtoReflect.Descriptor instead.

func (*StartServerComponentRequest) GetComponentCode

func (x *StartServerComponentRequest) GetComponentCode() string

func (*StartServerComponentRequest) GetServerID

func (x *StartServerComponentRequest) GetServerID() int64

func (*StartServerComponentRequest) ProtoMessage

func (*StartServerComponentRequest) ProtoMessage()

func (*StartServerComponentRequest) ProtoReflect

func (*StartServerComponentRequest) Reset

func (x *StartServerComponentRequest) Reset()

func (*StartServerComponentRequest) String

func (x *StartServerComponentRequest) String() string

func (*StartServerComponentRequest) Validate

func (m *StartServerComponentRequest) Validate() error

Validate checks the field values on StartServerComponentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StartServerComponentRequest) ValidateAll

func (m *StartServerComponentRequest) ValidateAll() error

ValidateAll checks the field values on StartServerComponentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StartServerComponentRequestMultiError, or nil if none found.

type StartServerComponentRequestMultiError

type StartServerComponentRequestMultiError []error

StartServerComponentRequestMultiError is an error wrapping multiple validation errors returned by StartServerComponentRequest.ValidateAll() if the designated constraints aren't met.

func (StartServerComponentRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (StartServerComponentRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StartServerComponentRequestValidationError

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

StartServerComponentRequestValidationError is the validation error returned by StartServerComponentRequest.Validate if the designated constraints aren't met.

func (StartServerComponentRequestValidationError) Cause

Cause function returns cause value.

func (StartServerComponentRequestValidationError) Error

Error satisfies the builtin error interface

func (StartServerComponentRequestValidationError) ErrorName

ErrorName returns error name.

func (StartServerComponentRequestValidationError) Field

Field function returns field value.

func (StartServerComponentRequestValidationError) Key

Key function returns key value.

func (StartServerComponentRequestValidationError) Reason

Reason function returns reason value.

type StopServerComponentRequest

type StopServerComponentRequest struct {
	ServerID      int64  `protobuf:"varint,1,opt,name=serverID,proto3" json:"serverID,omitempty"`
	ComponentCode string `protobuf:"bytes,2,opt,name=componentCode,proto3" json:"componentCode,omitempty"`
	// contains filtered or unexported fields
}

func (*StopServerComponentRequest) Descriptor deprecated

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

Deprecated: Use StopServerComponentRequest.ProtoReflect.Descriptor instead.

func (*StopServerComponentRequest) GetComponentCode

func (x *StopServerComponentRequest) GetComponentCode() string

func (*StopServerComponentRequest) GetServerID

func (x *StopServerComponentRequest) GetServerID() int64

func (*StopServerComponentRequest) ProtoMessage

func (*StopServerComponentRequest) ProtoMessage()

func (*StopServerComponentRequest) ProtoReflect

func (*StopServerComponentRequest) Reset

func (x *StopServerComponentRequest) Reset()

func (*StopServerComponentRequest) String

func (x *StopServerComponentRequest) String() string

func (*StopServerComponentRequest) Validate

func (m *StopServerComponentRequest) Validate() error

Validate checks the field values on StopServerComponentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StopServerComponentRequest) ValidateAll

func (m *StopServerComponentRequest) ValidateAll() error

ValidateAll checks the field values on StopServerComponentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StopServerComponentRequestMultiError, or nil if none found.

type StopServerComponentRequestMultiError

type StopServerComponentRequestMultiError []error

StopServerComponentRequestMultiError is an error wrapping multiple validation errors returned by StopServerComponentRequest.ValidateAll() if the designated constraints aren't met.

func (StopServerComponentRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (StopServerComponentRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StopServerComponentRequestValidationError

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

StopServerComponentRequestValidationError is the validation error returned by StopServerComponentRequest.Validate if the designated constraints aren't met.

func (StopServerComponentRequestValidationError) Cause

Cause function returns cause value.

func (StopServerComponentRequestValidationError) Error

Error satisfies the builtin error interface

func (StopServerComponentRequestValidationError) ErrorName

ErrorName returns error name.

func (StopServerComponentRequestValidationError) Field

Field function returns field value.

func (StopServerComponentRequestValidationError) Key

Key function returns key value.

func (StopServerComponentRequestValidationError) Reason

Reason function returns reason value.

type SystemComponentUninstall

type SystemComponentUninstall struct {
	ServerID int64  `protobuf:"varint,1,opt,name=serverID,proto3" json:"serverID,omitempty"`
	Code     string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*SystemComponentUninstall) Descriptor deprecated

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

Deprecated: Use SystemComponentUninstall.ProtoReflect.Descriptor instead.

func (*SystemComponentUninstall) GetCode

func (x *SystemComponentUninstall) GetCode() string

func (*SystemComponentUninstall) GetServerID

func (x *SystemComponentUninstall) GetServerID() int64

func (*SystemComponentUninstall) ProtoMessage

func (*SystemComponentUninstall) ProtoMessage()

func (*SystemComponentUninstall) ProtoReflect

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

func (*SystemComponentUninstall) Reset

func (x *SystemComponentUninstall) Reset()

func (*SystemComponentUninstall) String

func (x *SystemComponentUninstall) String() string

func (*SystemComponentUninstall) Validate

func (m *SystemComponentUninstall) Validate() error

Validate checks the field values on SystemComponentUninstall with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SystemComponentUninstall) ValidateAll

func (m *SystemComponentUninstall) ValidateAll() error

ValidateAll checks the field values on SystemComponentUninstall with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SystemComponentUninstallMultiError, or nil if none found.

type SystemComponentUninstallMultiError

type SystemComponentUninstallMultiError []error

SystemComponentUninstallMultiError is an error wrapping multiple validation errors returned by SystemComponentUninstall.ValidateAll() if the designated constraints aren't met.

func (SystemComponentUninstallMultiError) AllErrors

func (m SystemComponentUninstallMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SystemComponentUninstallMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SystemComponentUninstallValidationError

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

SystemComponentUninstallValidationError is the validation error returned by SystemComponentUninstall.Validate if the designated constraints aren't met.

func (SystemComponentUninstallValidationError) Cause

Cause function returns cause value.

func (SystemComponentUninstallValidationError) Error

Error satisfies the builtin error interface

func (SystemComponentUninstallValidationError) ErrorName

ErrorName returns error name.

func (SystemComponentUninstallValidationError) Field

Field function returns field value.

func (SystemComponentUninstallValidationError) Key

Key function returns key value.

func (SystemComponentUninstallValidationError) Reason

Reason function returns reason value.

type UFWReq

type UFWReq struct {
	ServerID int64 `protobuf:"varint,1,opt,name=serverID,proto3" json:"serverID,omitempty"`
	// contains filtered or unexported fields
}

func (*UFWReq) Descriptor deprecated

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

Deprecated: Use UFWReq.ProtoReflect.Descriptor instead.

func (*UFWReq) GetServerID

func (x *UFWReq) GetServerID() int64

func (*UFWReq) ProtoMessage

func (*UFWReq) ProtoMessage()

func (*UFWReq) ProtoReflect

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

func (*UFWReq) Reset

func (x *UFWReq) Reset()

func (*UFWReq) String

func (x *UFWReq) String() string

func (*UFWReq) Validate

func (m *UFWReq) Validate() error

Validate checks the field values on UFWReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UFWReq) ValidateAll

func (m *UFWReq) ValidateAll() error

ValidateAll checks the field values on UFWReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UFWReqMultiError, or nil if none found.

type UFWReqMultiError

type UFWReqMultiError []error

UFWReqMultiError is an error wrapping multiple validation errors returned by UFWReq.ValidateAll() if the designated constraints aren't met.

func (UFWReqMultiError) AllErrors

func (m UFWReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UFWReqMultiError) Error

func (m UFWReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UFWReqValidationError

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

UFWReqValidationError is the validation error returned by UFWReq.Validate if the designated constraints aren't met.

func (UFWReqValidationError) Cause

func (e UFWReqValidationError) Cause() error

Cause function returns cause value.

func (UFWReqValidationError) Error

func (e UFWReqValidationError) Error() string

Error satisfies the builtin error interface

func (UFWReqValidationError) ErrorName

func (e UFWReqValidationError) ErrorName() string

ErrorName returns error name.

func (UFWReqValidationError) Field

func (e UFWReqValidationError) Field() string

Field function returns field value.

func (UFWReqValidationError) Key

func (e UFWReqValidationError) Key() bool

Key function returns key value.

func (UFWReqValidationError) Reason

func (e UFWReqValidationError) Reason() string

Reason function returns reason value.

type UFWRes

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

func (*UFWRes) Descriptor deprecated

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

Deprecated: Use UFWRes.ProtoReflect.Descriptor instead.

func (*UFWRes) GetStatus

func (x *UFWRes) GetStatus() string

func (*UFWRes) ProtoMessage

func (*UFWRes) ProtoMessage()

func (*UFWRes) ProtoReflect

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

func (*UFWRes) Reset

func (x *UFWRes) Reset()

func (*UFWRes) String

func (x *UFWRes) String() string

func (*UFWRes) Validate

func (m *UFWRes) Validate() error

Validate checks the field values on UFWRes with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UFWRes) ValidateAll

func (m *UFWRes) ValidateAll() error

ValidateAll checks the field values on UFWRes with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UFWResMultiError, or nil if none found.

type UFWResMultiError

type UFWResMultiError []error

UFWResMultiError is an error wrapping multiple validation errors returned by UFWRes.ValidateAll() if the designated constraints aren't met.

func (UFWResMultiError) AllErrors

func (m UFWResMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UFWResMultiError) Error

func (m UFWResMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UFWResValidationError

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

UFWResValidationError is the validation error returned by UFWRes.Validate if the designated constraints aren't met.

func (UFWResValidationError) Cause

func (e UFWResValidationError) Cause() error

Cause function returns cause value.

func (UFWResValidationError) Error

func (e UFWResValidationError) Error() string

Error satisfies the builtin error interface

func (UFWResValidationError) ErrorName

func (e UFWResValidationError) ErrorName() string

ErrorName returns error name.

func (UFWResValidationError) Field

func (e UFWResValidationError) Field() string

Field function returns field value.

func (UFWResValidationError) Key

func (e UFWResValidationError) Key() bool

Key function returns key value.

func (UFWResValidationError) Reason

func (e UFWResValidationError) Reason() string

Reason function returns reason value.

type UnimplementedServerServer

type UnimplementedServerServer struct {
}

UnimplementedServerServer must be embedded to have forward compatible implementations.

func (UnimplementedServerServer) CreatDir

func (UnimplementedServerServer) CreateServer

func (UnimplementedServerServer) GetNginxData

func (UnimplementedServerServer) InstallServerComponent

func (UnimplementedServerServer) InstallServerComponentExist

func (UnimplementedServerServer) ListBackup

func (UnimplementedServerServer) ListServer

func (UnimplementedServerServer) ListServerDirs

func (UnimplementedServerServer) RestartServerComponent

func (UnimplementedServerServer) StartServerComponent

func (UnimplementedServerServer) StopServerComponent

func (UnimplementedServerServer) UFWStatus

func (UnimplementedServerServer) UninstallSystemComponent

func (UnimplementedServerServer) UpdateNginxData

func (UnimplementedServerServer) UpdateServer

func (UnimplementedServerServer) UploadServerFile

type UnsafeServerServer

type UnsafeServerServer interface {
	// contains filtered or unexported methods
}

UnsafeServerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServerServer will result in compilation errors.

type UpdateNginxDataReq

type UpdateNginxDataReq struct {
	ServerID int64  `protobuf:"varint,1,opt,name=serverID,proto3" json:"serverID,omitempty"`
	ConfText string `protobuf:"bytes,2,opt,name=confText,proto3" json:"confText,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNginxDataReq) Descriptor deprecated

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

Deprecated: Use UpdateNginxDataReq.ProtoReflect.Descriptor instead.

func (*UpdateNginxDataReq) GetConfText

func (x *UpdateNginxDataReq) GetConfText() string

func (*UpdateNginxDataReq) GetServerID

func (x *UpdateNginxDataReq) GetServerID() int64

func (*UpdateNginxDataReq) ProtoMessage

func (*UpdateNginxDataReq) ProtoMessage()

func (*UpdateNginxDataReq) ProtoReflect

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

func (*UpdateNginxDataReq) Reset

func (x *UpdateNginxDataReq) Reset()

func (*UpdateNginxDataReq) String

func (x *UpdateNginxDataReq) String() string

func (*UpdateNginxDataReq) Validate

func (m *UpdateNginxDataReq) Validate() error

Validate checks the field values on UpdateNginxDataReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateNginxDataReq) ValidateAll

func (m *UpdateNginxDataReq) ValidateAll() error

ValidateAll checks the field values on UpdateNginxDataReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateNginxDataReqMultiError, or nil if none found.

type UpdateNginxDataReqMultiError

type UpdateNginxDataReqMultiError []error

UpdateNginxDataReqMultiError is an error wrapping multiple validation errors returned by UpdateNginxDataReq.ValidateAll() if the designated constraints aren't met.

func (UpdateNginxDataReqMultiError) AllErrors

func (m UpdateNginxDataReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateNginxDataReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateNginxDataReqValidationError

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

UpdateNginxDataReqValidationError is the validation error returned by UpdateNginxDataReq.Validate if the designated constraints aren't met.

func (UpdateNginxDataReqValidationError) Cause

Cause function returns cause value.

func (UpdateNginxDataReqValidationError) Error

Error satisfies the builtin error interface

func (UpdateNginxDataReqValidationError) ErrorName

ErrorName returns error name.

func (UpdateNginxDataReqValidationError) Field

Field function returns field value.

func (UpdateNginxDataReqValidationError) Key

Key function returns key value.

func (UpdateNginxDataReqValidationError) Reason

Reason function returns reason value.

type UpdateServerRequest

type UpdateServerRequest struct {
	Id       int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Ip       string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	Desc     string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	Port     int32  `protobuf:"varint,6,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateServerRequest) Descriptor deprecated

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

Deprecated: Use UpdateServerRequest.ProtoReflect.Descriptor instead.

func (*UpdateServerRequest) GetDesc

func (x *UpdateServerRequest) GetDesc() string

func (*UpdateServerRequest) GetId

func (x *UpdateServerRequest) GetId() int64

func (*UpdateServerRequest) GetIp

func (x *UpdateServerRequest) GetIp() string

func (*UpdateServerRequest) GetPassword

func (x *UpdateServerRequest) GetPassword() string

func (*UpdateServerRequest) GetPort

func (x *UpdateServerRequest) GetPort() int32

func (*UpdateServerRequest) GetUsername

func (x *UpdateServerRequest) GetUsername() string

func (*UpdateServerRequest) ProtoMessage

func (*UpdateServerRequest) ProtoMessage()

func (*UpdateServerRequest) ProtoReflect

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

func (*UpdateServerRequest) Reset

func (x *UpdateServerRequest) Reset()

func (*UpdateServerRequest) String

func (x *UpdateServerRequest) String() string

func (*UpdateServerRequest) Validate

func (m *UpdateServerRequest) Validate() error

Validate checks the field values on UpdateServerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateServerRequest) ValidateAll

func (m *UpdateServerRequest) ValidateAll() error

ValidateAll checks the field values on UpdateServerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateServerRequestMultiError, or nil if none found.

type UpdateServerRequestMultiError

type UpdateServerRequestMultiError []error

UpdateServerRequestMultiError is an error wrapping multiple validation errors returned by UpdateServerRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateServerRequestMultiError) AllErrors

func (m UpdateServerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateServerRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateServerRequestValidationError

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

UpdateServerRequestValidationError is the validation error returned by UpdateServerRequest.Validate if the designated constraints aren't met.

func (UpdateServerRequestValidationError) Cause

Cause function returns cause value.

func (UpdateServerRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateServerRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateServerRequestValidationError) Field

Field function returns field value.

func (UpdateServerRequestValidationError) Key

Key function returns key value.

func (UpdateServerRequestValidationError) Reason

Reason function returns reason value.

type UploadFileReq

type UploadFileReq struct {
	ServerID      int64  `protobuf:"varint,1,opt,name=serverID,proto3" json:"serverID,omitempty"`
	LocalFileName string `protobuf:"bytes,2,opt,name=localFileName,proto3" json:"localFileName,omitempty"`
	RemoteDirPath string `protobuf:"bytes,3,opt,name=remoteDirPath,proto3" json:"remoteDirPath,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadFileReq) Descriptor deprecated

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

Deprecated: Use UploadFileReq.ProtoReflect.Descriptor instead.

func (*UploadFileReq) GetLocalFileName

func (x *UploadFileReq) GetLocalFileName() string

func (*UploadFileReq) GetRemoteDirPath

func (x *UploadFileReq) GetRemoteDirPath() string

func (*UploadFileReq) GetServerID

func (x *UploadFileReq) GetServerID() int64

func (*UploadFileReq) ProtoMessage

func (*UploadFileReq) ProtoMessage()

func (*UploadFileReq) ProtoReflect

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

func (*UploadFileReq) Reset

func (x *UploadFileReq) Reset()

func (*UploadFileReq) String

func (x *UploadFileReq) String() string

func (*UploadFileReq) Validate

func (m *UploadFileReq) Validate() error

Validate checks the field values on UploadFileReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UploadFileReq) ValidateAll

func (m *UploadFileReq) ValidateAll() error

ValidateAll checks the field values on UploadFileReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadFileReqMultiError, or nil if none found.

type UploadFileReqMultiError

type UploadFileReqMultiError []error

UploadFileReqMultiError is an error wrapping multiple validation errors returned by UploadFileReq.ValidateAll() if the designated constraints aren't met.

func (UploadFileReqMultiError) AllErrors

func (m UploadFileReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UploadFileReqMultiError) Error

func (m UploadFileReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UploadFileReqValidationError

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

UploadFileReqValidationError is the validation error returned by UploadFileReq.Validate if the designated constraints aren't met.

func (UploadFileReqValidationError) Cause

Cause function returns cause value.

func (UploadFileReqValidationError) Error

Error satisfies the builtin error interface

func (UploadFileReqValidationError) ErrorName

func (e UploadFileReqValidationError) ErrorName() string

ErrorName returns error name.

func (UploadFileReqValidationError) Field

Field function returns field value.

func (UploadFileReqValidationError) Key

Key function returns key value.

func (UploadFileReqValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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