You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// RootVolumeSpec defines the characteristics of the system (root) volume.
40
+
typeRootVolumeSpecstruct {
41
+
// Size of the root volume in GB. Defaults to 20 GB.
42
+
// +kubebuilder:default=20
43
+
// +kubebuilder:validation:Minimum=8
44
+
// +optional
45
+
Size*int64`json:"size,omitempty"`
46
+
47
+
// Type of the root volume. Can be local or block. Note that not all types
48
+
// of instances support local volumes.
49
+
// +kubebuilder:validation:Enum=local;block
50
+
// +kubebuilder:default="block"
51
+
// +optional
52
+
Type*string`json:"type,omitempty"`
53
+
54
+
// IOPS is the number of IOPS requested for the disk. This is only applicable for block volumes.
55
+
// +optional
56
+
IOPS*int64`json:"iops,omitempty"`
57
+
}
58
+
59
+
// PublicNetworkSpec allows enabling the attachment of public IPs to the instance.
60
+
typePublicNetworkSpecstruct {
61
+
// EnableIPv4 defines whether server has IPv4 address enabled.
62
+
// +optional
63
+
EnableIPv4*bool`json:"enableIPv4,omitempty"`
64
+
// EnableIPv6 defines whether server has IPv6 addresses enabled.
65
+
// +optional
66
+
EnableIPv6*bool`json:"enableIPv6,omitempty"`
67
+
}
68
+
69
+
// ImageSpec contains an ID, Name or Label to use to create the instance.
70
+
// +kubebuilder:validation:XValidation:rule="(has(self.id) ? 1 : 0) + (has(self.name) ? 1 : 0) + (has(self.label) ? 1 : 0) == 1",message="exactly one of id, name or label must be set"
71
+
typeImageSpecstruct {
72
+
// ID of the image.
73
+
ID*string`json:"id,omitempty"`
74
+
// Name of the image.
75
+
Name*string`json:"name,omitempty"`
76
+
// Label of the image.
77
+
Label*string`json:"label,omitempty"`
17
78
}
18
79
19
80
// ScalewayMachineStatus defines the observed state of ScalewayMachine.
20
81
typeScalewayMachineStatusstruct {
21
-
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
22
-
// Important: Run "make" to regenerate code after modifying this file
82
+
// Addresses contains the associated addresses for the machine.
0 commit comments