service

package
v1.0.56 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const OperationServiceCheckProductDepend = "/service.Service/CheckProductDepend"
View Source
const OperationServiceInstallProduct = "/service.Service/InstallProduct"
View Source
const OperationServiceListProduct = "/service.Service/ListProduct"
View Source
const OperationServiceProductDependsPut = "/service.Service/ProductDependsPut"
View Source
const OperationServiceServerServicesList = "/service.Service/ServerServicesList"
View Source
const OperationServiceServiceInit = "/service.Service/ServiceInit"
View Source
const OperationServiceServiceInstall = "/service.Service/ServiceInstall"
View Source
const OperationServiceServiceUninstall = "/service.Service/ServiceUninstall"
View Source
const OperationServiceServiceUpdate = "/service.Service/ServiceUpdate"
View Source
const OperationServiceVersionList = "/service.Service/VersionList"
View Source
const OperationServiceVersionRevert = "/service.Service/VersionRevert"

Variables

View Source
var File_api_service_api_proto protoreflect.FileDescriptor
View Source
var File_api_service_product_proto protoreflect.FileDescriptor
View Source
var File_api_service_service_proto protoreflect.FileDescriptor
View Source
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

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

Cause function returns cause value.

func (CheckProductDependReqValidationError) Error

Error satisfies the builtin error interface

func (CheckProductDependReqValidationError) ErrorName

ErrorName returns error name.

func (CheckProductDependReqValidationError) Field

Field function returns field value.

func (CheckProductDependReqValidationError) Key

Key function returns key value.

func (CheckProductDependReqValidationError) Reason

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

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

type ComponentsParameterDescValidationError

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

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

func (ComponentsParameterDescValidationError) Cause

Cause function returns cause value.

func (ComponentsParameterDescValidationError) Error

Error satisfies the builtin error interface

func (ComponentsParameterDescValidationError) ErrorName

ErrorName returns error name.

func (ComponentsParameterDescValidationError) Field

Field function returns field value.

func (ComponentsParameterDescValidationError) Key

Key function returns key value.

func (ComponentsParameterDescValidationError) Reason

Reason function returns reason value.

type 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) Descriptor() ([]byte, []int)

Deprecated: Use InitReq.ProtoReflect.Descriptor instead.

func (*InitReq) GetServerID

func (x *InitReq) GetServerID() int64

func (*InitReq) GetServiceCode

func (x *InitReq) GetServiceCode() string

func (*InitReq) GetSkip

func (x *InitReq) GetSkip() int32

func (*InitReq) ProtoMessage

func (*InitReq) ProtoMessage()

func (*InitReq) ProtoReflect

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

func (*InitReq) Reset

func (x *InitReq) Reset()

func (*InitReq) String

func (x *InitReq) String() string

func (*InitReq) Validate

func (m *InitReq) Validate() error

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

func (m *InitReq) ValidateAll() error

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

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

Cause function returns cause value.

func (InstallProductReqValidationError) Error

Error satisfies the builtin error interface

func (InstallProductReqValidationError) ErrorName

ErrorName returns error name.

func (InstallProductReqValidationError) Field

Field function returns field value.

func (InstallProductReqValidationError) Key

Key function returns key value.

