down

package
v0.9.2-71-g479ba10e Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Down

func Down(ctx context.Context, opts *DownOptions, args ...string) error

Down brings a local machine network offline.

func NewCmd

func NewCmd() *cobra.Command

Types

type DownOptions

type DownOptions struct {
	Driver string `noattribute:"true"`
}

func (*DownOptions) Pre

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

func (*DownOptions) Run

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