controller

package
v0.0.0-...-be378e9 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller for the resource

func NewController

func NewController(ec2api *aws.EC2) *Controller

NewController constructs a controller instance

func (*Controller) For

func (c *Controller) For() controllers.Object

For returns the resource this controller is for.

func (*Controller) Interval

func (c *Controller) Interval() time.Duration

func (*Controller) Name

func (c *Controller) Name() string

func (*Controller) Owns

func (c *Controller) Owns() []controllers.Object

Owns returns the resources owned by this controller's resource.

func (*Controller) Reconcile

func (c *Controller) Reconcile(ctx context.Context, object controllers.Object) error

Reconcile executes an allocation control loop for the resource

Jump to

Keyboard shortcuts

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