args

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2025 License: Apache-2.0, MIT Imports: 12 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 {
	InsecureTls                  bool
	Profiling                    bool
	ExcludeTerraformVariables    bool
	ExcludeSpaceCreation         bool
	ConfigFile                   string
	ConfigPath                   string
	Version                      bool
	IgnoreInvalidExcludeExcept   bool
	Url                          string
	ApiKey                       string
	AccessToken                  string
	UseRedirector                bool
	RedirectorHost               string
	RedirectorServiceApiKey      string
	RedirecrtorApiKey            string
	RedirectorRedirections       string
	Space                        string
	Destination                  string
	Console                      bool
	ProjectId                    StringSliceArgs
	ProjectName                  StringSliceArgs
	RunbookId                    string
	RunbookName                  string
	LookupProjectDependencies    bool
	LookupProjectLinkTenants     bool
	Stateless                    bool
	StatelessAdditionalParams    StringSliceArgs
	StepTemplateName             string
	StepTemplateKey              string
	StepTemplateDescription      string
	IgnoreCacManagedValues       bool
	ExcludeCaCProjectSettings    bool
	BackendBlock                 string
	DetachProjectTemplates       bool
	DefaultSecretVariableValues  bool
	DummySecretVariableValues    bool
	InlineVariableValues         bool
	ProviderVersion              string
	ExcludeProvider              bool
	IncludeProviderServerDetails bool
	IncludeOctopusOutputVars     bool
	LimitAttributeLength         int
	LimitResourceCount           int
	GenerateImportScripts        bool
	IgnoreCacErrors              bool

	OctopusManagedTerraformVars string

	IgnoreProjectChanges         bool
	IgnoreProjectVariableChanges bool
	IgnoreProjectGroupChanges    bool
	IgnoreProjectNameChanges     bool
	LookUpDefaultWorkerPools     bool
	IncludeIds                   bool
	IncludeSpaceInPopulation     bool
	IncludeDefaultChannel        bool

	ExcludeAllProjectVariables       bool
	ExcludeProjectVariables          StringSliceArgs
	ExcludeProjectVariablesExcept    StringSliceArgs
	ExcludeProjectVariablesRegex     StringSliceArgs
	ExcludeVariableEnvironmentScopes StringSliceArgs

	ExcludeAllTenantVariables    bool
	ExcludeTenantVariables       StringSliceArgs
	ExcludeTenantVariablesExcept StringSliceArgs
	ExcludeTenantVariablesRegex  StringSliceArgs

	ExcludeAllSteps    bool
	ExcludeSteps       StringSliceArgs
	ExcludeStepsRegex  StringSliceArgs
	ExcludeStepsExcept StringSliceArgs

	ExcludeAllChannels     bool
	ExcludeChannels        StringSliceArgs
	ExcludeChannelsRegex   StringSliceArgs
	ExcludeChannelsExcept  StringSliceArgs
	ExcludeInvalidChannels bool

	ExcludeAllRunbooks    bool
	ExcludeRunbooks       StringSliceArgs
	ExcludeRunbooksRegex  StringSliceArgs
	ExcludeRunbooksExcept StringSliceArgs

	ExcludeLibraryVariableSets       StringSliceArgs
	ExcludeLibraryVariableSetsRegex  StringSliceArgs
	ExcludeLibraryVariableSetsExcept StringSliceArgs
	ExcludeAllLibraryVariableSets    bool

	ExcludeEnvironments       StringSliceArgs
	ExcludeEnvironmentsRegex  StringSliceArgs
	ExcludeEnvironmentsExcept StringSliceArgs
	ExcludeAllEnvironments    bool

	ExcludeFeeds       StringSliceArgs
	ExcludeFeedsRegex  StringSliceArgs
	ExcludeFeedsExcept StringSliceArgs
	ExcludeAllFeeds    bool

	ExcludeProjectGroups       StringSliceArgs
	ExcludeProjectGroupsRegex  StringSliceArgs
	ExcludeProjectGroupsExcept StringSliceArgs
	ExcludeAllProjectGroups    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

	ExcludeMachineProxies       StringSliceArgs
	ExcludeMachineProxiesRegex  StringSliceArgs
	ExcludeMachineProxiesExcept StringSliceArgs
	ExcludeAllMachineProxies    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
	ExcludeTargetsWithNoEnvironments bool

	ExcludeAllWorkers    bool
	ExcludeWorkers       StringSliceArgs
	ExcludeWorkersRegex  StringSliceArgs
	ExcludeWorkersExcept StringSliceArgs

	ExcludeAllGitCredentials bool

	ExcludeAllDeploymentFreezes    bool
	ExcludeDeploymentFreezes       StringSliceArgs
	ExcludeDeploymentFreezesExcept StringSliceArgs
	ExcludeDeploymentFreezesRegex  StringSliceArgs
}

func ParseArgs

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

func (*Arguments) ConfigureGlobalSettings added in v0.1.1248

func (arguments *Arguments) ConfigureGlobalSettings() 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 an 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 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