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

package bootstrap

import "go.chromium.org/luci/logdog/client/butler/bootstrap"

Package bootstrap handles Butler-side bootstrapping functionality.

Index

Package Files

env.go

type Environment Uses

type Environment struct {
    // CoordinatorHost is the coordinator host name, or empty string if we are
    // not outputting to a Coordinator.
    CoordinatorHost string

    // Project is the project name. If not empty, this will be exported to
    // subprocesses.
    Project types.ProjectName
    // Prefix is the prefix name. If not empty, this will be exported to
    // subprocesses.
    Prefix types.StreamName
    // StreamServerURI is the streamserver URI. If not empty, this will be
    // exported to subprocesses.
    StreamServerURI string
}

Environment is the set of configuration parameters for the bootstrap.

func (*Environment) Augment Uses

func (e *Environment) Augment(base environ.Env)

Augment augments the supplied base environment with LogDog Butler bootstrap parameters.

Package bootstrap imports 3 packages (graph) and is imported by 2 packages. Updated 2018-12-16. Refresh now. Tools for package owners.