flags

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveVarsetOrg added in v0.4.0

func ResolveVarsetOrg(flagOrg, clientOrg string) string

ResolveVarsetOrg returns the organization name from flags or the client default.

Types

type AdminGPGCreateFlags

type AdminGPGCreateFlags struct {
	Namespace    string
	PublicKey    string
	RegistryName string
}

AdminGPGCreateFlags holds all flags for the admin gpg create command

func ParseAdminGPGCreateFlags

func ParseAdminGPGCreateFlags(cmd *cobra.Command) (*AdminGPGCreateFlags, error)

ParseAdminGPGCreateFlags creates AdminGPGCreateFlags from the current command context

type AdminGPGDeleteFlags

type AdminGPGDeleteFlags struct {
	Namespace    string
	ID           string
	RegistryName string
}

AdminGPGDeleteFlags holds all flags for the admin gpg delete command

func ParseAdminGPGDeleteFlags

func ParseAdminGPGDeleteFlags(cmd *cobra.Command) (*AdminGPGDeleteFlags, error)

ParseAdminGPGDeleteFlags creates AdminGPGDeleteFlags from the current command context

type AdminGPGListFlags

type AdminGPGListFlags struct {
	Namespace    string
	RegistryName string
}

AdminGPGListFlags holds all flags for the admin gpg list command

func ParseAdminGPGListFlags

func ParseAdminGPGListFlags(cmd *cobra.Command) (*AdminGPGListFlags, error)

ParseAdminGPGListFlags creates AdminGPGListFlags from the current command context

type AdminGPGShowFlags

type AdminGPGShowFlags struct {
	Namespace    string
	ID           string
	RegistryName string
}

AdminGPGShowFlags holds all flags for the admin gpg show command

func ParseAdminGPGShowFlags

func ParseAdminGPGShowFlags(cmd *cobra.Command) (*AdminGPGShowFlags, error)

ParseAdminGPGShowFlags creates AdminGPGShowFlags from the current command context

type AdminMetricsWorkspaceFlags

type AdminMetricsWorkspaceFlags struct {
	Since string
}

AdminMetricsWorkspaceFlags holds all flags for the admin metrics workspace command

func ParseAdminMetricsWorkspaceFlags

func ParseAdminMetricsWorkspaceFlags(cmd *cobra.Command) (*AdminMetricsWorkspaceFlags, error)

ParseAdminMetricsWorkspaceFlags creates AdminMetricsWorkspaceFlags from the current command context

type AdminTerraformVersionCreateFlags

type AdminTerraformVersionCreateFlags struct {
	Version  string
	URL      string
	SHA      string
	Official bool
	Enabled  bool
	Beta     bool
}

AdminTerraformVersionCreateFlags holds all flags for the admin terraform-version create command

func ParseAdminTerraformVersionCreateFlags

func ParseAdminTerraformVersionCreateFlags(cmd *cobra.Command) (*AdminTerraformVersionCreateFlags, error)

ParseAdminTerraformVersionCreateFlags creates AdminTerraformVersionCreateFlags from the current command context

type AdminTerraformVersionCreateOfficialFlags

type AdminTerraformVersionCreateOfficialFlags struct {
	Version string
	Enabled bool
	Beta    bool
}

AdminTerraformVersionCreateOfficialFlags holds all flags for the admin terraform-version create official command

func ParseAdminTerraformVersionCreateOfficialFlags

func ParseAdminTerraformVersionCreateOfficialFlags(cmd *cobra.Command) (*AdminTerraformVersionCreateOfficialFlags, error)

ParseAdminTerraformVersionCreateOfficialFlags creates AdminTerraformVersionCreateOfficialFlags from the current command context

type AdminTerraformVersionDeleteFlags

type AdminTerraformVersionDeleteFlags struct {
	Version string
}

AdminTerraformVersionDeleteFlags holds all flags for the admin terraform-version delete command

