rollout

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: Apache-2.0 Imports: 20 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Config

type Config struct {
	RawConfig []byte
	Feedback  feedback.Feedback
}

type CreateIfNotExistObjectAction

type CreateIfNotExistObjectAction struct{}

func (*CreateIfNotExistObjectAction) Execute

func (*CreateIfNotExistObjectAction) Name

type CreateOrUpdateObjectAction

type CreateOrUpdateObjectAction struct{}

func (*CreateOrUpdateObjectAction) Execute

func (*CreateOrUpdateObjectAction) Name

type ObjectAction

type ObjectAction interface {
	Execute(context.Context, *client.ResourceClient, *unstructured.Unstructured) error
	Name() string
}

type Renderer

type Renderer interface {
	Render(config []byte) (*render.Result, error)
}

type Runner

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

func NewRunner

func NewRunner(r prometheus.Registerer, logger log.Logger, client *client.Client, renderer Renderer, checks *checks.SuccessChecks, renderOnly bool) *Runner

func (*Runner) Execute

func (r *Runner) Execute(ctx context.Context, rolloutConfig *Config) (err error)

func (*Runner) SetObjectActions

func (r *Runner) SetObjectActions(actions []ObjectAction)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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