internal

package
v0.8.0-rc1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package internal provides a collection of internal packages used for the Vela CLI actions.

More information:

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 (
	// 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.

Jump to

Keyboard shortcuts

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