Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzurePipeline ¶
type AzurePipeline struct{}
func NewAzurePipeline ¶
func NewAzurePipeline() *AzurePipeline
func (*AzurePipeline) CheckEnv ¶
func (r *AzurePipeline) CheckEnv() bool
Figure out if we are in a Azure Pipeline job or not
func (*AzurePipeline) ID ¶
func (r *AzurePipeline) ID() schemaapi.CraftingSchema_Runner_RunnerType
func (*AzurePipeline) ListEnvVars ¶
func (r *AzurePipeline) ListEnvVars() []*EnvVarDefinition
func (*AzurePipeline) ResolveEnvVars ¶
func (r *AzurePipeline) ResolveEnvVars() (map[string]string, []*error)
func (*AzurePipeline) RunURI ¶
func (r *AzurePipeline) RunURI() (url string)
type CircleCIBuild ¶
type CircleCIBuild struct{}
func NewCircleCIBuild ¶
func NewCircleCIBuild() *CircleCIBuild
func (*CircleCIBuild) CheckEnv ¶
func (r *CircleCIBuild) CheckEnv() bool
func (*CircleCIBuild) ID ¶
func (r *CircleCIBuild) ID() schemaapi.CraftingSchema_Runner_RunnerType
func (*CircleCIBuild) ListEnvVars ¶
func (r *CircleCIBuild) ListEnvVars() []*EnvVarDefinition
func (*CircleCIBuild) ResolveEnvVars ¶
func (r *CircleCIBuild) ResolveEnvVars() (map[string]string, []*error)
func (*CircleCIBuild) RunURI ¶
func (r *CircleCIBuild) RunURI() string
type DaggerPipeline ¶
type DaggerPipeline struct{}
func NewDaggerPipeline ¶
func NewDaggerPipeline() *DaggerPipeline
func (*DaggerPipeline) CheckEnv ¶
func (r *DaggerPipeline) CheckEnv() bool
func (*DaggerPipeline) ID ¶
func (r *DaggerPipeline) ID() schemaapi.CraftingSchema_Runner_RunnerType
func (*DaggerPipeline) ListEnvVars ¶
func (r *DaggerPipeline) ListEnvVars() []*EnvVarDefinition
func (*DaggerPipeline) ResolveEnvVars ¶
func (r *DaggerPipeline) ResolveEnvVars() (map[string]string, []*error)
func (*DaggerPipeline) RunURI ¶
func (r *DaggerPipeline) RunURI() string
TODO: figure out an URL and or more useful information
type EnvVarDefinition ¶
type Generic ¶
type Generic struct{}
func NewGeneric ¶
func NewGeneric() *Generic
func (*Generic) ID ¶
func (r *Generic) ID() schemaapi.CraftingSchema_Runner_RunnerType
func (*Generic) ListEnvVars ¶
func (r *Generic) ListEnvVars() []*EnvVarDefinition
Returns a list of environment variables names. This list is used to automatically inject environment variables into the attestation.
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) ID ¶
func (r *GitHubAction) ID() schemaapi.CraftingSchema_Runner_RunnerType
func (*GitHubAction) ListEnvVars ¶
func (r *GitHubAction) ListEnvVars() []*EnvVarDefinition
func (*GitHubAction) ResolveEnvVars ¶
func (r *GitHubAction) ResolveEnvVars() (map[string]string, []*error)
func (*GitHubAction) RunURI ¶
func (r *GitHubAction) RunURI() (url 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) ID ¶
func (r *GitlabPipeline) ID() schemaapi.CraftingSchema_Runner_RunnerType
func (*GitlabPipeline) ListEnvVars ¶
func (r *GitlabPipeline) ListEnvVars() []*EnvVarDefinition
func (*GitlabPipeline) ResolveEnvVars ¶
func (r *GitlabPipeline) ResolveEnvVars() (map[string]string, []*error)
func (*GitlabPipeline) RunURI ¶
func (r *GitlabPipeline) RunURI() (url string)
type JenkinsJob ¶
type JenkinsJob struct{}
func NewJenkinsJob ¶
func NewJenkinsJob() *JenkinsJob
func (*JenkinsJob) CheckEnv ¶
func (r *JenkinsJob) CheckEnv() bool
Checks whether we are within a Jenkins job
func (*JenkinsJob) ID ¶
func (r *JenkinsJob) ID() schemaapi.CraftingSchema_Runner_RunnerType
func (*JenkinsJob) ListEnvVars ¶
func (r *JenkinsJob) ListEnvVars() []*EnvVarDefinition
func (*JenkinsJob) ResolveEnvVars ¶
func (r *JenkinsJob) ResolveEnvVars() (map[string]string, []*error)
func (*JenkinsJob) RunURI ¶
func (r *JenkinsJob) RunURI() string
Click to show internal directories.
Click to hide internal directories.