provision

package
v1.44.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 54 Imported by: 0

Documentation

Overview

Package provision implements a 'devenv provision' command that allows developers to provision a new development environment.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdProvision

func NewCmdProvision(log logrus.FieldLogger) *cli.Command

Types

type Options

type Options struct {
	DeployApps        []string
	SnapshotTarget    string
	SnapshotChannel   box.SnapshotLockChannel
	KubernetesRuntime kubernetesruntime.Runtime
	KubernetesVersion string
	Base              bool
	UseDevspace       bool
	// contains filtered or unexported fields
}

func NewOptions

func NewOptions(log logrus.FieldLogger, b *box.Config) (*Options, error)

NewOptions creates a new provision command

func (*Options) MarshalLog added in v1.38.0

func (o *Options) MarshalLog(addField func(key string, v interface{}))

func (*Options) Run

func (o *Options) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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