Help us shape the future of Go! Take the 2026 Go Developer Survey

runners

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const AzurePipelineID = "azure-pipeline"
View Source
const GenericID = "generic"
View Source
const GitHubActionID = "github-action"
View Source
const GitlabPipelineID = "gitlab-pipeline"

Variables

This section is empty.

Functions

This section is empty.

Types

type AzurePipeline added in v0.15.0

type AzurePipeline struct{}

func NewAzurePipeline added in v0.15.0

func NewAzurePipeline() *AzurePipeline

func (*AzurePipeline) CheckEnv added in v0.15.0

func (r *AzurePipeline) CheckEnv() bool

Figure out if we are in a Azure Pipeline job or not

func (*AzurePipeline) ListEnvVars added in v0.15.0

func (r *AzurePipeline) ListEnvVars() []string

func (*AzurePipeline) ResolveEnvVars added in v0.15.0

func (r *AzurePipeline) ResolveEnvVars() map[string]string

func (*AzurePipeline) RunURI added in v0.15.0

func (r *AzurePipeline) RunURI() (url string)

func (*AzurePipeline) String added in v0.15.0

func (r *AzurePipeline) String() string

type Generic

type Generic struct{}

func (*Generic) CheckEnv

func (r *Generic) CheckEnv() bool

func (*Generic) ListEnvVars

func (r *Generic) ListEnvVars() []string

func (*Generic) ResolveEnvVars

func (r *Generic) ResolveEnvVars() map[string]string

func (*Generic) RunURI

func (r *Generic) RunURI() string

func (*Generic) String

func (r *Generic) String() string

type GitHubAction

type GitHubAction struct{}

func NewGithubAction

func NewGithubAction() *GitHubAction

func (*GitHubAction) CheckEnv

func (r *GitHubAction) CheckEnv() bool

Figure out if we are in a Github Action job or not

func (*GitHubAction) ListEnvVars

func (r *GitHubAction) ListEnvVars() []string

func (*GitHubAction) ResolveEnvVars

func (r *GitHubAction) ResolveEnvVars() map[string]string

func (*GitHubAction) RunURI

func (r *GitHubAction) RunURI() (url string)

func (*GitHubAction) String

func (r *GitHubAction) String() string

type GitlabPipeline

type GitlabPipeline struct{}

func NewGitlabPipeline

func NewGitlabPipeline() *GitlabPipeline

func (*GitlabPipeline) CheckEnv

func (r *GitlabPipeline) CheckEnv() bool

Figure out if we are in a Github Action job or not

func (*GitlabPipeline) ListEnvVars

func (r *GitlabPipeline) ListEnvVars() []string

func (*GitlabPipeline) ResolveEnvVars

func (r *GitlabPipeline) ResolveEnvVars() map[string]string

func (*GitlabPipeline) RunURI

func (r *GitlabPipeline) RunURI() (url string)

func (*GitlabPipeline) String

func (r *GitlabPipeline) String() string

Jump to

Keyboard shortcuts

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