bootstrapResult

package
Version: v0.0.0-...-51f9457 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package bootstrapResult defines a common way to express the result of bootstrapping a command via JSON.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	// ReturnCode is the process' return code.
	ReturnCode int `json:"return_code"`
	// Command, is present, is the bootstrapped command that was run.
	Command []string `json:"command,omitempty"`
}

Result is the bootstrap result data.

func (*Result) WriteJSON

func (r *Result) WriteJSON(path string) error

WriteJSON writes Result as a JSON document to the specified path.

Source Files

Jump to

Keyboard shortcuts

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