Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 43 additions & 43 deletions internal/namespaces/dedibox/v1/dedibox_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ func dediboxServerGet() *core.Command {
Short: `ID of the server`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1),
},
Expand Down Expand Up @@ -383,7 +383,7 @@ func dediboxOptionList() *core.Command {
Short: `Server ID of the subscribable server options`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.Zone(core.AllLocalities)),
},
Expand Down Expand Up @@ -422,7 +422,7 @@ func dediboxOptionSubscribe() *core.Command {
Short: `Server ID to subscribe server option`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "option-id",
Expand Down Expand Up @@ -504,7 +504,7 @@ func dediboxOptionSubscribeStorage() *core.Command {
Short: `Server ID of the storage options to subscribe`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "options-ids.{index}",
Expand Down Expand Up @@ -541,7 +541,7 @@ func dediboxServerUpdate() *core.Command {
Short: `Server ID to update`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "hostname",
Expand Down Expand Up @@ -585,7 +585,7 @@ func dediboxServerReboot() *core.Command {
Short: `Server ID to reboot`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1),
},
Expand Down Expand Up @@ -621,7 +621,7 @@ func dediboxServerStart() *core.Command {
Short: `Server ID to start`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1),
},
Expand Down Expand Up @@ -657,7 +657,7 @@ func dediboxServerStop() *core.Command {
Short: `Server ID to stop`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1),
},
Expand Down Expand Up @@ -693,7 +693,7 @@ func dediboxServerDelete() *core.Command {
Short: `Server ID to delete`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1),
},
Expand Down Expand Up @@ -737,7 +737,7 @@ func dediboxServerListEvents() *core.Command {
Short: `Server ID of the server events`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.Zone(core.AllLocalities)),
},
Expand Down Expand Up @@ -784,7 +784,7 @@ func dediboxServerListDisks() *core.Command {
Short: `Server ID of the server disks`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.Zone(core.AllLocalities)),
},
Expand Down Expand Up @@ -823,7 +823,7 @@ func dediboxServiceGet() *core.Command {
Short: `ID of the service`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1),
},
Expand Down Expand Up @@ -853,7 +853,7 @@ func dediboxServiceDelete() *core.Command {
Short: `ID of the service`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1),
},
Expand Down Expand Up @@ -930,7 +930,7 @@ func dediboxServerInstall() *core.Command {
Short: `Server ID to install`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "os-id",
Expand Down Expand Up @@ -1060,7 +1060,7 @@ func dediboxServerGetInstall() *core.Command {
Short: `Server ID of the server to install`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1),
},
Expand Down Expand Up @@ -1090,7 +1090,7 @@ func dediboxServerCancelInstall() *core.Command {
Short: `Server ID of the server to cancel install`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1),
},
Expand Down Expand Up @@ -1126,7 +1126,7 @@ func dediboxServerGetPartitioning() *core.Command {
Short: `ID of the server`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "os-id",
Expand Down Expand Up @@ -1164,7 +1164,7 @@ The BMC (Baseboard Management Controller) access is available one hour after the
Short: `ID of the server to start the BMC access`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "ip",
Expand Down Expand Up @@ -1207,7 +1207,7 @@ func dediboxBmcGet() *core.Command {
Short: `ID of the server to get BMC access`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1),
},
Expand Down Expand Up @@ -1237,7 +1237,7 @@ func dediboxBmcStop() *core.Command {
Short: `ID of the server to stop BMC access`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1),
},
Expand Down Expand Up @@ -1370,7 +1370,7 @@ func dediboxOfferGet() *core.Command {
Short: `ID of offer`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "project-id",
Expand Down Expand Up @@ -1421,9 +1421,9 @@ func dediboxOsList() *core.Command {
{
Name: "server-id",
Short: `Filter OS by compatible server ID`,
Required: false,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "project-id",
Expand Down Expand Up @@ -1469,7 +1469,7 @@ func dediboxOsGet() *core.Command {
Short: `ID of the OS`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "server-id",
Expand Down Expand Up @@ -1513,7 +1513,7 @@ func dediboxReverseIPUpdate() *core.Command {
Short: `ID of the IP`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "reverse",
Expand Down Expand Up @@ -1839,7 +1839,7 @@ func dediboxFipGet() *core.Command {
Short: `ID of the failover IP`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1),
},
Expand Down Expand Up @@ -1899,7 +1899,7 @@ func dediboxRaidGet() *core.Command {
Short: `ID of the server`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1),
},
Expand Down Expand Up @@ -1929,7 +1929,7 @@ func dediboxRaidUpdate() *core.Command {
Short: `ID of the server`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "raid-arrays.{index}.raid-level",
Expand Down Expand Up @@ -1980,7 +1980,7 @@ func dediboxRescueStart() *core.Command {
Short: `ID of the server to start rescue`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "os-id",
Expand Down Expand Up @@ -2017,7 +2017,7 @@ func dediboxRescueGet() *core.Command {
Short: `ID of the server to get rescue`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1),
},
Expand Down Expand Up @@ -2047,7 +2047,7 @@ func dediboxRescueStop() *core.Command {
Short: `ID of the server to stop rescue`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1),
},
Expand Down Expand Up @@ -2955,7 +2955,7 @@ func dediboxRpnV1Get() *core.Command {
Short: `Rpn v1 group ID`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
},
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {
Expand Down Expand Up @@ -3028,7 +3028,7 @@ func dediboxRpnV1Delete() *core.Command {
Short: `Rpn v1 group ID`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
},
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {
Expand Down Expand Up @@ -3063,7 +3063,7 @@ func dediboxRpnV1Update() *core.Command {
Short: `Rpn v1 group ID`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "name",
Expand Down Expand Up @@ -3234,7 +3234,7 @@ func dediboxRpnV1AddMembers() *core.Command {
Short: `The rpn v1 group ID`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "server-ids.{index}",
Expand Down Expand Up @@ -3277,7 +3277,7 @@ func dediboxRpnV1DeleteMembers() *core.Command {
Short: `The rpn v1 group ID`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "member-ids.{index}",
Expand Down Expand Up @@ -3595,7 +3595,7 @@ func dediboxRpnV2Get() *core.Command {
Short: `RPN V2 group ID`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
},
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {
Expand Down Expand Up @@ -3669,7 +3669,7 @@ func dediboxRpnV2Delete() *core.Command {
Short: `RPN V2 group ID`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
},
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {
Expand Down Expand Up @@ -3704,7 +3704,7 @@ func dediboxRpnV2Update() *core.Command {
Short: `RPN V2 group ID`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "name",
Expand Down Expand Up @@ -3740,7 +3740,7 @@ func dediboxRpnV2AddMembers() *core.Command {
Short: `RPN V2 group ID`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "servers.{index}",
Expand Down Expand Up @@ -3782,7 +3782,7 @@ func dediboxRpnV2DeleteMembers() *core.Command {
Short: `RPN V2 group ID`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "member-ids.{index}",
Expand Down Expand Up @@ -3908,7 +3908,7 @@ func dediboxRpnV2UpdateVlanMembers() *core.Command {
Short: `RPN V2 group ID`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "member-ids.{index}",
Expand Down Expand Up @@ -3999,7 +3999,7 @@ func dediboxRpnV2DisableCompatibility() *core.Command {
Short: `RPN V2 group ID`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
},
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {
Expand Down
Loading