types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ArtifactDirEnv string = "ARTIFACT_DIR"
	GithubTokenEnv string = "GITHUB_TOKEN" // #nosec G101
	ProwJobIDEnv   string = "PROW_JOB_ID"

	ArtifactDirParamName string = "artifact-dir"
	ProwJobIDParamName   string = "prow-job-id"

	JunitFilename string = `/(j?unit|e2e).*\.xml`
)

Constants common across the whole project

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdParameter

type CmdParameter[T any] struct {
	Name         string
	Env          string
	DefaultValue T
	Value        T
	Usage        string
}

CmdParameter represents an abstraction for viper parameters

Jump to

Keyboard shortcuts

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