Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultClass = "default" ProviderType = "kubernetes" )
Variables ¶
View Source
var Module = fx.Options( fx.Provide(func() ConfigFactory { return rest.InClusterConfig }, fx.Private), fx.Invoke( fx.Annotate( newProvider, fx.OnStart(func(ctx context.Context, p *provider) error { return p.Start(ctx) }), fx.OnStop(func(ctx context.Context, p *provider) error { return p.Stop(ctx) }), ), ), )
Module is used on app bootstrap. nolint: gochecknoglobals
Functions ¶
This section is empty.
Types ¶
type ConfigFactory ¶
Click to show internal directories.
Click to hide internal directories.