Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ linters:
gosmopolitan:
allow-time-local: true

# TODO: This is required for the storage-boxes branch, remove before merging to main!
gomoddirectives:
replace-allow-list:
- github.com/hetznercloud/hcloud-go/v2

exclusions:
generated: lax
presets:
Expand Down
3 changes: 3 additions & 0 deletions docs/reference/manual/hcloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ A command-line interface for Hetzner Cloud
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
-h, --help help for hcloud
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand All @@ -41,6 +42,8 @@ A command-line interface for Hetzner Cloud
* [hcloud server](hcloud_server.md) - Manage Servers
* [hcloud server-type](hcloud_server-type.md) - View Server Types
* [hcloud ssh-key](hcloud_ssh-key.md) - Manage SSH Keys
* [hcloud storage-box](hcloud_storage-box.md) - Manage Storage Boxes
* [hcloud storage-box-type](hcloud_storage-box-type.md) - View Storage Box Types
* [hcloud version](hcloud_version.md) - Print version information
* [hcloud volume](hcloud_volume.md) - Manage Volumes
* [hcloud zone](hcloud_zone.md) - [experimental] Manage DNS Zones and Zone RRSets (records)
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_all.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Commands that apply to all resources
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_all_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ hcloud all list [options]
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_certificate.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Manage Certificates
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_certificate_add-label.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ hcloud certificate add-label [--overwrite] <certificate> <label>...
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_certificate_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ hcloud certificate create [options] --name <name> (--type managed --domain <doma
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_certificate_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ hcloud certificate delete <certificate>...
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_certificate_describe.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ hcloud certificate describe [options] <certificate>
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_certificate_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ hcloud certificate list [options]
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_certificate_remove-label.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ hcloud certificate remove-label <certificate> (--all | <label>...)
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_certificate_retry.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ hcloud certificate retry <certificate>
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_certificate_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ hcloud certificate update [options] <certificate>
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ hcloud completion <shell>
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
3 changes: 3 additions & 0 deletions docs/reference/manual/hcloud_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ Following options are preferences and can be used with set/unset/add/remove:
│ endpoint │ Hetzner Cloud API │ string │ endpoint │ HCLOUD_ENDPOINT │ --endpoint │
│ │ endpoint │ │ │ │ │
├──────────────────────────┼──────────────────────┼─────────────┼──────────────────────────┼─────────────────────────────────┼────────────────────────────┤
│ hetzner-endpoint │ Hetzner API endpoint │ string │ hetzner_endpoint │ HETZNER_ENDPOINT │ --hetzner-endpoint │
├──────────────────────────┼──────────────────────┼─────────────┼──────────────────────────┼─────────────────────────────────┼────────────────────────────┤
│ no-experimental-warnings │ If true, │ boolean │ no_experimental_warnings │ HCLOUD_NO_EXPERIMENTAL_WARNINGS │ --no-experimental-warnings │
│ │ experimental │ │ │ │ │
│ │ warnings are not │ │ │ │ │
Expand Down Expand Up @@ -96,6 +98,7 @@ on disk, run 'hcloud config get config'.
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_config_add.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ hcloud config add <key> <value>...
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_config_get.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ hcloud config get <key>
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_config_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ hcloud config list
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_config_remove.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ hcloud config remove <key> <value>...
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_config_set.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ hcloud config set <key> <value>...
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_config_unset.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ hcloud config unset <key>
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_context.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Manage contexts
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_context_active.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ hcloud context active
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_context_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ hcloud context create <name>
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_context_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ hcloud context delete <context>
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_context_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ hcloud context list [options]
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_context_rename.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ hcloud context rename <context> <name>
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
1 change: 1 addition & 0 deletions docs/reference/manual/hcloud_context_unset.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ hcloud context unset
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
Expand Down
Loading
Loading