controllers

package
v0.2.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	MilliResyncPeriod = 5000
)

MilliResyncPeriod is the duration between two synchronization attempt of a given resource

Variables

This section is empty.

Functions

func NewHttpClient added in v0.2.4

func NewHttpClient(Certificate string) *http.Client

func WithHttpsClient added in v0.2.4

func WithHttpsClient(Certificate string) broker.ClientOption

Types

type BareMetalPoolReconciler added in v0.2.0

type BareMetalPoolReconciler struct {
	client.Client
	Log          logr.Logger
	Scheme       *runtime.Scheme
	BrokerClient *broker.ClientWithResponses
}

BareMetalPoolReconciler reconciles a BareMetalPool object

func (*BareMetalPoolReconciler) Reconcile added in v0.2.0

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

func (*BareMetalPoolReconciler) SetupWithManager added in v0.2.0

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

SetupWithManager sets up the controller with the Manager.

func (*BareMetalPoolReconciler) UpdateBmhAnnotations added in v0.2.0

func (r *BareMetalPoolReconciler) UpdateBmhAnnotations(
	ctx *context.Context,
	baremetalpool *bmpv1.BareMetalPool,
	bmhName string,
	newAnnotations map[string]string,
	log logr.Logger,
) error

UpdateBmhAnnotations

type ErrorResponse

type ErrorResponse struct {
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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