runtime

package
v0.2.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: MPL-2.0 Imports: 15 Imported by: 1

Documentation

Overview

Package runtime implements the controller runtime.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runtime

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

Runtime implements controller runtime.

func NewRuntime

func NewRuntime(st state.State, logger *zap.Logger) (*Runtime, error)

NewRuntime initializes controller runtime object.

func (*Runtime) GetDependencyGraph

func (runtime *Runtime) GetDependencyGraph() (*controller.DependencyGraph, error)

GetDependencyGraph returns dependency graph between resources and controllers.

func (*Runtime) RegisterController

func (runtime *Runtime) RegisterController(ctrl controller.Controller) error

RegisterController registers new controller.

func (*Runtime) Run

func (runtime *Runtime) Run(ctx context.Context) error

Run all the controller loops.

Directories

Path Synopsis
Package dependency implements the dependency handling database.
Package dependency implements the dependency handling database.

Jump to

Keyboard shortcuts

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