luci: go.chromium.org/luci/tools/internal/apigen Index | Files

package apigen

import "go.chromium.org/luci/tools/internal/apigen"

Index

Package Files

apiWhitelist.go command.go discovery.go filesystem.go main.go service.go

type Application Uses

type Application struct {
    // contains filtered or unexported fields
}

Application is the main apigen application instance.

func (*Application) AddToFlagSet Uses

func (a *Application) AddToFlagSet(fs *flag.FlagSet)

AddToFlagSet adds application-level flags to the supplied FlagSet.

func (Application) Run Uses

func (a Application) Run(c context.Context) error

Run executes the application using the supplied context.

Note that this intentionally consumes the Application by value, as we may modify its configuration as parameters become resolved.

Package apigen imports 24 packages (graph) and is imported by 1 packages. Updated 2018-12-14. Refresh now. Tools for package owners.