Documentation
¶
Index ¶
- func Execute()
- func RunRootCmd(cmd *cobra.Command, args []string) error
- type AgentPool
- type Plan
- type Policy
- type PolicyCheck
- type PolicyCheckResult
- type PolicySet
- type PrivateProviderDetail
- type ProviderPlatform
- type RegistryModule
- type RegistryProvider
- type Run
- type Tag
- type Team
- type TeamDetail
- type User
- type Variable
- type Variables
- type Workspace
- type WorkspaceDetail
- type WorkspaceLite
- type WorkspaceLock
- type WorkspaceVar
- type WorkspaceVars
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Plan ¶ added in v1.7.0
type Plan struct {
ID string `json:"id"`
HasChanges bool `json:"has_changes"`
Status string `json:"status"`
ResourceAdditions int `json:"resource_additions"`
ResourceChanges int `json:"resource_changes"`
ResourceDestructions int `json:"resource_destructions"`
ResourceImports int `json:"resource_imports"`
ChangedResourceProperties any `json:"changed_resource_properties"`
}
type PolicyCheck ¶ added in v1.3.2
type PolicyCheck struct {
ID string `json:"id"`
Result PolicyCheckResult `json:"result"`
Status tfe.PolicyStatus `json:"status"`
Scope tfe.PolicyScope `json:"scope"`
}
type PolicyCheckResult ¶ added in v1.3.2
type PolicySet ¶ added in v1.3.2
type PolicySet struct {
ID string `json:"id"`
Name string `json:"name"`
Kind string `json:"kind"`
Global bool `json:"global"`
Workspaces []string `json:"workspaces"`
WorkspaceCount int `json:"workspace_count"`
WorkspaceExclusions []string `json:"workspace_exclusions"`
Projects []string `json:"projects"`
ProjectCount int `json:"project_count"`
Policies []string `json:"policies"`
PolicyCount int `json:"policy_count"`
}
type PrivateProviderDetail ¶ added in v1.5.0
type PrivateProviderDetail struct {
RegistryProvider
ProviderLatestVersion string `json:"provider_latest_version"`
ProviderPlatforms []ProviderPlatform `json:"provider_platforms"`
}
type ProviderPlatform ¶ added in v1.5.0
type RegistryModule ¶ added in v1.5.0
type RegistryModule struct {
ID string `json:"id"`
Name string `json:"name"`
Provider string `json:"provider"`
RegistryName tfe.RegistryName `json:"registry_name"`
Namespace string `json:"namespace"`
PublishingMechanism tfe.PublishingMechanism `json:"publishing_mechanism"`
Status tfe.RegistryModuleStatus `json:"status"`
TestConfig bool `json:"test_config"`
VCSRepo string `json:"vcs_repo"`
ModuleLatestVersion string `json:"module_latest_version"`
}
type RegistryProvider ¶ added in v1.5.0
type RegistryProvider struct {
ID string `json:"id"`
Name string `json:"name"`
Namespace string `json:"namespace"`
RegistryName tfe.RegistryName `json:"registry_name"`
}
type TeamDetail ¶
type User ¶
type User struct {
ID string `json:"user_id"`
Email string `json:"email"`
Status tfe.OrganizationMembershipStatus `json:"status"`
}
type WorkspaceDetail ¶
type WorkspaceDetail struct {
Workspace
CreatedDaysAgo string `json:"created_days_ago"`
UpdatedDaysAgo string `json:"updated_days_ago"`
LastRemoteRunDaysAgo string `json:"last_remote_run_days_ago"`
LastStateUpdateDaysAgo string `json:"last_state_update_days_ago"`
AverageRunDuration string `json:"average_run_duration"`
}
WorkspaceDetail for -detail flag with list
type WorkspaceLite ¶
type WorkspaceLock ¶
type WorkspaceVar ¶
type WorkspaceVar struct {
WorkspaceLite
Variable Variable `json:"variable"`
}
type WorkspaceVars ¶
type WorkspaceVars struct {
WorkspaceLite
Variables []Variable `json:"variables"`
}
Click to show internal directories.
Click to hide internal directories.