dynakube

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager, _ string) error

Types

type Controller added in v0.11.0

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

Controller reconciles a DynaKube object

func NewController added in v0.5.0

func NewController(mgr manager.Manager, clusterID string) *Controller

NewController returns a new ReconcileDynaKube

func NewDynaKubeController added in v0.5.0

func NewDynaKubeController(kubeClient client.Client, apiReader client.Reader, scheme *runtime.Scheme, config *rest.Config, clusterID string) *Controller

func (*Controller) Reconcile added in v0.11.0

func (controller *Controller) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a DynaKube object and makes changes based on the state read and what is in the DynaKube.Spec a Pod as an example Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

func (*Controller) SetupWithManager added in v0.11.0

func (controller *Controller) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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