loader

package
v1.31.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 264

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterOptionsBuilder

type ClusterOptionsBuilder OptionsBuilder[*kops.Cluster]

type OptionsBuilder added in v1.10.0

type OptionsBuilder[T any] interface {
	BuildOptions(options T) error
}

type OptionsLoader

type OptionsLoader[T any] struct {
	Builders []OptionsBuilder[T]
}

func NewClusterOptionsLoader

func NewClusterOptionsLoader(builders []ClusterOptionsBuilder) *OptionsLoader[*kops.Cluster]

func (*OptionsLoader[T]) Build

func (l *OptionsLoader[T]) Build(userConfig T) (T, error)

Build executes the options configuration templates, until they converge It bails out after maxIterations

Jump to

Keyboard shortcuts

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