Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃尡 Update hetznerbaremetalhost_types.go #1171

Merged
merged 1 commit into from
Feb 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 10 additions & 3 deletions api/v1beta1/hetznerbaremetalhost_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@

// RootDeviceHints holds the hints for specifying the storage location
// for the root filesystem for the image. Need to specify either WWN or raid
// to provision host machine successfully.
// to provision the host machine successfully. It is important to find the correct root device.

Check failure on line 44 in api/v1beta1/hetznerbaremetalhost_types.go

View workflow job for this annotation

GitHub Actions / Lint Pull Request

File is not `gofmt`-ed with `-s` (gofmt)
// If none are specified, the host will stop provisioning in between to wait for
// the details to be specified. HardwareDetails in the host's status can be used to find the correct device.
// Currently, you can specify one disk or a raid setup.
type RootDeviceHints struct {
// Unique storage identifier. The hint must match the actual value
// exactly.
Expand Down Expand Up @@ -172,6 +175,7 @@
// HetznerBareMetalHostSpec defines the desired state of HetznerBareMetalHost.
type HetznerBareMetalHostSpec struct {
// ServerID defines the ID of the server provided by Hetzner.
// Find it on your Hetzner robot dashboard.
ServerID int `json:"serverID"`

// Provide guidance about how to choose the device for the image
Expand All @@ -188,11 +192,14 @@
// and won't be selected by any Hetzner bare metal machine.
MaintenanceMode *bool `json:"maintenanceMode,omitempty"`

// Description is a human-entered text used to help identify the host
// Description is a human-entered text used to help identify the host.
// It can be used to store some valuable information about the host.
// +optional
Description string `json:"description,omitempty"`

// Status contains all status information. DO NOT EDIT!!!
// Status contains all status information. The controller writes this status.
// As some cannot be regenerated during any reconcilement, the status
// is in the specs of the object - not the actual status. DO NOT EDIT!!!
// +optional
Status ControllerGeneratedStatus `json:"status,omitempty"`
}
Expand Down