pro

package
v0.5.7-alpha.3 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MPL-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const LOFT_PROVIDER_BINARY = "LOFT_PROVIDER"

Variables

This section is empty.

Functions

func NewDeleteCmd

func NewDeleteCmd(flags *flags.GlobalFlags) *cobra.Command

NewDeleteCmd creates a new command

func NewImportCmd

func NewImportCmd(globalFlags *flags.GlobalFlags) *cobra.Command

NewImportCmd creates a new command

func NewListCmd

func NewListCmd(flags *flags.GlobalFlags) *cobra.Command

NewListCmd creates a new command

func NewLoginCmd

func NewLoginCmd(flags *flags.GlobalFlags) *cobra.Command

NewLoginCmd creates a new command

func NewProCmd

func NewProCmd(flags *flags.GlobalFlags) *cobra.Command

NewProCmd returns a new command

Types

type DeleteCmd

type DeleteCmd struct {
	*flags.GlobalFlags

	IgnoreNotFound bool
}

DeleteCmd holds the delete cmd flags

func (*DeleteCmd) Run

func (cmd *DeleteCmd) Run(ctx context.Context, args []string) error

type ImportCmd

type ImportCmd struct {
	*flags.GlobalFlags

	WorkspaceId      string
	WorkspaceUid     string
	WorkspaceProject string

	Own bool
	// contains filtered or unexported fields
}

func (*ImportCmd) Run

func (cmd *ImportCmd) Run(ctx context.Context, args []string) error

type ListCmd

type ListCmd struct {
	flags.GlobalFlags

	Output string
	Login  bool
}

ListCmd holds the list cmd flags

func (*ListCmd) Run

func (cmd *ListCmd) Run(ctx context.Context) error

Run runs the command logic

type LoginCmd

type LoginCmd struct {
	flags.GlobalFlags

	AccessKey      string
	Provider       string
	Version        string
	ProviderSource string

	Options []string

	Login bool
	Use   bool
}

LoginCmd holds the login cmd flags

func (*LoginCmd) Run

func (cmd *LoginCmd) Run(ctx context.Context, fullURL string, log log.Logger) error

Run runs the command logic

Jump to

Keyboard shortcuts

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