Documentation ¶
Index ¶
- Variables
- type Dependency
- func (*Dependency) Descriptor() ([]byte, []int)deprecated
- func (x *Dependency) GetPath() string
- func (x *Dependency) GetVersion() string
- func (*Dependency) ProtoMessage()
- func (x *Dependency) ProtoReflect() protoreflect.Message
- func (x *Dependency) Reset()
- func (x *Dependency) String() string
- func (m *Dependency) Validate() error
- func (m *Dependency) ValidateAll() error
- type DependencyMultiError
- type DependencyValidationError
- type GetRuntimeInfoRequest
- func (*GetRuntimeInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetRuntimeInfoRequest) ProtoMessage()
- func (x *GetRuntimeInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetRuntimeInfoRequest) Reset()
- func (x *GetRuntimeInfoRequest) String() string
- func (m *GetRuntimeInfoRequest) Validate() error
- func (m *GetRuntimeInfoRequest) ValidateAll() error
- type GetRuntimeInfoRequestMultiError
- type GetRuntimeInfoRequestValidationError
- func (e GetRuntimeInfoRequestValidationError) Cause() error
- func (e GetRuntimeInfoRequestValidationError) Error() string
- func (e GetRuntimeInfoRequestValidationError) ErrorName() string
- func (e GetRuntimeInfoRequestValidationError) Field() string
- func (e GetRuntimeInfoRequestValidationError) Key() bool
- func (e GetRuntimeInfoRequestValidationError) Reason() string
- type Runtime
- func (*Runtime) Descriptor() ([]byte, []int)deprecated
- func (x *Runtime) GetCommitHash() string
- func (x *Runtime) GetCommitTime() *timestamppb.Timestamp
- func (x *Runtime) GetDependencies() []*Dependency
- func (x *Runtime) GetGolangVersion() string
- func (x *Runtime) GetReleaseVersion() string
- func (x *Runtime) GetVcs() string
- func (*Runtime) ProtoMessage()
- func (x *Runtime) ProtoReflect() protoreflect.Message
- func (x *Runtime) Reset()
- func (x *Runtime) String() string
- func (m *Runtime) Validate() error
- func (m *Runtime) ValidateAll() error
- func (r *Runtime) VersionString() string
- type RuntimeMultiError
- type RuntimeValidationError
Constants ¶
This section is empty.
Variables ¶
var File_api_runtime_runtime_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
type Dependency struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*Dependency) Descriptor
deprecated
func (*Dependency) Descriptor() ([]byte, []int)
Deprecated: Use Dependency.ProtoReflect.Descriptor instead.
func (*Dependency) GetPath ¶
func (x *Dependency) GetPath() string
func (*Dependency) GetVersion ¶
func (x *Dependency) GetVersion() string
func (*Dependency) ProtoMessage ¶
func (*Dependency) ProtoMessage()
func (*Dependency) ProtoReflect ¶
func (x *Dependency) ProtoReflect() protoreflect.Message
func (*Dependency) Reset ¶
func (x *Dependency) Reset()
func (*Dependency) String ¶
func (x *Dependency) String() string
func (*Dependency) Validate ¶
func (m *Dependency) Validate() error
Validate checks the field values on Dependency 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 (*Dependency) ValidateAll ¶
func (m *Dependency) ValidateAll() error
ValidateAll checks the field values on Dependency 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 DependencyMultiError, or nil if none found.
type DependencyMultiError ¶
type DependencyMultiError []error
DependencyMultiError is an error wrapping multiple validation errors returned by Dependency.ValidateAll() if the designated constraints aren't met.
func (DependencyMultiError) AllErrors ¶
func (m DependencyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DependencyMultiError) Error ¶
func (m DependencyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DependencyValidationError ¶
type DependencyValidationError struct {
// contains filtered or unexported fields
}
DependencyValidationError is the validation error returned by Dependency.Validate if the designated constraints aren't met.
func (DependencyValidationError) Cause ¶
func (e DependencyValidationError) Cause() error
Cause function returns cause value.
func (DependencyValidationError) Error ¶
func (e DependencyValidationError) Error() string
Error satisfies the builtin error interface
func (DependencyValidationError) ErrorName ¶
func (e DependencyValidationError) ErrorName() string
ErrorName returns error name.
func (DependencyValidationError) Field ¶
func (e DependencyValidationError) Field() string
Field function returns field value.
func (DependencyValidationError) Key ¶
func (e DependencyValidationError) Key() bool
Key function returns key value.
func (DependencyValidationError) Reason ¶
func (e DependencyValidationError) Reason() string
Reason function returns reason value.
type GetRuntimeInfoRequest ¶
type GetRuntimeInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetRuntimeInfoRequest) Descriptor
deprecated
func (*GetRuntimeInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRuntimeInfoRequest.ProtoReflect.Descriptor instead.
func (*GetRuntimeInfoRequest) ProtoMessage ¶
func (*GetRuntimeInfoRequest) ProtoMessage()
func (*GetRuntimeInfoRequest) ProtoReflect ¶
func (x *GetRuntimeInfoRequest) ProtoReflect() protoreflect.Message
func (*GetRuntimeInfoRequest) Reset ¶
func (x *GetRuntimeInfoRequest) Reset()
func (*GetRuntimeInfoRequest) String ¶
func (x *GetRuntimeInfoRequest) String() string
func (*GetRuntimeInfoRequest) Validate ¶
func (m *GetRuntimeInfoRequest) Validate() error
Validate checks the field values on GetRuntimeInfoRequest 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 (*GetRuntimeInfoRequest) ValidateAll ¶
func (m *GetRuntimeInfoRequest) ValidateAll() error
ValidateAll checks the field values on GetRuntimeInfoRequest 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 GetRuntimeInfoRequestMultiError, or nil if none found.
type GetRuntimeInfoRequestMultiError ¶
type GetRuntimeInfoRequestMultiError []error
GetRuntimeInfoRequestMultiError is an error wrapping multiple validation errors returned by GetRuntimeInfoRequest.ValidateAll() if the designated constraints aren't met.
func (GetRuntimeInfoRequestMultiError) AllErrors ¶
func (m GetRuntimeInfoRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetRuntimeInfoRequestMultiError) Error ¶
func (m GetRuntimeInfoRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetRuntimeInfoRequestValidationError ¶
type GetRuntimeInfoRequestValidationError struct {
// contains filtered or unexported fields
}
GetRuntimeInfoRequestValidationError is the validation error returned by GetRuntimeInfoRequest.Validate if the designated constraints aren't met.
func (GetRuntimeInfoRequestValidationError) Cause ¶
func (e GetRuntimeInfoRequestValidationError) Cause() error
Cause function returns cause value.
func (GetRuntimeInfoRequestValidationError) Error ¶
func (e GetRuntimeInfoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetRuntimeInfoRequestValidationError) ErrorName ¶
func (e GetRuntimeInfoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetRuntimeInfoRequestValidationError) Field ¶
func (e GetRuntimeInfoRequestValidationError) Field() string
Field function returns field value.
func (GetRuntimeInfoRequestValidationError) Key ¶
func (e GetRuntimeInfoRequestValidationError) Key() bool
Key function returns key value.
func (GetRuntimeInfoRequestValidationError) Reason ¶
func (e GetRuntimeInfoRequestValidationError) Reason() string
Reason function returns reason value.
type Runtime ¶
type Runtime struct { // release_version is the latest Clouditor release version for this commit ReleaseVersion *string `protobuf:"bytes,1,opt,name=release_version,json=releaseVersion,proto3,oneof" json:"release_version,omitempty"` // vcs is the used version control system Vcs string `protobuf:"bytes,2,opt,name=vcs,proto3" json:"vcs,omitempty"` // commit_hash is the current Clouditor commit hash CommitHash string `protobuf:"bytes,3,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"` // commit_time is the time of the Clouditor commit CommitTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=commit_time,json=commitTime,proto3" json:"commit_time,omitempty"` // golang_version is the used golang version GolangVersion string `protobuf:"bytes,5,opt,name=golang_version,json=golangVersion,proto3" json:"golang_version,omitempty"` // dependency is a list of used runtime dependencies Dependencies []*Dependency `protobuf:"bytes,6,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // contains filtered or unexported fields }
func (*Runtime) Descriptor
deprecated
func (*Runtime) GetCommitHash ¶
func (*Runtime) GetCommitTime ¶
func (x *Runtime) GetCommitTime() *timestamppb.Timestamp
func (*Runtime) GetDependencies ¶
func (x *Runtime) GetDependencies() []*Dependency
func (*Runtime) GetGolangVersion ¶
func (*Runtime) GetReleaseVersion ¶
func (*Runtime) ProtoMessage ¶
func (*Runtime) ProtoMessage()
func (*Runtime) ProtoReflect ¶
func (x *Runtime) ProtoReflect() protoreflect.Message
func (*Runtime) Validate ¶
Validate checks the field values on Runtime 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 (*Runtime) ValidateAll ¶
ValidateAll checks the field values on Runtime 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 RuntimeMultiError, or nil if none found.
func (*Runtime) VersionString ¶
VersionString returns a version. If it is a release version the release version returned, otherwise a pseudo version with a git commit hash or v0.0.0 if no commit hash is known.
type RuntimeMultiError ¶
type RuntimeMultiError []error
RuntimeMultiError is an error wrapping multiple validation errors returned by Runtime.ValidateAll() if the designated constraints aren't met.
func (RuntimeMultiError) AllErrors ¶
func (m RuntimeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RuntimeMultiError) Error ¶
func (m RuntimeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RuntimeValidationError ¶
type RuntimeValidationError struct {
// contains filtered or unexported fields
}
RuntimeValidationError is the validation error returned by Runtime.Validate if the designated constraints aren't met.
func (RuntimeValidationError) Cause ¶
func (e RuntimeValidationError) Cause() error
Cause function returns cause value.
func (RuntimeValidationError) Error ¶
func (e RuntimeValidationError) Error() string
Error satisfies the builtin error interface
func (RuntimeValidationError) ErrorName ¶
func (e RuntimeValidationError) ErrorName() string
ErrorName returns error name.
func (RuntimeValidationError) Field ¶
func (e RuntimeValidationError) Field() string
Field function returns field value.
func (RuntimeValidationError) Key ¶
func (e RuntimeValidationError) Key() bool
Key function returns key value.
func (RuntimeValidationError) Reason ¶
func (e RuntimeValidationError) Reason() string
Reason function returns reason value.