server

package
v0.3.1-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: MPL-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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