support

package
Version: v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package support is a library of code useful to any strategy.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAcceptAvailablePods

func NewAcceptAvailablePods(
	out io.Writer,
	kclient corev1client.ReplicationControllersGetter,
	timeout time.Duration,
) *acceptAvailablePods

NewAcceptAvailablePods makes a new acceptAvailablePods from a real client.

Types

type HookExecutor

type HookExecutor interface {
	Execute(hook *appsv1.LifecycleHook, rc *corev1.ReplicationController, suffix, label string) error
}

HookExecutor knows how to execute a deployment lifecycle hook.

func NewHookExecutor

func NewHookExecutor(kubeClient kubernetes.Interface, imageClient imageclienttyped.ImageStreamTagsGetter, out io.Writer) HookExecutor

NewHookExecutor makes a HookExecutor from a client.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL