Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( VersionBase string VersionShortCommit string VersionFullCommit string )
Functions ¶
func NewVersionReporter ¶ added in v1.27.0
func RunAndExit ¶ added in v1.27.0
Types ¶
type Application ¶
type Application struct {
Provider
}
func New ¶
func New() *Application
func (*Application) Initialize ¶
func (a *Application) Initialize(provider Provider) error
func (*Application) Terminate ¶
func (a *Application) Terminate()
type ProviderImpl ¶ added in v1.27.0
type ProviderImpl struct {
// contains filtered or unexported fields
}
func NewProvider ¶ added in v1.27.0
func NewProvider(prefix string, scopes ...string) (*ProviderImpl, error)
func (*ProviderImpl) ConfigReporter ¶ added in v1.27.0
func (p *ProviderImpl) ConfigReporter() config.Reporter
func (*ProviderImpl) Logger ¶ added in v1.27.0
func (p *ProviderImpl) Logger() log.Logger
func (*ProviderImpl) Name ¶ added in v1.27.0
func (p *ProviderImpl) Name() string
func (*ProviderImpl) Prefix ¶ added in v1.27.0
func (p *ProviderImpl) Prefix() string
func (*ProviderImpl) UserAgent ¶ added in v1.27.0
func (p *ProviderImpl) UserAgent() string
func (*ProviderImpl) VersionReporter ¶ added in v1.27.0
func (p *ProviderImpl) VersionReporter() version.Reporter
Click to show internal directories.
Click to hide internal directories.