Help us shape the future of Go! Take the 2026 Go Developer Survey

control

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 20 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 Control Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func GetSTS

func GetSTS() *appsv1.StatefulSet

GetSTS returns StatesfulSet object created from yamlDatacontrol_sts

Types

type ReconcileControl

type ReconcileControl struct {
	// This client, initialized using mgr.Client() above, is a split client
	// that reads objects from the cache and writes to the apiserver
	Client  client.Client
	Scheme  *runtime.Scheme
	Manager manager.Manager
}

ReconcileControl reconciles a Control object

func (*ReconcileControl) Reconcile

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

Reconcile reconciles control resource

Jump to

Keyboard shortcuts

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