Documentation
¶
Index ¶
- func NewCmdCreate(ctx *cmd.Context, runF func(*CreateOpts) error) *cmd.Command
- func NewCmdDelete(ctx *cmd.Context, runF func(*DeleteOpts) error) *cmd.Command
- func NewCmdList(ctx *cmd.Context, runF func(*ListOpts) error) *cmd.Command
- func NewCmdProjects(ctx *cmd.Context) *cmd.Command
- func NewCmdRead(ctx *cmd.Context, runF func(*ReadOpts) error) *cmd.Command
- func NewCmdUpdate(ctx *cmd.Context, runF func(*UpdateOpts) error) *cmd.Command
- type CreateOpts
- type DeleteOpts
- type ListOpts
- type ReadOpts
- type UpdateOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCreate ¶
func NewCmdDelete ¶
func NewCmdUpdate ¶
Types ¶
type CreateOpts ¶
type CreateOpts struct {
Ctx context.Context
Profile *profile.Profile
IO iostreams.IOStreams
Output *format.Outputter
Name string
Description string
Default bool
ProjectClient project_service.ClientService
BillingClient billing_account_service.ClientService
}
type DeleteOpts ¶
type DeleteOpts struct {
Ctx context.Context
IO iostreams.IOStreams
Profile *profile.Profile
Profiles *profile.Loader
Client project_service.ClientService
}
type ListOpts ¶
type ListOpts struct {
Ctx context.Context
Profile *profile.Profile
IO iostreams.IOStreams
Output *format.Outputter
Client project_service.ClientService
}
type ReadOpts ¶
type ReadOpts struct {
Ctx context.Context
Profile *profile.Profile
IO iostreams.IOStreams
Output *format.Outputter
Client project_service.ClientService
}
type UpdateOpts ¶
type UpdateOpts struct {
Ctx context.Context
Profile *profile.Profile
IO iostreams.IOStreams
Description *string
Name *string
Client project_service.ClientService
}
Click to show internal directories.
Click to hide internal directories.