Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterServiceHTTPServer(s *http.Server, srv ServiceHTTPServer)
- func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
- type CheckProductDependReq
- func (*CheckProductDependReq) Descriptor() ([]byte, []int)deprecated
- func (x *CheckProductDependReq) GetComponentCode() string
- func (x *CheckProductDependReq) GetServerID() int64
- func (*CheckProductDependReq) ProtoMessage()
- func (x *CheckProductDependReq) ProtoReflect() protoreflect.Message
- func (x *CheckProductDependReq) Reset()
- func (x *CheckProductDependReq) String() string
- func (m *CheckProductDependReq) Validate() error
- func (m *CheckProductDependReq) ValidateAll() error
- type CheckProductDependReqMultiError
- type CheckProductDependReqValidationError
- func (e CheckProductDependReqValidationError) Cause() error
- func (e CheckProductDependReqValidationError) Error() string
- func (e CheckProductDependReqValidationError) ErrorName() string
- func (e CheckProductDependReqValidationError) Field() string
- func (e CheckProductDependReqValidationError) Key() bool
- func (e CheckProductDependReqValidationError) Reason() string
- 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 InitReq
- func (*InitReq) Descriptor() ([]byte, []int)deprecated
- func (x *InitReq) GetServerID() int64
- func (x *InitReq) GetServiceCode() string
- func (x *InitReq) GetSkip() int32
- func (*InitReq) ProtoMessage()
- func (x *InitReq) ProtoReflect() protoreflect.Message
- func (x *InitReq) Reset()
- func (x *InitReq) String() string
- func (m *InitReq) Validate() error
- func (m *InitReq) ValidateAll() error
- type InitReqMultiError
- type InitReqValidationError
- type InstallProductReq
- func (*InstallProductReq) Descriptor() ([]byte, []int)deprecated
- func (x *InstallProductReq) GetDependItems() []*ProductDependItem
- func (x *InstallProductReq) GetProductCode() string
- func (x *InstallProductReq) GetServerID() int64
- func (*InstallProductReq) ProtoMessage()
- func (x *InstallProductReq) ProtoReflect() protoreflect.Message
- func (x *InstallProductReq) Reset()
- func (x *InstallProductReq) String() string
- func (m *InstallProductReq) Validate() error
- func (m *InstallProductReq) ValidateAll() error
- type InstallProductReqMultiError
- type InstallProductReqValidationError
- func (e InstallProductReqValidationError) Cause() error
- func (e InstallProductReqValidationError) Error() string
- func (e InstallProductReqValidationError) ErrorName() string
- func (e InstallProductReqValidationError) Field() string
- func (e InstallProductReqValidationError) Key() bool
- func (e InstallProductReqValidationError) Reason() string
- type InstalledProductDependItem
- func (*InstalledProductDependItem) Descriptor() ([]byte, []int)deprecated
- func (x *InstalledProductDependItem) GetComponentCode() string
- func (x *InstalledProductDependItem) GetServerDesc() string
- func (x *InstalledProductDependItem) GetServerID() int64
- func (x *InstalledProductDependItem) GetServerIp() string
- func (x *InstalledProductDependItem) GetStatus() int32
- func (*InstalledProductDependItem) ProtoMessage()
- func (x *InstalledProductDependItem) ProtoReflect() protoreflect.Message
- func (x *InstalledProductDependItem) Reset()
- func (x *InstalledProductDependItem) String() string
- func (m *InstalledProductDependItem) Validate() error
- func (m *InstalledProductDependItem) ValidateAll() error
- type InstalledProductDependItemMultiError
- type InstalledProductDependItemValidationError
- func (e InstalledProductDependItemValidationError) Cause() error
- func (e InstalledProductDependItemValidationError) Error() string
- func (e InstalledProductDependItemValidationError) ErrorName() string
- func (e InstalledProductDependItemValidationError) Field() string
- func (e InstalledProductDependItemValidationError) Key() bool
- func (e InstalledProductDependItemValidationError) Reason() string
- type ListProductReply
- func (*ListProductReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListProductReply) GetList() []*ProductReplyItem
- func (*ListProductReply) ProtoMessage()
- func (x *ListProductReply) ProtoReflect() protoreflect.Message
- func (x *ListProductReply) Reset()
- func (x *ListProductReply) String() string
- func (m *ListProductReply) Validate() error
- func (m *ListProductReply) ValidateAll() error
- type ListProductReplyMultiError
- type ListProductReplyValidationError
- func (e ListProductReplyValidationError) Cause() error
- func (e ListProductReplyValidationError) Error() string
- func (e ListProductReplyValidationError) ErrorName() string
- func (e ListProductReplyValidationError) Field() string
- func (e ListProductReplyValidationError) Key() bool
- func (e ListProductReplyValidationError) Reason() string
- type ListProductRequest
- func (*ListProductRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListProductRequest) ProtoMessage()
- func (x *ListProductRequest) ProtoReflect() protoreflect.Message
- func (x *ListProductRequest) Reset()
- func (x *ListProductRequest) String() string
- func (m *ListProductRequest) Validate() error
- func (m *ListProductRequest) ValidateAll() error
- type ListProductRequestMultiError
- type ListProductRequestValidationError
- func (e ListProductRequestValidationError) Cause() error
- func (e ListProductRequestValidationError) Error() string
- func (e ListProductRequestValidationError) ErrorName() string
- func (e ListProductRequestValidationError) Field() string
- func (e ListProductRequestValidationError) Key() bool
- func (e ListProductRequestValidationError) Reason() string
- type ListServerServicesReq
- func (*ListServerServicesReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListServerServicesReq) GetServerID() int64
- func (*ListServerServicesReq) ProtoMessage()
- func (x *ListServerServicesReq) ProtoReflect() protoreflect.Message
- func (x *ListServerServicesReq) Reset()
- func (x *ListServerServicesReq) String() string
- func (m *ListServerServicesReq) Validate() error
- func (m *ListServerServicesReq) ValidateAll() error
- type ListServerServicesReqMultiError
- type ListServerServicesReqValidationError
- func (e ListServerServicesReqValidationError) Cause() error
- func (e ListServerServicesReqValidationError) Error() string
- func (e ListServerServicesReqValidationError) ErrorName() string
- func (e ListServerServicesReqValidationError) Field() string
- func (e ListServerServicesReqValidationError) Key() bool
- func (e ListServerServicesReqValidationError) Reason() string
- type ListServerServicesRes
- func (*ListServerServicesRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListServerServicesRes) GetDependItems() []*InstalledProductDependItem
- func (x *ListServerServicesRes) GetItems() []*ServerServicesResItem
- func (*ListServerServicesRes) ProtoMessage()
- func (x *ListServerServicesRes) ProtoReflect() protoreflect.Message
- func (x *ListServerServicesRes) Reset()
- func (x *ListServerServicesRes) String() string
- func (m *ListServerServicesRes) Validate() error
- func (m *ListServerServicesRes) ValidateAll() error
- type ListServerServicesResMultiError
- type ListServerServicesResValidationError
- func (e ListServerServicesResValidationError) Cause() error
- func (e ListServerServicesResValidationError) Error() string
- func (e ListServerServicesResValidationError) ErrorName() string
- func (e ListServerServicesResValidationError) Field() string
- func (e ListServerServicesResValidationError) Key() bool
- func (e ListServerServicesResValidationError) Reason() string
- type ProductDependItem
- func (*ProductDependItem) Descriptor() ([]byte, []int)deprecated
- func (x *ProductDependItem) GetComponentCode() string
- func (x *ProductDependItem) GetServerID() int64
- func (*ProductDependItem) ProtoMessage()
- func (x *ProductDependItem) ProtoReflect() protoreflect.Message
- func (x *ProductDependItem) Reset()
- func (x *ProductDependItem) String() string
- func (m *ProductDependItem) Validate() error
- func (m *ProductDependItem) ValidateAll() error
- type ProductDependItemMultiError
- type ProductDependItemValidationError
- func (e ProductDependItemValidationError) Cause() error
- func (e ProductDependItemValidationError) Error() string
- func (e ProductDependItemValidationError) ErrorName() string
- func (e ProductDependItemValidationError) Field() string
- func (e ProductDependItemValidationError) Key() bool
- func (e ProductDependItemValidationError) Reason() string
- type ProductDependPutReq
- func (*ProductDependPutReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductDependPutReq) GetComponentCode() string
- func (x *ProductDependPutReq) GetIP() string
- func (x *ProductDependPutReq) GetServerID() int64
- func (*ProductDependPutReq) ProtoMessage()
- func (x *ProductDependPutReq) ProtoReflect() protoreflect.Message
- func (x *ProductDependPutReq) Reset()
- func (x *ProductDependPutReq) String() string
- func (m *ProductDependPutReq) Validate() error
- func (m *ProductDependPutReq) ValidateAll() error
- type ProductDependPutReqMultiError
- type ProductDependPutReqValidationError
- func (e ProductDependPutReqValidationError) Cause() error
- func (e ProductDependPutReqValidationError) Error() string
- func (e ProductDependPutReqValidationError) ErrorName() string
- func (e ProductDependPutReqValidationError) Field() string
- func (e ProductDependPutReqValidationError) Key() bool
- func (e ProductDependPutReqValidationError) Reason() string
- type ProductReplyItem
- func (*ProductReplyItem) Descriptor() ([]byte, []int)deprecated
- func (x *ProductReplyItem) GetCode() string
- func (x *ProductReplyItem) GetDependItems() []*ProductDependItem
- func (x *ProductReplyItem) GetName() string
- func (x *ProductReplyItem) GetServices() []*ProductReplyItem_Service
- func (*ProductReplyItem) ProtoMessage()
- func (x *ProductReplyItem) ProtoReflect() protoreflect.Message
- func (x *ProductReplyItem) Reset()
- func (x *ProductReplyItem) String() string
- func (m *ProductReplyItem) Validate() error
- func (m *ProductReplyItem) ValidateAll() error
- type ProductReplyItemMultiError
- type ProductReplyItemValidationError
- func (e ProductReplyItemValidationError) Cause() error
- func (e ProductReplyItemValidationError) Error() string
- func (e ProductReplyItemValidationError) ErrorName() string
- func (e ProductReplyItemValidationError) Field() string
- func (e ProductReplyItemValidationError) Key() bool
- func (e ProductReplyItemValidationError) Reason() string
- type ProductReplyItem_Service
- func (*ProductReplyItem_Service) Descriptor() ([]byte, []int)deprecated
- func (x *ProductReplyItem_Service) GetCode() string
- func (x *ProductReplyItem_Service) GetName() string
- func (*ProductReplyItem_Service) ProtoMessage()
- func (x *ProductReplyItem_Service) ProtoReflect() protoreflect.Message
- func (x *ProductReplyItem_Service) Reset()
- func (x *ProductReplyItem_Service) String() string
- func (m *ProductReplyItem_Service) Validate() error
- func (m *ProductReplyItem_Service) ValidateAll() error
- type ProductReplyItem_ServiceMultiError
- type ProductReplyItem_ServiceValidationError
- func (e ProductReplyItem_ServiceValidationError) Cause() error
- func (e ProductReplyItem_ServiceValidationError) Error() string
- func (e ProductReplyItem_ServiceValidationError) ErrorName() string
- func (e ProductReplyItem_ServiceValidationError) Field() string
- func (e ProductReplyItem_ServiceValidationError) Key() bool
- func (e ProductReplyItem_ServiceValidationError) Reason() string
- type ServerServicesResItem
- func (*ServerServicesResItem) Descriptor() ([]byte, []int)deprecated
- func (x *ServerServicesResItem) GetCanInstalled() int32
- func (x *ServerServicesResItem) GetDownloadURL() string
- func (x *ServerServicesResItem) GetHasInstalled() int32
- func (x *ServerServicesResItem) GetInitReason() string
- func (x *ServerServicesResItem) GetNeedInit() int32
- func (x *ServerServicesResItem) GetParameters() []*ComponentsParameterDesc
- func (x *ServerServicesResItem) GetRunningStatus() int32
- func (x *ServerServicesResItem) GetServiceCode() string
- func (x *ServerServicesResItem) GetServiceName() string
- func (x *ServerServicesResItem) GetVersion() string
- func (*ServerServicesResItem) ProtoMessage()
- func (x *ServerServicesResItem) ProtoReflect() protoreflect.Message
- func (x *ServerServicesResItem) Reset()
- func (x *ServerServicesResItem) String() string
- func (m *ServerServicesResItem) Validate() error
- func (m *ServerServicesResItem) ValidateAll() error
- type ServerServicesResItemMultiError
- type ServerServicesResItemValidationError
- func (e ServerServicesResItemValidationError) Cause() error
- func (e ServerServicesResItemValidationError) Error() string
- func (e ServerServicesResItemValidationError) ErrorName() string
- func (e ServerServicesResItemValidationError) Field() string
- func (e ServerServicesResItemValidationError) Key() bool
- func (e ServerServicesResItemValidationError) Reason() string
- type ServiceClient
- type ServiceHTTPClient
- type ServiceHTTPClientImpl
- func (c *ServiceHTTPClientImpl) CheckProductDepend(ctx context.Context, in *CheckProductDependReq, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) InstallProduct(ctx context.Context, in *InstallProductReq, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) ListProduct(ctx context.Context, in *ListProductRequest, opts ...http.CallOption) (*ListProductReply, error)
- func (c *ServiceHTTPClientImpl) ProductDependsPut(ctx context.Context, in *ProductDependPutReq, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) ServerServicesList(ctx context.Context, in *ListServerServicesReq, opts ...http.CallOption) (*ListServerServicesRes, error)
- func (c *ServiceHTTPClientImpl) ServiceInit(ctx context.Context, in *InitReq, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) ServiceInstall(ctx context.Context, in *ServicesIntallReq, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) ServiceUninstall(ctx context.Context, in *ServiceUninstallReq, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) ServiceUpdate(ctx context.Context, in *ServicesUpdateReq, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) VersionList(ctx context.Context, in *VersionListReq, opts ...http.CallOption) (*VersionListRes, error)
- func (c *ServiceHTTPClientImpl) VersionRevert(ctx context.Context, in *VersionRevertReq, opts ...http.CallOption) (*emptypb.Empty, error)
- type ServiceHTTPServer
- type ServiceServer
- type ServiceUninstallReq
- func (*ServiceUninstallReq) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceUninstallReq) GetServerID() int64
- func (x *ServiceUninstallReq) GetServiceCode() string
- func (*ServiceUninstallReq) ProtoMessage()
- func (x *ServiceUninstallReq) ProtoReflect() protoreflect.Message
- func (x *ServiceUninstallReq) Reset()
- func (x *ServiceUninstallReq) String() string
- func (m *ServiceUninstallReq) Validate() error
- func (m *ServiceUninstallReq) ValidateAll() error
- type ServiceUninstallReqMultiError
- type ServiceUninstallReqValidationError
- func (e ServiceUninstallReqValidationError) Cause() error
- func (e ServiceUninstallReqValidationError) Error() string
- func (e ServiceUninstallReqValidationError) ErrorName() string
- func (e ServiceUninstallReqValidationError) Field() string
- func (e ServiceUninstallReqValidationError) Key() bool
- func (e ServiceUninstallReqValidationError) Reason() string
- type ServicesIntallReq
- func (*ServicesIntallReq) Descriptor() ([]byte, []int)deprecated
- func (x *ServicesIntallReq) GetComponentCode() string
- func (x *ServicesIntallReq) GetInstallPackagePath() string
- func (x *ServicesIntallReq) GetInstallType() int32
- func (x *ServicesIntallReq) GetParameters() []*ComponentsParameterDesc
- func (x *ServicesIntallReq) GetServerID() int64
- func (*ServicesIntallReq) ProtoMessage()
- func (x *ServicesIntallReq) ProtoReflect() protoreflect.Message
- func (x *ServicesIntallReq) Reset()
- func (x *ServicesIntallReq) String() string
- func (m *ServicesIntallReq) Validate() error
- func (m *ServicesIntallReq) ValidateAll() error
- type ServicesIntallReqMultiError
- type ServicesIntallReqValidationError
- func (e ServicesIntallReqValidationError) Cause() error
- func (e ServicesIntallReqValidationError) Error() string
- func (e ServicesIntallReqValidationError) ErrorName() string
- func (e ServicesIntallReqValidationError) Field() string
- func (e ServicesIntallReqValidationError) Key() bool
- func (e ServicesIntallReqValidationError) Reason() string
- type ServicesUpdateReq
- func (*ServicesUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *ServicesUpdateReq) GetComponentCode() string
- func (x *ServicesUpdateReq) GetInstallPackagePath() string
- func (x *ServicesUpdateReq) GetInstallType() int32
- func (x *ServicesUpdateReq) GetServerID() int64
- func (*ServicesUpdateReq) ProtoMessage()
- func (x *ServicesUpdateReq) ProtoReflect() protoreflect.Message
- func (x *ServicesUpdateReq) Reset()
- func (x *ServicesUpdateReq) String() string
- func (m *ServicesUpdateReq) Validate() error
- func (m *ServicesUpdateReq) ValidateAll() error
- type ServicesUpdateReqMultiError
- type ServicesUpdateReqValidationError
- func (e ServicesUpdateReqValidationError) Cause() error
- func (e ServicesUpdateReqValidationError) Error() string
- func (e ServicesUpdateReqValidationError) ErrorName() string
- func (e ServicesUpdateReqValidationError) Field() string
- func (e ServicesUpdateReqValidationError) Key() bool
- func (e ServicesUpdateReqValidationError) Reason() string
- type UnimplementedServiceServer
- func (UnimplementedServiceServer) CheckProductDepend(context.Context, *CheckProductDependReq) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) InstallProduct(context.Context, *InstallProductReq) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) ListProduct(context.Context, *ListProductRequest) (*ListProductReply, error)
- func (UnimplementedServiceServer) ProductDependsPut(context.Context, *ProductDependPutReq) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) ServerServicesList(context.Context, *ListServerServicesReq) (*ListServerServicesRes, error)
- func (UnimplementedServiceServer) ServiceInit(context.Context, *InitReq) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) ServiceInstall(context.Context, *ServicesIntallReq) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) ServiceUninstall(context.Context, *ServiceUninstallReq) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) ServiceUpdate(context.Context, *ServicesUpdateReq) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) VersionList(context.Context, *VersionListReq) (*VersionListRes, error)
- func (UnimplementedServiceServer) VersionRevert(context.Context, *VersionRevertReq) (*emptypb.Empty, error)
- type UnsafeServiceServer
- type VersionListReq
- func (*VersionListReq) Descriptor() ([]byte, []int)deprecated
- func (x *VersionListReq) GetPage() int32
- func (x *VersionListReq) GetPerPage() int32
- func (x *VersionListReq) GetServerID() int64
- func (x *VersionListReq) GetServiceCode() string
- func (*VersionListReq) ProtoMessage()
- func (x *VersionListReq) ProtoReflect() protoreflect.Message
- func (x *VersionListReq) Reset()
- func (x *VersionListReq) String() string
- func (m *VersionListReq) Validate() error
- func (m *VersionListReq) ValidateAll() error
- type VersionListReqMultiError
- type VersionListReqValidationError
- func (e VersionListReqValidationError) Cause() error
- func (e VersionListReqValidationError) Error() string
- func (e VersionListReqValidationError) ErrorName() string
- func (e VersionListReqValidationError) Field() string
- func (e VersionListReqValidationError) Key() bool
- func (e VersionListReqValidationError) Reason() string
- type VersionListRes
- func (*VersionListRes) Descriptor() ([]byte, []int)deprecated
- func (x *VersionListRes) GetItems() []*VersionListRes_VersionItem
- func (x *VersionListRes) GetTotal() int64
- func (*VersionListRes) ProtoMessage()
- func (x *VersionListRes) ProtoReflect() protoreflect.Message
- func (x *VersionListRes) Reset()
- func (x *VersionListRes) String() string
- func (m *VersionListRes) Validate() error
- func (m *VersionListRes) ValidateAll() error
- type VersionListResMultiError
- type VersionListResValidationError
- func (e VersionListResValidationError) Cause() error
- func (e VersionListResValidationError) Error() string
- func (e VersionListResValidationError) ErrorName() string
- func (e VersionListResValidationError) Field() string
- func (e VersionListResValidationError) Key() bool
- func (e VersionListResValidationError) Reason() string
- type VersionListRes_VersionItem
- func (*VersionListRes_VersionItem) Descriptor() ([]byte, []int)deprecated
- func (x *VersionListRes_VersionItem) GetIsRunningVersion() int32
- func (x *VersionListRes_VersionItem) GetUpdateDate() string
- func (x *VersionListRes_VersionItem) GetVersion() string
- func (x *VersionListRes_VersionItem) GetVersionID() int64
- func (*VersionListRes_VersionItem) ProtoMessage()
- func (x *VersionListRes_VersionItem) ProtoReflect() protoreflect.Message
- func (x *VersionListRes_VersionItem) Reset()
- func (x *VersionListRes_VersionItem) String() string
- func (m *VersionListRes_VersionItem) Validate() error
- func (m *VersionListRes_VersionItem) ValidateAll() error
- type VersionListRes_VersionItemMultiError
- type VersionListRes_VersionItemValidationError
- func (e VersionListRes_VersionItemValidationError) Cause() error
- func (e VersionListRes_VersionItemValidationError) Error() string
- func (e VersionListRes_VersionItemValidationError) ErrorName() string
- func (e VersionListRes_VersionItemValidationError) Field() string
- func (e VersionListRes_VersionItemValidationError) Key() bool
- func (e VersionListRes_VersionItemValidationError) Reason() string
- type VersionRevertReq
- func (*VersionRevertReq) Descriptor() ([]byte, []int)deprecated
- func (x *VersionRevertReq) GetVersionID() int64
- func (*VersionRevertReq) ProtoMessage()
- func (x *VersionRevertReq) ProtoReflect() protoreflect.Message
- func (x *VersionRevertReq) Reset()
- func (x *VersionRevertReq) String() string
- func (m *VersionRevertReq) Validate() error
- func (m *VersionRevertReq) ValidateAll() error
- type VersionRevertReqMultiError
- type VersionRevertReqValidationError
- func (e VersionRevertReqValidationError) Cause() error
- func (e VersionRevertReqValidationError) Error() string
- func (e VersionRevertReqValidationError) ErrorName() string
- func (e VersionRevertReqValidationError) Field() string
- func (e VersionRevertReqValidationError) Key() bool
- func (e VersionRevertReqValidationError) Reason() string
Constants ¶
const OperationServiceCheckProductDepend = "/service.Service/CheckProductDepend"
const OperationServiceInstallProduct = "/service.Service/InstallProduct"
const OperationServiceListProduct = "/service.Service/ListProduct"
const OperationServiceProductDependsPut = "/service.Service/ProductDependsPut"
const OperationServiceServerServicesList = "/service.Service/ServerServicesList"
const OperationServiceServiceInit = "/service.Service/ServiceInit"
const OperationServiceServiceInstall = "/service.Service/ServiceInstall"
const OperationServiceServiceUninstall = "/service.Service/ServiceUninstall"
const OperationServiceServiceUpdate = "/service.Service/ServiceUpdate"
const OperationServiceVersionList = "/service.Service/VersionList"
const OperationServiceVersionRevert = "/service.Service/VersionRevert"
Variables ¶
var File_api_service_api_proto protoreflect.FileDescriptor
var File_api_service_product_proto protoreflect.FileDescriptor
var File_api_service_service_proto protoreflect.FileDescriptor
var Service_ServiceDesc = grpc.ServiceDesc{ ServiceName: "service.Service", HandlerType: (*ServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListProduct", Handler: _Service_ListProduct_Handler, }, { MethodName: "InstallProduct", Handler: _Service_InstallProduct_Handler, }, { MethodName: "CheckProductDepend", Handler: _Service_CheckProductDepend_Handler, }, { MethodName: "ServerServicesList", Handler: _Service_ServerServicesList_Handler, }, { MethodName: "ServiceInstall", Handler: _Service_ServiceInstall_Handler, }, { MethodName: "ServiceInit", Handler: _Service_ServiceInit_Handler, }, { MethodName: "VersionList", Handler: _Service_VersionList_Handler, }, { MethodName: "VersionRevert", Handler: _Service_VersionRevert_Handler, }, { MethodName: "ServiceUpdate", Handler: _Service_ServiceUpdate_Handler, }, { MethodName: "ServiceUninstall", Handler: _Service_ServiceUninstall_Handler, }, { MethodName: "ProductDependsPut", Handler: _Service_ProductDependsPut_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/service/api.proto", }
Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterServiceHTTPServer ¶
func RegisterServiceHTTPServer(s *http.Server, srv ServiceHTTPServer)
func RegisterServiceServer ¶
func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
Types ¶
type CheckProductDependReq ¶
type CheckProductDependReq 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 (*CheckProductDependReq) Descriptor
deprecated
func (*CheckProductDependReq) Descriptor() ([]byte, []int)
Deprecated: Use CheckProductDependReq.ProtoReflect.Descriptor instead.
func (*CheckProductDependReq) GetComponentCode ¶
func (x *CheckProductDependReq) GetComponentCode() string
func (*CheckProductDependReq) GetServerID ¶
func (x *CheckProductDependReq) GetServerID() int64
func (*CheckProductDependReq) ProtoMessage ¶
func (*CheckProductDependReq) ProtoMessage()
func (*CheckProductDependReq) ProtoReflect ¶
func (x *CheckProductDependReq) ProtoReflect() protoreflect.Message
func (*CheckProductDependReq) Reset ¶
func (x *CheckProductDependReq) Reset()
func (*CheckProductDependReq) String ¶
func (x *CheckProductDependReq) String() string
func (*CheckProductDependReq) Validate ¶
func (m *CheckProductDependReq) Validate() error
Validate checks the field values on CheckProductDependReq 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 (*CheckProductDependReq) ValidateAll ¶
func (m *CheckProductDependReq) ValidateAll() error
ValidateAll checks the field values on CheckProductDependReq 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 CheckProductDependReqMultiError, or nil if none found.
type CheckProductDependReqMultiError ¶
type CheckProductDependReqMultiError []error
CheckProductDependReqMultiError is an error wrapping multiple validation errors returned by CheckProductDependReq.ValidateAll() if the designated constraints aren't met.
func (CheckProductDependReqMultiError) AllErrors ¶
func (m CheckProductDependReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckProductDependReqMultiError) Error ¶
func (m CheckProductDependReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckProductDependReqValidationError ¶
type CheckProductDependReqValidationError struct {
// contains filtered or unexported fields
}
CheckProductDependReqValidationError is the validation error returned by CheckProductDependReq.Validate if the designated constraints aren't met.
func (CheckProductDependReqValidationError) Cause ¶
func (e CheckProductDependReqValidationError) Cause() error
Cause function returns cause value.
func (CheckProductDependReqValidationError) Error ¶
func (e CheckProductDependReqValidationError) Error() string
Error satisfies the builtin error interface
func (CheckProductDependReqValidationError) ErrorName ¶
func (e CheckProductDependReqValidationError) ErrorName() string
ErrorName returns error name.
func (CheckProductDependReqValidationError) Field ¶
func (e CheckProductDependReqValidationError) Field() string
Field function returns field value.
func (CheckProductDependReqValidationError) Key ¶
func (e CheckProductDependReqValidationError) Key() bool
Key function returns key value.
func (CheckProductDependReqValidationError) Reason ¶
func (e CheckProductDependReqValidationError) Reason() string
Reason function returns reason value.
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 InitReq ¶
type InitReq struct { ServerID int64 `protobuf:"varint,1,opt,name=serverID,proto3" json:"serverID,omitempty"` ServiceCode string `protobuf:"bytes,2,opt,name=serviceCode,proto3" json:"serviceCode,omitempty"` Skip int32 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"` // contains filtered or unexported fields }
func (*InitReq) Descriptor
deprecated
func (*InitReq) GetServerID ¶
func (*InitReq) GetServiceCode ¶
func (*InitReq) ProtoMessage ¶
func (*InitReq) ProtoMessage()
func (*InitReq) ProtoReflect ¶
func (x *InitReq) ProtoReflect() protoreflect.Message
func (*InitReq) Validate ¶
Validate checks the field values on InitReq 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 (*InitReq) ValidateAll ¶
ValidateAll checks the field values on InitReq 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 InitReqMultiError, or nil if none found.
type InitReqMultiError ¶
type InitReqMultiError []error
InitReqMultiError is an error wrapping multiple validation errors returned by InitReq.ValidateAll() if the designated constraints aren't met.
func (InitReqMultiError) AllErrors ¶
func (m InitReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InitReqMultiError) Error ¶
func (m InitReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InitReqValidationError ¶
type InitReqValidationError struct {
// contains filtered or unexported fields
}
InitReqValidationError is the validation error returned by InitReq.Validate if the designated constraints aren't met.
func (InitReqValidationError) Cause ¶
func (e InitReqValidationError) Cause() error
Cause function returns cause value.
func (InitReqValidationError) Error ¶
func (e InitReqValidationError) Error() string
Error satisfies the builtin error interface
func (InitReqValidationError) ErrorName ¶
func (e InitReqValidationError) ErrorName() string
ErrorName returns error name.
func (InitReqValidationError) Field ¶
func (e InitReqValidationError) Field() string
Field function returns field value.
func (InitReqValidationError) Key ¶
func (e InitReqValidationError) Key() bool
Key function returns key value.
func (InitReqValidationError) Reason ¶
func (e InitReqValidationError) Reason() string
Reason function returns reason value.
type InstallProductReq ¶
type InstallProductReq struct { ServerID int64 `protobuf:"varint,1,opt,name=serverID,proto3" json:"serverID,omitempty"` ProductCode string `protobuf:"bytes,2,opt,name=productCode,proto3" json:"productCode,omitempty"` DependItems []*ProductDependItem `protobuf:"bytes,3,rep,name=dependItems,proto3" json:"dependItems,omitempty"` // contains filtered or unexported fields }
func (*InstallProductReq) Descriptor
deprecated
func (*InstallProductReq) Descriptor() ([]byte, []int)
Deprecated: Use InstallProductReq.ProtoReflect.Descriptor instead.
func (*InstallProductReq) GetDependItems ¶
func (x *InstallProductReq) GetDependItems() []*ProductDependItem
func (*InstallProductReq) GetProductCode ¶
func (x *InstallProductReq) GetProductCode() string
func (*InstallProductReq) GetServerID ¶
func (x *InstallProductReq) GetServerID() int64
func (*InstallProductReq) ProtoMessage ¶
func (*InstallProductReq) ProtoMessage()
func (*InstallProductReq) ProtoReflect ¶
func (x *InstallProductReq) ProtoReflect() protoreflect.Message
func (*InstallProductReq) Reset ¶
func (x *InstallProductReq) Reset()
func (*InstallProductReq) String ¶
func (x *InstallProductReq) String() string
func (*InstallProductReq) Validate ¶
func (m *InstallProductReq) Validate() error
Validate checks the field values on InstallProductReq 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 (*InstallProductReq) ValidateAll ¶
func (m *InstallProductReq) ValidateAll() error
ValidateAll checks the field values on InstallProductReq 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 InstallProductReqMultiError, or nil if none found.
type InstallProductReqMultiError ¶
type InstallProductReqMultiError []error
InstallProductReqMultiError is an error wrapping multiple validation errors returned by InstallProductReq.ValidateAll() if the designated constraints aren't met.
func (InstallProductReqMultiError) AllErrors ¶
func (m InstallProductReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InstallProductReqMultiError) Error ¶
func (m InstallProductReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InstallProductReqValidationError ¶
type InstallProductReqValidationError struct {
// contains filtered or unexported fields
}
InstallProductReqValidationError is the validation error returned by InstallProductReq.Validate if the designated constraints aren't met.
func (InstallProductReqValidationError) Cause ¶
func (e InstallProductReqValidationError) Cause() error
Cause function returns cause value.
func (InstallProductReqValidationError) Error ¶
func (e InstallProductReqValidationError) Error() string
Error satisfies the builtin error interface
func (InstallProductReqValidationError) ErrorName ¶
func (e InstallProductReqValidationError) ErrorName() string
ErrorName returns error name.
func (InstallProductReqValidationError) Field ¶
func (e InstallProductReqValidationError) Field() string
Field function returns field value.
func (InstallProductReqValidationError) Key ¶
func (e InstallProductReqValidationError) Key() bool
Key function returns key value.
func (InstallProductReqValidationError) Reason ¶
func (e InstallProductReqValidationError) Reason() string
Reason function returns reason value.
type InstalledProductDependItem ¶
type InstalledProductDependItem struct { ComponentCode string `protobuf:"bytes,1,opt,name=componentCode,proto3" json:"componentCode,omitempty"` ServerID int64 `protobuf:"varint,2,opt,name=serverID,proto3" json:"serverID,omitempty"` ServerIp string `protobuf:"bytes,3,opt,name=serverIp,proto3" json:"serverIp,omitempty"` Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` ServerDesc string `protobuf:"bytes,5,opt,name=serverDesc,proto3" json:"serverDesc,omitempty"` // contains filtered or unexported fields }
func (*InstalledProductDependItem) Descriptor
deprecated
func (*InstalledProductDependItem) Descriptor() ([]byte, []int)
Deprecated: Use InstalledProductDependItem.ProtoReflect.Descriptor instead.
func (*InstalledProductDependItem) GetComponentCode ¶
func (x *InstalledProductDependItem) GetComponentCode() string
func (*InstalledProductDependItem) GetServerDesc ¶
func (x *InstalledProductDependItem) GetServerDesc() string
func (*InstalledProductDependItem) GetServerID ¶
func (x *InstalledProductDependItem) GetServerID() int64
func (*InstalledProductDependItem) GetServerIp ¶
func (x *InstalledProductDependItem) GetServerIp() string
func (*InstalledProductDependItem) GetStatus ¶
func (x *InstalledProductDependItem) GetStatus() int32
func (*InstalledProductDependItem) ProtoMessage ¶
func (*InstalledProductDependItem) ProtoMessage()
func (*InstalledProductDependItem) ProtoReflect ¶
func (x *InstalledProductDependItem) ProtoReflect() protoreflect.Message
func (*InstalledProductDependItem) Reset ¶
func (x *InstalledProductDependItem) Reset()
func (*InstalledProductDependItem) String ¶
func (x *InstalledProductDependItem) String() string
func (*InstalledProductDependItem) Validate ¶
func (m *InstalledProductDependItem) Validate() error
Validate checks the field values on InstalledProductDependItem 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 (*InstalledProductDependItem) ValidateAll ¶
func (m *InstalledProductDependItem) ValidateAll() error
ValidateAll checks the field values on InstalledProductDependItem 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 InstalledProductDependItemMultiError, or nil if none found.
type InstalledProductDependItemMultiError ¶
type InstalledProductDependItemMultiError []error
InstalledProductDependItemMultiError is an error wrapping multiple validation errors returned by InstalledProductDependItem.ValidateAll() if the designated constraints aren't met.
func (InstalledProductDependItemMultiError) AllErrors ¶
func (m InstalledProductDependItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InstalledProductDependItemMultiError) Error ¶
func (m InstalledProductDependItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InstalledProductDependItemValidationError ¶
type InstalledProductDependItemValidationError struct {
// contains filtered or unexported fields
}
InstalledProductDependItemValidationError is the validation error returned by InstalledProductDependItem.Validate if the designated constraints aren't met.
func (InstalledProductDependItemValidationError) Cause ¶
func (e InstalledProductDependItemValidationError) Cause() error
Cause function returns cause value.
func (InstalledProductDependItemValidationError) Error ¶
func (e InstalledProductDependItemValidationError) Error() string
Error satisfies the builtin error interface
func (InstalledProductDependItemValidationError) ErrorName ¶
func (e InstalledProductDependItemValidationError) ErrorName() string
ErrorName returns error name.
func (InstalledProductDependItemValidationError) Field ¶
func (e InstalledProductDependItemValidationError) Field() string
Field function returns field value.
func (InstalledProductDependItemValidationError) Key ¶
func (e InstalledProductDependItemValidationError) Key() bool
Key function returns key value.
func (InstalledProductDependItemValidationError) Reason ¶
func (e InstalledProductDependItemValidationError) Reason() string
Reason function returns reason value.
type ListProductReply ¶
type ListProductReply struct { List []*ProductReplyItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListProductReply) Descriptor
deprecated
func (*ListProductReply) Descriptor() ([]byte, []int)
Deprecated: Use ListProductReply.ProtoReflect.Descriptor instead.
func (*ListProductReply) GetList ¶
func (x *ListProductReply) GetList() []*ProductReplyItem
func (*ListProductReply) ProtoMessage ¶
func (*ListProductReply) ProtoMessage()
func (*ListProductReply) ProtoReflect ¶
func (x *ListProductReply) ProtoReflect() protoreflect.Message
func (*ListProductReply) Reset ¶
func (x *ListProductReply) Reset()
func (*ListProductReply) String ¶
func (x *ListProductReply) String() string
func (*ListProductReply) Validate ¶
func (m *ListProductReply) Validate() error
Validate checks the field values on ListProductReply 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 (*ListProductReply) ValidateAll ¶
func (m *ListProductReply) ValidateAll() error
ValidateAll checks the field values on ListProductReply 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 ListProductReplyMultiError, or nil if none found.
type ListProductReplyMultiError ¶
type ListProductReplyMultiError []error
ListProductReplyMultiError is an error wrapping multiple validation errors returned by ListProductReply.ValidateAll() if the designated constraints aren't met.
func (ListProductReplyMultiError) AllErrors ¶
func (m ListProductReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListProductReplyMultiError) Error ¶
func (m ListProductReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListProductReplyValidationError ¶
type ListProductReplyValidationError struct {
// contains filtered or unexported fields
}
ListProductReplyValidationError is the validation error returned by ListProductReply.Validate if the designated constraints aren't met.
func (ListProductReplyValidationError) Cause ¶
func (e ListProductReplyValidationError) Cause() error
Cause function returns cause value.
func (ListProductReplyValidationError) Error ¶
func (e ListProductReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListProductReplyValidationError) ErrorName ¶
func (e ListProductReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListProductReplyValidationError) Field ¶
func (e ListProductReplyValidationError) Field() string
Field function returns field value.
func (ListProductReplyValidationError) Key ¶
func (e ListProductReplyValidationError) Key() bool
Key function returns key value.
func (ListProductReplyValidationError) Reason ¶
func (e ListProductReplyValidationError) Reason() string
Reason function returns reason value.
type ListProductRequest ¶
type ListProductRequest struct {
// contains filtered or unexported fields
}
func (*ListProductRequest) Descriptor
deprecated
func (*ListProductRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProductRequest.ProtoReflect.Descriptor instead.
func (*ListProductRequest) ProtoMessage ¶
func (*ListProductRequest) ProtoMessage()
func (*ListProductRequest) ProtoReflect ¶
func (x *ListProductRequest) ProtoReflect() protoreflect.Message
func (*ListProductRequest) Reset ¶
func (x *ListProductRequest) Reset()
func (*ListProductRequest) String ¶
func (x *ListProductRequest) String() string
func (*ListProductRequest) Validate ¶
func (m *ListProductRequest) Validate() error
Validate checks the field values on ListProductRequest 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 (*ListProductRequest) ValidateAll ¶
func (m *ListProductRequest) ValidateAll() error
ValidateAll checks the field values on ListProductRequest 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 ListProductRequestMultiError, or nil if none found.
type ListProductRequestMultiError ¶
type ListProductRequestMultiError []error
ListProductRequestMultiError is an error wrapping multiple validation errors returned by ListProductRequest.ValidateAll() if the designated constraints aren't met.
func (ListProductRequestMultiError) AllErrors ¶
func (m ListProductRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListProductRequestMultiError) Error ¶
func (m ListProductRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListProductRequestValidationError ¶
type ListProductRequestValidationError struct {
// contains filtered or unexported fields
}
ListProductRequestValidationError is the validation error returned by ListProductRequest.Validate if the designated constraints aren't met.
func (ListProductRequestValidationError) Cause ¶
func (e ListProductRequestValidationError) Cause() error
Cause function returns cause value.
func (ListProductRequestValidationError) Error ¶
func (e ListProductRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListProductRequestValidationError) ErrorName ¶
func (e ListProductRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListProductRequestValidationError) Field ¶
func (e ListProductRequestValidationError) Field() string
Field function returns field value.
func (ListProductRequestValidationError) Key ¶
func (e ListProductRequestValidationError) Key() bool
Key function returns key value.
func (ListProductRequestValidationError) Reason ¶
func (e ListProductRequestValidationError) Reason() string
Reason function returns reason value.
type ListServerServicesReq ¶
type ListServerServicesReq struct { ServerID int64 `protobuf:"varint,1,opt,name=serverID,proto3" json:"serverID,omitempty"` // contains filtered or unexported fields }
func (*ListServerServicesReq) Descriptor
deprecated
func (*ListServerServicesReq) Descriptor() ([]byte, []int)
Deprecated: Use ListServerServicesReq.ProtoReflect.Descriptor instead.
func (*ListServerServicesReq) GetServerID ¶
func (x *ListServerServicesReq) GetServerID() int64
func (*ListServerServicesReq) ProtoMessage ¶
func (*ListServerServicesReq) ProtoMessage()
func (*ListServerServicesReq) ProtoReflect ¶
func (x *ListServerServicesReq) ProtoReflect() protoreflect.Message
func (*ListServerServicesReq) Reset ¶
func (x *ListServerServicesReq) Reset()
func (*ListServerServicesReq) String ¶
func (x *ListServerServicesReq) String() string
func (*ListServerServicesReq) Validate ¶
func (m *ListServerServicesReq) Validate() error
Validate checks the field values on ListServerServicesReq 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 (*ListServerServicesReq) ValidateAll ¶
func (m *ListServerServicesReq) ValidateAll() error
ValidateAll checks the field values on ListServerServicesReq 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 ListServerServicesReqMultiError, or nil if none found.
type ListServerServicesReqMultiError ¶
type ListServerServicesReqMultiError []error
ListServerServicesReqMultiError is an error wrapping multiple validation errors returned by ListServerServicesReq.ValidateAll() if the designated constraints aren't met.
func (ListServerServicesReqMultiError) AllErrors ¶
func (m ListServerServicesReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListServerServicesReqMultiError) Error ¶
func (m ListServerServicesReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListServerServicesReqValidationError ¶
type ListServerServicesReqValidationError struct {
// contains filtered or unexported fields
}
ListServerServicesReqValidationError is the validation error returned by ListServerServicesReq.Validate if the designated constraints aren't met.
func (ListServerServicesReqValidationError) Cause ¶
func (e ListServerServicesReqValidationError) Cause() error
Cause function returns cause value.
func (ListServerServicesReqValidationError) Error ¶
func (e ListServerServicesReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListServerServicesReqValidationError) ErrorName ¶
func (e ListServerServicesReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListServerServicesReqValidationError) Field ¶
func (e ListServerServicesReqValidationError) Field() string
Field function returns field value.
func (ListServerServicesReqValidationError) Key ¶
func (e ListServerServicesReqValidationError) Key() bool
Key function returns key value.
func (ListServerServicesReqValidationError) Reason ¶
func (e ListServerServicesReqValidationError) Reason() string
Reason function returns reason value.
type ListServerServicesRes ¶
type ListServerServicesRes struct { Items []*ServerServicesResItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` DependItems []*InstalledProductDependItem `protobuf:"bytes,2,rep,name=dependItems,proto3" json:"dependItems,omitempty"` // contains filtered or unexported fields }
func (*ListServerServicesRes) Descriptor
deprecated
func (*ListServerServicesRes) Descriptor() ([]byte, []int)
Deprecated: Use ListServerServicesRes.ProtoReflect.Descriptor instead.
func (*ListServerServicesRes) GetDependItems ¶
func (x *ListServerServicesRes) GetDependItems() []*InstalledProductDependItem
func (*ListServerServicesRes) GetItems ¶
func (x *ListServerServicesRes) GetItems() []*ServerServicesResItem
func (*ListServerServicesRes) ProtoMessage ¶
func (*ListServerServicesRes) ProtoMessage()
func (*ListServerServicesRes) ProtoReflect ¶
func (x *ListServerServicesRes) ProtoReflect() protoreflect.Message
func (*ListServerServicesRes) Reset ¶
func (x *ListServerServicesRes) Reset()
func (*ListServerServicesRes) String ¶
func (x *ListServerServicesRes) String() string
func (*ListServerServicesRes) Validate ¶
func (m *ListServerServicesRes) Validate() error
Validate checks the field values on ListServerServicesRes 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 (*ListServerServicesRes) ValidateAll ¶
func (m *ListServerServicesRes) ValidateAll() error
ValidateAll checks the field values on ListServerServicesRes 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 ListServerServicesResMultiError, or nil if none found.
type ListServerServicesResMultiError ¶
type ListServerServicesResMultiError []error
ListServerServicesResMultiError is an error wrapping multiple validation errors returned by ListServerServicesRes.ValidateAll() if the designated constraints aren't met.
func (ListServerServicesResMultiError) AllErrors ¶
func (m ListServerServicesResMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListServerServicesResMultiError) Error ¶
func (m ListServerServicesResMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListServerServicesResValidationError ¶
type ListServerServicesResValidationError struct {
// contains filtered or unexported fields
}
ListServerServicesResValidationError is the validation error returned by ListServerServicesRes.Validate if the designated constraints aren't met.
func (ListServerServicesResValidationError) Cause ¶
func (e ListServerServicesResValidationError) Cause() error
Cause function returns cause value.
func (ListServerServicesResValidationError) Error ¶
func (e ListServerServicesResValidationError) Error() string
Error satisfies the builtin error interface
func (ListServerServicesResValidationError) ErrorName ¶
func (e ListServerServicesResValidationError) ErrorName() string
ErrorName returns error name.
func (ListServerServicesResValidationError) Field ¶
func (e ListServerServicesResValidationError) Field() string
Field function returns field value.
func (ListServerServicesResValidationError) Key ¶
func (e ListServerServicesResValidationError) Key() bool
Key function returns key value.
func (ListServerServicesResValidationError) Reason ¶
func (e ListServerServicesResValidationError) Reason() string
Reason function returns reason value.
type ProductDependItem ¶
type ProductDependItem struct { ComponentCode string `protobuf:"bytes,1,opt,name=componentCode,proto3" json:"componentCode,omitempty"` ServerID int64 `protobuf:"varint,2,opt,name=serverID,proto3" json:"serverID,omitempty"` // contains filtered or unexported fields }
func (*ProductDependItem) Descriptor
deprecated
func (*ProductDependItem) Descriptor() ([]byte, []int)
Deprecated: Use ProductDependItem.ProtoReflect.Descriptor instead.
func (*ProductDependItem) GetComponentCode ¶
func (x *ProductDependItem) GetComponentCode() string
func (*ProductDependItem) GetServerID ¶
func (x *ProductDependItem) GetServerID() int64
func (*ProductDependItem) ProtoMessage ¶
func (*ProductDependItem) ProtoMessage()
func (*ProductDependItem) ProtoReflect ¶
func (x *ProductDependItem) ProtoReflect() protoreflect.Message
func (*ProductDependItem) Reset ¶
func (x *ProductDependItem) Reset()
func (*ProductDependItem) String ¶
func (x *ProductDependItem) String() string
func (*ProductDependItem) Validate ¶
func (m *ProductDependItem) Validate() error
Validate checks the field values on ProductDependItem 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 (*ProductDependItem) ValidateAll ¶
func (m *ProductDependItem) ValidateAll() error
ValidateAll checks the field values on ProductDependItem 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 ProductDependItemMultiError, or nil if none found.
type ProductDependItemMultiError ¶
type ProductDependItemMultiError []error
ProductDependItemMultiError is an error wrapping multiple validation errors returned by ProductDependItem.ValidateAll() if the designated constraints aren't met.
func (ProductDependItemMultiError) AllErrors ¶
func (m ProductDependItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProductDependItemMultiError) Error ¶
func (m ProductDependItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProductDependItemValidationError ¶
type ProductDependItemValidationError struct {
// contains filtered or unexported fields
}
ProductDependItemValidationError is the validation error returned by ProductDependItem.Validate if the designated constraints aren't met.
func (ProductDependItemValidationError) Cause ¶
func (e ProductDependItemValidationError) Cause() error
Cause function returns cause value.
func (ProductDependItemValidationError) Error ¶
func (e ProductDependItemValidationError) Error() string
Error satisfies the builtin error interface
func (ProductDependItemValidationError) ErrorName ¶
func (e ProductDependItemValidationError) ErrorName() string
ErrorName returns error name.
func (ProductDependItemValidationError) Field ¶
func (e ProductDependItemValidationError) Field() string
Field function returns field value.
func (ProductDependItemValidationError) Key ¶
func (e ProductDependItemValidationError) Key() bool
Key function returns key value.
func (ProductDependItemValidationError) Reason ¶
func (e ProductDependItemValidationError) Reason() string
Reason function returns reason value.
type ProductDependPutReq ¶
type ProductDependPutReq 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"` IP string `protobuf:"bytes,3,opt,name=IP,proto3" json:"IP,omitempty"` // contains filtered or unexported fields }
func (*ProductDependPutReq) Descriptor
deprecated
func (*ProductDependPutReq) Descriptor() ([]byte, []int)
Deprecated: Use ProductDependPutReq.ProtoReflect.Descriptor instead.
func (*ProductDependPutReq) GetComponentCode ¶
func (x *ProductDependPutReq) GetComponentCode() string
func (*ProductDependPutReq) GetIP ¶
func (x *ProductDependPutReq) GetIP() string
func (*ProductDependPutReq) GetServerID ¶
func (x *ProductDependPutReq) GetServerID() int64
func (*ProductDependPutReq) ProtoMessage ¶
func (*ProductDependPutReq) ProtoMessage()
func (*ProductDependPutReq) ProtoReflect ¶
func (x *ProductDependPutReq) ProtoReflect() protoreflect.Message
func (*ProductDependPutReq) Reset ¶
func (x *ProductDependPutReq) Reset()
func (*ProductDependPutReq) String ¶
func (x *ProductDependPutReq) String() string
func (*ProductDependPutReq) Validate ¶
func (m *ProductDependPutReq) Validate() error
Validate checks the field values on ProductDependPutReq 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 (*ProductDependPutReq) ValidateAll ¶
func (m *ProductDependPutReq) ValidateAll() error
ValidateAll checks the field values on ProductDependPutReq 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 ProductDependPutReqMultiError, or nil if none found.
type ProductDependPutReqMultiError ¶
type ProductDependPutReqMultiError []error
ProductDependPutReqMultiError is an error wrapping multiple validation errors returned by ProductDependPutReq.ValidateAll() if the designated constraints aren't met.
func (ProductDependPutReqMultiError) AllErrors ¶
func (m ProductDependPutReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProductDependPutReqMultiError) Error ¶
func (m ProductDependPutReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProductDependPutReqValidationError ¶
type ProductDependPutReqValidationError struct {
// contains filtered or unexported fields
}
ProductDependPutReqValidationError is the validation error returned by ProductDependPutReq.Validate if the designated constraints aren't met.
func (ProductDependPutReqValidationError) Cause ¶
func (e ProductDependPutReqValidationError) Cause() error
Cause function returns cause value.
func (ProductDependPutReqValidationError) Error ¶
func (e ProductDependPutReqValidationError) Error() string
Error satisfies the builtin error interface
func (ProductDependPutReqValidationError) ErrorName ¶
func (e ProductDependPutReqValidationError) ErrorName() string
ErrorName returns error name.
func (ProductDependPutReqValidationError) Field ¶
func (e ProductDependPutReqValidationError) Field() string
Field function returns field value.
func (ProductDependPutReqValidationError) Key ¶
func (e ProductDependPutReqValidationError) Key() bool
Key function returns key value.
func (ProductDependPutReqValidationError) Reason ¶
func (e ProductDependPutReqValidationError) Reason() string
Reason function returns reason value.
type ProductReplyItem ¶
type ProductReplyItem 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"` Services []*ProductReplyItem_Service `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"` DependItems []*ProductDependItem `protobuf:"bytes,4,rep,name=dependItems,proto3" json:"dependItems,omitempty"` // contains filtered or unexported fields }
func (*ProductReplyItem) Descriptor
deprecated
func (*ProductReplyItem) Descriptor() ([]byte, []int)
Deprecated: Use ProductReplyItem.ProtoReflect.Descriptor instead.
func (*ProductReplyItem) GetCode ¶
func (x *ProductReplyItem) GetCode() string
func (*ProductReplyItem) GetDependItems ¶
func (x *ProductReplyItem) GetDependItems() []*ProductDependItem
func (*ProductReplyItem) GetName ¶
func (x *ProductReplyItem) GetName() string
func (*ProductReplyItem) GetServices ¶
func (x *ProductReplyItem) GetServices() []*ProductReplyItem_Service
func (*ProductReplyItem) ProtoMessage ¶
func (*ProductReplyItem) ProtoMessage()
func (*ProductReplyItem) ProtoReflect ¶
func (x *ProductReplyItem) ProtoReflect() protoreflect.Message
func (*ProductReplyItem) Reset ¶
func (x *ProductReplyItem) Reset()
func (*ProductReplyItem) String ¶
func (x *ProductReplyItem) String() string
func (*ProductReplyItem) Validate ¶
func (m *ProductReplyItem) Validate() error
Validate checks the field values on ProductReplyItem 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 (*ProductReplyItem) ValidateAll ¶
func (m *ProductReplyItem) ValidateAll() error
ValidateAll checks the field values on ProductReplyItem 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 ProductReplyItemMultiError, or nil if none found.
type ProductReplyItemMultiError ¶
type ProductReplyItemMultiError []error
ProductReplyItemMultiError is an error wrapping multiple validation errors returned by ProductReplyItem.ValidateAll() if the designated constraints aren't met.
func (ProductReplyItemMultiError) AllErrors ¶
func (m ProductReplyItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProductReplyItemMultiError) Error ¶
func (m ProductReplyItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProductReplyItemValidationError ¶
type ProductReplyItemValidationError struct {
// contains filtered or unexported fields
}
ProductReplyItemValidationError is the validation error returned by ProductReplyItem.Validate if the designated constraints aren't met.
func (ProductReplyItemValidationError) Cause ¶
func (e ProductReplyItemValidationError) Cause() error
Cause function returns cause value.
func (ProductReplyItemValidationError) Error ¶
func (e ProductReplyItemValidationError) Error() string
Error satisfies the builtin error interface
func (ProductReplyItemValidationError) ErrorName ¶
func (e ProductReplyItemValidationError) ErrorName() string
ErrorName returns error name.
func (ProductReplyItemValidationError) Field ¶
func (e ProductReplyItemValidationError) Field() string
Field function returns field value.
func (ProductReplyItemValidationError) Key ¶
func (e ProductReplyItemValidationError) Key() bool
Key function returns key value.
func (ProductReplyItemValidationError) Reason ¶
func (e ProductReplyItemValidationError) Reason() string
Reason function returns reason value.
type ProductReplyItem_Service ¶
type ProductReplyItem_Service 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"` // contains filtered or unexported fields }
func (*ProductReplyItem_Service) Descriptor
deprecated
func (*ProductReplyItem_Service) Descriptor() ([]byte, []int)
Deprecated: Use ProductReplyItem_Service.ProtoReflect.Descriptor instead.
func (*ProductReplyItem_Service) GetCode ¶
func (x *ProductReplyItem_Service) GetCode() string
func (*ProductReplyItem_Service) GetName ¶
func (x *ProductReplyItem_Service) GetName() string
func (*ProductReplyItem_Service) ProtoMessage ¶
func (*ProductReplyItem_Service) ProtoMessage()
func (*ProductReplyItem_Service) ProtoReflect ¶
func (x *ProductReplyItem_Service) ProtoReflect() protoreflect.Message
func (*ProductReplyItem_Service) Reset ¶
func (x *ProductReplyItem_Service) Reset()
func (*ProductReplyItem_Service) String ¶
func (x *ProductReplyItem_Service) String() string
func (*ProductReplyItem_Service) Validate ¶
func (m *ProductReplyItem_Service) Validate() error
Validate checks the field values on ProductReplyItem_Service 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 (*ProductReplyItem_Service) ValidateAll ¶
func (m *ProductReplyItem_Service) ValidateAll() error
ValidateAll checks the field values on ProductReplyItem_Service 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 ProductReplyItem_ServiceMultiError, or nil if none found.
type ProductReplyItem_ServiceMultiError ¶
type ProductReplyItem_ServiceMultiError []error
ProductReplyItem_ServiceMultiError is an error wrapping multiple validation errors returned by ProductReplyItem_Service.ValidateAll() if the designated constraints aren't met.
func (ProductReplyItem_ServiceMultiError) AllErrors ¶
func (m ProductReplyItem_ServiceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProductReplyItem_ServiceMultiError) Error ¶
func (m ProductReplyItem_ServiceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProductReplyItem_ServiceValidationError ¶
type ProductReplyItem_ServiceValidationError struct {
// contains filtered or unexported fields
}
ProductReplyItem_ServiceValidationError is the validation error returned by ProductReplyItem_Service.Validate if the designated constraints aren't met.
func (ProductReplyItem_ServiceValidationError) Cause ¶
func (e ProductReplyItem_ServiceValidationError) Cause() error
Cause function returns cause value.
func (ProductReplyItem_ServiceValidationError) Error ¶
func (e ProductReplyItem_ServiceValidationError) Error() string
Error satisfies the builtin error interface
func (ProductReplyItem_ServiceValidationError) ErrorName ¶
func (e ProductReplyItem_ServiceValidationError) ErrorName() string
ErrorName returns error name.
func (ProductReplyItem_ServiceValidationError) Field ¶
func (e ProductReplyItem_ServiceValidationError) Field() string
Field function returns field value.
func (ProductReplyItem_ServiceValidationError) Key ¶
func (e ProductReplyItem_ServiceValidationError) Key() bool
Key function returns key value.
func (ProductReplyItem_ServiceValidationError) Reason ¶
func (e ProductReplyItem_ServiceValidationError) Reason() string
Reason function returns reason value.
type ServerServicesResItem ¶
type ServerServicesResItem struct { ServiceName string `protobuf:"bytes,1,opt,name=serviceName,proto3" json:"serviceName,omitempty"` ServiceCode string `protobuf:"bytes,2,opt,name=serviceCode,proto3" json:"serviceCode,omitempty"` HasInstalled int32 `protobuf:"varint,3,opt,name=hasInstalled,proto3" json:"hasInstalled,omitempty"` CanInstalled int32 `protobuf:"varint,4,opt,name=canInstalled,proto3" json:"canInstalled,omitempty"` RunningStatus int32 `protobuf:"varint,5,opt,name=runningStatus,proto3" json:"runningStatus,omitempty"` DownloadURL string `protobuf:"bytes,7,opt,name=downloadURL,proto3" json:"downloadURL,omitempty"` Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"` NeedInit int32 `protobuf:"varint,9,opt,name=needInit,proto3" json:"needInit,omitempty"` InitReason string `protobuf:"bytes,10,opt,name=initReason,proto3" json:"initReason,omitempty"` Parameters []*ComponentsParameterDesc `protobuf:"bytes,11,rep,name=parameters,proto3" json:"parameters,omitempty"` // contains filtered or unexported fields }
func (*ServerServicesResItem) Descriptor
deprecated
func (*ServerServicesResItem) Descriptor() ([]byte, []int)
Deprecated: Use ServerServicesResItem.ProtoReflect.Descriptor instead.
func (*ServerServicesResItem) GetCanInstalled ¶
func (x *ServerServicesResItem) GetCanInstalled() int32
func (*ServerServicesResItem) GetDownloadURL ¶
func (x *ServerServicesResItem) GetDownloadURL() string
func (*ServerServicesResItem) GetHasInstalled ¶
func (x *ServerServicesResItem) GetHasInstalled() int32
func (*ServerServicesResItem) GetInitReason ¶
func (x *ServerServicesResItem) GetInitReason() string
func (*ServerServicesResItem) GetNeedInit ¶
func (x *ServerServicesResItem) GetNeedInit() int32
func (*ServerServicesResItem) GetParameters ¶
func (x *ServerServicesResItem) GetParameters() []*ComponentsParameterDesc
func (*ServerServicesResItem) GetRunningStatus ¶
func (x *ServerServicesResItem) GetRunningStatus() int32
func (*ServerServicesResItem) GetServiceCode ¶
func (x *ServerServicesResItem) GetServiceCode() string
func (*ServerServicesResItem) GetServiceName ¶
func (x *ServerServicesResItem) GetServiceName() string
func (*ServerServicesResItem) GetVersion ¶
func (x *ServerServicesResItem) GetVersion() string
func (*ServerServicesResItem) ProtoMessage ¶
func (*ServerServicesResItem) ProtoMessage()
func (*ServerServicesResItem) ProtoReflect ¶
func (x *ServerServicesResItem) ProtoReflect() protoreflect.Message
func (*ServerServicesResItem) Reset ¶
func (x *ServerServicesResItem) Reset()
func (*ServerServicesResItem) String ¶
func (x *ServerServicesResItem) String() string
func (*ServerServicesResItem) Validate ¶
func (m *ServerServicesResItem) Validate() error
Validate checks the field values on ServerServicesResItem 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 (*ServerServicesResItem) ValidateAll ¶
func (m *ServerServicesResItem) ValidateAll() error
ValidateAll checks the field values on ServerServicesResItem 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 ServerServicesResItemMultiError, or nil if none found.
type ServerServicesResItemMultiError ¶
type ServerServicesResItemMultiError []error
ServerServicesResItemMultiError is an error wrapping multiple validation errors returned by ServerServicesResItem.ValidateAll() if the designated constraints aren't met.
func (ServerServicesResItemMultiError) AllErrors ¶
func (m ServerServicesResItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServerServicesResItemMultiError) Error ¶
func (m ServerServicesResItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServerServicesResItemValidationError ¶
type ServerServicesResItemValidationError struct {
// contains filtered or unexported fields
}
ServerServicesResItemValidationError is the validation error returned by ServerServicesResItem.Validate if the designated constraints aren't met.
func (ServerServicesResItemValidationError) Cause ¶
func (e ServerServicesResItemValidationError) Cause() error
Cause function returns cause value.
func (ServerServicesResItemValidationError) Error ¶
func (e ServerServicesResItemValidationError) Error() string
Error satisfies the builtin error interface
func (ServerServicesResItemValidationError) ErrorName ¶
func (e ServerServicesResItemValidationError) ErrorName() string
ErrorName returns error name.
func (ServerServicesResItemValidationError) Field ¶
func (e ServerServicesResItemValidationError) Field() string
Field function returns field value.
func (ServerServicesResItemValidationError) Key ¶
func (e ServerServicesResItemValidationError) Key() bool
Key function returns key value.
func (ServerServicesResItemValidationError) Reason ¶
func (e ServerServicesResItemValidationError) Reason() string
Reason function returns reason value.
type ServiceClient ¶
type ServiceClient interface { ListProduct(ctx context.Context, in *ListProductRequest, opts ...grpc.CallOption) (*ListProductReply, error) InstallProduct(ctx context.Context, in *InstallProductReq, opts ...grpc.CallOption) (*emptypb.Empty, error) CheckProductDepend(ctx context.Context, in *CheckProductDependReq, opts ...grpc.CallOption) (*emptypb.Empty, error) ServerServicesList(ctx context.Context, in *ListServerServicesReq, opts ...grpc.CallOption) (*ListServerServicesRes, error) ServiceInstall(ctx context.Context, in *ServicesIntallReq, opts ...grpc.CallOption) (*emptypb.Empty, error) ServiceInit(ctx context.Context, in *InitReq, opts ...grpc.CallOption) (*emptypb.Empty, error) VersionList(ctx context.Context, in *VersionListReq, opts ...grpc.CallOption) (*VersionListRes, error) VersionRevert(ctx context.Context, in *VersionRevertReq, opts ...grpc.CallOption) (*emptypb.Empty, error) ServiceUpdate(ctx context.Context, in *ServicesUpdateReq, opts ...grpc.CallOption) (*emptypb.Empty, error) ServiceUninstall(ctx context.Context, in *ServiceUninstallReq, opts ...grpc.CallOption) (*emptypb.Empty, error) ProductDependsPut(ctx context.Context, in *ProductDependPutReq, opts ...grpc.CallOption) (*emptypb.Empty, error) }
ServiceClient is the client API for Service 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 NewServiceClient ¶
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient
type ServiceHTTPClient ¶
type ServiceHTTPClient interface { CheckProductDepend(ctx context.Context, req *CheckProductDependReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) InstallProduct(ctx context.Context, req *InstallProductReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) ListProduct(ctx context.Context, req *ListProductRequest, opts ...http.CallOption) (rsp *ListProductReply, err error) ProductDependsPut(ctx context.Context, req *ProductDependPutReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) ServerServicesList(ctx context.Context, req *ListServerServicesReq, opts ...http.CallOption) (rsp *ListServerServicesRes, err error) ServiceInit(ctx context.Context, req *InitReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) ServiceInstall(ctx context.Context, req *ServicesIntallReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) ServiceUninstall(ctx context.Context, req *ServiceUninstallReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) ServiceUpdate(ctx context.Context, req *ServicesUpdateReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) VersionList(ctx context.Context, req *VersionListReq, opts ...http.CallOption) (rsp *VersionListRes, err error) VersionRevert(ctx context.Context, req *VersionRevertReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) }
func NewServiceHTTPClient ¶
func NewServiceHTTPClient(client *http.Client) ServiceHTTPClient
type ServiceHTTPClientImpl ¶
type ServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*ServiceHTTPClientImpl) CheckProductDepend ¶
func (c *ServiceHTTPClientImpl) CheckProductDepend(ctx context.Context, in *CheckProductDependReq, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) InstallProduct ¶
func (c *ServiceHTTPClientImpl) InstallProduct(ctx context.Context, in *InstallProductReq, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) ListProduct ¶
func (c *ServiceHTTPClientImpl) ListProduct(ctx context.Context, in *ListProductRequest, opts ...http.CallOption) (*ListProductReply, error)
func (*ServiceHTTPClientImpl) ProductDependsPut ¶
func (c *ServiceHTTPClientImpl) ProductDependsPut(ctx context.Context, in *ProductDependPutReq, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) ServerServicesList ¶
func (c *ServiceHTTPClientImpl) ServerServicesList(ctx context.Context, in *ListServerServicesReq, opts ...http.CallOption) (*ListServerServicesRes, error)
func (*ServiceHTTPClientImpl) ServiceInit ¶
func (c *ServiceHTTPClientImpl) ServiceInit(ctx context.Context, in *InitReq, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) ServiceInstall ¶
func (c *ServiceHTTPClientImpl) ServiceInstall(ctx context.Context, in *ServicesIntallReq, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) ServiceUninstall ¶
func (c *ServiceHTTPClientImpl) ServiceUninstall(ctx context.Context, in *ServiceUninstallReq, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) ServiceUpdate ¶
func (c *ServiceHTTPClientImpl) ServiceUpdate(ctx context.Context, in *ServicesUpdateReq, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) VersionList ¶
func (c *ServiceHTTPClientImpl) VersionList(ctx context.Context, in *VersionListReq, opts ...http.CallOption) (*VersionListRes, error)
func (*ServiceHTTPClientImpl) VersionRevert ¶
func (c *ServiceHTTPClientImpl) VersionRevert(ctx context.Context, in *VersionRevertReq, opts ...http.CallOption) (*emptypb.Empty, error)
type ServiceHTTPServer ¶
type ServiceHTTPServer interface { CheckProductDepend(context.Context, *CheckProductDependReq) (*emptypb.Empty, error) InstallProduct(context.Context, *InstallProductReq) (*emptypb.Empty, error) ListProduct(context.Context, *ListProductRequest) (*ListProductReply, error) ProductDependsPut(context.Context, *ProductDependPutReq) (*emptypb.Empty, error) ServerServicesList(context.Context, *ListServerServicesReq) (*ListServerServicesRes, error) ServiceInit(context.Context, *InitReq) (*emptypb.Empty, error) ServiceInstall(context.Context, *ServicesIntallReq) (*emptypb.Empty, error) ServiceUninstall(context.Context, *ServiceUninstallReq) (*emptypb.Empty, error) ServiceUpdate(context.Context, *ServicesUpdateReq) (*emptypb.Empty, error) VersionList(context.Context, *VersionListReq) (*VersionListRes, error) VersionRevert(context.Context, *VersionRevertReq) (*emptypb.Empty, error) }
type ServiceServer ¶
type ServiceServer interface { ListProduct(context.Context, *ListProductRequest) (*ListProductReply, error) InstallProduct(context.Context, *InstallProductReq) (*emptypb.Empty, error) CheckProductDepend(context.Context, *CheckProductDependReq) (*emptypb.Empty, error) ServerServicesList(context.Context, *ListServerServicesReq) (*ListServerServicesRes, error) ServiceInstall(context.Context, *ServicesIntallReq) (*emptypb.Empty, error) ServiceInit(context.Context, *InitReq) (*emptypb.Empty, error) VersionList(context.Context, *VersionListReq) (*VersionListRes, error) VersionRevert(context.Context, *VersionRevertReq) (*emptypb.Empty, error) ServiceUpdate(context.Context, *ServicesUpdateReq) (*emptypb.Empty, error) ServiceUninstall(context.Context, *ServiceUninstallReq) (*emptypb.Empty, error) ProductDependsPut(context.Context, *ProductDependPutReq) (*emptypb.Empty, error) // contains filtered or unexported methods }
ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility
type ServiceUninstallReq ¶
type ServiceUninstallReq struct { ServerID int64 `protobuf:"varint,1,opt,name=serverID,proto3" json:"serverID,omitempty"` ServiceCode string `protobuf:"bytes,2,opt,name=serviceCode,proto3" json:"serviceCode,omitempty"` // contains filtered or unexported fields }
func (*ServiceUninstallReq) Descriptor
deprecated
func (*ServiceUninstallReq) Descriptor() ([]byte, []int)
Deprecated: Use ServiceUninstallReq.ProtoReflect.Descriptor instead.
func (*ServiceUninstallReq) GetServerID ¶
func (x *ServiceUninstallReq) GetServerID() int64
func (*ServiceUninstallReq) GetServiceCode ¶
func (x *ServiceUninstallReq) GetServiceCode() string
func (*ServiceUninstallReq) ProtoMessage ¶
func (*ServiceUninstallReq) ProtoMessage()
func (*ServiceUninstallReq) ProtoReflect ¶
func (x *ServiceUninstallReq) ProtoReflect() protoreflect.Message
func (*ServiceUninstallReq) Reset ¶
func (x *ServiceUninstallReq) Reset()
func (*ServiceUninstallReq) String ¶
func (x *ServiceUninstallReq) String() string
func (*ServiceUninstallReq) Validate ¶
func (m *ServiceUninstallReq) Validate() error
Validate checks the field values on ServiceUninstallReq 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 (*ServiceUninstallReq) ValidateAll ¶
func (m *ServiceUninstallReq) ValidateAll() error
ValidateAll checks the field values on ServiceUninstallReq 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 ServiceUninstallReqMultiError, or nil if none found.
type ServiceUninstallReqMultiError ¶
type ServiceUninstallReqMultiError []error
ServiceUninstallReqMultiError is an error wrapping multiple validation errors returned by ServiceUninstallReq.ValidateAll() if the designated constraints aren't met.
func (ServiceUninstallReqMultiError) AllErrors ¶
func (m ServiceUninstallReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceUninstallReqMultiError) Error ¶
func (m ServiceUninstallReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceUninstallReqValidationError ¶
type ServiceUninstallReqValidationError struct {
// contains filtered or unexported fields
}
ServiceUninstallReqValidationError is the validation error returned by ServiceUninstallReq.Validate if the designated constraints aren't met.
func (ServiceUninstallReqValidationError) Cause ¶
func (e ServiceUninstallReqValidationError) Cause() error
Cause function returns cause value.
func (ServiceUninstallReqValidationError) Error ¶
func (e ServiceUninstallReqValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceUninstallReqValidationError) ErrorName ¶
func (e ServiceUninstallReqValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceUninstallReqValidationError) Field ¶
func (e ServiceUninstallReqValidationError) Field() string
Field function returns field value.
func (ServiceUninstallReqValidationError) Key ¶
func (e ServiceUninstallReqValidationError) Key() bool
Key function returns key value.
func (ServiceUninstallReqValidationError) Reason ¶
func (e ServiceUninstallReqValidationError) Reason() string
Reason function returns reason value.
type ServicesIntallReq ¶
type ServicesIntallReq 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"` Parameters []*ComponentsParameterDesc `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty"` InstallType int32 `protobuf:"varint,5,opt,name=installType,proto3" json:"installType,omitempty"` // contains filtered or unexported fields }
func (*ServicesIntallReq) Descriptor
deprecated
func (*ServicesIntallReq) Descriptor() ([]byte, []int)
Deprecated: Use ServicesIntallReq.ProtoReflect.Descriptor instead.
func (*ServicesIntallReq) GetComponentCode ¶
func (x *ServicesIntallReq) GetComponentCode() string
func (*ServicesIntallReq) GetInstallPackagePath ¶
func (x *ServicesIntallReq) GetInstallPackagePath() string
func (*ServicesIntallReq) GetInstallType ¶
func (x *ServicesIntallReq) GetInstallType() int32
func (*ServicesIntallReq) GetParameters ¶
func (x *ServicesIntallReq) GetParameters() []*ComponentsParameterDesc
func (*ServicesIntallReq) GetServerID ¶
func (x *ServicesIntallReq) GetServerID() int64
func (*ServicesIntallReq) ProtoMessage ¶
func (*ServicesIntallReq) ProtoMessage()
func (*ServicesIntallReq) ProtoReflect ¶
func (x *ServicesIntallReq) ProtoReflect() protoreflect.Message
func (*ServicesIntallReq) Reset ¶
func (x *ServicesIntallReq) Reset()
func (*ServicesIntallReq) String ¶
func (x *ServicesIntallReq) String() string
func (*ServicesIntallReq) Validate ¶
func (m *ServicesIntallReq) Validate() error
Validate checks the field values on ServicesIntallReq 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 (*ServicesIntallReq) ValidateAll ¶
func (m *ServicesIntallReq) ValidateAll() error
ValidateAll checks the field values on ServicesIntallReq 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 ServicesIntallReqMultiError, or nil if none found.
type ServicesIntallReqMultiError ¶
type ServicesIntallReqMultiError []error
ServicesIntallReqMultiError is an error wrapping multiple validation errors returned by ServicesIntallReq.ValidateAll() if the designated constraints aren't met.
func (ServicesIntallReqMultiError) AllErrors ¶
func (m ServicesIntallReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServicesIntallReqMultiError) Error ¶
func (m ServicesIntallReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServicesIntallReqValidationError ¶
type ServicesIntallReqValidationError struct {
// contains filtered or unexported fields
}
ServicesIntallReqValidationError is the validation error returned by ServicesIntallReq.Validate if the designated constraints aren't met.
func (ServicesIntallReqValidationError) Cause ¶
func (e ServicesIntallReqValidationError) Cause() error
Cause function returns cause value.
func (ServicesIntallReqValidationError) Error ¶
func (e ServicesIntallReqValidationError) Error() string
Error satisfies the builtin error interface
func (ServicesIntallReqValidationError) ErrorName ¶
func (e ServicesIntallReqValidationError) ErrorName() string
ErrorName returns error name.
func (ServicesIntallReqValidationError) Field ¶
func (e ServicesIntallReqValidationError) Field() string
Field function returns field value.
func (ServicesIntallReqValidationError) Key ¶
func (e ServicesIntallReqValidationError) Key() bool
Key function returns key value.
func (ServicesIntallReqValidationError) Reason ¶
func (e ServicesIntallReqValidationError) Reason() string
Reason function returns reason value.
type ServicesUpdateReq ¶
type ServicesUpdateReq 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"` InstallType int32 `protobuf:"varint,4,opt,name=installType,proto3" json:"installType,omitempty"` // contains filtered or unexported fields }
func (*ServicesUpdateReq) Descriptor
deprecated
func (*ServicesUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use ServicesUpdateReq.ProtoReflect.Descriptor instead.
func (*ServicesUpdateReq) GetComponentCode ¶
func (x *ServicesUpdateReq) GetComponentCode() string
func (*ServicesUpdateReq) GetInstallPackagePath ¶
func (x *ServicesUpdateReq) GetInstallPackagePath() string
func (*ServicesUpdateReq) GetInstallType ¶
func (x *ServicesUpdateReq) GetInstallType() int32
func (*ServicesUpdateReq) GetServerID ¶
func (x *ServicesUpdateReq) GetServerID() int64
func (*ServicesUpdateReq) ProtoMessage ¶
func (*ServicesUpdateReq) ProtoMessage()
func (*ServicesUpdateReq) ProtoReflect ¶
func (x *ServicesUpdateReq) ProtoReflect() protoreflect.Message
func (*ServicesUpdateReq) Reset ¶
func (x *ServicesUpdateReq) Reset()
func (*ServicesUpdateReq) String ¶
func (x *ServicesUpdateReq) String() string
func (*ServicesUpdateReq) Validate ¶
func (m *ServicesUpdateReq) Validate() error
Validate checks the field values on ServicesUpdateReq 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 (*ServicesUpdateReq) ValidateAll ¶
func (m *ServicesUpdateReq) ValidateAll() error
ValidateAll checks the field values on ServicesUpdateReq 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 ServicesUpdateReqMultiError, or nil if none found.
type ServicesUpdateReqMultiError ¶
type ServicesUpdateReqMultiError []error
ServicesUpdateReqMultiError is an error wrapping multiple validation errors returned by ServicesUpdateReq.ValidateAll() if the designated constraints aren't met.
func (ServicesUpdateReqMultiError) AllErrors ¶
func (m ServicesUpdateReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServicesUpdateReqMultiError) Error ¶
func (m ServicesUpdateReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServicesUpdateReqValidationError ¶
type ServicesUpdateReqValidationError struct {
// contains filtered or unexported fields
}
ServicesUpdateReqValidationError is the validation error returned by ServicesUpdateReq.Validate if the designated constraints aren't met.
func (ServicesUpdateReqValidationError) Cause ¶
func (e ServicesUpdateReqValidationError) Cause() error
Cause function returns cause value.
func (ServicesUpdateReqValidationError) Error ¶
func (e ServicesUpdateReqValidationError) Error() string
Error satisfies the builtin error interface
func (ServicesUpdateReqValidationError) ErrorName ¶
func (e ServicesUpdateReqValidationError) ErrorName() string
ErrorName returns error name.
func (ServicesUpdateReqValidationError) Field ¶
func (e ServicesUpdateReqValidationError) Field() string
Field function returns field value.
func (ServicesUpdateReqValidationError) Key ¶
func (e ServicesUpdateReqValidationError) Key() bool
Key function returns key value.
func (ServicesUpdateReqValidationError) Reason ¶
func (e ServicesUpdateReqValidationError) Reason() string
Reason function returns reason value.
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct { }
UnimplementedServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServiceServer) CheckProductDepend ¶
func (UnimplementedServiceServer) CheckProductDepend(context.Context, *CheckProductDependReq) (*emptypb.Empty, error)
func (UnimplementedServiceServer) InstallProduct ¶
func (UnimplementedServiceServer) InstallProduct(context.Context, *InstallProductReq) (*emptypb.Empty, error)
func (UnimplementedServiceServer) ListProduct ¶
func (UnimplementedServiceServer) ListProduct(context.Context, *ListProductRequest) (*ListProductReply, error)
func (UnimplementedServiceServer) ProductDependsPut ¶
func (UnimplementedServiceServer) ProductDependsPut(context.Context, *ProductDependPutReq) (*emptypb.Empty, error)
func (UnimplementedServiceServer) ServerServicesList ¶
func (UnimplementedServiceServer) ServerServicesList(context.Context, *ListServerServicesReq) (*ListServerServicesRes, error)
func (UnimplementedServiceServer) ServiceInit ¶
func (UnimplementedServiceServer) ServiceInstall ¶
func (UnimplementedServiceServer) ServiceInstall(context.Context, *ServicesIntallReq) (*emptypb.Empty, error)
func (UnimplementedServiceServer) ServiceUninstall ¶
func (UnimplementedServiceServer) ServiceUninstall(context.Context, *ServiceUninstallReq) (*emptypb.Empty, error)
func (UnimplementedServiceServer) ServiceUpdate ¶
func (UnimplementedServiceServer) ServiceUpdate(context.Context, *ServicesUpdateReq) (*emptypb.Empty, error)
func (UnimplementedServiceServer) VersionList ¶
func (UnimplementedServiceServer) VersionList(context.Context, *VersionListReq) (*VersionListRes, error)
func (UnimplementedServiceServer) VersionRevert ¶
func (UnimplementedServiceServer) VersionRevert(context.Context, *VersionRevertReq) (*emptypb.Empty, error)
type UnsafeServiceServer ¶
type UnsafeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.
type VersionListReq ¶
type VersionListReq struct { ServerID int64 `protobuf:"varint,1,opt,name=serverID,proto3" json:"serverID,omitempty"` ServiceCode string `protobuf:"bytes,2,opt,name=serviceCode,proto3" json:"serviceCode,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` PerPage int32 `protobuf:"varint,4,opt,name=perPage,proto3" json:"perPage,omitempty"` // contains filtered or unexported fields }
func (*VersionListReq) Descriptor
deprecated
func (*VersionListReq) Descriptor() ([]byte, []int)
Deprecated: Use VersionListReq.ProtoReflect.Descriptor instead.
func (*VersionListReq) GetPage ¶
func (x *VersionListReq) GetPage() int32
func (*VersionListReq) GetPerPage ¶
func (x *VersionListReq) GetPerPage() int32
func (*VersionListReq) GetServerID ¶
func (x *VersionListReq) GetServerID() int64
func (*VersionListReq) GetServiceCode ¶
func (x *VersionListReq) GetServiceCode() string
func (*VersionListReq) ProtoMessage ¶
func (*VersionListReq) ProtoMessage()
func (*VersionListReq) ProtoReflect ¶
func (x *VersionListReq) ProtoReflect() protoreflect.Message
func (*VersionListReq) Reset ¶
func (x *VersionListReq) Reset()
func (*VersionListReq) String ¶
func (x *VersionListReq) String() string
func (*VersionListReq) Validate ¶
func (m *VersionListReq) Validate() error
Validate checks the field values on VersionListReq 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 (*VersionListReq) ValidateAll ¶
func (m *VersionListReq) ValidateAll() error
ValidateAll checks the field values on VersionListReq 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 VersionListReqMultiError, or nil if none found.
type VersionListReqMultiError ¶
type VersionListReqMultiError []error
VersionListReqMultiError is an error wrapping multiple validation errors returned by VersionListReq.ValidateAll() if the designated constraints aren't met.
func (VersionListReqMultiError) AllErrors ¶
func (m VersionListReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VersionListReqMultiError) Error ¶
func (m VersionListReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VersionListReqValidationError ¶
type VersionListReqValidationError struct {
// contains filtered or unexported fields
}
VersionListReqValidationError is the validation error returned by VersionListReq.Validate if the designated constraints aren't met.
func (VersionListReqValidationError) Cause ¶
func (e VersionListReqValidationError) Cause() error
Cause function returns cause value.
func (VersionListReqValidationError) Error ¶
func (e VersionListReqValidationError) Error() string
Error satisfies the builtin error interface
func (VersionListReqValidationError) ErrorName ¶
func (e VersionListReqValidationError) ErrorName() string
ErrorName returns error name.
func (VersionListReqValidationError) Field ¶
func (e VersionListReqValidationError) Field() string
Field function returns field value.
func (VersionListReqValidationError) Key ¶
func (e VersionListReqValidationError) Key() bool
Key function returns key value.
func (VersionListReqValidationError) Reason ¶
func (e VersionListReqValidationError) Reason() string
Reason function returns reason value.
type VersionListRes ¶
type VersionListRes struct { Items []*VersionListRes_VersionItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*VersionListRes) Descriptor
deprecated
func (*VersionListRes) Descriptor() ([]byte, []int)
Deprecated: Use VersionListRes.ProtoReflect.Descriptor instead.
func (*VersionListRes) GetItems ¶
func (x *VersionListRes) GetItems() []*VersionListRes_VersionItem
func (*VersionListRes) GetTotal ¶
func (x *VersionListRes) GetTotal() int64
func (*VersionListRes) ProtoMessage ¶
func (*VersionListRes) ProtoMessage()
func (*VersionListRes) ProtoReflect ¶
func (x *VersionListRes) ProtoReflect() protoreflect.Message
func (*VersionListRes) Reset ¶
func (x *VersionListRes) Reset()
func (*VersionListRes) String ¶
func (x *VersionListRes) String() string
func (*VersionListRes) Validate ¶
func (m *VersionListRes) Validate() error
Validate checks the field values on VersionListRes 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 (*VersionListRes) ValidateAll ¶
func (m *VersionListRes) ValidateAll() error
ValidateAll checks the field values on VersionListRes 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 VersionListResMultiError, or nil if none found.
type VersionListResMultiError ¶
type VersionListResMultiError []error
VersionListResMultiError is an error wrapping multiple validation errors returned by VersionListRes.ValidateAll() if the designated constraints aren't met.
func (VersionListResMultiError) AllErrors ¶
func (m VersionListResMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VersionListResMultiError) Error ¶
func (m VersionListResMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VersionListResValidationError ¶
type VersionListResValidationError struct {
// contains filtered or unexported fields
}
VersionListResValidationError is the validation error returned by VersionListRes.Validate if the designated constraints aren't met.
func (VersionListResValidationError) Cause ¶
func (e VersionListResValidationError) Cause() error
Cause function returns cause value.
func (VersionListResValidationError) Error ¶
func (e VersionListResValidationError) Error() string
Error satisfies the builtin error interface
func (VersionListResValidationError) ErrorName ¶
func (e VersionListResValidationError) ErrorName() string
ErrorName returns error name.
func (VersionListResValidationError) Field ¶
func (e VersionListResValidationError) Field() string
Field function returns field value.
func (VersionListResValidationError) Key ¶
func (e VersionListResValidationError) Key() bool
Key function returns key value.
func (VersionListResValidationError) Reason ¶
func (e VersionListResValidationError) Reason() string
Reason function returns reason value.
type VersionListRes_VersionItem ¶
type VersionListRes_VersionItem struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` UpdateDate string `protobuf:"bytes,2,opt,name=updateDate,proto3" json:"updateDate,omitempty"` IsRunningVersion int32 `protobuf:"varint,3,opt,name=isRunningVersion,proto3" json:"isRunningVersion,omitempty"` VersionID int64 `protobuf:"varint,4,opt,name=versionID,proto3" json:"versionID,omitempty"` // contains filtered or unexported fields }
func (*VersionListRes_VersionItem) Descriptor
deprecated
func (*VersionListRes_VersionItem) Descriptor() ([]byte, []int)
Deprecated: Use VersionListRes_VersionItem.ProtoReflect.Descriptor instead.
func (*VersionListRes_VersionItem) GetIsRunningVersion ¶
func (x *VersionListRes_VersionItem) GetIsRunningVersion() int32
func (*VersionListRes_VersionItem) GetUpdateDate ¶
func (x *VersionListRes_VersionItem) GetUpdateDate() string
func (*VersionListRes_VersionItem) GetVersion ¶
func (x *VersionListRes_VersionItem) GetVersion() string
func (*VersionListRes_VersionItem) GetVersionID ¶
func (x *VersionListRes_VersionItem) GetVersionID() int64
func (*VersionListRes_VersionItem) ProtoMessage ¶
func (*VersionListRes_VersionItem) ProtoMessage()
func (*VersionListRes_VersionItem) ProtoReflect ¶
func (x *VersionListRes_VersionItem) ProtoReflect() protoreflect.Message
func (*VersionListRes_VersionItem) Reset ¶
func (x *VersionListRes_VersionItem) Reset()
func (*VersionListRes_VersionItem) String ¶
func (x *VersionListRes_VersionItem) String() string
func (*VersionListRes_VersionItem) Validate ¶
func (m *VersionListRes_VersionItem) Validate() error
Validate checks the field values on VersionListRes_VersionItem 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 (*VersionListRes_VersionItem) ValidateAll ¶
func (m *VersionListRes_VersionItem) ValidateAll() error
ValidateAll checks the field values on VersionListRes_VersionItem 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 VersionListRes_VersionItemMultiError, or nil if none found.
type VersionListRes_VersionItemMultiError ¶
type VersionListRes_VersionItemMultiError []error
VersionListRes_VersionItemMultiError is an error wrapping multiple validation errors returned by VersionListRes_VersionItem.ValidateAll() if the designated constraints aren't met.
func (VersionListRes_VersionItemMultiError) AllErrors ¶
func (m VersionListRes_VersionItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VersionListRes_VersionItemMultiError) Error ¶
func (m VersionListRes_VersionItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VersionListRes_VersionItemValidationError ¶
type VersionListRes_VersionItemValidationError struct {
// contains filtered or unexported fields
}
VersionListRes_VersionItemValidationError is the validation error returned by VersionListRes_VersionItem.Validate if the designated constraints aren't met.
func (VersionListRes_VersionItemValidationError) Cause ¶
func (e VersionListRes_VersionItemValidationError) Cause() error
Cause function returns cause value.
func (VersionListRes_VersionItemValidationError) Error ¶
func (e VersionListRes_VersionItemValidationError) Error() string
Error satisfies the builtin error interface
func (VersionListRes_VersionItemValidationError) ErrorName ¶
func (e VersionListRes_VersionItemValidationError) ErrorName() string
ErrorName returns error name.
func (VersionListRes_VersionItemValidationError) Field ¶
func (e VersionListRes_VersionItemValidationError) Field() string
Field function returns field value.
func (VersionListRes_VersionItemValidationError) Key ¶
func (e VersionListRes_VersionItemValidationError) Key() bool
Key function returns key value.
func (VersionListRes_VersionItemValidationError) Reason ¶
func (e VersionListRes_VersionItemValidationError) Reason() string
Reason function returns reason value.
type VersionRevertReq ¶
type VersionRevertReq struct { VersionID int64 `protobuf:"varint,1,opt,name=versionID,proto3" json:"versionID,omitempty"` // contains filtered or unexported fields }
func (*VersionRevertReq) Descriptor
deprecated
func (*VersionRevertReq) Descriptor() ([]byte, []int)
Deprecated: Use VersionRevertReq.ProtoReflect.Descriptor instead.
func (*VersionRevertReq) GetVersionID ¶
func (x *VersionRevertReq) GetVersionID() int64
func (*VersionRevertReq) ProtoMessage ¶
func (*VersionRevertReq) ProtoMessage()
func (*VersionRevertReq) ProtoReflect ¶
func (x *VersionRevertReq) ProtoReflect() protoreflect.Message
func (*VersionRevertReq) Reset ¶
func (x *VersionRevertReq) Reset()
func (*VersionRevertReq) String ¶
func (x *VersionRevertReq) String() string
func (*VersionRevertReq) Validate ¶
func (m *VersionRevertReq) Validate() error
Validate checks the field values on VersionRevertReq 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 (*VersionRevertReq) ValidateAll ¶
func (m *VersionRevertReq) ValidateAll() error
ValidateAll checks the field values on VersionRevertReq 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 VersionRevertReqMultiError, or nil if none found.
type VersionRevertReqMultiError ¶
type VersionRevertReqMultiError []error
VersionRevertReqMultiError is an error wrapping multiple validation errors returned by VersionRevertReq.ValidateAll() if the designated constraints aren't met.
func (VersionRevertReqMultiError) AllErrors ¶
func (m VersionRevertReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VersionRevertReqMultiError) Error ¶
func (m VersionRevertReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VersionRevertReqValidationError ¶
type VersionRevertReqValidationError struct {
// contains filtered or unexported fields
}
VersionRevertReqValidationError is the validation error returned by VersionRevertReq.Validate if the designated constraints aren't met.
func (VersionRevertReqValidationError) Cause ¶
func (e VersionRevertReqValidationError) Cause() error
Cause function returns cause value.
func (VersionRevertReqValidationError) Error ¶
func (e VersionRevertReqValidationError) Error() string
Error satisfies the builtin error interface
func (VersionRevertReqValidationError) ErrorName ¶
func (e VersionRevertReqValidationError) ErrorName() string
ErrorName returns error name.
func (VersionRevertReqValidationError) Field ¶
func (e VersionRevertReqValidationError) Field() string
Field function returns field value.
func (VersionRevertReqValidationError) Key ¶
func (e VersionRevertReqValidationError) Key() bool
Key function returns key value.
func (VersionRevertReqValidationError) Reason ¶
func (e VersionRevertReqValidationError) Reason() string
Reason function returns reason value.