func ParseAdminTerraformVersionDeleteFlags

func ParseAdminTerraformVersionDeleteFlags(cmd *cobra.Command) (*AdminTerraformVersionDeleteFlags, error)

ParseAdminTerraformVersionDeleteFlags creates AdminTerraformVersionDeleteFlags from the current command context

type AdminTerraformVersionDisableAllFlags added in v0.4.0

type AdminTerraformVersionDisableAllFlags struct {
	Except     []string
	Before     string
	NotInUse   bool
	Deprecated bool
	Unofficial bool
	Official   bool
	Beta       bool
}

AdminTerraformVersionDisableAllFlags holds all flags for the admin terraform-version disable all command

func ParseAdminTerraformVersionDisableAllFlags added in v0.4.0

func ParseAdminTerraformVersionDisableAllFlags(cmd *cobra.Command) (*AdminTerraformVersionDisableAllFlags, error)

ParseAdminTerraformVersionDisableAllFlags creates AdminTerraformVersionDisableAllFlags from the current command context

type AdminTerraformVersionEnableAllFlags added in v0.4.0

type AdminTerraformVersionEnableAllFlags struct {
	Include    []string
	Except     []string
	Unofficial bool
	Official   bool
	Beta       bool
}

AdminTerraformVersionEnableAllFlags holds all flags for the admin terraform-version enable all command

func ParseAdminTerraformVersionEnableAllFlags added in v0.4.0

func ParseAdminTerraformVersionEnableAllFlags(cmd *cobra.Command) (*AdminTerraformVersionEnableAllFlags, error)

ParseAdminTerraformVersionEnableAllFlags creates AdminTerraformVersionEnableAllFlags from the current command context

type AdminTerraformVersionEnableDisableFlags

type AdminTerraformVersionEnableDisableFlags struct {
	Versions []string
	All      bool
}

AdminTerraformVersionEnableDisableFlags holds all flags for the admin terraform-version enable/disable commands

func ParseAdminTerraformVersionEnableDisableFlags

func ParseAdminTerraformVersionEnableDisableFlags(cmd *cobra.Command) (*AdminTerraformVersionEnableDisableFlags, error)

ParseAdminTerraformVersionEnableDisableFlags creates AdminTerraformVersionEnableDisableFlags from the current command context

type AdminTerraformVersionListFlags

type AdminTerraformVersionListFlags struct {
	Search string
}

AdminTerraformVersionListFlags holds all flags for the admin terraform-version list command

func ParseAdminTerraformVersionListFlags

func ParseAdminTerraformVersionListFlags(cmd *cobra.Command) (*AdminTerraformVersionListFlags, error)

ParseAdminTerraformVersionListFlags creates AdminTerraformVersionListFlags from the current command context

type AdminTerraformVersionShowFlags

type AdminTerraformVersionShowFlags struct {
	Version string
}

AdminTerraformVersionShowFlags holds all flags for the admin terraform-version show command

func ParseAdminTerraformVersionShowFlags

func ParseAdminTerraformVersionShowFlags(cmd *cobra.Command) (*AdminTerraformVersionShowFlags, error)

ParseAdminTerraformVersionShowFlags creates AdminTerraformVersionShowFlags from the current command context

type CVCreateFlags

type CVCreateFlags struct {
	WorkspaceName string
	Directory     string
	Speculative   bool
}

func ParseCVCreateFlags

func ParseCVCreateFlags(cmd *cobra.Command) (*CVCreateFlags, error)

type CVDownloadFlags

type CVDownloadFlags struct {
	ID        string
	Directory string
}

func ParseCVDownloadFlags

func ParseCVDownloadFlags(cmd *cobra.Command) (*CVDownloadFlags, error)

type CVListFlags

type CVListFlags struct {
	WorkspaceName string
	MaxItems      int
}

func ParseCVListFlags

func ParseCVListFlags(cmd *cobra.Command) (*CVListFlags, error)

