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.
Click to show internal directories.
Click to hide internal directories.