args

package
v0.1.1028 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arguments

type Arguments struct {
	Profiling                        bool
	ConfigFile                       string
	ConfigPath                       string
	Version                          bool
	IgnoreInvalidExcludeExcept       bool
	Url                              string
	ApiKey                           string
	Space                            string
	Destination                      string
	Console                          bool
	ProjectId                        Projects
	ProjectName                      Projects
	RunbookId                        string
	RunbookName                      string
	LookupProjectDependencies        bool
	Stateless                        bool
	StepTemplateName                 string
	StepTemplateKey                  string
	StepTemplateDescription          string
	IgnoreCacManagedValues           bool
	ExcludeCaCProjectSettings        bool
	BackendBlock                     string
	DetachProjectTemplates           bool
	DefaultSecretVariableValues      bool
	DummySecretVariableValues        bool
	ProviderVersion                  string
	ExcludeAllRunbooks               bool
	ExcludeRunbooks                  StringSliceArgs
	ExcludeRunbooksRegex             StringSliceArgs
	ExcludeRunbooksExcept            StringSliceArgs
	ExcludeProvider                  bool
	IncludeOctopusOutputVars         bool
	ExcludeLibraryVariableSets       StringSliceArgs
	ExcludeLibraryVariableSetsRegex  StringSliceArgs
	ExcludeLibraryVariableSetsExcept StringSliceArgs
	ExcludeAllLibraryVariableSets    bool

	ExcludeEnvironments       StringSliceArgs
	ExcludeEnvironmentsRegex  StringSliceArgs
	ExcludeEnvironmentsExcept StringSliceArgs
	ExcludeAllEnvironments    bool

	ExcludeFeeds       StringSliceArgs
	ExcludeFeedsRegex  StringSliceArgs
	ExcludeFeedsExcept StringSliceArgs
	ExcludeAllFeeds    bool

	ExcludeAccounts       StringSliceArgs
	ExcludeAccountsRegex  StringSliceArgs
	ExcludeAccountsExcept StringSliceArgs
	ExcludeAllAccounts    bool

	ExcludeCertificates       StringSliceArgs
	ExcludeCertificatesRegex  StringSliceArgs
	ExcludeCertificatesExcept StringSliceArgs
	ExcludeAllCertificates    bool

	ExcludeLifecycles       StringSliceArgs
	ExcludeLifecyclesRegex  StringSliceArgs
	ExcludeLifecyclesExcept StringSliceArgs
	ExcludeAllLifecycles    bool

	ExcludeWorkerpools       StringSliceArgs
	ExcludeWorkerpoolsRegex  StringSliceArgs
	ExcludeWorkerpoolsExcept StringSliceArgs
	ExcludeAllWorkerpools    bool

	ExcludeMachinePolicies       StringSliceArgs
	ExcludeMachinePoliciesRegex  StringSliceArgs
	ExcludeMachinePoliciesExcept StringSliceArgs
	ExcludeAllMachinePolicies    bool

	IgnoreProjectChanges             bool
	IgnoreProjectVariableChanges     bool
	IgnoreProjectGroupChanges        bool
	IgnoreProjectNameChanges         bool
	ExcludeAllProjectVariables       bool
	ExcludeProjectVariables          StringSliceArgs
	ExcludeProjectVariablesExcept    StringSliceArgs
	ExcludeProjectVariablesRegex     StringSliceArgs
	ExcludeVariableEnvironmentScopes StringSliceArgs
	LookUpDefaultWorkerPools         bool

	ExcludeTenantTags StringSliceArgs

	ExcludeTenantTagSets       StringSliceArgs
	ExcludeTenantTagSetsRegex  StringSliceArgs
	ExcludeTenantTagSetsExcept StringSliceArgs
	ExcludeAllTenantTagSets    bool

	ExcludeTenants           StringSliceArgs
	ExcludeTenantsRegex      StringSliceArgs
	ExcludeTenantsWithTags   StringSliceArgs
	ExcludeTenantsExcept     StringSliceArgs
	ExcludeAllTenants        bool
	ExcludeProjects          StringSliceArgs
	ExcludeProjectsExcept    StringSliceArgs
	ExcludeProjectsRegex     StringSliceArgs
	ExcludeAllProjects       bool
	ExcludeAllTargets        bool
	ExcludeTargets           StringSliceArgs
	ExcludeTargetsRegex      StringSliceArgs
	ExcludeTargetsExcept     StringSliceArgs
	ExcludeAllGitCredentials bool
	LimitAttributeLength     int
}

func ParseArgs

func ParseArgs(args []string) (Arguments, string, error)

func (*Arguments) GetBackend added in v0.1.876

func (arguments *Arguments) GetBackend() string

GetBackend forces the use of a local backend for stateless exports

func (*Arguments) ValidateExcludeExceptArgs added in v0.1.1023

func (arguments *Arguments) ValidateExcludeExceptArgs() (funcErr error)

ValidateExcludeExceptArgs removes any resource named in a Exclude<ResourceType>Except argument that does not exist in the Octopus instance. This is mostly used when external systems attempt to filter the results but may place incorrect values into the Exclude<ResourceType>Except arguments.

type Projects added in v0.1.935

type Projects []string

func (*Projects) Set added in v0.1.935

func (i *Projects) Set(value string) error

func (*Projects) String added in v0.1.935

func (i *Projects) String() string

type StringSliceArgs added in v0.1.1004

type StringSliceArgs []string

func (*StringSliceArgs) Set added in v0.1.1004

func (i *StringSliceArgs) Set(value string) error

func (*StringSliceArgs) String added in v0.1.1004

func (i *StringSliceArgs) String() string

Jump to

Keyboard shortcuts

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