Back to / logdog / client / bootstrapResult

Package bootstrapResult

Latest Go to latest

The latest major version is .

Published: Aug 1, 2020 | License: Apache-2.0 | Module:


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


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.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier