apigen

package
v0.0.0-...-51f9457 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

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

Application is the main apigen application instance.

func (*Application) AddToFlagSet

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

AddToFlagSet adds application-level flags to the supplied FlagSet.

func (Application) Run

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL