interruption

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConditionTypeInstanceExpired = "InstanceExpired"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller is an AlibabaCloud interruption controller.

func NewController

func NewController(kubeClient client.Client, recorder events.Recorder,
	unavailableOfferingsCache *cache.UnavailableOfferings) *Controller

func (*Controller) Reconcile

func (c *Controller) Reconcile(ctx context.Context, node *corev1.Node) (reconcile.Result, error)

func (*Controller) Register

func (c *Controller) Register(ctx context.Context, m manager.Manager) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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