type CVShowFlags

type CVShowFlags struct {
	ID string
}

func ParseCVShowFlags

func ParseCVShowFlags(cmd *cobra.Command) (*CVShowFlags, error)

type OrganizationListFlags

type OrganizationListFlags struct {
	Search string
}

OrganizationListFlags holds all flags for the organization list command

func ParseOrganizationListFlags

func ParseOrganizationListFlags(cmd *cobra.Command) (*OrganizationListFlags, error)

ParseOrganizationListFlags creates a OrganizationListFlags from the current command context

type OrganizationShowFlags

type OrganizationShowFlags struct {
	Name string
}

OrganizationShowFlags holds all flags for the organization show command

func ParseOrganizationShowFlags

func ParseOrganizationShowFlags(cmd *cobra.Command) (*OrganizationShowFlags, error)

ParseOrganizationShowFlags creates a OrganizationShowFlags from the current command context

type PlanCreateFlags

type PlanCreateFlags struct {
	WorkspaceName   string
	Directory       string
	ConfigurationID string
	Message         string
	Speculative     bool
	Destroy         bool
	EnvVars         map[string]string
}

PlanCreateFlags holds flags for create plan

func ParsePlanCreateFlags

func ParsePlanCreateFlags(cmd *cobra.Command) (*PlanCreateFlags, error)

type PlanJSONOutputFlags

type PlanJSONOutputFlags struct {
	ID string
}

PlanJSONOutputFlags holds flags for jsonoutput plan

func ParsePlanJSONOutputFlags

func ParsePlanJSONOutputFlags(cmd *cobra.Command) (*PlanJSONOutputFlags, error)

type PlanLogsFlags

type PlanLogsFlags struct {
	ID string
}

PlanLogsFlags holds flags for logs plan

func ParsePlanLogsFlags

func ParsePlanLogsFlags(cmd *cobra.Command) (*PlanLogsFlags, error)

type PlanShowFlags

type PlanShowFlags struct {
	ID string
}

PlanShowFlags holds flags for show plan

func ParsePlanShowFlags

func ParsePlanShowFlags(cmd *cobra.Command) (*PlanShowFlags, error)

type ProjectListFlags

type ProjectListFlags struct {
	Search string
	All    bool
}

ProjectListFlags holds all flags for the project list command

func ParseProjectListFlags

func ParseProjectListFlags(cmd *cobra.Command) (*ProjectListFlags, error)

ParseProjectListFlags creates a ProjectListFlags from the current command context

type ProjectShowFlags

type ProjectShowFlags struct {
	ID   string
	Name string
}

ProjectShowFlags holds all flags for the project show command

func ParseProjectShowFlags

func ParseProjectShowFlags(cmd *cobra.Command) (*ProjectShowFlags, error)

ParseProjectShowFlags creates a ProjectShowFlags from the current command context

type RegistryModuleCreateFlags

type RegistryModuleCreateFlags struct {
	Name     string
	Provider string
}

RegistryModuleCreateFlags holds flags for module create

func ParseRegistryModuleCreateFlags

func ParseRegistryModuleCreateFlags(cmd *cobra.Command) (*RegistryModuleCreateFlags, error)

type RegistryModuleDeleteFlags

type RegistryModuleDeleteFlags struct {
	Name     string
	Provider string
}

RegistryModuleDeleteFlags holds flags for module delete

func ParseRegistryModuleDeleteFlags

func ParseRegistryModuleDeleteFlags(cmd *cobra.Command) (*RegistryModuleDeleteFlags, error)

type RegistryModuleListFlags

type RegistryModuleListFlags struct {
	MaxItems int
	All      bool
}

RegistryModuleListFlags holds flags for module list

func ParseRegistryModuleListFlags

func ParseRegistryModuleListFlags(cmd *cobra.Command) (*RegistryModuleListFlags, error)

type RegistryModuleShowFlags

