Documentation
¶
Overview ¶
Package cmd is the Cobra command tree. Root wires the global flags, the help groups (Workload / Management), and hands every subcommand an *app.App through the context.
Index ¶
Constants ¶
const ( GroupAuth = "auth" GroupWorkload = "workload" GroupManagement = "management" GroupOther = "other" )
Help group ids.
Variables ¶
This section is empty.
Functions ¶
func FromContext ¶
FromContext returns the App the root PersistentPreRunE installed.
func LoadError ¶
LoadError returns why the root could not build the App for a command marked with annotationRunsWithoutConfig (nil when it could).
Types ¶
This section is empty.
Source Files
¶
- ack.go
- audit.go
- auth.go
- auth_context.go
- auth_login.go
- auth_login_command.go
- auth_logout.go
- billing.go
- billing_helpers.go
- billing_invoice.go
- billing_settings.go
- build_logs_url.go
- catalog.go
- command_flags.go
- config.go
- docs.go
- durations.go
- image.go
- image_create.go
- image_cursor.go
- image_direct_upload.go
- image_list.go
- image_logs.go
- image_multipart.go
- image_precheck.go
- invite.go
- key.go
- key_helpers.go
- key_scaffold.go
- list_collect.go
- list_cursor_streams.go
- login_only.go
- member.go
- member_helpers.go
- org.go
- org_project_name.go
- orgkey.go
- profile.go
- project.go
- project_budget.go
- project_member.go
- raw_output.go
- region.go
- registry.go
- reservation.go
- reservation_create.go
- reservation_list.go
- role.go
- root.go
- sandbox.go
- sandbox_action_output.go
- sandbox_actions.go
- sandbox_cp.go
- sandbox_cp_probe.go
- sandbox_create.go
- sandbox_create_helpers.go
- sandbox_create_idempotency.go
- sandbox_create_macos.go
- sandbox_create_result.go
- sandbox_cursor.go
- sandbox_display.go
- sandbox_docker.go
- sandbox_exec.go
- sandbox_fork.go
- sandbox_lifecycle.go
- sandbox_logs.go
- sandbox_logs_follow.go
- sandbox_port.go
- sandbox_process.go
- sandbox_process_logs.go
- sandbox_search.go
- sandbox_search_helpers.go
- sandbox_search_query.go
- sandbox_ssh.go
- sandbox_transition.go
- search_first.go
- secret.go
- service_account.go
- service_account_helpers.go
- service_account_project.go
- signal.go
- snapshot.go
- toolbox_output.go
- usage_errors.go
- version.go
- volume.go
- volume_helpers.go