clusterpool

package
v1.0.17 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(opts ...Option) *hivev1.ClusterPool

Build runs each of the functions passed in to generate the object.

Types

type Builder

type Builder interface {
	Build(opts ...Option) *hivev1.ClusterPool

	Options(opts ...Option) Builder

	GenericOptions(opts ...generic.Option) Builder
}

func BasicBuilder

func BasicBuilder() Builder

func FullBuilder

func FullBuilder(namespace, name string, typer runtime.ObjectTyper) Builder

type Option

type Option func(*hivev1.ClusterPool)

Option defines a function signature for any function that wants to be passed into Build

func ForAWS

func ForAWS(credsSecretName, region string) Option

func Generic

func Generic(opt generic.Option) Option

Generic allows common functions applicable to all objects to be used as Options to Build

func WithBaseDomain

func WithBaseDomain(baseDomain string) Option

func WithClusterDeploymentLabels added in v1.0.11

func WithClusterDeploymentLabels(labels map[string]string) Option

func WithCondition

func WithCondition(cond hivev1.ClusterPoolCondition) Option

WithCondition adds the specified condition to the ClusterPool

func WithImageSet

func WithImageSet(clusterImageSetName string) Option

func WithMaxConcurrent added in v1.0.16

func WithMaxConcurrent(size int) Option

func WithMaxSize added in v1.0.16

func WithMaxSize(size int) Option

func WithPullSecret

func WithPullSecret(pullSecretName string) Option

func WithSize

func WithSize(size int) Option

Jump to

Keyboard shortcuts

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