up

package
v0.9.4-90-g2e74d5eb Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: BSD-3-Clause Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

func Up added in v0.8.3

func Up(ctx context.Context, opts *UpOptions, args ...string) error

Types

type UpOptions

type UpOptions struct {
	Auth             *config.AuthConfig       `noattribute:"true"`
	Client           kraftcloud.KraftCloud    `noattribute:"true"`
	Composefile      string                   `noattribute:"true"`
	Detach           bool                     `local:"true" long:"detach" short:"d" usage:"Run the services in the background"`
	Metro            string                   `noattribute:"true"`
	NoStart          bool                     `noattribute:"true"`
	NoBuild          bool                     `local:"true" long:"no-build" usage:"Do not build the services before starting them"`
	Project          *compose.Project         `noattribute:"true"`
	Rollout          *create.RolloutStrategy  `noattribute:"true"`
	RolloutQualifier *create.RolloutQualifier `noattribute:"true"`
	RolloutWait      time.Duration            `local:"true" long:"rollout-wait" usage:"Time to wait before performing rolling out action (ms/s/m/h)" default:"10s"`
	Runtimes         []string                 `long:"runtime" usage:"Alternative runtime to use when packaging a service"`
	Token            string                   `noattribute:"true"`
	Wait             time.Duration            `local:"true" long:"wait" short:"w" usage:"Timeout to wait for the instance to start (ms/s/m/h)"`
}

func (*UpOptions) Pre

func (opts *UpOptions) Pre(cmd *cobra.Command, args []string) error

func (*UpOptions) Run

func (opts *UpOptions) Run(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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