config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DrainConditions DrainConditions
	KubeConfig      *rest.Config
	NodeName        string
}

Config is a struct that holds the configuration for the application

func ReadConfiguration

func ReadConfiguration(ctx context.Context) (Config, error)

type ContextValues added in v0.2.0

type ContextValues struct {
	Logger *zap.SugaredLogger
	State  *appstate.State
}

ContextValues is a struct that holds the logger and state of the application for use in the shared application context

type DrainConditions

type DrainConditions struct {
}

DrainConditions is a struct that holds the VM scheduled event types that would trigger a drain

Jump to

Keyboard shortcuts

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