provisioning

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package provisioning deals with various machine initialization methods viz. cloud-init, Ignition, etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	Cmd   string
	Args  []string
	Stdin string
}

Cmd defines a shell command.

func (*Cmd) UnmarshalJSON

func (c *Cmd) UnmarshalJSON(data []byte) error

UnmarshalJSON a runcmd command It can be either a list or a string. If the item is a list, the head of the list is the command and the tail are the args. If the item is a string, the whole command will be wrapped in `/bin/sh -c`.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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