modules

package
v0.8.3-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module interface {
	Run(ctx waitctx.PermissiveContext, mc *ModuleContext) error
}

type ModuleContext

type ModuleContext struct {
	Log    *zap.SugaredLogger
	Client managementv1.ManagementClient
	Reg    prometheus.Registerer
}

type ModuleSet

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

func NewModuleSet

func NewModuleSet() *ModuleSet

func (*ModuleSet) Add

func (s *ModuleSet) Add(name string, module Module)

func (*ModuleSet) Modules

func (s *ModuleSet) Modules() []NamedModule

type NamedModule

type NamedModule interface {
	Module
	Name() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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