Documentation ¶
Index ¶
- Variables
- type Dependency
- type GetRuntimeInfoRequest
- 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 (r *Runtime) VersionString() string
Constants ¶
This section is empty.
Variables ¶
View Source
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
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
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) 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.
Click to show internal directories.
Click to hide internal directories.