controllers

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package controllers contains all Theila internal COSI runtime controllers.

Index

Constants

View Source
const (
	// Namespace operated by the controller.
	Namespace = "default"
	// Name of the controller.
	Name = "UpgradeController"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type UpgradeController

type UpgradeController struct {
	Namespace resource.Namespace
	// contains filtered or unexported fields
}

UpgradeController calculates sum of IntResources into new IntResource.

func NewUpgradeController

func NewUpgradeController() *UpgradeController

NewUpgradeController creates new UpgradeController.

func (*UpgradeController) Inputs

func (ctrl *UpgradeController) Inputs() []controller.Input

Inputs implements controller.Controller interface.

func (*UpgradeController) Name

func (ctrl *UpgradeController) Name() string

Name implements controller.Controller interface.

func (*UpgradeController) Outputs

func (ctrl *UpgradeController) Outputs() []controller.Output

Outputs implements controller.Controller interface.

func (*UpgradeController) Run

func (ctrl *UpgradeController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error

Run implements controller.Controller interface.

Jump to

Keyboard shortcuts

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