Documentation ¶
Index ¶
- func Build(opts ...Option) *hivev1.ClusterPool
- type Builder
- type Option
- func ForAWS(credsSecretName, region string) Option
- func Generic(opt generic.Option) Option
- func WithBaseDomain(baseDomain string) Option
- func WithClusterDeploymentLabels(labels map[string]string) Option
- func WithCondition(cond hivev1.ClusterPoolCondition) Option
- func WithImageSet(clusterImageSetName string) Option
- func WithMaxConcurrent(size int) Option
- func WithMaxSize(size int) Option
- func WithPullSecret(pullSecretName string) Option
- func WithSize(size int) Option
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 Generic ¶
Generic allows common functions applicable to all objects to be used as Options to Build
func WithBaseDomain ¶
func WithClusterDeploymentLabels ¶ added in v1.0.11
func WithCondition ¶
func WithCondition(cond hivev1.ClusterPoolCondition) Option
WithCondition adds the specified condition to the ClusterPool
func WithImageSet ¶
func WithMaxConcurrent ¶ added in v1.0.16
func WithMaxSize ¶ added in v1.0.16
func WithPullSecret ¶
Click to show internal directories.
Click to hide internal directories.