type RegistryModuleShowFlags struct {
	Name     string
	Provider string
}

RegistryModuleShowFlags holds flags for module show

func ParseRegistryModuleShowFlags

func ParseRegistryModuleShowFlags(cmd *cobra.Command) (*RegistryModuleShowFlags, error)

type RegistryModuleVersionCreateFlags

type RegistryModuleVersionCreateFlags struct {
	Name      string
	Provider  string
	Version   string
	Directory string
}

RegistryModuleVersionCreateFlags holds flags for module version create

func ParseRegistryModuleVersionCreateFlags

func ParseRegistryModuleVersionCreateFlags(cmd *cobra.Command) (*RegistryModuleVersionCreateFlags, error)

type RegistryModuleVersionDeleteFlags

type RegistryModuleVersionDeleteFlags struct {
	Name     string
	Provider string
	Version  string
}

RegistryModuleVersionDeleteFlags holds flags for module version delete

func ParseRegistryModuleVersionDeleteFlags

func ParseRegistryModuleVersionDeleteFlags(cmd *cobra.Command) (*RegistryModuleVersionDeleteFlags, error)

type RegistryModuleVersionDownloadFlags

type RegistryModuleVersionDownloadFlags struct {
	Name      string
	Provider  string
	Version   string
	Directory string
}

RegistryModuleVersionDownloadFlags holds flags for module version download

func ParseRegistryModuleVersionDownloadFlags

func ParseRegistryModuleVersionDownloadFlags(cmd *cobra.Command) (*RegistryModuleVersionDownloadFlags, error)

type RegistryModuleVersionListFlags

type RegistryModuleVersionListFlags struct {
	Name     string
	Provider string
}

RegistryModuleVersionListFlags holds flags for module version list

func ParseRegistryModuleVersionListFlags

func ParseRegistryModuleVersionListFlags(cmd *cobra.Command) (*RegistryModuleVersionListFlags, error)

type RegistryProviderCreateFlags

type RegistryProviderCreateFlags struct {
	Name string
}

RegistryProviderCreateFlags holds flags for provider create

func ParseRegistryProviderCreateFlags

func ParseRegistryProviderCreateFlags(cmd *cobra.Command) (*RegistryProviderCreateFlags, error)

type RegistryProviderDeleteFlags

type RegistryProviderDeleteFlags struct {
	Name string
}

RegistryProviderDeleteFlags holds flags for provider delete

func ParseRegistryProviderDeleteFlags

func ParseRegistryProviderDeleteFlags(cmd *cobra.Command) (*RegistryProviderDeleteFlags, error)

type RegistryProviderListFlags

type RegistryProviderListFlags struct {
	MaxItems int
	All      bool
}

RegistryProviderListFlags holds flags for provider list

func ParseRegistryProviderListFlags

func ParseRegistryProviderListFlags(cmd *cobra.Command) (*RegistryProviderListFlags, error)

type RegistryProviderShowFlags

type RegistryProviderShowFlags struct {
	Name string
}

RegistryProviderShowFlags holds flags for provider show

func ParseRegistryProviderShowFlags

func ParseRegistryProviderShowFlags(cmd *cobra.Command) (*RegistryProviderShowFlags, error)

type RegistryProviderVersionCreateFlags

type RegistryProviderVersionCreateFlags struct {
	Name       string
	Version    string
	KeyID      string
	Shasums    string
	ShasumsSig string
}

RegistryProviderVersionCreateFlags holds flags for provider version create

func ParseRegistryProviderVersionCreateFlags

func ParseRegistryProviderVersionCreateFlags(cmd *cobra.Command) (*RegistryProviderVersionCreateFlags, error)

type RegistryProviderVersionDeleteFlags

type RegistryProviderVersionDeleteFlags struct {
	Name    string
	Version string
}

RegistryProviderVersionDeleteFlags holds flags for provider version delete

func ParseRegistryProviderVersionDeleteFlags

