initialize

package
v0.0.0-...-b7fcf81 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Initializer

type Initializer struct {
	Box    packr.Box
	Dry    bool
	Logger *logrus.Logger
}

Initializer is the struct for holding the state for the ocictl init command

func (Initializer) Basic

func (i Initializer) Basic() error

Basic handles a basic ocictl init, creating a documented ocibuilder.yaml specification to be modified

func (Initializer) FromDocker

func (i Initializer) FromDocker(imageName string, path string) error

FromDocker handles an init from a docker file, generating an ocibuilder spec

Jump to

Keyboard shortcuts

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