hash

package
v0.36.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(kubeClient client.Client) operatorcontroller.Controller

Types

type Controller

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

Controller is hash controller that constructs a hash based on the fields that are considered for static drift. The hash is placed in the metadata for increased observability and should be found on each object.

func (*Controller) Builder

func (*Controller) Name

func (c *Controller) Name() string

func (*Controller) Reconcile

func (c *Controller) Reconcile(ctx context.Context, np *v1beta1.NodePool) (reconcile.Result, error)

Reconcile the resource

Jump to

Keyboard shortcuts

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