func ParseRegistryProviderVersionDeleteFlags(cmd *cobra.Command) (*RegistryProviderVersionDeleteFlags, error)

type RegistryProviderVersionListFlags

type RegistryProviderVersionListFlags struct {
	Name string
}

RegistryProviderVersionListFlags holds flags for provider version list

func ParseRegistryProviderVersionListFlags

func ParseRegistryProviderVersionListFlags(cmd *cobra.Command) (*RegistryProviderVersionListFlags, error)

type RegistryProviderVersionPlatformCreateFlags

type RegistryProviderVersionPlatformCreateFlags struct {
	Name     string
	Version  string
	OS       string
	Arch     string
	Filename string
}

RegistryProviderVersionPlatformCreateFlags holds flags for platform create

func ParseRegistryProviderVersionPlatformCreateFlags

func ParseRegistryProviderVersionPlatformCreateFlags(cmd *cobra.Command) (*RegistryProviderVersionPlatformCreateFlags, error)

type RegistryProviderVersionPlatformDeleteFlags

type RegistryProviderVersionPlatformDeleteFlags struct {
	Name    string
	Version string
	OS      string
	Arch    string
}

RegistryProviderVersionPlatformDeleteFlags holds flags for platform delete

func ParseRegistryProviderVersionPlatformDeleteFlags

func ParseRegistryProviderVersionPlatformDeleteFlags(cmd *cobra.Command) (*RegistryProviderVersionPlatformDeleteFlags, error)

type RegistryProviderVersionPlatformListFlags

type RegistryProviderVersionPlatformListFlags struct {
	Name    string
	Version string
}

RegistryProviderVersionPlatformListFlags holds flags for platform list

func ParseRegistryProviderVersionPlatformListFlags

func ParseRegistryProviderVersionPlatformListFlags(cmd *cobra.Command) (*RegistryProviderVersionPlatformListFlags, error)

type RegistryProviderVersionPlatformShowFlags

type RegistryProviderVersionPlatformShowFlags struct {
	Name    string
	Version string
	OS      string
	Arch    string
}

RegistryProviderVersionPlatformShowFlags holds flags for platform show

func ParseRegistryProviderVersionPlatformShowFlags

func ParseRegistryProviderVersionPlatformShowFlags(cmd *cobra.Command) (*RegistryProviderVersionPlatformShowFlags, error)

type RegistryProviderVersionShowFlags

type RegistryProviderVersionShowFlags struct {
	Name    string
	Version string
}

RegistryProviderVersionShowFlags holds flags for provider version show

func ParseRegistryProviderVersionShowFlags

func ParseRegistryProviderVersionShowFlags(cmd *cobra.Command) (*RegistryProviderVersionShowFlags, error)

type ReleaseTfeDownloadFlags

type ReleaseTfeDownloadFlags struct {
	Tag            string
	TfeLicensePath string
	RegistryURL    string
	Output         string
}

ReleaseTfeDownloadFlags holds all flags for the release tfe download command

func ParseReleaseTfeDownloadFlags

func ParseReleaseTfeDownloadFlags(cmd *cobra.Command) (*ReleaseTfeDownloadFlags, error)

ParseReleaseTfeDownloadFlags creates a ReleaseTfeDownloadFlags from the current command context

type ReleaseTfeListFlags

type ReleaseTfeListFlags struct {
	TfeLicensePath string
	RegistryURL    string
	MaxItems       int
	All            bool
	StableOnly     bool
}

ReleaseTfeListFlags holds all flags for the release tfe list command

func ParseReleaseTfeListFlags

func ParseReleaseTfeListFlags(cmd *cobra.Command) (*ReleaseTfeListFlags, error)

ParseReleaseTfeListFlags creates a ReleaseTfeListFlags from the current command context

type ReleaseTfeShowFlags

type ReleaseTfeShowFlags struct {
	Tag            string
	TfeLicensePath string
	RegistryURL    string
}

