start

package
v0.7.13 Latest Latest
Warning

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

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

Documentation

Overview

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2023, Unikraft GmbH and The KraftKit Authors. Licensed under the BSD-3-Clause License (the "License"). You may not use this file except in compliance with the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

func Start

func Start(ctx context.Context, opts *StartOptions, args ...string) error

Start a KraftCloud instance.

Types

type StartOptions

type StartOptions struct {
	WaitTimeout time.Duration `local:"true" long:"wait-timeout" short:"w" usage:"Timeout to wait for the instance to start (ms/s/m/h)"`
	Output      string        `long:"output" short:"o" usage:"Set output format. Options: table,yaml,json,list" default:"table"`
	// contains filtered or unexported fields
}

func (*StartOptions) Pre

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

func (*StartOptions) Run

func (opts *StartOptions) 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