controllers

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetalStackClient

MetalStackClient is the interface of the client for the interaction with `metal-API` On the next line, there's no space between `//` and `go`. It must be `//go:generate`.

type MetalStackClusterReconciler

type MetalStackClusterReconciler struct {
	Client           client.Client
	Log              logr.Logger
	MetalStackClient MetalStackClient
	Scheme           *runtime.Scheme
}

MetalStackClusterReconciler reconciles a MetalStackCluster object

func NewMetalStackClusterReconciler

func NewMetalStackClusterReconciler(metalClient MetalStackClient, mgr manager.Manager) *MetalStackClusterReconciler

func (*MetalStackClusterReconciler) Reconcile

func (r *MetalStackClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, err error)

Reconcile reconciles MetalStackCluster resource

func (*MetalStackClusterReconciler) SetupWithManager

func (r *MetalStackClusterReconciler) SetupWithManager(mgr ctrl.Manager) error

type MetalStackFirewallReconciler

type MetalStackFirewallReconciler struct {
	Client           client.Client
	Log              logr.Logger
	MetalStackClient MetalStackClient
	Scheme           *runtime.Scheme
}

MetalStackFirewallReconciler reconciles a MetalStackFirewall object

func NewMetalStackFirewallReconciler

func NewMetalStackFirewallReconciler(metalClient MetalStackClient, mgr manager.Manager) *MetalStackFirewallReconciler

func (*MetalStackFirewallReconciler) Reconcile

func (*MetalStackFirewallReconciler) SetupWithManager

func (r *MetalStackFirewallReconciler) SetupWithManager(mgr ctrl.Manager) error

type MetalStackMachineReconciler

type MetalStackMachineReconciler struct {
	Client           client.Client
	Log              logr.Logger
	ClusterTracker   *capiremote.ClusterCacheTracker
	MetalStackClient MetalStackClient
}

MetalStackMachineReconciler reconciles a MetalStackMachine object

func NewMetalStackMachineReconciler

func NewMetalStackMachineReconciler(metalClient MetalStackClient, mgr manager.Manager) (reconciler *MetalStackMachineReconciler, err error)

todo: Remove the dependency on manager in this package.

func (*MetalStackMachineReconciler) Reconcile

func (r *MetalStackMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, err error)

Reconcile reconciles MetalStackMachine resource

func (*MetalStackMachineReconciler) SetupWithManager

func (r *MetalStackMachineReconciler) SetupWithManager(mgr ctrl.Manager) error

Directories

Path Synopsis
Package mock_controllers is a generated GoMock package.
Package mock_controllers is a generated GoMock package.

Jump to

Keyboard shortcuts

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