wait

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package wait implements node waiter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Logger    *zap.Logger
	LogWriter io.Writer
	Stopc     chan struct{}
	EKSConfig *eksconfig.Config
	K8SClient k8s_client.EKS
	EC2API    ec2iface.EC2API
	ASGAPI    autoscalingiface.AutoScalingAPI
	EKSAPI    eksiface.EKSAPI
}

Config defines version upgrade configuration.

type NodeWaiter

type NodeWaiter interface {
	// Wait waits until all NG and Kubernetes nodes are ready.
	Wait(asgName string, retries int) error
}

NodeWaiter defines node waiter operation.

func New

func New(cfg Config) NodeWaiter

New creates a new node waiter.

Jump to

Keyboard shortcuts

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