func (InstallProductReqValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (InstalledProductDependItemMultiError) Error

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

Cause function returns cause value.

func (InstalledProductDependItemValidationError) Error

Error satisfies the builtin error interface

func (InstalledProductDependItemValidationError) ErrorName

ErrorName returns error name.

func (InstalledProductDependItemValidationError) Field

Field function returns field value.

func (InstalledProductDependItemValidationError) Key

Key function returns key value.

func (InstalledProductDependItemValidationError) Reason

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

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

Cause function returns cause value.

func (ListProductReplyValidationError) Error

Error satisfies the builtin error interface

func (ListProductReplyValidationError) ErrorName

ErrorName returns error name.

func (ListProductReplyValidationError) Field

Field function returns field value.

func (ListProductReplyValidationError) Key

Key function returns key value.

func (ListProductReplyValidationError) Reason

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

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

Cause function returns cause value.

func (ListProductRequestValidationError) Error

Error satisfies the builtin error interface

func (ListProductRequestValidationError) ErrorName

ErrorName returns error name.

func (ListProductRequestValidationError) Field

Field function returns field value.

func (ListProductRequestValidationError) Key

Key function returns key value.

func (ListProductRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ListServerServicesReqValidationError) Error

Error satisfies the builtin error interface

func (ListServerServicesReqValidationError) ErrorName

ErrorName returns error name.

func (ListServerServicesReqValidationError) Field

Field function returns field value.

func (ListServerServicesReqValidationError) Key

Key function returns key value.

func (ListServerServicesReqValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (ListServerServicesResValidationError) Error

Error satisfies the builtin error interface

func (ListServerServicesResValidationError) ErrorName

ErrorName returns error name.

func (ListServerServicesResValidationError) Field

Field function returns field value.

func (ListServerServicesResValidationError) Key

Key function returns key value.

func (ListServerServicesResValidationError) Reason

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

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

Cause function returns cause value.

func (ProductDependItemValidationError) Error

Error satisfies the builtin error interface

func (ProductDependItemValidationError) ErrorName

ErrorName returns error name.

func (ProductDependItemValidationError) Field

Field function returns field value.

func (ProductDependItemValidationError) Key

Key function returns key value.

func (ProductDependItemValidationError) Reason

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

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

Cause function returns cause value.

func (ProductDependPutReqValidationError) Error

Error satisfies the builtin error interface

func (ProductDependPutReqValidationError) ErrorName

ErrorName returns error name.

func (ProductDependPutReqValidationError) Field

Field function returns field value.

func (ProductDependPutReqValidationError) Key

Key function returns key value.

func (ProductDependPutReqValidationError) Reason

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

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

Cause function returns cause value.

func (ProductReplyItemValidationError) Error

Error satisfies the builtin error interface

func (ProductReplyItemValidationError) ErrorName

ErrorName returns error name.

func (ProductReplyItemValidationError) Field

Field function returns field value.

func (ProductReplyItemValidationError) Key

Key function returns key value.

func (ProductReplyItemValidationError) Reason

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

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

Cause function returns cause value.

func (ProductReplyItem_ServiceValidationError) Error

Error satisfies the builtin error interface

func (ProductReplyItem_ServiceValidationError) ErrorName

ErrorName returns error name.

func (ProductReplyItem_ServiceValidationError) Field

Field function returns field value.

func (ProductReplyItem_ServiceValidationError) Key

Key function returns key value.

func (ProductReplyItem_ServiceValidationError) Reason

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

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

Cause function returns cause value.

func (ServerServicesResItemValidationError) Error

Error satisfies the builtin error interface

func (ServerServicesResItemValidationError) ErrorName

ErrorName returns error name.

func (ServerServicesResItemValidationError) Field

Field function returns field value.

func (ServerServicesResItemValidationError) Key

Key function returns key value.

func (ServerServicesResItemValidationError) Reason

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 (*ServiceHTTPClientImpl) ProductDependsPut

func (c *ServiceHTTPClientImpl) ProductDependsPut(ctx context.Context, in *ProductDependPutReq, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServiceHTTPClientImpl) ServerServicesList

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 (*ServiceHTTPClientImpl) VersionRevert

func (c *ServiceHTTPClientImpl) VersionRevert(ctx context.Context, in *VersionRevertReq, opts ...http.CallOption) (*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

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

Cause function returns cause value.

func (ServiceUninstallReqValidationError) Error

Error satisfies the builtin error interface

func (ServiceUninstallReqValidationError) ErrorName

ErrorName returns error name.

func (ServiceUninstallReqValidationError) Field

Field function returns field value.

func (ServiceUninstallReqValidationError) Key

Key function returns key value.

func (ServiceUninstallReqValidationError) Reason

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

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

Cause function returns cause value.

func (ServicesIntallReqValidationError) Error

Error satisfies the builtin error interface

func (ServicesIntallReqValidationError) ErrorName

ErrorName returns error name.

func (ServicesIntallReqValidationError) Field

Field function returns field value.

func (ServicesIntallReqValidationError) Key

Key function returns key value.

func (ServicesIntallReqValidationError) Reason

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

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

Cause function returns cause value.

func (ServicesUpdateReqValidationError) Error

Error satisfies the builtin error interface

func (ServicesUpdateReqValidationError) ErrorName

ErrorName returns error name.

func (ServicesUpdateReqValidationError) Field

Field function returns field value.

func (ServicesUpdateReqValidationError) Key

Key function returns key value.

func (ServicesUpdateReqValidationError) Reason

Reason function returns reason value.

type UnimplementedServiceServer

type UnimplementedServiceServer struct {
}

UnimplementedServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedServiceServer) CheckProductDepend

func (UnimplementedServiceServer) InstallProduct

func (UnimplementedServiceServer) ListProduct

func (UnimplementedServiceServer) ProductDependsPut

func (UnimplementedServiceServer) ServerServicesList

func (UnimplementedServiceServer) ServiceInit

func (UnimplementedServiceServer) ServiceInstall

func (UnimplementedServiceServer) ServiceUninstall

func (UnimplementedServiceServer) ServiceUpdate

func (UnimplementedServiceServer) VersionList

func (UnimplementedServiceServer) VersionRevert

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

Cause function returns cause value.

func (VersionListReqValidationError) Error

Error satisfies the builtin error interface

func (VersionListReqValidationError) ErrorName

func (e VersionListReqValidationError) ErrorName() string

ErrorName returns error name.

func (VersionListReqValidationError) Field

Field function returns field value.

func (VersionListReqValidationError) Key

Key function returns key value.

func (VersionListReqValidationError) Reason

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

Cause function returns cause value.

func (VersionListResValidationError) Error

Error satisfies the builtin error interface

func (VersionListResValidationError) ErrorName

func (e VersionListResValidationError) ErrorName() string

ErrorName returns error name.

func (VersionListResValidationError) Field

Field function returns field value.

func (VersionListResValidationError) Key

Key function returns key value.

func (VersionListResValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (VersionListRes_VersionItemMultiError) Error

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

Cause function returns cause value.

func (VersionListRes_VersionItemValidationError) Error

Error satisfies the builtin error interface

func (VersionListRes_VersionItemValidationError) ErrorName

ErrorName returns error name.

func (VersionListRes_VersionItemValidationError) Field

Field function returns field value.

func (VersionListRes_VersionItemValidationError) Key

Key function returns key value.

func (VersionListRes_VersionItemValidationError) Reason

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

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

Cause function returns cause value.

func (VersionRevertReqValidationError) Error

Error satisfies the builtin error interface

func (VersionRevertReqValidationError) ErrorName

ErrorName returns error name.

func (VersionRevertReqValidationError) Field

Field function returns field value.

func (VersionRevertReqValidationError) Key

Key function returns key value.

func (VersionRevertReqValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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