Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultScheduleDelay = 5 * 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 (g *ContextsGenerator) Event(ctx context.Context) (controllers.Event, error)
func (ContextsGenerator) Name ¶
func (ContextsGenerator) Name() string
func (ContextsGenerator) ScheduleDelay ¶
func (ContextsGenerator) ScheduleDelay() time.Duration
Click to show internal directories.
Click to hide internal directories.