Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterServerHTTPServer(s *http.Server, srv ServerHTTPServer)
- func RegisterServerServer(s grpc.ServiceRegistrar, srv ServerServer)
- type ComponentsParameter
- func (*ComponentsParameter) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentsParameter) GetParameterName() string
- func (x *ComponentsParameter) GetParameterType() int32
- func (x *ComponentsParameter) GetParameterValue() string
- func (*ComponentsParameter) ProtoMessage()
- func (x *ComponentsParameter) ProtoReflect() protoreflect.Message
- func (x *ComponentsParameter) Reset()
- func (x *ComponentsParameter) String() string
- func (m *ComponentsParameter) Validate() error
- func (m *ComponentsParameter) ValidateAll() error
- type ComponentsParameterDesc
- func (*ComponentsParameterDesc) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentsParameterDesc) GetParameterName() string
- func (x *ComponentsParameterDesc) GetParameterType() int32
- func (x *ComponentsParameterDesc) GetParameterValue() string
- func (*ComponentsParameterDesc) ProtoMessage()
- func (x *ComponentsParameterDesc) ProtoReflect() protoreflect.Message
- func (x *ComponentsParameterDesc) Reset()
- func (x *ComponentsParameterDesc) String() string
- func (m *ComponentsParameterDesc) Validate() error
- func (m *ComponentsParameterDesc) ValidateAll() error
- type ComponentsParameterDescMultiError
- type ComponentsParameterDescValidationError
- func (e ComponentsParameterDescValidationError) Cause() error
- func (e ComponentsParameterDescValidationError) Error() string
- func (e ComponentsParameterDescValidationError) ErrorName() string
- func (e ComponentsParameterDescValidationError) Field() string
- func (e ComponentsParameterDescValidationError) Key() bool
- func (e ComponentsParameterDescValidationError) Reason() string
- type ComponentsParameterMultiError
- type ComponentsParameterValidationError
- func (e ComponentsParameterValidationError) Cause() error
- func (e ComponentsParameterValidationError) Error() string
- func (e ComponentsParameterValidationError) ErrorName() string
- func (e ComponentsParameterValidationError) Field() string
- func (e ComponentsParameterValidationError) Key() bool
- func (e ComponentsParameterValidationError) Reason() string
- type CreateDirReq
- func (*CreateDirReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDirReq) GetPath() string
- func (x *CreateDirReq) GetServerID() int64
- func (*CreateDirReq) ProtoMessage()
- func (x *CreateDirReq) ProtoReflect() protoreflect.Message
- func (x *CreateDirReq) Reset()
- func (x *CreateDirReq) String() string
- func (m *CreateDirReq) Validate() error
- func (m *CreateDirReq) ValidateAll() error
- type CreateDirReqMultiError
- type CreateDirReqValidationError
- func (e CreateDirReqValidationError) Cause() error
- func (e CreateDirReqValidationError) Error() string
- func (e CreateDirReqValidationError) ErrorName() string
- func (e CreateDirReqValidationError) Field() string
- func (e CreateDirReqValidationError) Key() bool
- func (e CreateDirReqValidationError) Reason() string
- type CreateServerRequest
- func (*CreateServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateServerRequest) GetDesc() string
- func (x *CreateServerRequest) GetIp() string
- func (x *CreateServerRequest) GetPassword() string
- func (x *CreateServerRequest) GetPort() int32
- func (x *CreateServerRequest) GetUsername() string
- func (*CreateServerRequest) ProtoMessage()
- func (x *CreateServerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateServerRequest) Reset()
- func (x *CreateServerRequest) String() string
- func (m *CreateServerRequest) Validate() error
- func (m *CreateServerRequest) ValidateAll() error
- type CreateServerRequestMultiError
- type CreateServerRequestValidationError
- func (e CreateServerRequestValidationError) Cause() error
- func (e CreateServerRequestValidationError) Error() string
- func (e CreateServerRequestValidationError) ErrorName() string
- func (e CreateServerRequestValidationError) Field() string
- func (e CreateServerRequestValidationError) Key() bool
- func (e CreateServerRequestValidationError) Reason() string
- type GetNginxDataReq
- func (*GetNginxDataReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetNginxDataReq) GetServerID() int64
- func (*GetNginxDataReq) ProtoMessage()
- func (x *GetNginxDataReq) ProtoReflect() protoreflect.Message
- func (x *GetNginxDataReq) Reset()
- func (x *GetNginxDataReq) String() string
- func (m *GetNginxDataReq) Validate() error
- func (m *GetNginxDataReq) ValidateAll() error
- type GetNginxDataReqMultiError
- type GetNginxDataReqValidationError
- func (e GetNginxDataReqValidationError) Cause() error
- func (e GetNginxDataReqValidationError) Error() string
- func (e GetNginxDataReqValidationError) ErrorName() string
- func (e GetNginxDataReqValidationError) Field() string
- func (e GetNginxDataReqValidationError) Key() bool
- func (e GetNginxDataReqValidationError) Reason() string
- type GetNginxDataRes
- func (*GetNginxDataRes) Descriptor() ([]byte, []int)deprecated
- func (x *GetNginxDataRes) GetConfText() string
- func (*GetNginxDataRes) ProtoMessage()
- func (x *GetNginxDataRes) ProtoReflect() protoreflect.Message
- func (x *GetNginxDataRes) Reset()
- func (x *GetNginxDataRes) String() string
- func (m *GetNginxDataRes) Validate() error
- func (m *GetNginxDataRes) ValidateAll() error
- type GetNginxDataResMultiError
- type GetNginxDataResValidationError
- func (e GetNginxDataResValidationError) Cause() error
- func (e GetNginxDataResValidationError) Error() string
- func (e GetNginxDataResValidationError) ErrorName() string
- func (e GetNginxDataResValidationError) Field() string
- func (e GetNginxDataResValidationError) Key() bool
- func (e GetNginxDataResValidationError) Reason() string
- type GetServerReply
- func (*GetServerReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetServerReply) GetCanMonitor() int32
- func (x *GetServerReply) GetCanNginxConfEdit() int32
- func (x *GetServerReply) GetCanNotInstallReason() string
- func (x *GetServerReply) GetCanProductInstall() int32
- func (x *GetServerReply) GetDesc() string
- func (x *GetServerReply) GetHasInstalledProduct() string
- func (x *GetServerReply) GetId() int64
- func (x *GetServerReply) GetIp() string
- func (x *GetServerReply) GetPassword() string
- func (x *GetServerReply) GetPort() int32
- func (x *GetServerReply) GetSshConnect() int32
- func (x *GetServerReply) GetUsername() string
- func (*GetServerReply) ProtoMessage()
- func (x *GetServerReply) ProtoReflect() protoreflect.Message
- func (x *GetServerReply) Reset()
- func (x *GetServerReply) String() string
- func (m *GetServerReply) Validate() error
- func (m *GetServerReply) ValidateAll() error
- type GetServerReplyMultiError
- type GetServerReplyValidationError
- func (e GetServerReplyValidationError) Cause() error
- func (e GetServerReplyValidationError) Error() string
- func (e GetServerReplyValidationError) ErrorName() string
- func (e GetServerReplyValidationError) Field() string
- func (e GetServerReplyValidationError) Key() bool
- func (e GetServerReplyValidationError) Reason() string
- type InstallExistedServerComponentRequest
- func (*InstallExistedServerComponentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstallExistedServerComponentRequest) GetComponentCode() string
- func (x *InstallExistedServerComponentRequest) GetServerID() int64
- func (*InstallExistedServerComponentRequest) ProtoMessage()
- func (x *InstallExistedServerComponentRequest) ProtoReflect() protoreflect.Message
- func (x *InstallExistedServerComponentRequest) Reset()
- func (x *InstallExistedServerComponentRequest) String() string
- func (m *InstallExistedServerComponentRequest) Validate() error
- func (m *InstallExistedServerComponentRequest) ValidateAll() error
- type InstallExistedServerComponentRequestMultiError
- type InstallExistedServerComponentRequestValidationError
- func (e InstallExistedServerComponentRequestValidationError) Cause() error
- func (e InstallExistedServerComponentRequestValidationError) Error() string
- func (e InstallExistedServerComponentRequestValidationError) ErrorName() string
- func (e InstallExistedServerComponentRequestValidationError) Field() string
- func (e InstallExistedServerComponentRequestValidationError) Key() bool
- func (e InstallExistedServerComponentRequestValidationError) Reason() string
- type InstallServerComponentRequest
- func (*InstallServerComponentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstallServerComponentRequest) GetComponentCode() string
- func (x *InstallServerComponentRequest) GetInstallPackagePath() string
- func (x *InstallServerComponentRequest) GetParams() []*ComponentsParameter
- func (x *InstallServerComponentRequest) GetServerID() int64
- func (*InstallServerComponentRequest) ProtoMessage()
- func (x *InstallServerComponentRequest) ProtoReflect() protoreflect.Message
- func (x *InstallServerComponentRequest) Reset()
- func (x *InstallServerComponentRequest) String() string
- func (m *InstallServerComponentRequest) Validate() error
- func (m *InstallServerComponentRequest) ValidateAll() error
- type InstallServerComponentRequestMultiError
- type InstallServerComponentRequestValidationError
- func (e InstallServerComponentRequestValidationError) Cause() error
- func (e InstallServerComponentRequestValidationError) Error() string
- func (e InstallServerComponentRequestValidationError) ErrorName() string
- func (e InstallServerComponentRequestValidationError) Field() string
- func (e InstallServerComponentRequestValidationError) Key() bool
- func (e InstallServerComponentRequestValidationError) Reason() string
- type ListBackupInfoReq
- func (*ListBackupInfoReq) Descriptor() ([]byte, []int)deprecated
- func (*ListBackupInfoReq) ProtoMessage()
- func (x *ListBackupInfoReq) ProtoReflect() protoreflect.Message
- func (x *ListBackupInfoReq) Reset()
- func (x *ListBackupInfoReq) String() string
- func (m *ListBackupInfoReq) Validate() error
- func (m *ListBackupInfoReq) ValidateAll() error
- type ListBackupInfoReqMultiError
- type ListBackupInfoReqValidationError
- func (e ListBackupInfoReqValidationError) Cause() error
- func (e ListBackupInfoReqValidationError) Error() string
- func (e ListBackupInfoReqValidationError) ErrorName() string
- func (e ListBackupInfoReqValidationError) Field() string
- func (e ListBackupInfoReqValidationError) Key() bool
- func (e ListBackupInfoReqValidationError) Reason() string
- type ListBackupInfoRes
- func (*ListBackupInfoRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupInfoRes) GetRes() []*ListBackupInfoResItem
- func (*ListBackupInfoRes) ProtoMessage()
- func (x *ListBackupInfoRes) ProtoReflect() protoreflect.Message
- func (x *ListBackupInfoRes) Reset()
- func (x *ListBackupInfoRes) String() string
- func (m *ListBackupInfoRes) Validate() error
- func (m *ListBackupInfoRes) ValidateAll() error
- type ListBackupInfoResItem
- func (*ListBackupInfoResItem) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupInfoResItem) GetBackupDate() string
- func (x *ListBackupInfoResItem) GetFileName() string
- func (x *ListBackupInfoResItem) GetId() int64
- func (x *ListBackupInfoResItem) GetServerIp() string
- func (*ListBackupInfoResItem) ProtoMessage()
- func (x *ListBackupInfoResItem) ProtoReflect() protoreflect.Message
- func (x *ListBackupInfoResItem) Reset()
- func (x *ListBackupInfoResItem) String() string
- func (m *ListBackupInfoResItem) Validate() error
- func (m *ListBackupInfoResItem) ValidateAll() error
- type ListBackupInfoResItemMultiError
- type ListBackupInfoResItemValidationError
- func (e ListBackupInfoResItemValidationError) Cause() error
- func (e ListBackupInfoResItemValidationError) Error() string
- func (e ListBackupInfoResItemValidationError) ErrorName() string
- func (e ListBackupInfoResItemValidationError) Field() string
- func (e ListBackupInfoResItemValidationError) Key() bool
- func (e ListBackupInfoResItemValidationError) Reason() string
- type ListBackupInfoResMultiError
- type ListBackupInfoResValidationError
- func (e ListBackupInfoResValidationError) Cause() error
- func (e ListBackupInfoResValidationError) Error() string
- func (e ListBackupInfoResValidationError) ErrorName() string
- func (e ListBackupInfoResValidationError) Field() string
- func (e ListBackupInfoResValidationError) Key() bool
- func (e ListBackupInfoResValidationError) Reason() string
- type ListDirReq
- func (*ListDirReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListDirReq) GetPath() string
- func (x *ListDirReq) GetServerID() int64
- func (*ListDirReq) ProtoMessage()
- func (x *ListDirReq) ProtoReflect() protoreflect.Message
- func (x *ListDirReq) Reset()
- func (x *ListDirReq) String() string
- func (m *ListDirReq) Validate() error
- func (m *ListDirReq) ValidateAll() error
- type ListDirReqMultiError
- type ListDirReqValidationError
- type ListDirRes
- func (*ListDirRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListDirRes) GetDirsList() []*LsItem
- func (*ListDirRes) ProtoMessage()
- func (x *ListDirRes) ProtoReflect() protoreflect.Message
- func (x *ListDirRes) Reset()
- func (x *ListDirRes) String() string
- func (m *ListDirRes) Validate() error
- func (m *ListDirRes) ValidateAll() error
- type ListDirResMultiError
- type ListDirResValidationError
- type ListServerComponentReply
- func (*ListServerComponentReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListServerComponentReply) GetList() []*ListServerComponentReply_Item
- func (*ListServerComponentReply) ProtoMessage()
- func (x *ListServerComponentReply) ProtoReflect() protoreflect.Message
- func (x *ListServerComponentReply) Reset()
- func (x *ListServerComponentReply) String() string
- func (m *ListServerComponentReply) Validate() error
- func (m *ListServerComponentReply) ValidateAll() error
- type ListServerComponentReplyMultiError
- type ListServerComponentReplyValidationError
- func (e ListServerComponentReplyValidationError) Cause() error
- func (e ListServerComponentReplyValidationError) Error() string
- func (e ListServerComponentReplyValidationError) ErrorName() string
- func (e ListServerComponentReplyValidationError) Field() string
- func (e ListServerComponentReplyValidationError) Key() bool
- func (e ListServerComponentReplyValidationError) Reason() string
- type ListServerComponentReply_Item
- func (*ListServerComponentReply_Item) Descriptor() ([]byte, []int)deprecated
- func (x *ListServerComponentReply_Item) GetCanInstall() int32
- func (x *ListServerComponentReply_Item) GetCode() string
- func (x *ListServerComponentReply_Item) GetDependItems() []*ListServerComponentReply_Item_DependItem
- func (x *ListServerComponentReply_Item) GetDownloadURL() string
- func (x *ListServerComponentReply_Item) GetHasInstalled() int32
- func (x *ListServerComponentReply_Item) GetName() string
- func (x *ListServerComponentReply_Item) GetParameters() []*ComponentsParameter
- func (x *ListServerComponentReply_Item) GetStatus() int32
- func (*ListServerComponentReply_Item) ProtoMessage()
- func (x *ListServerComponentReply_Item) ProtoReflect() protoreflect.Message
- func (x *ListServerComponentReply_Item) Reset()
- func (x *ListServerComponentReply_Item) String() string
- func (m *ListServerComponentReply_Item) Validate() error
- func (m *ListServerComponentReply_Item) ValidateAll() error
- type ListServerComponentReply_ItemMultiError
- type ListServerComponentReply_ItemValidationError
- func (e ListServerComponentReply_ItemValidationError) Cause() error
- func (e ListServerComponentReply_ItemValidationError) Error() string
- func (e ListServerComponentReply_ItemValidationError) ErrorName() string
- func (e ListServerComponentReply_ItemValidationError) Field() string
- func (e ListServerComponentReply_ItemValidationError) Key() bool
- func (e ListServerComponentReply_ItemValidationError) Reason() string
- type ListServerComponentReply_Item_DependItem
- func (*ListServerComponentReply_Item_DependItem) Descriptor() ([]byte, []int)deprecated
- func (x *ListServerComponentReply_Item_DependItem) GetCode() string
- func (x *ListServerComponentReply_Item_DependItem) GetHasInstalled() int32
- func (*ListServerComponentReply_Item_DependItem) ProtoMessage()
- func (x *ListServerComponentReply_Item_DependItem) ProtoReflect() protoreflect.Message
- func (x *ListServerComponentReply_Item_DependItem) Reset()
- func (x *ListServerComponentReply_Item_DependItem) String() string
- func (m *ListServerComponentReply_Item_DependItem) Validate() error
- func (m *ListServerComponentReply_Item_DependItem) ValidateAll() error
- type ListServerComponentReply_Item_DependItemMultiError
- type ListServerComponentReply_Item_DependItemValidationError
- func (e ListServerComponentReply_Item_DependItemValidationError) Cause() error
- func (e ListServerComponentReply_Item_DependItemValidationError) Error() string
- func (e ListServerComponentReply_Item_DependItemValidationError) ErrorName() string
- func (e ListServerComponentReply_Item_DependItemValidationError) Field() string
- func (e ListServerComponentReply_Item_DependItemValidationError) Key() bool
- func (e ListServerComponentReply_Item_DependItemValidationError) Reason() string
- type ListServerComponentRequest
- func (*ListServerComponentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListServerComponentRequest) GetServerID() int64
- func (*ListServerComponentRequest) ProtoMessage()
- func (x *ListServerComponentRequest) ProtoReflect() protoreflect.Message
- func (x *ListServerComponentRequest) Reset()
- func (x *ListServerComponentRequest) String() string
- func (m *ListServerComponentRequest) Validate() error
- func (m *ListServerComponentRequest) ValidateAll() error
- type ListServerComponentRequestMultiError
- type ListServerComponentRequestValidationError
- func (e ListServerComponentRequestValidationError) Cause() error
- func (e ListServerComponentRequestValidationError) Error() string
- func (e ListServerComponentRequestValidationError) ErrorName() string
- func (e ListServerComponentRequestValidationError) Field() string
- func (e ListServerComponentRequestValidationError) Key() bool
- func (e ListServerComponentRequestValidationError) Reason() string
- type ListServerReply
- func (*ListServerReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListServerReply) GetList() []*GetServerReply
- func (*ListServerReply) ProtoMessage()
- func (x *ListServerReply) ProtoReflect() protoreflect.Message
- func (x *ListServerReply) Reset()
- func (x *ListServerReply) String() string
- func (m *ListServerReply) Validate() error
- func (m *ListServerReply) ValidateAll() error
- type ListServerReplyMultiError
- type ListServerReplyValidationError
- func (e ListServerReplyValidationError) Cause() error
- func (e ListServerReplyValidationError) Error() string
- func (e ListServerReplyValidationError) ErrorName() string
- func (e ListServerReplyValidationError) Field() string
- func (e ListServerReplyValidationError) Key() bool
- func (e ListServerReplyValidationError) Reason() string
- type ListServerRequest
- func (*ListServerRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListServerRequest) ProtoMessage()
- func (x *ListServerRequest) ProtoReflect() protoreflect.Message
- func (x *ListServerRequest) Reset()
- func (x *ListServerRequest) String() string
- func (m *ListServerRequest) Validate() error
- func (m *ListServerRequest) ValidateAll() error
- type ListServerRequestMultiError
- type ListServerRequestValidationError
- func (e ListServerRequestValidationError) Cause() error
- func (e ListServerRequestValidationError) Error() string
- func (e ListServerRequestValidationError) ErrorName() string
- func (e ListServerRequestValidationError) Field() string
- func (e ListServerRequestValidationError) Key() bool
- func (e ListServerRequestValidationError) Reason() string
- type LsItem
- func (*LsItem) Descriptor() ([]byte, []int)deprecated
- func (x *LsItem) GetLastUpdateTime() string
- func (x *LsItem) GetName() string
- func (x *LsItem) GetSize() string
- func (x *LsItem) GetType() int32
- func (*LsItem) ProtoMessage()
- func (x *LsItem) ProtoReflect() protoreflect.Message
- func (x *LsItem) Reset()
- func (x *LsItem) String() string
- func (m *LsItem) Validate() error
- func (m *LsItem) ValidateAll() error
- type LsItemMultiError
- type LsItemValidationError
- type RestartServerComponentRequest
- func (*RestartServerComponentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestartServerComponentRequest) GetComponentCode() string
- func (x *RestartServerComponentRequest) GetServerID() int64
- func (*RestartServerComponentRequest) ProtoMessage()
- func (x *RestartServerComponentRequest) ProtoReflect() protoreflect.Message
- func (x *RestartServerComponentRequest) Reset()
- func (x *RestartServerComponentRequest) String() string
- func (m *RestartServerComponentRequest) Validate() error
- func (m *RestartServerComponentRequest) ValidateAll() error
- type RestartServerComponentRequestMultiError
- type RestartServerComponentRequestValidationError
- func (e RestartServerComponentRequestValidationError) Cause() error
- func (e RestartServerComponentRequestValidationError) Error() string
- func (e RestartServerComponentRequestValidationError) ErrorName() string
- func (e RestartServerComponentRequestValidationError) Field() string
- func (e RestartServerComponentRequestValidationError) Key() bool
- func (e RestartServerComponentRequestValidationError) Reason() string
- type ServerClient
- type ServerHTTPClient
- type ServerHTTPClientImpl
- func (c *ServerHTTPClientImpl) CreatDir(ctx context.Context, in *CreateDirReq, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServerHTTPClientImpl) CreateServer(ctx context.Context, in *CreateServerRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServerHTTPClientImpl) GetNginxData(ctx context.Context, in *GetNginxDataReq, opts ...http.CallOption) (*GetNginxDataRes, error)
- func (c *ServerHTTPClientImpl) InstallServerComponent(ctx context.Context, in *InstallServerComponentRequest, ...) (*emptypb.Empty, error)
- func (c *ServerHTTPClientImpl) InstallServerComponentExist(ctx context.Context, in *InstallExistedServerComponentRequest, ...) (*emptypb.Empty, error)
- func (c *ServerHTTPClientImpl) ListBackup(ctx context.Context, in *ListBackupInfoReq, opts ...http.CallOption) (*ListBackupInfoRes, error)
- func (c *ServerHTTPClientImpl) ListServer(ctx context.Context, in *ListServerRequest, opts ...http.CallOption) (*ListServerReply, error)
- func (c *ServerHTTPClientImpl) ListServerComponent(ctx context.Context, in *ListServerComponentRequest, opts ...http.CallOption) (*ListServerComponentReply, error)
- func (c *ServerHTTPClientImpl) ListServerDirs(ctx context.Context, in *ListDirReq, opts ...http.CallOption) (*ListDirRes, error)
- func (c *ServerHTTPClientImpl) RestartServerComponent(ctx context.Context, in *StopServerComponentRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServerHTTPClientImpl) StartServerComponent(ctx context.Context, in *StartServerComponentRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServerHTTPClientImpl) StopServerComponent(ctx context.Context, in *StopServerComponentRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServerHTTPClientImpl) UFWStatus(ctx context.Context, in *UFWReq, opts ...http.CallOption) (*UFWRes, error)
- func (c *ServerHTTPClientImpl) UninstallSystemComponent(ctx context.Context, in *SystemComponentUninstall, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServerHTTPClientImpl) UpdateNginxData(ctx context.Context, in *UpdateNginxDataReq, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServerHTTPClientImpl) UpdateServer(ctx context.Context, in *UpdateServerRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServerHTTPClientImpl) UploadServerFile(ctx context.Context, in *UploadFileReq, opts ...http.CallOption) (*emptypb.Empty, error)
- type ServerHTTPServer
- type ServerServer
- type StartServerComponentRequest
- func (*StartServerComponentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartServerComponentRequest) GetComponentCode() string
- func (x *StartServerComponentRequest) GetServerID() int64
- func (*StartServerComponentRequest) ProtoMessage()
- func (x *StartServerComponentRequest) ProtoReflect() protoreflect.Message
- func (x *StartServerComponentRequest) Reset()
- func (x *StartServerComponentRequest) String() string
- func (m *StartServerComponentRequest) Validate() error
- func (m *StartServerComponentRequest) ValidateAll() error
- type StartServerComponentRequestMultiError
- type StartServerComponentRequestValidationError
- func (e StartServerComponentRequestValidationError) Cause() error
- func (e StartServerComponentRequestValidationError) Error() string
- func (e StartServerComponentRequestValidationError) ErrorName() string
- func (e StartServerComponentRequestValidationError) Field() string
- func (e StartServerComponentRequestValidationError) Key() bool
- func (e StartServerComponentRequestValidationError) Reason() string
- type StopServerComponentRequest
- func (*StopServerComponentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopServerComponentRequest) GetComponentCode() string
- func (x *StopServerComponentRequest) GetServerID() int64
- func (*StopServerComponentRequest) ProtoMessage()
- func (x *StopServerComponentRequest) ProtoReflect() protoreflect.Message
- func (x *StopServerComponentRequest) Reset()
- func (x *StopServerComponentRequest) String() string
- func (m *StopServerComponentRequest) Validate() error
- func (m *StopServerComponentRequest) ValidateAll() error
- type StopServerComponentRequestMultiError
- type StopServerComponentRequestValidationError
- func (e StopServerComponentRequestValidationError) Cause() error
- func (e StopServerComponentRequestValidationError) Error() string
- func (e StopServerComponentRequestValidationError) ErrorName() string
- func (e StopServerComponentRequestValidationError) Field() string
- func (e StopServerComponentRequestValidationError) Key() bool
- func (e StopServerComponentRequestValidationError) Reason() string
- type SystemComponentUninstall
- func (*SystemComponentUninstall) Descriptor() ([]byte, []int)deprecated
- func (x *SystemComponentUninstall) GetCode() string
- func (x *SystemComponentUninstall) GetServerID() int64
- func (*SystemComponentUninstall) ProtoMessage()
- func (x *SystemComponentUninstall) ProtoReflect() protoreflect.Message
- func (x *SystemComponentUninstall) Reset()
- func (x *SystemComponentUninstall) String() string
- func (m *SystemComponentUninstall) Validate() error
- func (m *SystemComponentUninstall) ValidateAll() error
- type SystemComponentUninstallMultiError
- type SystemComponentUninstallValidationError
- func (e SystemComponentUninstallValidationError) Cause() error
- func (e SystemComponentUninstallValidationError) Error() string
- func (e SystemComponentUninstallValidationError) ErrorName() string
- func (e SystemComponentUninstallValidationError) Field() string
- func (e SystemComponentUninstallValidationError) Key() bool
- func (e SystemComponentUninstallValidationError) Reason() string
- type UFWReq
- func (*UFWReq) Descriptor() ([]byte, []int)deprecated
- func (x *UFWReq) GetServerID() int64
- func (*UFWReq) ProtoMessage()
- func (x *UFWReq) ProtoReflect() protoreflect.Message
- func (x *UFWReq) Reset()
- func (x *UFWReq) String() string
- func (m *UFWReq) Validate() error
- func (m *UFWReq) ValidateAll() error
- type UFWReqMultiError
- type UFWReqValidationError
- type UFWRes
- func (*UFWRes) Descriptor() ([]byte, []int)deprecated
- func (x *UFWRes) GetStatus() string
- func (*UFWRes) ProtoMessage()
- func (x *UFWRes) ProtoReflect() protoreflect.Message
- func (x *UFWRes) Reset()
- func (x *UFWRes) String() string
- func (m *UFWRes) Validate() error
- func (m *UFWRes) ValidateAll() error
- type UFWResMultiError
- type UFWResValidationError
- type UnimplementedServerServer
- func (UnimplementedServerServer) CreatDir(context.Context, *CreateDirReq) (*emptypb.Empty, error)
- func (UnimplementedServerServer) CreateServer(context.Context, *CreateServerRequest) (*emptypb.Empty, error)
- func (UnimplementedServerServer) GetNginxData(context.Context, *GetNginxDataReq) (*GetNginxDataRes, error)
- func (UnimplementedServerServer) InstallServerComponent(context.Context, *InstallServerComponentRequest) (*emptypb.Empty, error)
- func (UnimplementedServerServer) InstallServerComponentExist(context.Context, *InstallExistedServerComponentRequest) (*emptypb.Empty, error)
- func (UnimplementedServerServer) ListBackup(context.Context, *ListBackupInfoReq) (*ListBackupInfoRes, error)
- func (UnimplementedServerServer) ListServer(context.Context, *ListServerRequest) (*ListServerReply, error)
- func (UnimplementedServerServer) ListServerComponent(context.Context, *ListServerComponentRequest) (*ListServerComponentReply, error)
- func (UnimplementedServerServer) ListServerDirs(context.Context, *ListDirReq) (*ListDirRes, error)
- func (UnimplementedServerServer) RestartServerComponent(context.Context, *StopServerComponentRequest) (*emptypb.Empty, error)
- func (UnimplementedServerServer) StartServerComponent(context.Context, *StartServerComponentRequest) (*emptypb.Empty, error)
- func (UnimplementedServerServer) StopServerComponent(context.Context, *StopServerComponentRequest) (*emptypb.Empty, error)
- func (UnimplementedServerServer) UFWStatus(context.Context, *UFWReq) (*UFWRes, error)
- func (UnimplementedServerServer) UninstallSystemComponent(context.Context, *SystemComponentUninstall) (*emptypb.Empty, error)
- func (UnimplementedServerServer) UpdateNginxData(context.Context, *UpdateNginxDataReq) (*emptypb.Empty, error)
- func (UnimplementedServerServer) UpdateServer(context.Context, *UpdateServerRequest) (*emptypb.Empty, error)
- func (UnimplementedServerServer) UploadServerFile(context.Context, *UploadFileReq) (*emptypb.Empty, error)
- type UnsafeServerServer
- type UpdateNginxDataReq
- func (*UpdateNginxDataReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNginxDataReq) GetConfText() string
- func (x *UpdateNginxDataReq) GetServerID() int64
- func (*UpdateNginxDataReq) ProtoMessage()
- func (x *UpdateNginxDataReq) ProtoReflect() protoreflect.Message
- func (x *UpdateNginxDataReq) Reset()
- func (x *UpdateNginxDataReq) String() string
- func (m *UpdateNginxDataReq) Validate() error
- func (m *UpdateNginxDataReq) ValidateAll() error
- type UpdateNginxDataReqMultiError
- type UpdateNginxDataReqValidationError
- func (e UpdateNginxDataReqValidationError) Cause() error
- func (e UpdateNginxDataReqValidationError) Error() string
- func (e UpdateNginxDataReqValidationError) ErrorName() string
- func (e UpdateNginxDataReqValidationError) Field() string
- func (e UpdateNginxDataReqValidationError) Key() bool
- func (e UpdateNginxDataReqValidationError) Reason() string
- type UpdateServerRequest
- func (*UpdateServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateServerRequest) GetDesc() string
- func (x *UpdateServerRequest) GetId() int64
- func (x *UpdateServerRequest) GetIp() string
- func (x *UpdateServerRequest) GetPassword() string
- func (x *UpdateServerRequest) GetPort() int32
- func (x *UpdateServerRequest) GetUsername() string
- func (*UpdateServerRequest) ProtoMessage()
- func (x *UpdateServerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateServerRequest) Reset()
- func (x *UpdateServerRequest) String() string
- func (m *UpdateServerRequest) Validate() error
- func (m *UpdateServerRequest) ValidateAll() error
- type UpdateServerRequestMultiError
- type UpdateServerRequestValidationError
- func (e UpdateServerRequestValidationError) Cause() error
- func (e UpdateServerRequestValidationError) Error() string
- func (e UpdateServerRequestValidationError) ErrorName() string
- func (e UpdateServerRequestValidationError) Field() string
- func (e UpdateServerRequestValidationError) Key() bool
- func (e UpdateServerRequestValidationError) Reason() string
- type UploadFileReq
- func (*UploadFileReq) Descriptor() ([]byte, []int)deprecated
- func (x *UploadFileReq) GetLocalFileName() string
- func (x *UploadFileReq) GetRemoteDirPath() string
- func (x *UploadFileReq) GetServerID() int64
- func (*UploadFileReq) ProtoMessage()
- func (x *UploadFileReq) ProtoReflect() protoreflect.Message
- func (x *UploadFileReq) Reset()
- func (x *UploadFileReq) String() string
- func (m *UploadFileReq) Validate() error
- func (m *UploadFileReq) ValidateAll() error
- type UploadFileReqMultiError
- type UploadFileReqValidationError
- func (e UploadFileReqValidationError) Cause() error
- func (e UploadFileReqValidationError) Error() string
- func (e UploadFileReqValidationError) ErrorName() string
- func (e UploadFileReqValidationError) Field() string
- func (e UploadFileReqValidationError) Key() bool
- func (e UploadFileReqValidationError) Reason() string
Constants ¶
const OperationServerCreatDir = "/server.Server/CreatDir"
const OperationServerCreateServer = "/server.Server/CreateServer"
const OperationServerGetNginxData = "/server.Server/GetNginxData"
const OperationServerInstallServerComponent = "/server.Server/InstallServerComponent"
const OperationServerInstallServerComponentExist = "/server.Server/InstallServerComponentExist"
const OperationServerListBackup = "/server.Server/ListBackup"
const OperationServerListServer = "/server.Server/ListServer"
const OperationServerListServerComponent = "/server.Server/ListServerComponent"
const OperationServerListServerDirs = "/server.Server/ListServerDirs"
const OperationServerRestartServerComponent = "/server.Server/RestartServerComponent"
const OperationServerStartServerComponent = "/server.Server/StartServerComponent"
const OperationServerStopServerComponent = "/server.Server/StopServerComponent"
const OperationServerUFWStatus = "/server.Server/UFWStatus"
const OperationServerUninstallSystemComponent = "/server.Server/UninstallSystemComponent"
const OperationServerUpdateNginxData = "/server.Server/UpdateNginxData"
const OperationServerUpdateServer = "/server.Server/UpdateServer"
const OperationServerUploadServerFile = "/server.Server/UploadServerFile"
Variables ¶
var File_api_server_api_proto protoreflect.FileDescriptor
var File_api_server_backup_proto protoreflect.FileDescriptor
var File_api_server_dir_proto protoreflect.FileDescriptor
var File_api_server_server_proto protoreflect.FileDescriptor
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 ¶
func (m ComponentsParameterDescMultiError) Error() string
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 ¶
func (e ComponentsParameterDescValidationError) Cause() error
Cause function returns cause value.
func (ComponentsParameterDescValidationError) Error ¶
func (e ComponentsParameterDescValidationError) Error() string
Error satisfies the builtin error interface
func (ComponentsParameterDescValidationError) ErrorName ¶
func (e ComponentsParameterDescValidationError) ErrorName() string
ErrorName returns error name.
func (ComponentsParameterDescValidationError) Field ¶
func (e ComponentsParameterDescValidationError) Field() string
Field function returns field value.
func (ComponentsParameterDescValidationError) Key ¶
func (e ComponentsParameterDescValidationError) Key() bool
Key function returns key value.
func (ComponentsParameterDescValidationError) Reason ¶
func (e ComponentsParameterDescValidationError) Reason() string
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 ¶
func (m ComponentsParameterMultiError) Error() string
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 ¶
func (e ComponentsParameterValidationError) Cause() error
Cause function returns cause value.
func (ComponentsParameterValidationError) Error ¶
func (e ComponentsParameterValidationError) Error() string
Error satisfies the builtin error interface
func (ComponentsParameterValidationError) ErrorName ¶
func (e ComponentsParameterValidationError) ErrorName() string
ErrorName returns error name.
func (ComponentsParameterValidationError) Field ¶
func (e ComponentsParameterValidationError) Field() string
Field function returns field value.
func (ComponentsParameterValidationError) Key ¶
func (e ComponentsParameterValidationError) Key() bool
Key function returns key value.
func (ComponentsParameterValidationError) Reason ¶
func (e ComponentsParameterValidationError) Reason() string
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 ¶
func (e CreateDirReqValidationError) Cause() error
Cause function returns cause value.
func (CreateDirReqValidationError) Error ¶
func (e CreateDirReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDirReqValidationError) ErrorName ¶
func (e CreateDirReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDirReqValidationError) Field ¶
func (e CreateDirReqValidationError) Field() string
Field function returns field value.
func (CreateDirReqValidationError) Key ¶
func (e CreateDirReqValidationError) Key() bool
Key function returns key value.
func (CreateDirReqValidationError) Reason ¶
func (e CreateDirReqValidationError) Reason() string
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 ¶
func (m CreateServerRequestMultiError) Error() string
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 ¶
func (e CreateServerRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateServerRequestValidationError) Error ¶
func (e CreateServerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateServerRequestValidationError) ErrorName ¶
func (e CreateServerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateServerRequestValidationError) Field ¶
func (e CreateServerRequestValidationError) Field() string
Field function returns field value.
func (CreateServerRequestValidationError) Key ¶
func (e CreateServerRequestValidationError) Key() bool
Key function returns key value.
func (CreateServerRequestValidationError) Reason ¶
func (e CreateServerRequestValidationError) Reason() string
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 ¶
func (m GetNginxDataReqMultiError) Error() string
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 ¶
func (e GetNginxDataReqValidationError) Cause() error
Cause function returns cause value.
func (GetNginxDataReqValidationError) Error ¶
func (e GetNginxDataReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetNginxDataReqValidationError) ErrorName ¶
func (e GetNginxDataReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetNginxDataReqValidationError) Field ¶
func (e GetNginxDataReqValidationError) Field() string
Field function returns field value.
func (GetNginxDataReqValidationError) Key ¶
func (e GetNginxDataReqValidationError) Key() bool
Key function returns key value.
func (GetNginxDataReqValidationError) Reason ¶
func (e GetNginxDataReqValidationError) Reason() string
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 ¶
func (m GetNginxDataResMultiError) Error() string
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 ¶
func (e GetNginxDataResValidationError) Cause() error
Cause function returns cause value.
func (GetNginxDataResValidationError) Error ¶
func (e GetNginxDataResValidationError) Error() string
Error satisfies the builtin error interface
func (GetNginxDataResValidationError) ErrorName ¶
func (e GetNginxDataResValidationError) ErrorName() string
ErrorName returns error name.
func (GetNginxDataResValidationError) Field ¶
func (e GetNginxDataResValidationError) Field() string
Field function returns field value.
func (GetNginxDataResValidationError) Key ¶
func (e GetNginxDataResValidationError) Key() bool
Key function returns key value.
func (GetNginxDataResValidationError) Reason ¶
func (e GetNginxDataResValidationError) Reason() string
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 ¶
func (e GetServerReplyValidationError) Cause() error
Cause function returns cause value.
func (GetServerReplyValidationError) Error ¶
func (e GetServerReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetServerReplyValidationError) ErrorName ¶
func (e GetServerReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetServerReplyValidationError) Field ¶
func (e GetServerReplyValidationError) Field() string
Field function returns field value.
func (GetServerReplyValidationError) Key ¶
func (e GetServerReplyValidationError) Key() bool
Key function returns key value.
func (GetServerReplyValidationError) Reason ¶
func (e GetServerReplyValidationError) Reason() string
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 (x *InstallExistedServerComponentRequest) GetServerID() int64
func (*InstallExistedServerComponentRequest) ProtoMessage ¶
func (*InstallExistedServerComponentRequest) ProtoMessage()
func (*InstallExistedServerComponentRequest) ProtoReflect ¶
func (x *InstallExistedServerComponentRequest) ProtoReflect() protoreflect.Message
func (*InstallExistedServerComponentRequest) Reset ¶
func (x *InstallExistedServerComponentRequest) Reset()
func (*InstallExistedServerComponentRequest) String ¶
func (x *InstallExistedServerComponentRequest) String() string
func (*InstallExistedServerComponentRequest) Validate ¶
func (m *InstallExistedServerComponentRequest) Validate() error
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 ¶
func (m *InstallExistedServerComponentRequest) ValidateAll() error
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 ¶
func (m InstallExistedServerComponentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InstallExistedServerComponentRequestMultiError) Error ¶
func (m InstallExistedServerComponentRequestMultiError) Error() string
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 ¶
func (e InstallExistedServerComponentRequestValidationError) Cause() error
Cause function returns cause value.
func (InstallExistedServerComponentRequestValidationError) Error ¶
func (e InstallExistedServerComponentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (InstallExistedServerComponentRequestValidationError) ErrorName ¶
func (e InstallExistedServerComponentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (InstallExistedServerComponentRequestValidationError) Field ¶
func (e InstallExistedServerComponentRequestValidationError) Field() string
Field function returns field value.
func (InstallExistedServerComponentRequestValidationError) Key ¶
func (e InstallExistedServerComponentRequestValidationError) Key() bool
Key function returns key value.
func (InstallExistedServerComponentRequestValidationError) Reason ¶
func (e InstallExistedServerComponentRequestValidationError) Reason() string
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 (x *InstallServerComponentRequest) GetParams() []*ComponentsParameter
func (*InstallServerComponentRequest) GetServerID ¶
func (x *InstallServerComponentRequest) GetServerID() int64
func (*InstallServerComponentRequest) ProtoMessage ¶
func (*InstallServerComponentRequest) ProtoMessage()
func (*InstallServerComponentRequest) ProtoReflect ¶
func (x *InstallServerComponentRequest) ProtoReflect() protoreflect.Message
func (*InstallServerComponentRequest) Reset ¶
func (x *InstallServerComponentRequest) Reset()
func (*InstallServerComponentRequest) String ¶
func (x *InstallServerComponentRequest) String() 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 ¶
func (m InstallServerComponentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InstallServerComponentRequestMultiError) Error ¶
func (m InstallServerComponentRequestMultiError) Error() string
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 ¶
func (e InstallServerComponentRequestValidationError) Cause() error
Cause function returns cause value.
func (InstallServerComponentRequestValidationError) Error ¶
func (e InstallServerComponentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (InstallServerComponentRequestValidationError) ErrorName ¶
func (e InstallServerComponentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (InstallServerComponentRequestValidationError) Field ¶
func (e InstallServerComponentRequestValidationError) Field() string
Field function returns field value.
func (InstallServerComponentRequestValidationError) Key ¶
func (e InstallServerComponentRequestValidationError) Key() bool
Key function returns key value.
func (InstallServerComponentRequestValidationError) Reason ¶
func (e InstallServerComponentRequestValidationError) Reason() string
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 ¶
func (m ListBackupInfoReqMultiError) Error() string
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 ¶
func (e ListBackupInfoReqValidationError) Cause() error
Cause function returns cause value.
func (ListBackupInfoReqValidationError) Error ¶
func (e ListBackupInfoReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListBackupInfoReqValidationError) ErrorName ¶
func (e ListBackupInfoReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListBackupInfoReqValidationError) Field ¶
func (e ListBackupInfoReqValidationError) Field() string
Field function returns field value.
func (ListBackupInfoReqValidationError) Key ¶
func (e ListBackupInfoReqValidationError) Key() bool
Key function returns key value.
func (ListBackupInfoReqValidationError) Reason ¶
func (e ListBackupInfoReqValidationError) Reason() string
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 (x *ListBackupInfoRes) GetRes() []*ListBackupInfoResItem
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 ¶
func (m ListBackupInfoResItemMultiError) Error() string
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 ¶
func (e ListBackupInfoResItemValidationError) Cause() error
Cause function returns cause value.
func (ListBackupInfoResItemValidationError) Error ¶
func (e ListBackupInfoResItemValidationError) Error() string
Error satisfies the builtin error interface
func (ListBackupInfoResItemValidationError) ErrorName ¶
func (e ListBackupInfoResItemValidationError) ErrorName() string
ErrorName returns error name.
func (ListBackupInfoResItemValidationError) Field ¶
func (e ListBackupInfoResItemValidationError) Field() string
Field function returns field value.
func (ListBackupInfoResItemValidationError) Key ¶
func (e ListBackupInfoResItemValidationError) Key() bool
Key function returns key value.
func (ListBackupInfoResItemValidationError) Reason ¶
func (e ListBackupInfoResItemValidationError) Reason() string
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 ¶
func (m ListBackupInfoResMultiError) Error() string
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 ¶
func (e ListBackupInfoResValidationError) Cause() error
Cause function returns cause value.
func (ListBackupInfoResValidationError) Error ¶
func (e ListBackupInfoResValidationError) Error() string
Error satisfies the builtin error interface
func (ListBackupInfoResValidationError) ErrorName ¶
func (e ListBackupInfoResValidationError) ErrorName() string
ErrorName returns error name.
func (ListBackupInfoResValidationError) Field ¶
func (e ListBackupInfoResValidationError) Field() string
Field function returns field value.
func (ListBackupInfoResValidationError) Key ¶
func (e ListBackupInfoResValidationError) Key() bool
Key function returns key value.
func (ListBackupInfoResValidationError) Reason ¶
func (e ListBackupInfoResValidationError) Reason() string
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 ¶
func (e ListDirReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListDirReqValidationError) ErrorName ¶
func (e ListDirReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListDirReqValidationError) Field ¶
func (e ListDirReqValidationError) Field() string
Field function returns field value.
func (ListDirReqValidationError) Key ¶
func (e ListDirReqValidationError) Key() bool
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 ¶
func (e ListDirResValidationError) Error() string
Error satisfies the builtin error interface
func (ListDirResValidationError) ErrorName ¶
func (e ListDirResValidationError) ErrorName() string
ErrorName returns error name.
func (ListDirResValidationError) Field ¶
func (e ListDirResValidationError) Field() string
Field function returns field value.
func (ListDirResValidationError) Key ¶
func (e ListDirResValidationError) Key() bool
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 (x *ListServerComponentReply) GetList() []*ListServerComponentReply_Item
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 ¶
func (m ListServerComponentReplyMultiError) Error() string
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 ¶
func (e ListServerComponentReplyValidationError) Cause() error
Cause function returns cause value.
func (ListServerComponentReplyValidationError) Error ¶
func (e ListServerComponentReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListServerComponentReplyValidationError) ErrorName ¶
func (e ListServerComponentReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListServerComponentReplyValidationError) Field ¶
func (e ListServerComponentReplyValidationError) Field() string
Field function returns field value.
func (ListServerComponentReplyValidationError) Key ¶
func (e ListServerComponentReplyValidationError) Key() bool
Key function returns key value.
func (ListServerComponentReplyValidationError) Reason ¶
func (e ListServerComponentReplyValidationError) Reason() string
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 (x *ListServerComponentReply_Item) GetCode() string
func (*ListServerComponentReply_Item) GetDependItems ¶
func (x *ListServerComponentReply_Item) GetDependItems() []*ListServerComponentReply_Item_DependItem
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 (x *ListServerComponentReply_Item) GetName() string
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 (x *ListServerComponentReply_Item) ProtoReflect() protoreflect.Message
func (*ListServerComponentReply_Item) Reset ¶
func (x *ListServerComponentReply_Item) Reset()
func (*ListServerComponentReply_Item) String ¶
func (x *ListServerComponentReply_Item) String() 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 ¶
func (m ListServerComponentReply_ItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListServerComponentReply_ItemMultiError) Error ¶
func (m ListServerComponentReply_ItemMultiError) Error() string
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 ¶
func (e ListServerComponentReply_ItemValidationError) Cause() error
Cause function returns cause value.
func (ListServerComponentReply_ItemValidationError) Error ¶
func (e ListServerComponentReply_ItemValidationError) Error() string
Error satisfies the builtin error interface
func (ListServerComponentReply_ItemValidationError) ErrorName ¶
func (e ListServerComponentReply_ItemValidationError) ErrorName() string
ErrorName returns error name.
func (ListServerComponentReply_ItemValidationError) Field ¶
func (e ListServerComponentReply_ItemValidationError) Field() string
Field function returns field value.
func (ListServerComponentReply_ItemValidationError) Key ¶
func (e ListServerComponentReply_ItemValidationError) Key() bool
Key function returns key value.
func (ListServerComponentReply_ItemValidationError) Reason ¶
func (e ListServerComponentReply_ItemValidationError) Reason() string
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 (x *ListServerComponentReply_Item_DependItem) GetCode() string
func (*ListServerComponentReply_Item_DependItem) GetHasInstalled ¶
func (x *ListServerComponentReply_Item_DependItem) GetHasInstalled() int32
func (*ListServerComponentReply_Item_DependItem) ProtoMessage ¶
func (*ListServerComponentReply_Item_DependItem) ProtoMessage()
func (*ListServerComponentReply_Item_DependItem) ProtoReflect ¶
func (x *ListServerComponentReply_Item_DependItem) ProtoReflect() protoreflect.Message
func (*ListServerComponentReply_Item_DependItem) Reset ¶
func (x *ListServerComponentReply_Item_DependItem) Reset()
func (*ListServerComponentReply_Item_DependItem) String ¶
func (x *ListServerComponentReply_Item_DependItem) String() string
func (*ListServerComponentReply_Item_DependItem) Validate ¶
func (m *ListServerComponentReply_Item_DependItem) Validate() error
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 ¶
func (m *ListServerComponentReply_Item_DependItem) ValidateAll() error
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 ¶
func (m ListServerComponentReply_Item_DependItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListServerComponentReply_Item_DependItemMultiError) Error ¶
func (m ListServerComponentReply_Item_DependItemMultiError) Error() string
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 ¶
func (e ListServerComponentReply_Item_DependItemValidationError) Cause() error
Cause function returns cause value.
func (ListServerComponentReply_Item_DependItemValidationError) Error ¶
func (e ListServerComponentReply_Item_DependItemValidationError) Error() string
Error satisfies the builtin error interface
func (ListServerComponentReply_Item_DependItemValidationError) ErrorName ¶
func (e ListServerComponentReply_Item_DependItemValidationError) ErrorName() string
ErrorName returns error name.
func (ListServerComponentReply_Item_DependItemValidationError) Field ¶
func (e ListServerComponentReply_Item_DependItemValidationError) Field() string
Field function returns field value.
func (ListServerComponentReply_Item_DependItemValidationError) Key ¶
func (e ListServerComponentReply_Item_DependItemValidationError) Key() bool
Key function returns key value.
func (ListServerComponentReply_Item_DependItemValidationError) Reason ¶
func (e ListServerComponentReply_Item_DependItemValidationError) Reason() string
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 (x *ListServerComponentRequest) ProtoReflect() protoreflect.Message
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 ¶
func (m ListServerComponentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListServerComponentRequestMultiError) Error ¶
func (m ListServerComponentRequestMultiError) Error() string
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 ¶
func (e ListServerComponentRequestValidationError) Cause() error
Cause function returns cause value.
func (ListServerComponentRequestValidationError) Error ¶
func (e ListServerComponentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListServerComponentRequestValidationError) ErrorName ¶
func (e ListServerComponentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListServerComponentRequestValidationError) Field ¶
func (e ListServerComponentRequestValidationError) Field() string
Field function returns field value.
func (ListServerComponentRequestValidationError) Key ¶
func (e ListServerComponentRequestValidationError) Key() bool
Key function returns key value.
func (ListServerComponentRequestValidationError) Reason ¶
func (e ListServerComponentRequestValidationError) Reason() string
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 ¶
func (m ListServerReplyMultiError) Error() string
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 ¶
func (e ListServerReplyValidationError) Cause() error
Cause function returns cause value.
func (ListServerReplyValidationError) Error ¶
func (e ListServerReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListServerReplyValidationError) ErrorName ¶
func (e ListServerReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListServerReplyValidationError) Field ¶
func (e ListServerReplyValidationError) Field() string
Field function returns field value.
func (ListServerReplyValidationError) Key ¶
func (e ListServerReplyValidationError) Key() bool
Key function returns key value.
func (ListServerReplyValidationError) Reason ¶
func (e ListServerReplyValidationError) Reason() string
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 ¶
func (m ListServerRequestMultiError) Error() string
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 ¶
func (e ListServerRequestValidationError) Cause() error
Cause function returns cause value.
func (ListServerRequestValidationError) Error ¶
func (e ListServerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListServerRequestValidationError) ErrorName ¶
func (e ListServerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListServerRequestValidationError) Field ¶
func (e ListServerRequestValidationError) Field() string
Field function returns field value.
func (ListServerRequestValidationError) Key ¶
func (e ListServerRequestValidationError) Key() bool
Key function returns key value.
func (ListServerRequestValidationError) Reason ¶
func (e ListServerRequestValidationError) Reason() string
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) GetLastUpdateTime ¶
func (*LsItem) ProtoMessage ¶
func (*LsItem) ProtoMessage()
func (*LsItem) ProtoReflect ¶
func (x *LsItem) ProtoReflect() protoreflect.Message
func (*LsItem) Validate ¶
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 ¶
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 (x *RestartServerComponentRequest) ProtoReflect() protoreflect.Message
func (*RestartServerComponentRequest) Reset ¶
func (x *RestartServerComponentRequest) Reset()
func (*RestartServerComponentRequest) String ¶
func (x *RestartServerComponentRequest) String() 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 ¶
func (m RestartServerComponentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RestartServerComponentRequestMultiError) Error ¶
func (m RestartServerComponentRequestMultiError) Error() string
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 ¶
func (e RestartServerComponentRequestValidationError) Cause() error
Cause function returns cause value.
func (RestartServerComponentRequestValidationError) Error ¶
func (e RestartServerComponentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RestartServerComponentRequestValidationError) ErrorName ¶
func (e RestartServerComponentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RestartServerComponentRequestValidationError) Field ¶
func (e RestartServerComponentRequestValidationError) Field() string
Field function returns field value.
func (RestartServerComponentRequestValidationError) Key ¶
func (e RestartServerComponentRequestValidationError) Key() bool
Key function returns key value.
func (RestartServerComponentRequestValidationError) Reason ¶
func (e RestartServerComponentRequestValidationError) Reason() string
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 (c *ServerHTTPClientImpl) GetNginxData(ctx context.Context, in *GetNginxDataReq, opts ...http.CallOption) (*GetNginxDataRes, error)
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 (c *ServerHTTPClientImpl) ListBackup(ctx context.Context, in *ListBackupInfoReq, opts ...http.CallOption) (*ListBackupInfoRes, error)
func (*ServerHTTPClientImpl) ListServer ¶
func (c *ServerHTTPClientImpl) ListServer(ctx context.Context, in *ListServerRequest, opts ...http.CallOption) (*ListServerReply, error)
func (*ServerHTTPClientImpl) ListServerComponent ¶
func (c *ServerHTTPClientImpl) ListServerComponent(ctx context.Context, in *ListServerComponentRequest, opts ...http.CallOption) (*ListServerComponentReply, error)
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 ServerHTTPServer ¶
type ServerHTTPServer interface { CreatDir(context.Context, *CreateDirReq) (*emptypb.Empty, error) CreateServer(context.Context, *CreateServerRequest) (*emptypb.Empty, error) GetNginxData(context.Context, *GetNginxDataReq) (*GetNginxDataRes, error) InstallServerComponent(context.Context, *InstallServerComponentRequest) (*emptypb.Empty, error) InstallServerComponentExist(context.Context, *InstallExistedServerComponentRequest) (*emptypb.Empty, error) ListBackup(context.Context, *ListBackupInfoReq) (*ListBackupInfoRes, error) ListServer(context.Context, *ListServerRequest) (*ListServerReply, error) ListServerComponent(context.Context, *ListServerComponentRequest) (*ListServerComponentReply, error) ListServerDirs(context.Context, *ListDirReq) (*ListDirRes, error) RestartServerComponent(context.Context, *StopServerComponentRequest) (*emptypb.Empty, error) StartServerComponent(context.Context, *StartServerComponentRequest) (*emptypb.Empty, error) StopServerComponent(context.Context, *StopServerComponentRequest) (*emptypb.Empty, error) UFWStatus(context.Context, *UFWReq) (*UFWRes, error) UninstallSystemComponent(context.Context, *SystemComponentUninstall) (*emptypb.Empty, error) UpdateNginxData(context.Context, *UpdateNginxDataReq) (*emptypb.Empty, error) UpdateServer(context.Context, *UpdateServerRequest) (*emptypb.Empty, error) UploadServerFile(context.Context, *UploadFileReq) (*emptypb.Empty, error) }
type ServerServer ¶
type ServerServer interface { ListServer(context.Context, *ListServerRequest) (*ListServerReply, error) CreateServer(context.Context, *CreateServerRequest) (*emptypb.Empty, error) UpdateServer(context.Context, *UpdateServerRequest) (*emptypb.Empty, error) ListServerComponent(context.Context, *ListServerComponentRequest) (*ListServerComponentReply, error) InstallServerComponent(context.Context, *InstallServerComponentRequest) (*emptypb.Empty, error) StartServerComponent(context.Context, *StartServerComponentRequest) (*emptypb.Empty, error) StopServerComponent(context.Context, *StopServerComponentRequest) (*emptypb.Empty, error) RestartServerComponent(context.Context, *StopServerComponentRequest) (*emptypb.Empty, error) ListServerDirs(context.Context, *ListDirReq) (*ListDirRes, error) UploadServerFile(context.Context, *UploadFileReq) (*emptypb.Empty, error) CreatDir(context.Context, *CreateDirReq) (*emptypb.Empty, error) GetNginxData(context.Context, *GetNginxDataReq) (*GetNginxDataRes, error) UpdateNginxData(context.Context, *UpdateNginxDataReq) (*emptypb.Empty, error) UninstallSystemComponent(context.Context, *SystemComponentUninstall) (*emptypb.Empty, error) UFWStatus(context.Context, *UFWReq) (*UFWRes, error) ListBackup(context.Context, *ListBackupInfoReq) (*ListBackupInfoRes, error) InstallServerComponentExist(context.Context, *InstallExistedServerComponentRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
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 (x *StartServerComponentRequest) ProtoReflect() protoreflect.Message
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 ¶
func (m StartServerComponentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StartServerComponentRequestMultiError) Error ¶
func (m StartServerComponentRequestMultiError) Error() string
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 ¶
func (e StartServerComponentRequestValidationError) Cause() error
Cause function returns cause value.
func (StartServerComponentRequestValidationError) Error ¶
func (e StartServerComponentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StartServerComponentRequestValidationError) ErrorName ¶
func (e StartServerComponentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StartServerComponentRequestValidationError) Field ¶
func (e StartServerComponentRequestValidationError) Field() string
Field function returns field value.
func (StartServerComponentRequestValidationError) Key ¶
func (e StartServerComponentRequestValidationError) Key() bool
Key function returns key value.
func (StartServerComponentRequestValidationError) Reason ¶
func (e StartServerComponentRequestValidationError) Reason() string
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 (x *StopServerComponentRequest) ProtoReflect() protoreflect.Message
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 ¶
func (m StopServerComponentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StopServerComponentRequestMultiError) Error ¶
func (m StopServerComponentRequestMultiError) Error() string
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 ¶
func (e StopServerComponentRequestValidationError) Cause() error
Cause function returns cause value.
func (StopServerComponentRequestValidationError) Error ¶
func (e StopServerComponentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StopServerComponentRequestValidationError) ErrorName ¶
func (e StopServerComponentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StopServerComponentRequestValidationError) Field ¶
func (e StopServerComponentRequestValidationError) Field() string
Field function returns field value.
func (StopServerComponentRequestValidationError) Key ¶
func (e StopServerComponentRequestValidationError) Key() bool
Key function returns key value.
func (StopServerComponentRequestValidationError) Reason ¶
func (e StopServerComponentRequestValidationError) Reason() string
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 ¶
func (m SystemComponentUninstallMultiError) Error() string
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 ¶
func (e SystemComponentUninstallValidationError) Cause() error
Cause function returns cause value.
func (SystemComponentUninstallValidationError) Error ¶
func (e SystemComponentUninstallValidationError) Error() string
Error satisfies the builtin error interface
func (SystemComponentUninstallValidationError) ErrorName ¶
func (e SystemComponentUninstallValidationError) ErrorName() string
ErrorName returns error name.
func (SystemComponentUninstallValidationError) Field ¶
func (e SystemComponentUninstallValidationError) Field() string
Field function returns field value.
func (SystemComponentUninstallValidationError) Key ¶
func (e SystemComponentUninstallValidationError) Key() bool
Key function returns key value.
func (SystemComponentUninstallValidationError) Reason ¶
func (e SystemComponentUninstallValidationError) Reason() string
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) GetServerID ¶
func (*UFWReq) ProtoMessage ¶
func (*UFWReq) ProtoMessage()
func (*UFWReq) ProtoReflect ¶
func (x *UFWReq) ProtoReflect() protoreflect.Message
func (*UFWReq) Validate ¶
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 ¶
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) ProtoMessage ¶
func (*UFWRes) ProtoMessage()
func (*UFWRes) ProtoReflect ¶
func (x *UFWRes) ProtoReflect() protoreflect.Message
func (*UFWRes) Validate ¶
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 ¶
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) CreatDir(context.Context, *CreateDirReq) (*emptypb.Empty, error)
func (UnimplementedServerServer) CreateServer ¶
func (UnimplementedServerServer) CreateServer(context.Context, *CreateServerRequest) (*emptypb.Empty, error)
func (UnimplementedServerServer) GetNginxData ¶
func (UnimplementedServerServer) GetNginxData(context.Context, *GetNginxDataReq) (*GetNginxDataRes, error)
func (UnimplementedServerServer) InstallServerComponent ¶
func (UnimplementedServerServer) InstallServerComponent(context.Context, *InstallServerComponentRequest) (*emptypb.Empty, error)
func (UnimplementedServerServer) InstallServerComponentExist ¶
func (UnimplementedServerServer) InstallServerComponentExist(context.Context, *InstallExistedServerComponentRequest) (*emptypb.Empty, error)
func (UnimplementedServerServer) ListBackup ¶
func (UnimplementedServerServer) ListBackup(context.Context, *ListBackupInfoReq) (*ListBackupInfoRes, error)
func (UnimplementedServerServer) ListServer ¶
func (UnimplementedServerServer) ListServer(context.Context, *ListServerRequest) (*ListServerReply, error)
func (UnimplementedServerServer) ListServerComponent ¶
func (UnimplementedServerServer) ListServerComponent(context.Context, *ListServerComponentRequest) (*ListServerComponentReply, error)
func (UnimplementedServerServer) ListServerDirs ¶
func (UnimplementedServerServer) ListServerDirs(context.Context, *ListDirReq) (*ListDirRes, error)
func (UnimplementedServerServer) RestartServerComponent ¶
func (UnimplementedServerServer) RestartServerComponent(context.Context, *StopServerComponentRequest) (*emptypb.Empty, error)
func (UnimplementedServerServer) StartServerComponent ¶
func (UnimplementedServerServer) StartServerComponent(context.Context, *StartServerComponentRequest) (*emptypb.Empty, error)
func (UnimplementedServerServer) StopServerComponent ¶
func (UnimplementedServerServer) StopServerComponent(context.Context, *StopServerComponentRequest) (*emptypb.Empty, error)
func (UnimplementedServerServer) UninstallSystemComponent ¶
func (UnimplementedServerServer) UninstallSystemComponent(context.Context, *SystemComponentUninstall) (*emptypb.Empty, error)
func (UnimplementedServerServer) UpdateNginxData ¶
func (UnimplementedServerServer) UpdateNginxData(context.Context, *UpdateNginxDataReq) (*emptypb.Empty, error)
func (UnimplementedServerServer) UpdateServer ¶
func (UnimplementedServerServer) UpdateServer(context.Context, *UpdateServerRequest) (*emptypb.Empty, error)
func (UnimplementedServerServer) UploadServerFile ¶
func (UnimplementedServerServer) UploadServerFile(context.Context, *UploadFileReq) (*emptypb.Empty, error)
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 ¶
func (m UpdateNginxDataReqMultiError) Error() string
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 ¶
func (e UpdateNginxDataReqValidationError) Cause() error
Cause function returns cause value.
func (UpdateNginxDataReqValidationError) Error ¶
func (e UpdateNginxDataReqValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateNginxDataReqValidationError) ErrorName ¶
func (e UpdateNginxDataReqValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateNginxDataReqValidationError) Field ¶
func (e UpdateNginxDataReqValidationError) Field() string
Field function returns field value.
func (UpdateNginxDataReqValidationError) Key ¶
func (e UpdateNginxDataReqValidationError) Key() bool
Key function returns key value.
func (UpdateNginxDataReqValidationError) Reason ¶
func (e UpdateNginxDataReqValidationError) Reason() string
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 ¶
func (m UpdateServerRequestMultiError) Error() string
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 ¶
func (e UpdateServerRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateServerRequestValidationError) Error ¶
func (e UpdateServerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateServerRequestValidationError) ErrorName ¶
func (e UpdateServerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateServerRequestValidationError) Field ¶
func (e UpdateServerRequestValidationError) Field() string
Field function returns field value.
func (UpdateServerRequestValidationError) Key ¶
func (e UpdateServerRequestValidationError) Key() bool
Key function returns key value.
func (UpdateServerRequestValidationError) Reason ¶
func (e UpdateServerRequestValidationError) Reason() string
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 ¶
func (e UploadFileReqValidationError) Cause() error
Cause function returns cause value.
func (UploadFileReqValidationError) Error ¶
func (e UploadFileReqValidationError) Error() string
Error satisfies the builtin error interface
func (UploadFileReqValidationError) ErrorName ¶
func (e UploadFileReqValidationError) ErrorName() string
ErrorName returns error name.
func (UploadFileReqValidationError) Field ¶
func (e UploadFileReqValidationError) Field() string
Field function returns field value.
func (UploadFileReqValidationError) Key ¶
func (e UploadFileReqValidationError) Key() bool
Key function returns key value.
func (UploadFileReqValidationError) Reason ¶
func (e UploadFileReqValidationError) Reason() string
Reason function returns reason value.