controllers

package
v0.0.0-...-8540621 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPClient

type HTTPClient interface {
	Get(string) (resp *http.Response, err error)
}

HTTPClient is the interface for a simple HTTPClient which can execute "Get".

type VizierMonitor

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

VizierMonitor is responsible for watching the k8s API and statusz endpoints to compile a reason and state for the overall Vizier instance.

func (*VizierMonitor) InitAndStartMonitor

func (m *VizierMonitor) InitAndStartMonitor(cloudClient *grpc.ClientConn)

InitAndStartMonitor initializes and starts the status monitor for the Vizier.

func (*VizierMonitor) Quit

func (m *VizierMonitor) Quit()

Quit stops the VizierMonitor from monitoring the vizier in the given namespace.

type VizierReconciler

type VizierReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	Clientset  *kubernetes.Clientset
	RestConfig *rest.Config

	K8sVersion string
	// contains filtered or unexported fields
}

VizierReconciler reconciles a Vizier object

func (*VizierReconciler) Reconcile

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

Reconcile updates the Vizier running in the cluster to match the expected state.

func (*VizierReconciler) SetupWithManager

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

SetupWithManager sets up the reconciler.

func (*VizierReconciler) Stop

func (r *VizierReconciler) Stop()

Stop performs any necessary cleanup before shutdown.

Jump to

Keyboard shortcuts

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