create

package
v0.6.7-254-gdc80d9c Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *cobra.Command

Types

type Create

type Create struct {
	Env      []string `local:"true" long:"env" short:"e" usage:"Environmental variables"`
	Memory   int64    `local:"true" long:"memory" short:"M" usage:"Specify the amount of memory to allocate"`
	Name     string   `local:"true" long:"name" short:"n" usage:"Specify the name of the package"`
	Output   string   `local:"true" long:"output" short:"o" usage:"Set output format" default:"table"`
	Port     string   `local:"true" long:"port" short:"p" usage:"Specify the port the app serves on locally"`
	Replicas int      `local:"true" long:"replicas" short:"R" usage:"Number of replicas of the instance" default:"1"`
	Start    bool     `local:"true" long:"start" short:"S" usage:"Immediately start the instance after creation"`
	// contains filtered or unexported fields
}

func (*Create) Pre

func (opts *Create) Pre(cmd *cobra.Command, _ []string) error

func (*Create) Run

func (opts *Create) Run(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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