create

package
v0.9.0-19-ge4594faa Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: BSD-3-Clause Imports: 26 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

Types

type CreateOptions

type CreateOptions struct {
	Bundle        string `long:"bundle" short:"b" usage:"path to the root of the bundle directory"`
	ConsoleSocket string `` /* 151-byte string literal not displayed */
	PidFile       string `long:"pid-file" usage:"specify a file where the process ID will be written"`
	// contains filtered or unexported fields
}

CreateOptions implements the OCI "create" command.

func (*CreateOptions) Pre

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

func (*CreateOptions) Run

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

Jump to

Keyboard shortcuts

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