ReleaseTfeShowFlags holds all flags for the release tfe show command

func ParseReleaseTfeShowFlags

func ParseReleaseTfeShowFlags(cmd *cobra.Command) (*ReleaseTfeShowFlags, error)

ParseReleaseTfeShowFlags creates a ReleaseTfeShowFlags from the current command context

type RunCancelFlags

type RunCancelFlags struct {
	WorkspaceName string
}

RunCancelFlags holds flags for cancel run

func ParseRunCancelFlags

func ParseRunCancelFlags(cmd *cobra.Command) (*RunCancelFlags, error)

type RunCreateFlags

type RunCreateFlags struct {
	WorkspaceName          string
	Message                string
	ConfigurationVersionID string
}

RunCreateFlags holds flags for create run

func ParseRunCreateFlags

func ParseRunCreateFlags(cmd *cobra.Command) (*RunCreateFlags, error)

type RunDiscardFlags

type RunDiscardFlags struct {
	ID string
}

RunDiscardFlags holds flags for discard run

func ParseRunDiscardFlags

func ParseRunDiscardFlags(cmd *cobra.Command) (*RunDiscardFlags, error)

type RunListFlags

type RunListFlags struct {
	WorkspaceName string
	MaxItems      int
}

RunListFlags holds flags for list runs

func ParseRunListFlags

func ParseRunListFlags(cmd *cobra.Command) (*RunListFlags, error)

type RunPolicyFlags added in v0.3.0

type RunPolicyFlags struct {
	ID            string
	WorkspaceName string
	Logs          bool
}

RunPolicyFlags holds flags for run policy command

func ParseRunPolicyFlags added in v0.3.0

func ParseRunPolicyFlags(cmd *cobra.Command) (*RunPolicyFlags, error)

type RunShowFlags

type RunShowFlags struct {
	ID string
}

RunShowFlags holds flags for show run

func ParseRunShowFlags

func ParseRunShowFlags(cmd *cobra.Command) (*RunShowFlags, error)

type StateCreateFlags

type StateCreateFlags struct {
	WorkspaceName string
	Filename      string
}

func ParseStateCreateFlags

func ParseStateCreateFlags(cmd *cobra.Command) (*StateCreateFlags, error)

type StateDownloadFlags

type StateDownloadFlags struct {
	StateID   string
	Directory string
	Filename  string
}

func ParseStateDownloadFlags

func ParseStateDownloadFlags(cmd *cobra.Command) (*StateDownloadFlags, error)

type StateListFlags

type StateListFlags struct {
	WorkspaceName string
	MaxItems      int
}

func ParseStateListFlags

func ParseStateListFlags(cmd *cobra.Command) (*StateListFlags, error)

type StateShowFlags

type StateShowFlags struct {
	StateID string
}

func ParseStateShowFlags

func ParseStateShowFlags(cmd *cobra.Command) (*StateShowFlags, error)

type TeamListFlags

type TeamListFlags struct {
	WorkspaceName string
}

TeamListFlags holds all flags for the team list command

func ParseTeamListFlags

func ParseTeamListFlags(cmd *cobra.Command) (*TeamListFlags, error)

ParseTeamListFlags creates a TeamListFlags from the current command context

type VariableCreateFlags

type VariableCreateFlags struct {
	WorkspaceName string
	Key           string
	Value         string
	ValueFile     string
	Description   string
	Env           bool
	HCL           bool
	Sensitive     bool
}

VariableCreateFlags holds all flags for the variable create command

func ParseVariableCreateFlags

func ParseVariableCreateFlags(cmd *cobra.Command) (*VariableCreateFlags, error)

ParseVariableCreateFlags creates a VariableCreateFlags from the current command context

type VariableDeleteFlags

type VariableDeleteFlags struct {
	WorkspaceName string
	Key           string
}

VariableDeleteFlags holds all flags for the variable delete command

func ParseVariableDeleteFlags

