luci: Index | Files

package bootstrapResult

import ""

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


Package Files


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 1 packages. Updated 2020-12-06. Refresh now. Tools for package owners.