projects

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCreate

func NewCmdCreate(ctx *cmd.Context, runF func(*CreateOpts) error) *cmd.Command

func NewCmdDelete

func NewCmdDelete(ctx *cmd.Context, runF func(*DeleteOpts) error) *cmd.Command

func NewCmdList

func NewCmdList(ctx *cmd.Context, runF func(*ListOpts) error) *cmd.Command

func NewCmdProjects

func NewCmdProjects(ctx *cmd.Context) *cmd.Command

func NewCmdRead

func NewCmdRead(ctx *cmd.Context, runF func(*ReadOpts) error) *cmd.Command

func NewCmdUpdate

func NewCmdUpdate(ctx *cmd.Context, runF func(*UpdateOpts) error) *cmd.Command

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL