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