strategies

package
v0.0.0-...-9afe088 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2019 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyScheduling

apply the scheduling, status: the modified status. Modified with the scheduling activities reconcile result: should the item be requeued (and maybe status applied or error handled) if status and result are nil that mean that everyting is ok an next step in the reconcile sequence should be engaged

Types

type Interface

type Interface interface {
	Apply(kclient client.Client, reqLogger logr.Logger, kd *kanaryv1alpha1.KanaryDeployment, dep, canarydep *appsv1beta1.Deployment) (result reconcile.Result, err error)
}

Interface represent the strategy interface

func NewStrategy

func NewStrategy(spec *kanaryv1alpha1.KanaryDeploymentSpec) (Interface, error)

NewStrategy return new instance of the strategy

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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