Versions in this module Expand all Collapse all v0 v0.1.0 Aug 19, 2024 Changes in this version + type DefaultProvider struct + func NewDefaultProvider(_ context.Context, kubeClient client.Client) *DefaultProvider + func (p *DefaultProvider) AddDeleteAnnotation(ctx context.Context, machine *capiv1beta1.Machine) error + func (p *DefaultProvider) Get(ctx context.Context, providerID string) (*capiv1beta1.Machine, error) + func (p *DefaultProvider) IsDeleting(machine *capiv1beta1.Machine) bool + func (p *DefaultProvider) List(ctx context.Context, selector *metav1.LabelSelector) ([]*capiv1beta1.Machine, error) + func (p *DefaultProvider) RemoveDeleteAnnotation(ctx context.Context, machine *capiv1beta1.Machine) error + func (p *DefaultProvider) Update(ctx context.Context, machine *capiv1beta1.Machine) error + type Provider interface + AddDeleteAnnotation func(context.Context, *capiv1beta1.Machine) error + Get func(context.Context, string) (*capiv1beta1.Machine, error) + IsDeleting func(*capiv1beta1.Machine) bool + List func(context.Context, *metav1.LabelSelector) ([]*capiv1beta1.Machine, error) + RemoveDeleteAnnotation func(context.Context, *capiv1beta1.Machine) error + Update func(context.Context, *capiv1beta1.Machine) error