server

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package server provides a wrapper around controller.Runtime over gRPC.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runtime

type Runtime struct {
	v1alpha1.UnimplementedControllerRuntimeServer
	v1alpha1.UnimplementedControllerAdapterServer
	// contains filtered or unexported fields
}

Runtime implements controller.Runtime over gRPC.

func NewRuntime

func NewRuntime(engine controller.Engine) *Runtime

NewRuntime initializes new gRPC wrapper around controller.Engine.

func (*Runtime) AddFinalizer

AddFinalizer to a resource.

func (*Runtime) Create

Create a resource.

func (*Runtime) Destroy

Destroy a resource.

func (*Runtime) Get

Get a resource.

func (*Runtime) List

List resources.

func (*Runtime) QueueReconcile

QueueReconcile queues another reconcile event.

func (*Runtime) ReconcileEvents

ReconcileEvents sends message on each reconcile event for the controller.

func (*Runtime) RegisterController

RegisterController registers controller and establishes token for ControllerAdapter calls.

func (*Runtime) RemoveFinalizer

RemoveFinalizer from a resource.

func (*Runtime) Start

Start the controller runtime.

func (*Runtime) Stop

Stop the controller runtime.

func (*Runtime) Teardown

Teardown a resource.

func (*Runtime) Update

Update a resource.

func (*Runtime) UpdateInputs

UpdateInputs updates the list of controller inputs.

func (*Runtime) WatchFor

WatchFor specific resource changes.

Jump to

Keyboard shortcuts

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