compute

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureEKSCluster

func ConfigureEKSCluster(_ context.Context, cm resource.Claim, cs resource.NonPortableClass, mg resource.Managed) error

ConfigureEKSCluster configures the supplied resource (presumed to be a EKSCluster) using the supplied resource claim (presumed to be a KubernetesCluster) and resource class.

Types

type EKSClusterClaimController

type EKSClusterClaimController struct{}

EKSClusterClaimController is responsible for adding the EKSCluster claim controller and its corresponding reconciler to the manager with any runtime configuration.

func (*EKSClusterClaimController) SetupWithManager

func (c *EKSClusterClaimController) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager adds a controller that reconciles KubernetesCluster resource claims.

type EKSClusterController

type EKSClusterController struct{}

EKSClusterController is responsible for adding the EKSCluster controller and its corresponding reconciler to the manager with any runtime configuration.

func (*EKSClusterController) SetupWithManager

func (c *EKSClusterController) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager creates a new Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

type Reconciler

type Reconciler struct {
	client.Client
	// contains filtered or unexported fields
}

Reconciler reconciles a Provider object

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a Provider object and makes changes based on the state read and what is in the Provider.Spec

Jump to

Keyboard shortcuts

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