clusters

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupEnvVars

func SetupEnvVars(ctx context.Context, vsphereDatacenter *anywherev1.VSphereDatacenterConfig, cli client.Client) error

func VsphereCredentials

func VsphereCredentials(ctx context.Context, cli client.Client) (*apiv1.Secret, error)

Types

type DockerReconciler

type DockerReconciler struct {
	// contains filtered or unexported fields
}

func NewDockerReconciler

func NewDockerReconciler() *DockerReconciler

func (*DockerReconciler) Reconcile

func (v *DockerReconciler) Reconcile(ctx context.Context, cluster *anywherev1.Cluster) (reconciler.Result, error)

type ProviderClusterReconciler

type ProviderClusterReconciler interface {
	Reconcile(ctx context.Context, cluster *anywherev1.Cluster) (reconciler.Result, error)
}

func BuildProviderReconciler

func BuildProviderReconciler(datacenterKind string, client client.Client, log logr.Logger, validator *vsphere.Validator, defaulter *vsphere.Defaulter) (ProviderClusterReconciler, error)

type VSphereClusterReconciler

type VSphereClusterReconciler struct {
	VSphereReconciler
	// contains filtered or unexported fields
}

func NewVSphereReconciler

func NewVSphereReconciler(client client.Client, log logr.Logger, validator *vsphere.Validator, defaulter *vsphere.Defaulter) *VSphereClusterReconciler

func (*VSphereClusterReconciler) FetchAppliedSpec

func (v *VSphereClusterReconciler) FetchAppliedSpec(ctx context.Context, cs *anywherev1.Cluster) (*c.Spec, error)

func (*VSphereClusterReconciler) Reconcile

type VSphereReconciler

type VSphereReconciler struct {
	Client    client.Client
	Log       logr.Logger
	Validator *vsphere.Validator
	Defaulter *vsphere.Defaulter
}

Struct that holds common methods and properties

Jump to

Keyboard shortcuts

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