runtime

package
v2.0.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

Deprecated: Use Runtime.ProtoReflect.Descriptor instead.

func (*Runtime) GetCommitHash

func (x *Runtime) GetCommitHash() string

func (*Runtime) GetCommitTime

func (x *Runtime) GetCommitTime() *timestamppb.Timestamp

func (*Runtime) GetDependencies

func (x *Runtime) GetDependencies() []*Dependency

func (*Runtime) GetGolangVersion

func (x *Runtime) GetGolangVersion() string

func (*Runtime) GetReleaseVersion

func (x *Runtime) GetReleaseVersion() string

func (*Runtime) GetVcs

func (x *Runtime) GetVcs() string

func (*Runtime) ProtoMessage

func (*Runtime) ProtoMessage()

func (*Runtime) ProtoReflect

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

func (*Runtime) Reset

func (x *Runtime) Reset()

func (*Runtime) String

func (x *Runtime) String() string

func (*Runtime) VersionString

func (r *Runtime) VersionString() string

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.

Jump to

Keyboard shortcuts

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