Documentation ¶
Overview ¶
Package internal provides a collection of internal packages used for the Vela CLI actions.
More information:
- https://golang.org/doc/go1.4#internalpackages
- https://docs.google.com/document/d/1e8kOo3r51b2BWtTs_1uADIA5djfXhPT36s6eHVRIvaU/edit
Usage:
import "github.com/go-vela/cli/internal"
Index ¶
Constants ¶
View Source
const ( // FlagAPIAddress defines the key for the // flag when setting the API address. FlagAPIAddress = "api.addr" // FlagAPIToken defines the key for the // flag when setting the API token. FlagAPIToken = "api.token" // FlagAPIAccessToken defines the key for // the flag when setting the API access token. FlagAPIAccessToken = "api.token.access" // FlagAPIRefreshToken defines the key for // for the flag when setting the API // refresh token. // nolint:gosec // false negative - not a real token FlagAPIRefreshToken = "api.token.refresh" // FlagAPIVersion defines the key for the // flag when setting the API version. FlagAPIVersion = "api.version" )
API flag keys.
View Source
const ( // FlagCompilerGitHubToken defines the key for the // flag when setting the compiler github token. // nolint:gosec // ignoring since this is a constant for a user passed token FlagCompilerGitHubToken = "compiler.github.token" // FlagCompilerGitHubURL defines the key for the // flag when setting the compiler github url. FlagCompilerGitHubURL = "compiler.github.url" )
compiler flag keys.
View Source
const ( // FlagConfig defines the key for the // flag when setting the config. FlagConfig = "config" // FlagOutput defines the key for the // flag when setting the output. FlagOutput = "output" )
generic flag keys.
View Source
const ( // FlagPage defines the key for the // flag when setting the page. FlagPage = "page" // FlagPerPage defines the key for the // flag when setting the results per page. FlagPerPage = "per.page" )
pagination flag keys.
View Source
const ( // FlagOrg defines the key for the // flag when setting the org. FlagOrg = "org" // FlagRepo defines the key for the // flag when setting the repo. FlagRepo = "repo" )
repository flag keys.
View Source
const ( // FlagSecretEngine defines the key for the // flag when setting the secret engine. FlagSecretEngine = "secret.engine" // FlagSecretType defines the key for the // flag when setting the secret type. FlagSecretType = "secret.type" )
secret flag keys.
View Source
const ( // FlagBuild defines the key for the // flag when setting the build. FlagBuild = "build" )
build flag keys.
View Source
const ( // FlagLogLevel defines the key for the // flag when setting the log level. FlagLogLevel = "log.level" )
log flag keys.
View Source
const ( // FlagService defines the key for the // flag when setting the service. FlagService = "service" )
service flag keys.
View Source
const ( // FlagStep defines the key for the // flag when setting the step. FlagStep = "step" )
step flag keys.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package client provides the ability for Vela to parse and manage the client rendered for a CLI action.
|
Package client provides the ability for Vela to parse and manage the client rendered for a CLI action. |
Package output provides the ability for Vela to manage and manipulate the output rendered for a CLI action.
|
Package output provides the ability for Vela to manage and manipulate the output rendered for a CLI action. |
Click to show internal directories.
Click to hide internal directories.