runners

package
v0.40.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const AzurePipelineID = "azure-pipeline"
View Source
const CircleCIBuildID = "circleci-build"
View Source
const GenericID = "generic"
View Source
const GitHubActionID = "github-action"
View Source
const GitlabPipelineID = "gitlab-pipeline"
View Source
const JenkinsJobID = "jenkins-job"

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 CircleCIBuild added in v0.40.0

type CircleCIBuild struct{}

func NewCircleCIBuild added in v0.40.0

func NewCircleCIBuild() *CircleCIBuild

func (*CircleCIBuild) CheckEnv added in v0.40.0

func (r *CircleCIBuild) CheckEnv() bool

func (*CircleCIBuild) ListEnvVars added in v0.40.0

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

func (*CircleCIBuild) ResolveEnvVars added in v0.40.0

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

func (*CircleCIBuild) RunURI added in v0.40.0

func (r *CircleCIBuild) RunURI() string

func (*CircleCIBuild) String added in v0.40.0

func (r *CircleCIBuild) String() string

type Generic

type Generic struct{}

func NewGeneric added in v0.40.0

func NewGeneric() *Generic

func (*Generic) CheckEnv

func (r *Generic) CheckEnv() bool

func (*Generic) ListEnvVars

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

Returns a list of environment variables names. This list is used to automatically inject environment variables into the attestation.

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

type JenkinsJob added in v0.30.0

type JenkinsJob struct{}

func NewJenkinsJob added in v0.30.0

func NewJenkinsJob() *JenkinsJob

func (*JenkinsJob) CheckEnv added in v0.30.0

func (r *JenkinsJob) CheckEnv() bool

Checks whether we are within a Jenkins job

func (*JenkinsJob) ListEnvVars added in v0.30.0

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

func (*JenkinsJob) ResolveEnvVars added in v0.30.0

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

func (*JenkinsJob) RunURI added in v0.30.0

func (r *JenkinsJob) RunURI() string

func (*JenkinsJob) String added in v0.30.0

func (r *JenkinsJob) String() string

Jump to

Keyboard shortcuts

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