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 {
KubeContextStore KubeContextStore
}
ContextsGenerator generates kube contexts for the front end.
func NewContextsGenerator ¶
func NewContextsGenerator(kubeContextStore KubeContextStore, options ...ContextGeneratorOption) *ContextsGenerator
func (ContextsGenerator) Name ¶
func (ContextsGenerator) Name() string
func (ContextsGenerator) ScheduleDelay ¶
func (ContextsGenerator) ScheduleDelay() time.Duration
type HelperGenerator ¶ added in v0.13.0
func NewHelperGenerator ¶ added in v0.13.0
func NewHelperGenerator(dashConfig config.Dash, options ...HelperGeneratorOption) *HelperGenerator
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)
type KubeContextStore ¶ added in v0.18.0
type KubeContextStore interface { CurrentContext() string Contexts() []kubeconfig.Context }
Click to show internal directories.
Click to hide internal directories.