versions

package
v0.0.0-...-c28e036 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultJobRunVersion = "0.0.0"

DefaultJobRunVersion is the job run version to use when the job run version of a task is not specified.

Variables

This section is empty.

Functions

func AgentVersion

func AgentVersion() semver.Version

AgentVersion returns the agent's version.

func SetAgentVersion

func SetAgentVersion(versionStr string) error

SetAgentVersion sets the agent version to the given value. If there is an issue parsing the version, an error is returned.

func SupportedJobRuns

func SupportedJobRuns() []semver.Version

SupportedJobRuns returns a list of the job run versions supported by this agent.

func VersionFromString

func VersionFromString(versionStr string) (semver.Version, error)

VersionFromString returns the version for the given version string. If the version is not specified, DefaultJobRunVersion is used.

Types

This section is empty.

Jump to

Keyboard shortcuts

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