kubernetes

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new KubernetesCluster 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.

Types

type AKSClusterHandler

type AKSClusterHandler struct{}

AKSClusterHandler handles Kubernetes cluster functionality

func (*AKSClusterHandler) Find added in v0.2.0

Find AKSCluster resource

func (*AKSClusterHandler) Provision added in v0.2.0

Provision a new AKSCluster

func (AKSClusterHandler) SetBindStatus added in v0.2.0

func (r AKSClusterHandler) SetBindStatus(name types.NamespacedName, c client.Client, bound bool) error

SetBindStatus updates resource state binding phase TODO: this SetBindStatus function could be refactored to 1 common implementation for all providers

type AWSClusterHandler

type AWSClusterHandler struct{}

AWSClusterHandler AWS EKS handler handles Kubernetes cluster functionality

func (*AWSClusterHandler) Find added in v0.2.0

Find EKSCluster resource

func (*AWSClusterHandler) Provision added in v0.2.0

Provision a new EKSCluster

func (AWSClusterHandler) SetBindStatus added in v0.2.0

func (r AWSClusterHandler) SetBindStatus(name types.NamespacedName, c client.Client, bound bool) error

SetBindStatus updates resource state binding phase TODO: this SetBindStatus function could be refactored to 1 common implementation for all providers

type GKEClusterHandler

type GKEClusterHandler struct{}

A GKEClusterHandler handles Kubernetes cluster functionality

func (*GKEClusterHandler) Find added in v0.2.0

Find GKECluster resource

func (*GKEClusterHandler) Provision added in v0.2.0

Provision a new GKECluster

func (GKEClusterHandler) SetBindStatus added in v0.2.0

func (r GKEClusterHandler) SetBindStatus(name types.NamespacedName, c client.Client, bound bool) error

SetBindStatus updates resource state binding phase TODO: this SetBindStatus function could be refactored to 1 common implementation for all providers

type Reconciler

type Reconciler struct {
	*corecontroller.Reconciler
}

Reconciler reconciles a Instance object

func (*Reconciler) Reconcile

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

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

Jump to

Keyboard shortcuts

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