File tree Expand file tree Collapse file tree 12 files changed +13
-13
lines changed
internal/cmd/routingtable Expand file tree Collapse file tree 12 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ type inputModel struct {
3939 OrganizationId string
4040}
4141
42- func NewCmd (params * params .CmdParams ) * cobra.Command {
42+ func NewCmd (params * types .CmdParams ) * cobra.Command {
4343 cmd := & cobra.Command {
4444 Use : "create" ,
4545 Short : "Creates a routing-table" ,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ type inputModel struct {
2828 RoutingTableId string
2929}
3030
31- func NewCmd (params * params .CmdParams ) * cobra.Command {
31+ func NewCmd (params * types .CmdParams ) * cobra.Command {
3232 cmd := & cobra.Command {
3333 Use : fmt .Sprintf ("delete %s" , routingTableIdArg ),
3434 Short : "Deletes a routing-table" ,
Original file line number Diff line number Diff line change @@ -6,14 +6,14 @@ import (
66 "strings"
77
88 "github.com/spf13/cobra"
9- "github.com/stackitcloud/stackit-cli/internal/cmd/params"
109 "github.com/stackitcloud/stackit-cli/internal/pkg/args"
1110 "github.com/stackitcloud/stackit-cli/internal/pkg/examples"
1211 "github.com/stackitcloud/stackit-cli/internal/pkg/flags"
1312 "github.com/stackitcloud/stackit-cli/internal/pkg/globalflags"
1413 "github.com/stackitcloud/stackit-cli/internal/pkg/print"
1514 "github.com/stackitcloud/stackit-cli/internal/pkg/services/iaas/client"
1615 "github.com/stackitcloud/stackit-cli/internal/pkg/tables"
16+ "github.com/stackitcloud/stackit-cli/internal/pkg/types"
1717 "github.com/stackitcloud/stackit-cli/internal/pkg/utils"
1818 "github.com/stackitcloud/stackit-sdk-go/services/iaas"
1919)
@@ -31,7 +31,7 @@ type inputModel struct {
3131 RoutingTableId string
3232}
3333
34- func NewCmd (params * params .CmdParams ) * cobra.Command {
34+ func NewCmd (params * types .CmdParams ) * cobra.Command {
3535 cmd := & cobra.Command {
3636 Use : fmt .Sprintf ("describe %s" , routingTableIdArg ),
3737 Short : "Describes a routing-table" ,
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ type inputModel struct {
3636 OrganizationId string
3737}
3838
39- func NewCmd (params * params .CmdParams ) * cobra.Command {
39+ func NewCmd (params * types .CmdParams ) * cobra.Command {
4040 cmd := & cobra.Command {
4141 Use : "list" ,
4242 Short : "Lists all routing-tables" ,
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ type inputModel struct {
4343 RoutingTableId string
4444}
4545
46- func NewCmd (params * params .CmdParams ) * cobra.Command {
46+ func NewCmd (params * types .CmdParams ) * cobra.Command {
4747 cmd := & cobra.Command {
4848 Use : "create" ,
4949 Short : "Creates a route in a routing-table" ,
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ type inputModel struct {
3030 RoutingTableId string
3131}
3232
33- func NewCmd (params * params .CmdParams ) * cobra.Command {
33+ func NewCmd (params * types .CmdParams ) * cobra.Command {
3434 cmd := & cobra.Command {
3535 Use : fmt .Sprintf ("delete %s" , routingTableIdFlag ),
3636 Short : "Deletes a route within a routing-table" ,
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ type inputModel struct {
3333 RoutingTableId string
3434}
3535
36- func NewCmd (params * params .CmdParams ) * cobra.Command {
36+ func NewCmd (params * types .CmdParams ) * cobra.Command {
3737 cmd := & cobra.Command {
3838 Use : fmt .Sprintf ("describe %s" , routeIdArg ),
3939 Short : "Describes a route within a routing-table" ,
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ type inputModel struct {
3636 RoutingTableId string
3737}
3838
39- func NewCmd (params * params .CmdParams ) * cobra.Command {
39+ func NewCmd (params * types .CmdParams ) * cobra.Command {
4040 cmd := & cobra.Command {
4141 Use : "list" ,
4242 Short : "Lists all routes within a routing-table" ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
1212 "github.com/stackitcloud/stackit-cli/internal/pkg/utils"
1313)
1414
15- func NewCmd (params * params .CmdParams ) * cobra.Command {
15+ func NewCmd (params * types .CmdParams ) * cobra.Command {
1616 cmd := & cobra.Command {
1717 Use : "route" ,
1818 Short : "Manages routes of a routing-table" ,
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ type inputModel struct {
3434 RoutingTableId string
3535}
3636
37- func NewCmd (params * params .CmdParams ) * cobra.Command {
37+ func NewCmd (params * types .CmdParams ) * cobra.Command {
3838 cmd := & cobra.Command {
3939 Use : fmt .Sprintf ("update %s" , routeIdArg ),
4040 Short : "Updates a route in a routing-table" ,
You can’t perform that action at this time.
0 commit comments