kubernetes

package
v0.12.0-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 32 Imported by: 0

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

type ConfigFactory func() (*rest.Config, error)

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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