event

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultScheduleDelay = 1 * time.Second

DefaultScheduleDelay is the default schedule delay

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextGeneratorOption

type ContextGeneratorOption func(generator *ContextsGenerator)

type ContextsGenerator

type ContextsGenerator struct {
	ConfigLoader kubeconfig.Loader
	DashConfig   config.Dash
}

ContextsGenerator generates kube contexts for the front end.

func NewContextsGenerator

func NewContextsGenerator(dashConfig config.Dash, options ...ContextGeneratorOption) *ContextsGenerator

func (*ContextsGenerator) Event

func (ContextsGenerator) Name

func (ContextsGenerator) Name() string

func (ContextsGenerator) ScheduleDelay

func (ContextsGenerator) ScheduleDelay() time.Duration

type HelperGenerator added in v0.13.0

type HelperGenerator struct {
	DashConfig config.Dash
}

func NewHelperGenerator added in v0.13.0

func NewHelperGenerator(dashConfig config.Dash, options ...HelperGeneratorOption) *HelperGenerator

func (*HelperGenerator) Event added in v0.13.0

func (h *HelperGenerator) Event(ctx context.Context) (octant.Event, error)

func (HelperGenerator) Name added in v0.13.0

func (HelperGenerator) Name() string

func (HelperGenerator) ScheduleDelay added in v0.13.0

func (HelperGenerator) ScheduleDelay() time.Duration

type HelperGeneratorOption added in v0.13.0

type HelperGeneratorOption func(generator *HelperGenerator)

Jump to

Keyboard shortcuts

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