Back to godoc.org
github.com/luci/luci-go / logdog / client / bootstrapResult

Package bootstrapResult

v0.0.0-...-d4769a7
Latest Go to latest

The latest major version is .

Published: Aug 1, 2020 | License: Apache-2.0 | Module: github.com/luci/luci-go

Overview

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

Index

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