Documentation ¶
Index ¶
- Variables
- type DetailedProductVersions
- func (*DetailedProductVersions) Descriptor() ([]byte, []int)deprecated
- func (x *DetailedProductVersions) GetCeph() *DetailedVersion
- func (x *DetailedProductVersions) GetKoorOperator() *DetailedVersion
- func (x *DetailedProductVersions) GetKsd() *DetailedVersion
- func (*DetailedProductVersions) ProtoMessage()
- func (x *DetailedProductVersions) ProtoReflect() protoreflect.Message
- func (x *DetailedProductVersions) Reset()
- func (x *DetailedProductVersions) String() string
- func (m *DetailedProductVersions) Validate() error
- func (m *DetailedProductVersions) ValidateAll() error
- type DetailedProductVersionsMultiError
- type DetailedProductVersionsValidationError
- func (e DetailedProductVersionsValidationError) Cause() error
- func (e DetailedProductVersionsValidationError) Error() string
- func (e DetailedProductVersionsValidationError) ErrorName() string
- func (e DetailedProductVersionsValidationError) Field() string
- func (e DetailedProductVersionsValidationError) Key() bool
- func (e DetailedProductVersionsValidationError) Reason() string
- type DetailedVersion
- func (*DetailedVersion) Descriptor() ([]byte, []int)deprecated
- func (x *DetailedVersion) GetHelmChart() string
- func (x *DetailedVersion) GetHelmRepository() string
- func (x *DetailedVersion) GetImageHash() string
- func (x *DetailedVersion) GetImageUri() string
- func (x *DetailedVersion) GetVersion() string
- func (*DetailedVersion) ProtoMessage()
- func (x *DetailedVersion) ProtoReflect() protoreflect.Message
- func (x *DetailedVersion) Reset()
- func (x *DetailedVersion) String() string
- func (m *DetailedVersion) Validate() error
- func (m *DetailedVersion) ValidateAll() error
- type DetailedVersionMultiError
- type DetailedVersionValidationError
- func (e DetailedVersionValidationError) Cause() error
- func (e DetailedVersionValidationError) Error() string
- func (e DetailedVersionValidationError) ErrorName() string
- func (e DetailedVersionValidationError) Field() string
- func (e DetailedVersionValidationError) Key() bool
- func (e DetailedVersionValidationError) Reason() string
- type OperatorRequest
- func (*OperatorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OperatorRequest) GetVersions() *ProductVersions
- func (*OperatorRequest) ProtoMessage()
- func (x *OperatorRequest) ProtoReflect() protoreflect.Message
- func (x *OperatorRequest) Reset()
- func (x *OperatorRequest) String() string
- func (m *OperatorRequest) Validate() error
- func (m *OperatorRequest) ValidateAll() error
- type OperatorRequestMultiError
- type OperatorRequestValidationError
- func (e OperatorRequestValidationError) Cause() error
- func (e OperatorRequestValidationError) Error() string
- func (e OperatorRequestValidationError) ErrorName() string
- func (e OperatorRequestValidationError) Field() string
- func (e OperatorRequestValidationError) Key() bool
- func (e OperatorRequestValidationError) Reason() string
- type OperatorResponse
- func (*OperatorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OperatorResponse) GetVersions() *DetailedProductVersions
- func (*OperatorResponse) ProtoMessage()
- func (x *OperatorResponse) ProtoReflect() protoreflect.Message
- func (x *OperatorResponse) Reset()
- func (x *OperatorResponse) String() string
- func (m *OperatorResponse) Validate() error
- func (m *OperatorResponse) ValidateAll() error
- type OperatorResponseMultiError
- type OperatorResponseValidationError
- func (e OperatorResponseValidationError) Cause() error
- func (e OperatorResponseValidationError) Error() string
- func (e OperatorResponseValidationError) ErrorName() string
- func (e OperatorResponseValidationError) Field() string
- func (e OperatorResponseValidationError) Key() bool
- func (e OperatorResponseValidationError) Reason() string
- type ProductVersions
- func (*ProductVersions) Descriptor() ([]byte, []int)deprecated
- func (x *ProductVersions) GetCeph() string
- func (x *ProductVersions) GetKoorOperator() string
- func (x *ProductVersions) GetKsd() string
- func (x *ProductVersions) GetKube() string
- func (*ProductVersions) ProtoMessage()
- func (x *ProductVersions) ProtoReflect() protoreflect.Message
- func (x *ProductVersions) Reset()
- func (x *ProductVersions) String() string
- func (m *ProductVersions) Validate() error
- func (m *ProductVersions) ValidateAll() error
- type ProductVersionsMultiError
- type ProductVersionsValidationError
- func (e ProductVersionsValidationError) Cause() error
- func (e ProductVersionsValidationError) Error() string
- func (e ProductVersionsValidationError) ErrorName() string
- func (e ProductVersionsValidationError) Field() string
- func (e ProductVersionsValidationError) Key() bool
- func (e ProductVersionsValidationError) Reason() string
- type VersionMatrix
- func (*VersionMatrix) Descriptor() ([]byte, []int)deprecated
- func (x *VersionMatrix) GetCeph() map[string]*DetailedVersion
- func (x *VersionMatrix) GetKoorOperator() map[string]*DetailedVersion
- func (x *VersionMatrix) GetKsd() map[string]*DetailedVersion
- func (*VersionMatrix) ProtoMessage()
- func (x *VersionMatrix) ProtoReflect() protoreflect.Message
- func (x *VersionMatrix) Reset()
- func (x *VersionMatrix) String() string
- func (m *VersionMatrix) Validate() error
- func (m *VersionMatrix) ValidateAll() error
- type VersionMatrixMultiError
- type VersionMatrixValidationError
- func (e VersionMatrixValidationError) Cause() error
- func (e VersionMatrixValidationError) Error() string
- func (e VersionMatrixValidationError) ErrorName() string
- func (e VersionMatrixValidationError) Field() string
- func (e VersionMatrixValidationError) Key() bool
- func (e VersionMatrixValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_api_v1_version_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DetailedProductVersions ¶
type DetailedProductVersions struct { KoorOperator *DetailedVersion `protobuf:"bytes,1,opt,name=koor_operator,json=koorOperator,proto3" json:"koor_operator,omitempty"` Ksd *DetailedVersion `protobuf:"bytes,2,opt,name=ksd,proto3" json:"ksd,omitempty"` Ceph *DetailedVersion `protobuf:"bytes,3,opt,name=ceph,proto3" json:"ceph,omitempty"` // contains filtered or unexported fields }
DetailedProductVersions describes a map of products with images or helm charts
func (*DetailedProductVersions) Descriptor
deprecated
func (*DetailedProductVersions) Descriptor() ([]byte, []int)
Deprecated: Use DetailedProductVersions.ProtoReflect.Descriptor instead.
func (*DetailedProductVersions) GetCeph ¶
func (x *DetailedProductVersions) GetCeph() *DetailedVersion
func (*DetailedProductVersions) GetKoorOperator ¶
func (x *DetailedProductVersions) GetKoorOperator() *DetailedVersion
func (*DetailedProductVersions) GetKsd ¶
func (x *DetailedProductVersions) GetKsd() *DetailedVersion
func (*DetailedProductVersions) ProtoMessage ¶
func (*DetailedProductVersions) ProtoMessage()
func (*DetailedProductVersions) ProtoReflect ¶
func (x *DetailedProductVersions) ProtoReflect() protoreflect.Message
func (*DetailedProductVersions) Reset ¶
func (x *DetailedProductVersions) Reset()
func (*DetailedProductVersions) String ¶
func (x *DetailedProductVersions) String() string
func (*DetailedProductVersions) Validate ¶
func (m *DetailedProductVersions) Validate() error
Validate checks the field values on DetailedProductVersions 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 (*DetailedProductVersions) ValidateAll ¶
func (m *DetailedProductVersions) ValidateAll() error
ValidateAll checks the field values on DetailedProductVersions 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 DetailedProductVersionsMultiError, or nil if none found.
type DetailedProductVersionsMultiError ¶
type DetailedProductVersionsMultiError []error
DetailedProductVersionsMultiError is an error wrapping multiple validation errors returned by DetailedProductVersions.ValidateAll() if the designated constraints aren't met.
func (DetailedProductVersionsMultiError) AllErrors ¶
func (m DetailedProductVersionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DetailedProductVersionsMultiError) Error ¶
func (m DetailedProductVersionsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DetailedProductVersionsValidationError ¶
type DetailedProductVersionsValidationError struct {
// contains filtered or unexported fields
}
DetailedProductVersionsValidationError is the validation error returned by DetailedProductVersions.Validate if the designated constraints aren't met.
func (DetailedProductVersionsValidationError) Cause ¶
func (e DetailedProductVersionsValidationError) Cause() error
Cause function returns cause value.
func (DetailedProductVersionsValidationError) Error ¶
func (e DetailedProductVersionsValidationError) Error() string
Error satisfies the builtin error interface
func (DetailedProductVersionsValidationError) ErrorName ¶
func (e DetailedProductVersionsValidationError) ErrorName() string
ErrorName returns error name.
func (DetailedProductVersionsValidationError) Field ¶
func (e DetailedProductVersionsValidationError) Field() string
Field function returns field value.
func (DetailedProductVersionsValidationError) Key ¶
func (e DetailedProductVersionsValidationError) Key() bool
Key function returns key value.
func (DetailedProductVersionsValidationError) Reason ¶
func (e DetailedProductVersionsValidationError) Reason() string
Reason function returns reason value.
type DetailedVersion ¶
type DetailedVersion struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` ImageUri string `protobuf:"bytes,2,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` ImageHash string `protobuf:"bytes,3,opt,name=image_hash,json=imageHash,proto3" json:"image_hash,omitempty"` HelmRepository string `protobuf:"bytes,4,opt,name=helm_repository,json=helmRepository,proto3" json:"helm_repository,omitempty"` HelmChart string `protobuf:"bytes,5,opt,name=helm_chart,json=helmChart,proto3" json:"helm_chart,omitempty"` // contains filtered or unexported fields }
DetailedVersion defines a version of a product with a container image or helm chart
func (*DetailedVersion) Descriptor
deprecated
func (*DetailedVersion) Descriptor() ([]byte, []int)
Deprecated: Use DetailedVersion.ProtoReflect.Descriptor instead.
func (*DetailedVersion) GetHelmChart ¶
func (x *DetailedVersion) GetHelmChart() string
func (*DetailedVersion) GetHelmRepository ¶
func (x *DetailedVersion) GetHelmRepository() string
func (*DetailedVersion) GetImageHash ¶
func (x *DetailedVersion) GetImageHash() string
func (*DetailedVersion) GetImageUri ¶
func (x *DetailedVersion) GetImageUri() string
func (*DetailedVersion) GetVersion ¶
func (x *DetailedVersion) GetVersion() string
func (*DetailedVersion) ProtoMessage ¶
func (*DetailedVersion) ProtoMessage()
func (*DetailedVersion) ProtoReflect ¶
func (x *DetailedVersion) ProtoReflect() protoreflect.Message
func (*DetailedVersion) Reset ¶
func (x *DetailedVersion) Reset()
func (*DetailedVersion) String ¶
func (x *DetailedVersion) String() string
func (*DetailedVersion) Validate ¶
func (m *DetailedVersion) Validate() error
Validate checks the field values on DetailedVersion 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 (*DetailedVersion) ValidateAll ¶
func (m *DetailedVersion) ValidateAll() error
ValidateAll checks the field values on DetailedVersion 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 DetailedVersionMultiError, or nil if none found.
type DetailedVersionMultiError ¶
type DetailedVersionMultiError []error
DetailedVersionMultiError is an error wrapping multiple validation errors returned by DetailedVersion.ValidateAll() if the designated constraints aren't met.
func (DetailedVersionMultiError) AllErrors ¶
func (m DetailedVersionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DetailedVersionMultiError) Error ¶
func (m DetailedVersionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DetailedVersionValidationError ¶
type DetailedVersionValidationError struct {
// contains filtered or unexported fields
}
DetailedVersionValidationError is the validation error returned by DetailedVersion.Validate if the designated constraints aren't met.
func (DetailedVersionValidationError) Cause ¶
func (e DetailedVersionValidationError) Cause() error
Cause function returns cause value.
func (DetailedVersionValidationError) Error ¶
func (e DetailedVersionValidationError) Error() string
Error satisfies the builtin error interface
func (DetailedVersionValidationError) ErrorName ¶
func (e DetailedVersionValidationError) ErrorName() string
ErrorName returns error name.
func (DetailedVersionValidationError) Field ¶
func (e DetailedVersionValidationError) Field() string
Field function returns field value.
func (DetailedVersionValidationError) Key ¶
func (e DetailedVersionValidationError) Key() bool
Key function returns key value.
func (DetailedVersionValidationError) Reason ¶
func (e DetailedVersionValidationError) Reason() string
Reason function returns reason value.
type OperatorRequest ¶
type OperatorRequest struct { Versions *ProductVersions `protobuf:"bytes,1,opt,name=versions,proto3" json:"versions,omitempty"` // contains filtered or unexported fields }
func (*OperatorRequest) Descriptor
deprecated
func (*OperatorRequest) Descriptor() ([]byte, []int)
Deprecated: Use OperatorRequest.ProtoReflect.Descriptor instead.
func (*OperatorRequest) GetVersions ¶
func (x *OperatorRequest) GetVersions() *ProductVersions
func (*OperatorRequest) ProtoMessage ¶
func (*OperatorRequest) ProtoMessage()
func (*OperatorRequest) ProtoReflect ¶
func (x *OperatorRequest) ProtoReflect() protoreflect.Message
func (*OperatorRequest) Reset ¶
func (x *OperatorRequest) Reset()
func (*OperatorRequest) String ¶
func (x *OperatorRequest) String() string
func (*OperatorRequest) Validate ¶
func (m *OperatorRequest) Validate() error
Validate checks the field values on OperatorRequest 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 (*OperatorRequest) ValidateAll ¶
func (m *OperatorRequest) ValidateAll() error
ValidateAll checks the field values on OperatorRequest 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 OperatorRequestMultiError, or nil if none found.
type OperatorRequestMultiError ¶
type OperatorRequestMultiError []error
OperatorRequestMultiError is an error wrapping multiple validation errors returned by OperatorRequest.ValidateAll() if the designated constraints aren't met.
func (OperatorRequestMultiError) AllErrors ¶
func (m OperatorRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OperatorRequestMultiError) Error ¶
func (m OperatorRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OperatorRequestValidationError ¶
type OperatorRequestValidationError struct {
// contains filtered or unexported fields
}
OperatorRequestValidationError is the validation error returned by OperatorRequest.Validate if the designated constraints aren't met.
func (OperatorRequestValidationError) Cause ¶
func (e OperatorRequestValidationError) Cause() error
Cause function returns cause value.
func (OperatorRequestValidationError) Error ¶
func (e OperatorRequestValidationError) Error() string
Error satisfies the builtin error interface
func (OperatorRequestValidationError) ErrorName ¶
func (e OperatorRequestValidationError) ErrorName() string
ErrorName returns error name.
func (OperatorRequestValidationError) Field ¶
func (e OperatorRequestValidationError) Field() string
Field function returns field value.
func (OperatorRequestValidationError) Key ¶
func (e OperatorRequestValidationError) Key() bool
Key function returns key value.
func (OperatorRequestValidationError) Reason ¶
func (e OperatorRequestValidationError) Reason() string
Reason function returns reason value.
type OperatorResponse ¶
type OperatorResponse struct { Versions *DetailedProductVersions `protobuf:"bytes,1,opt,name=versions,proto3" json:"versions,omitempty"` // contains filtered or unexported fields }
func (*OperatorResponse) Descriptor
deprecated
func (*OperatorResponse) Descriptor() ([]byte, []int)
Deprecated: Use OperatorResponse.ProtoReflect.Descriptor instead.
func (*OperatorResponse) GetVersions ¶
func (x *OperatorResponse) GetVersions() *DetailedProductVersions
func (*OperatorResponse) ProtoMessage ¶
func (*OperatorResponse) ProtoMessage()
func (*OperatorResponse) ProtoReflect ¶
func (x *OperatorResponse) ProtoReflect() protoreflect.Message
func (*OperatorResponse) Reset ¶
func (x *OperatorResponse) Reset()
func (*OperatorResponse) String ¶
func (x *OperatorResponse) String() string
func (*OperatorResponse) Validate ¶
func (m *OperatorResponse) Validate() error
Validate checks the field values on OperatorResponse 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 (*OperatorResponse) ValidateAll ¶
func (m *OperatorResponse) ValidateAll() error
ValidateAll checks the field values on OperatorResponse 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 OperatorResponseMultiError, or nil if none found.
type OperatorResponseMultiError ¶
type OperatorResponseMultiError []error
OperatorResponseMultiError is an error wrapping multiple validation errors returned by OperatorResponse.ValidateAll() if the designated constraints aren't met.
func (OperatorResponseMultiError) AllErrors ¶
func (m OperatorResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OperatorResponseMultiError) Error ¶
func (m OperatorResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OperatorResponseValidationError ¶
type OperatorResponseValidationError struct {
// contains filtered or unexported fields
}
OperatorResponseValidationError is the validation error returned by OperatorResponse.Validate if the designated constraints aren't met.
func (OperatorResponseValidationError) Cause ¶
func (e OperatorResponseValidationError) Cause() error
Cause function returns cause value.
func (OperatorResponseValidationError) Error ¶
func (e OperatorResponseValidationError) Error() string
Error satisfies the builtin error interface
func (OperatorResponseValidationError) ErrorName ¶
func (e OperatorResponseValidationError) ErrorName() string
ErrorName returns error name.
func (OperatorResponseValidationError) Field ¶
func (e OperatorResponseValidationError) Field() string
Field function returns field value.
func (OperatorResponseValidationError) Key ¶
func (e OperatorResponseValidationError) Key() bool
Key function returns key value.
func (OperatorResponseValidationError) Reason ¶
func (e OperatorResponseValidationError) Reason() string
Reason function returns reason value.
type ProductVersions ¶
type ProductVersions struct { Kube string `protobuf:"bytes,1,opt,name=kube,proto3" json:"kube,omitempty"` KoorOperator string `protobuf:"bytes,2,opt,name=koor_operator,json=koorOperator,proto3" json:"koor_operator,omitempty"` Ksd string `protobuf:"bytes,3,opt,name=ksd,proto3" json:"ksd,omitempty"` Ceph string `protobuf:"bytes,4,opt,name=ceph,proto3" json:"ceph,omitempty"` // contains filtered or unexported fields }
ProductVersions describes a map of products with version strings
func (*ProductVersions) Descriptor
deprecated
func (*ProductVersions) Descriptor() ([]byte, []int)
Deprecated: Use ProductVersions.ProtoReflect.Descriptor instead.
func (*ProductVersions) GetCeph ¶
func (x *ProductVersions) GetCeph() string
func (*ProductVersions) GetKoorOperator ¶
func (x *ProductVersions) GetKoorOperator() string
func (*ProductVersions) GetKsd ¶
func (x *ProductVersions) GetKsd() string
func (*ProductVersions) GetKube ¶
func (x *ProductVersions) GetKube() string
func (*ProductVersions) ProtoMessage ¶
func (*ProductVersions) ProtoMessage()
func (*ProductVersions) ProtoReflect ¶
func (x *ProductVersions) ProtoReflect() protoreflect.Message
func (*ProductVersions) Reset ¶
func (x *ProductVersions) Reset()
func (*ProductVersions) String ¶
func (x *ProductVersions) String() string
func (*ProductVersions) Validate ¶
func (m *ProductVersions) Validate() error
Validate checks the field values on ProductVersions 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 (*ProductVersions) ValidateAll ¶
func (m *ProductVersions) ValidateAll() error
ValidateAll checks the field values on ProductVersions 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 ProductVersionsMultiError, or nil if none found.
type ProductVersionsMultiError ¶
type ProductVersionsMultiError []error
ProductVersionsMultiError is an error wrapping multiple validation errors returned by ProductVersions.ValidateAll() if the designated constraints aren't met.
func (ProductVersionsMultiError) AllErrors ¶
func (m ProductVersionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProductVersionsMultiError) Error ¶
func (m ProductVersionsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProductVersionsValidationError ¶
type ProductVersionsValidationError struct {
// contains filtered or unexported fields
}
ProductVersionsValidationError is the validation error returned by ProductVersions.Validate if the designated constraints aren't met.
func (ProductVersionsValidationError) Cause ¶
func (e ProductVersionsValidationError) Cause() error
Cause function returns cause value.
func (ProductVersionsValidationError) Error ¶
func (e ProductVersionsValidationError) Error() string
Error satisfies the builtin error interface
func (ProductVersionsValidationError) ErrorName ¶
func (e ProductVersionsValidationError) ErrorName() string
ErrorName returns error name.
func (ProductVersionsValidationError) Field ¶
func (e ProductVersionsValidationError) Field() string
Field function returns field value.
func (ProductVersionsValidationError) Key ¶
func (e ProductVersionsValidationError) Key() bool
Key function returns key value.
func (ProductVersionsValidationError) Reason ¶
func (e ProductVersionsValidationError) Reason() string
Reason function returns reason value.
type VersionMatrix ¶
type VersionMatrix struct { KoorOperator map[string]*DetailedVersion `` /* 185-byte string literal not displayed */ Ksd map[string]*DetailedVersion `` /* 147-byte string literal not displayed */ Ceph map[string]*DetailedVersion `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
VersionMatrix describes a map of products with all possible images or helm chart versions
func (*VersionMatrix) Descriptor
deprecated
func (*VersionMatrix) Descriptor() ([]byte, []int)
Deprecated: Use VersionMatrix.ProtoReflect.Descriptor instead.
func (*VersionMatrix) GetCeph ¶
func (x *VersionMatrix) GetCeph() map[string]*DetailedVersion
func (*VersionMatrix) GetKoorOperator ¶
func (x *VersionMatrix) GetKoorOperator() map[string]*DetailedVersion
func (*VersionMatrix) GetKsd ¶
func (x *VersionMatrix) GetKsd() map[string]*DetailedVersion
func (*VersionMatrix) ProtoMessage ¶
func (*VersionMatrix) ProtoMessage()
func (*VersionMatrix) ProtoReflect ¶
func (x *VersionMatrix) ProtoReflect() protoreflect.Message
func (*VersionMatrix) Reset ¶
func (x *VersionMatrix) Reset()
func (*VersionMatrix) String ¶
func (x *VersionMatrix) String() string
func (*VersionMatrix) Validate ¶
func (m *VersionMatrix) Validate() error
Validate checks the field values on VersionMatrix 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 (*VersionMatrix) ValidateAll ¶
func (m *VersionMatrix) ValidateAll() error
ValidateAll checks the field values on VersionMatrix 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 VersionMatrixMultiError, or nil if none found.
type VersionMatrixMultiError ¶
type VersionMatrixMultiError []error
VersionMatrixMultiError is an error wrapping multiple validation errors returned by VersionMatrix.ValidateAll() if the designated constraints aren't met.
func (VersionMatrixMultiError) AllErrors ¶
func (m VersionMatrixMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VersionMatrixMultiError) Error ¶
func (m VersionMatrixMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VersionMatrixValidationError ¶
type VersionMatrixValidationError struct {
// contains filtered or unexported fields
}
VersionMatrixValidationError is the validation error returned by VersionMatrix.Validate if the designated constraints aren't met.
func (VersionMatrixValidationError) Cause ¶
func (e VersionMatrixValidationError) Cause() error
Cause function returns cause value.
func (VersionMatrixValidationError) Error ¶
func (e VersionMatrixValidationError) Error() string
Error satisfies the builtin error interface
func (VersionMatrixValidationError) ErrorName ¶
func (e VersionMatrixValidationError) ErrorName() string
ErrorName returns error name.
func (VersionMatrixValidationError) Field ¶
func (e VersionMatrixValidationError) Field() string
Field function returns field value.
func (VersionMatrixValidationError) Key ¶
func (e VersionMatrixValidationError) Key() bool
Key function returns key value.
func (VersionMatrixValidationError) Reason ¶
func (e VersionMatrixValidationError) Reason() string
Reason function returns reason value.