Documentation ¶
Index ¶
- Variables
- type GetVersionRequest
- func (*GetVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetVersionRequest) ProtoMessage()
- func (x *GetVersionRequest) ProtoReflect() protoreflect.Message
- func (x *GetVersionRequest) Reset()
- func (x *GetVersionRequest) String() string
- func (m *GetVersionRequest) Validate() error
- func (m *GetVersionRequest) ValidateAll() error
- type GetVersionRequestMultiError
- type GetVersionRequestValidationError
- func (e GetVersionRequestValidationError) Cause() error
- func (e GetVersionRequestValidationError) Error() string
- func (e GetVersionRequestValidationError) ErrorName() string
- func (e GetVersionRequestValidationError) Field() string
- func (e GetVersionRequestValidationError) Key() bool
- func (e GetVersionRequestValidationError) Reason() string
- type GetVersionResponse
- func (*GetVersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVersionResponse) GetError() *v1.Error
- func (x *GetVersionResponse) GetVersion() *Version
- func (*GetVersionResponse) ProtoMessage()
- func (x *GetVersionResponse) ProtoReflect() protoreflect.Message
- func (x *GetVersionResponse) Reset()
- func (x *GetVersionResponse) String() string
- func (m *GetVersionResponse) Validate() error
- func (m *GetVersionResponse) ValidateAll() error
- type GetVersionResponseMultiError
- type GetVersionResponseValidationError
- func (e GetVersionResponseValidationError) Cause() error
- func (e GetVersionResponseValidationError) Error() string
- func (e GetVersionResponseValidationError) ErrorName() string
- func (e GetVersionResponseValidationError) Field() string
- func (e GetVersionResponseValidationError) Key() bool
- func (e GetVersionResponseValidationError) Reason() string
- type VcsType
- type Version
- func (*Version) Descriptor() ([]byte, []int)deprecated
- func (x *Version) GetBuildTime() string
- func (x *Version) GetCommit() string
- func (x *Version) GetFullVersion() string
- func (x *Version) GetRefName() string
- func (x *Version) GetServiceName() string
- func (x *Version) GetVcs() VcsType
- func (*Version) ProtoMessage()
- func (x *Version) ProtoReflect() protoreflect.Message
- func (x *Version) Reset()
- func (x *Version) String() string
- func (m *Version) Validate() error
- func (m *Version) ValidateAll() error
- type VersionMultiError
- type VersionValidationError
Constants ¶
This section is empty.
Variables ¶
var ( VcsType_name = map[int32]string{ 0: "VCS_TYPE_UNSPECIFIED", 1: "VCS_TYPE_GIT", } VcsType_value = map[string]int32{ "VCS_TYPE_UNSPECIFIED": 0, "VCS_TYPE_GIT": 1, } )
Enum value maps for VcsType.
var File_version_v1_version_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GetVersionRequest ¶
type GetVersionRequest struct {
// contains filtered or unexported fields
}
func (*GetVersionRequest) Descriptor
deprecated
func (*GetVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.
func (*GetVersionRequest) ProtoMessage ¶
func (*GetVersionRequest) ProtoMessage()
func (*GetVersionRequest) ProtoReflect ¶
func (x *GetVersionRequest) ProtoReflect() protoreflect.Message
func (*GetVersionRequest) Reset ¶
func (x *GetVersionRequest) Reset()
func (*GetVersionRequest) String ¶
func (x *GetVersionRequest) String() string
func (*GetVersionRequest) Validate ¶
func (m *GetVersionRequest) Validate() error
Validate checks the field values on GetVersionRequest 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 (*GetVersionRequest) ValidateAll ¶
func (m *GetVersionRequest) ValidateAll() error
ValidateAll checks the field values on GetVersionRequest 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 GetVersionRequestMultiError, or nil if none found.
type GetVersionRequestMultiError ¶
type GetVersionRequestMultiError []error
GetVersionRequestMultiError is an error wrapping multiple validation errors returned by GetVersionRequest.ValidateAll() if the designated constraints aren't met.
func (GetVersionRequestMultiError) AllErrors ¶
func (m GetVersionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetVersionRequestMultiError) Error ¶
func (m GetVersionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetVersionRequestValidationError ¶
type GetVersionRequestValidationError struct {
// contains filtered or unexported fields
}
GetVersionRequestValidationError is the validation error returned by GetVersionRequest.Validate if the designated constraints aren't met.
func (GetVersionRequestValidationError) Cause ¶
func (e GetVersionRequestValidationError) Cause() error
Cause function returns cause value.
func (GetVersionRequestValidationError) Error ¶
func (e GetVersionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetVersionRequestValidationError) ErrorName ¶
func (e GetVersionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetVersionRequestValidationError) Field ¶
func (e GetVersionRequestValidationError) Field() string
Field function returns field value.
func (GetVersionRequestValidationError) Key ¶
func (e GetVersionRequestValidationError) Key() bool
Key function returns key value.
func (GetVersionRequestValidationError) Reason ¶
func (e GetVersionRequestValidationError) Reason() string
Reason function returns reason value.
type GetVersionResponse ¶
type GetVersionResponse struct { Error *v1.Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*GetVersionResponse) Descriptor
deprecated
func (*GetVersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVersionResponse.ProtoReflect.Descriptor instead.
func (*GetVersionResponse) GetError ¶
func (x *GetVersionResponse) GetError() *v1.Error
func (*GetVersionResponse) GetVersion ¶
func (x *GetVersionResponse) GetVersion() *Version
func (*GetVersionResponse) ProtoMessage ¶
func (*GetVersionResponse) ProtoMessage()
func (*GetVersionResponse) ProtoReflect ¶
func (x *GetVersionResponse) ProtoReflect() protoreflect.Message
func (*GetVersionResponse) Reset ¶
func (x *GetVersionResponse) Reset()
func (*GetVersionResponse) String ¶
func (x *GetVersionResponse) String() string
func (*GetVersionResponse) Validate ¶
func (m *GetVersionResponse) Validate() error
Validate checks the field values on GetVersionResponse 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 (*GetVersionResponse) ValidateAll ¶
func (m *GetVersionResponse) ValidateAll() error
ValidateAll checks the field values on GetVersionResponse 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 GetVersionResponseMultiError, or nil if none found.
type GetVersionResponseMultiError ¶
type GetVersionResponseMultiError []error
GetVersionResponseMultiError is an error wrapping multiple validation errors returned by GetVersionResponse.ValidateAll() if the designated constraints aren't met.
func (GetVersionResponseMultiError) AllErrors ¶
func (m GetVersionResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetVersionResponseMultiError) Error ¶
func (m GetVersionResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetVersionResponseValidationError ¶
type GetVersionResponseValidationError struct {
// contains filtered or unexported fields
}
GetVersionResponseValidationError is the validation error returned by GetVersionResponse.Validate if the designated constraints aren't met.
func (GetVersionResponseValidationError) Cause ¶
func (e GetVersionResponseValidationError) Cause() error
Cause function returns cause value.
func (GetVersionResponseValidationError) Error ¶
func (e GetVersionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetVersionResponseValidationError) ErrorName ¶
func (e GetVersionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetVersionResponseValidationError) Field ¶
func (e GetVersionResponseValidationError) Field() string
Field function returns field value.
func (GetVersionResponseValidationError) Key ¶
func (e GetVersionResponseValidationError) Key() bool
Key function returns key value.
func (GetVersionResponseValidationError) Reason ¶
func (e GetVersionResponseValidationError) Reason() string
Reason function returns reason value.
type VcsType ¶
type VcsType int32
VcsType is the type of version control system.
func (VcsType) Descriptor ¶
func (VcsType) Descriptor() protoreflect.EnumDescriptor
func (VcsType) EnumDescriptor
deprecated
func (VcsType) Number ¶
func (x VcsType) Number() protoreflect.EnumNumber
func (VcsType) Type ¶
func (VcsType) Type() protoreflect.EnumType
type Version ¶
type Version struct { Vcs VcsType `protobuf:"varint,1,opt,name=vcs,proto3,enum=version.v1.VcsType" json:"vcs,omitempty"` ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` RefName string `protobuf:"bytes,3,opt,name=ref_name,json=refName,proto3" json:"ref_name,omitempty"` Commit string `protobuf:"bytes,4,opt,name=commit,proto3" json:"commit,omitempty"` BuildTime string `protobuf:"bytes,5,opt,name=build_time,json=buildTime,proto3" json:"build_time,omitempty"` FullVersion string `protobuf:"bytes,6,opt,name=full_version,json=fullVersion,proto3" json:"full_version,omitempty"` // contains filtered or unexported fields }
Version is the version information of the service.
func (*Version) Descriptor
deprecated
func (*Version) GetBuildTime ¶
func (*Version) GetFullVersion ¶
func (*Version) GetRefName ¶
func (*Version) GetServiceName ¶
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message
func (*Version) Validate ¶
Validate checks the field values on Version 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 (*Version) ValidateAll ¶
ValidateAll checks the field values on Version 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 VersionMultiError, or nil if none found.
type VersionMultiError ¶
type VersionMultiError []error
VersionMultiError is an error wrapping multiple validation errors returned by Version.ValidateAll() if the designated constraints aren't met.
func (VersionMultiError) AllErrors ¶
func (m VersionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VersionMultiError) Error ¶
func (m VersionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VersionValidationError ¶
type VersionValidationError struct {
// contains filtered or unexported fields
}
VersionValidationError is the validation error returned by Version.Validate if the designated constraints aren't met.
func (VersionValidationError) Cause ¶
func (e VersionValidationError) Cause() error
Cause function returns cause value.
func (VersionValidationError) Error ¶
func (e VersionValidationError) Error() string
Error satisfies the builtin error interface
func (VersionValidationError) ErrorName ¶
func (e VersionValidationError) ErrorName() string
ErrorName returns error name.
func (VersionValidationError) Field ¶
func (e VersionValidationError) Field() string
Field function returns field value.
func (VersionValidationError) Key ¶
func (e VersionValidationError) Key() bool
Key function returns key value.
func (VersionValidationError) Reason ¶
func (e VersionValidationError) Reason() string
Reason function returns reason value.