variables

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 14 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	VariableTypeString             = VariableType("String")
	VariableTypeSensitive          = VariableType("Sensitive")
	VariableTypeAwsAccount         = VariableType("AmazonWebServicesAccount")
	VariableTypeAzureAccount       = VariableType("AzureAccount")
	VariableTypeGoogleCloudAccount = VariableType("GoogleCloudAccount")
	VariableTypeWorkerPool         = VariableType("WorkerPool")
	VariableTypeCertificate        = VariableType("Certificate")
	VariableTypeBoolean            = VariableType("Boolean")
	VariableTypeSelect             = VariableType("Select")
)

Variables

This section is empty.

Functions

func GetAllLibraryVariableSets

func GetAllLibraryVariableSets(client *client.Client) ([]*variables.LibraryVariableSet, error)

func PromptValue

func PromptValue(ask question.Asker, variableType VariableType, callbacks *VariableCallbacks, template *actiontemplates.ActionTemplateParameter) (string, error)

Types

type GetAccountsByTypeCallback

type GetAccountsByTypeCallback func(accountType accounts.AccountType) ([]accounts.IAccount, error)

type GetAllCertificatesCallback

type GetAllCertificatesCallback func() ([]*certificates.CertificateResource, error)

type GetAllLibraryVariableSetsCallback

type GetAllLibraryVariableSetsCallback func() ([]*variables.LibraryVariableSet, error)

type GetAllWorkerPoolsCallback

type GetAllWorkerPoolsCallback func() ([]*workerpools.WorkerPoolListResult, error)

type GetProjectVariablesCallback

type GetProjectVariablesCallback func(projectId string) (*variables.VariableSet, error)

type GetTenantVariablesCallback

type GetTenantVariablesCallback func(tenant *tenants.Tenant) (*variables.TenantVariables, error)

type GetVariableByIdCallback

type GetVariableByIdCallback func(ownerId, variableId string) (*variables.Variable, error)

type VariableCallbacks

type VariableCallbacks struct {
	GetAccountsByType   GetAccountsByTypeCallback
	GetAllWorkerPools   GetAllWorkerPoolsCallback
	GetAllCertificates  GetAllCertificatesCallback
	GetProjectVariables GetProjectVariablesCallback
	GetVariableById     GetVariableByIdCallback
	GetTenantVariables  GetTenantVariablesCallback
}

func NewVariableCallbacks

func NewVariableCallbacks(dependencies *cmd.Dependencies) *VariableCallbacks

type VariableType

type VariableType string

Jump to

Keyboard shortcuts

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