func ParseVariableDeleteFlags(cmd *cobra.Command) (*VariableDeleteFlags, error)

ParseVariableDeleteFlags creates a VariableDeleteFlags from the current command context

type VariableListFlags

type VariableListFlags struct {
	WorkspaceName string
}

VariableListFlags holds all flags for the variable list command

func ParseVariableListFlags

func ParseVariableListFlags(cmd *cobra.Command) (*VariableListFlags, error)

ParseVariableListFlags creates a VariableListFlags from the current command context

type VariableSetCreateFlags added in v0.2.1

type VariableSetCreateFlags struct {
	Name             string
	Description      string
	Global           bool
	Priority         bool
	OrganizationName string
	ProjectName      string
	WorkspaceName    string
}

VariableSetCreateFlags holds flags for the variable-set create command.

func ParseVariableSetCreateFlags added in v0.2.1

func ParseVariableSetCreateFlags(cmd *cobra.Command) (*VariableSetCreateFlags, error)

type VariableSetDeleteFlags added in v0.2.1

type VariableSetDeleteFlags struct {
	ID   string
	Name string
	VariableSetScopeFlags
}

VariableSetDeleteFlags holds flags for the variable-set delete command.

func ParseVariableSetDeleteFlags added in v0.2.1

func ParseVariableSetDeleteFlags(cmd *cobra.Command) (*VariableSetDeleteFlags, error)

type VariableSetListFlags added in v0.2.1

type VariableSetListFlags struct {
	VariableSetScopeFlags
}

VariableSetListFlags holds flags for the variable-set list command.

func ParseVariableSetListFlags added in v0.2.1

func ParseVariableSetListFlags(cmd *cobra.Command) (*VariableSetListFlags, error)

type VariableSetScopeFlags added in v0.4.0

type VariableSetScopeFlags struct {
	All              bool
	OrganizationName string
	ProjectName      string
	WorkspaceName    string
	Search           string
}

VariableSetScopeFlags holds shared scope flags for variable set commands.

type VariableSetShowFlags added in v0.2.1

type VariableSetShowFlags struct {
	ID   string
	Name string
	VariableSetScopeFlags
}

VariableSetShowFlags holds flags for the variable-set show command.

func ParseVariableSetShowFlags added in v0.2.1

func ParseVariableSetShowFlags(cmd *cobra.Command) (*VariableSetShowFlags, error)

type VariableSetVariableCreateFlags added in v0.4.0

type VariableSetVariableCreateFlags struct {
	VarsetName  string
	VarsetID    string
	Key         string
	Value       string
	ValueFile   string
	Description string
	Env         bool
	HCL         bool
	Sensitive   bool
	VariableSetScopeFlags
}

VariableSetVariableCreateFlags holds flags for the variable-set variable create command.

func ParseVariableSetVariableCreateFlags added in v0.4.0

func ParseVariableSetVariableCreateFlags(cmd *cobra.Command) (*VariableSetVariableCreateFlags, error)

type VariableSetVariableDeleteFlags added in v0.4.0

type VariableSetVariableDeleteFlags struct {
	VarsetName string
	VarsetID   string
	Key        string
	VariableSetScopeFlags
}

VariableSetVariableDeleteFlags holds flags for the variable-set variable delete command.

func ParseVariableSetVariableDeleteFlags added in v0.4.0

func ParseVariableSetVariableDeleteFlags(cmd *cobra.Command) (*VariableSetVariableDeleteFlags, error)

type VariableSetVariableListFlags added in v0.4.0

type VariableSetVariableListFlags struct {
	VarsetName string
	VarsetID   string
	VariableSetScopeFlags
}

VariableSetVariableListFlags holds flags for the variable-set variable list command.

func ParseVariableSetVariableListFlags added in v0.4.0

func ParseVariableSetVariableListFlags(cmd *cobra.Command) (*VariableSetVariableListFlags, error)

