runtime

package
v0.3.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: MPL-2.0 Imports: 15 Imported by: 10 modules, 1 package

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 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