Documentation ¶
Index ¶
- func NewMachineController(kubeClient client.Client, cloudProvider cloudprovider.CloudProvider) corecontroller.Controller
- func NewNodeClaimController(kubeClient client.Client, cloudProvider cloudprovider.CloudProvider) corecontroller.Controller
- type Controller
- type MachineController
- func (c *MachineController) Builder(_ context.Context, m manager.Manager) corecontroller.Builder
- func (c *MachineController) Finalize(ctx context.Context, machine *v1alpha5.Machine) (reconcile.Result, error)
- func (*MachineController) Name() string
- func (c *MachineController) Reconcile(_ context.Context, _ *v1alpha5.Machine) (reconcile.Result, error)
- type NodeClaimController
- func (c *NodeClaimController) Builder(_ context.Context, m manager.Manager) corecontroller.Builder
- func (c *NodeClaimController) Finalize(ctx context.Context, nodeClaim *v1beta1.NodeClaim) (reconcile.Result, error)
- func (*NodeClaimController) Name() string
- func (c *NodeClaimController) Reconcile(_ context.Context, _ *v1beta1.NodeClaim) (reconcile.Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMachineController ¶
func NewMachineController(kubeClient client.Client, cloudProvider cloudprovider.CloudProvider) corecontroller.Controller
func NewNodeClaimController ¶
func NewNodeClaimController(kubeClient client.Client, cloudProvider cloudprovider.CloudProvider) corecontroller.Controller
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a NodeClaim Termination controller that triggers deletion of the Node and the CloudProvider NodeClaim through its graceful termination mechanism
func NewController ¶
func NewController(kubeClient client.Client, cloudProvider cloudprovider.CloudProvider) *Controller
NewController is a constructor for the NodeClaim Controller
func (*Controller) Name ¶
func (*Controller) Name() string
type MachineController ¶
type MachineController struct {
*Controller
}
func (*MachineController) Builder ¶
func (c *MachineController) Builder(_ context.Context, m manager.Manager) corecontroller.Builder
func (*MachineController) Name ¶
func (*MachineController) Name() string
type NodeClaimController ¶
type NodeClaimController struct {
*Controller
}
func (*NodeClaimController) Builder ¶
func (c *NodeClaimController) Builder(_ context.Context, m manager.Manager) corecontroller.Builder
func (*NodeClaimController) Name ¶
func (*NodeClaimController) Name() string
Click to show internal directories.
Click to hide internal directories.