app

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppsCmd

func NewAppsCmd(ctx *cli.Context) *cobra.Command

func NewCmdCreate

func NewCmdCreate(ctx *cli.Context) *cobra.Command

func NewCmdList

func NewCmdList(ctx *cli.Context) *cobra.Command

func NewCmdLogs

func NewCmdLogs(ctx *cli.Context) *cobra.Command

func NewCmdRemove

func NewCmdRemove(ctx *cli.Context) *cobra.Command

func NewCmdRestart

func NewCmdRestart(ctx *cli.Context) *cobra.Command

func NewCmdStart

func NewCmdStart(ctx *cli.Context) *cobra.Command

func NewCmdStop

func NewCmdStop(ctx *cli.Context) *cobra.Command

func PrintFormat

func PrintFormat(output io.Writer, format string, apps []*api.App) error

func RunCreate added in v0.2.3

func RunCreate(ctx *cli.Context, opts *CreateOptions) error

func RunList added in v0.2.3

func RunList(ctx *cli.Context, opts *ListOptions) error

func RunLogs

func RunLogs(ctx *cli.Context, opts *LogsOptions) error

func RunRestart

func RunRestart(ctx *cli.Context, opts *RestartOptions) error

func RunStart

func RunStart(ctx *cli.Context, opts *StartOptions) error

func RunStop

func RunStop(ctx *cli.Context, opts *StopOptions) error

Types

type CreateOptions

type CreateOptions struct {
	Name     string
	Platform string
	Region   string
	Plan     string
}

type ListOptions

type ListOptions struct {
	// contains filtered or unexported fields
}

type LogsOptions

type LogsOptions struct {
	App        string
	Since      time.Duration
	Follow     bool
	Timestamps bool
}

type RemoveOptions

type RemoveOptions struct {
	Name  string
	Force bool
}

type RestartOptions

type RestartOptions struct {
	Name string
}

type StartOptions

type StartOptions struct {
	Name string
}

type StopOptions

type StopOptions struct {
	Name string
}

Jump to

Keyboard shortcuts

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