type VariableSetVariableShowFlags added in v0.4.0

type VariableSetVariableShowFlags struct {
	VarsetName string
	VarsetID   string
	Key        string
	VariableSetScopeFlags
}

VariableSetVariableShowFlags holds flags for the variable-set variable show command.

func ParseVariableSetVariableShowFlags added in v0.4.0

func ParseVariableSetVariableShowFlags(cmd *cobra.Command) (*VariableSetVariableShowFlags, error)

type VariableSetVariableUpdateFlags added in v0.4.0

type VariableSetVariableUpdateFlags struct {
	VarsetName  string
	VarsetID    string
	Key         string
	Value       string
	ValueFile   string
	Description string
	Env         bool
	HCL         bool
	Sensitive   bool
	VariableSetScopeFlags
}

VariableSetVariableUpdateFlags holds flags for the variable-set variable update command.

func ParseVariableSetVariableUpdateFlags added in v0.4.0

func ParseVariableSetVariableUpdateFlags(cmd *cobra.Command) (*VariableSetVariableUpdateFlags, error)

type VariableShowFlags

type VariableShowFlags struct {
	WorkspaceName string
	Key           string
}

VariableShowFlags holds all flags for the variable show command

func ParseVariableShowFlags

func ParseVariableShowFlags(cmd *cobra.Command) (*VariableShowFlags, error)

ParseVariableShowFlags creates a VariableShowFlags from the current command context

type VariableUpdateFlags

type VariableUpdateFlags struct {
	WorkspaceName string
	Key           string
	Value         string
	ValueFile     string
	Description   string
	Env           bool
	HCL           bool
	Sensitive     bool
}

VariableUpdateFlags holds all flags for the variable update command

func ParseVariableUpdateFlags

func ParseVariableUpdateFlags(cmd *cobra.Command) (*VariableUpdateFlags, error)

ParseVariableUpdateFlags creates a VariableUpdateFlags from the current command context

type WorkspaceListFlags

type WorkspaceListFlags struct {
	Search       string
	WildcardName string
	RunStatus    string
	ProjectID    string
	Tags         string
	ExcludeTags  string
	All          bool
}

WorkspaceListFlags holds all flags for the workspace list command

func ParseWorkspaceListFlags

func ParseWorkspaceListFlags(cmd *cobra.Command) (*WorkspaceListFlags, error)

ParseWorkspaceListFlags creates a WorkspaceListFlags from the current command context

type WorkspaceLockAllFlags

type WorkspaceLockAllFlags struct {
	Search string
}

func ParseWorkspaceLockAllFlags

func ParseWorkspaceLockAllFlags(cmd *cobra.Command) (*WorkspaceLockAllFlags, error)

type WorkspaceLockFlags

type WorkspaceLockFlags struct {
	Name string
}

func ParseWorkspaceLockFlags

func ParseWorkspaceLockFlags(cmd *cobra.Command) (*WorkspaceLockFlags, error)

type WorkspaceShowFlags

type WorkspaceShowFlags struct {
	Name string
}

WorkspaceShowFlags holds all flags for the workspace show command

func ParseWorkspaceShowFlags

func ParseWorkspaceShowFlags(cmd *cobra.Command) (*WorkspaceShowFlags, error)

ParseWorkspaceShowFlags creates a WorkspaceShowFlags from the current command context

type WorkspaceUnlockAllFlags

type WorkspaceUnlockAllFlags struct {
	Search string
}

func ParseWorkspaceUnlockAllFlags

func ParseWorkspaceUnlockAllFlags(cmd *cobra.Command) (*WorkspaceUnlockAllFlags, error)

type WorkspaceUnlockFlags

type WorkspaceUnlockFlags struct {
	Name string
}

func ParseWorkspaceUnlockFlags

func ParseWorkspaceUnlockFlags(cmd *cobra.Command) (*WorkspaceUnlockFlags, error)

Jump to

Keyboard shortcuts

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