luci: go.chromium.org/luci/logdog/client/bootstrapResult Index | Files

package bootstrapResult

import "go.chromium.org/luci/logdog/client/bootstrapResult"

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

Index

Package Files

result.go

type Result Uses

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 Uses

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

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

Package bootstrapResult imports 2 packages (graph) and is imported by 2 packages. Updated 2018-10-23. Refresh now. Tools for package owners.