crdupgradesafety

package
v0.15.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(p *Preflight)

func WithValidator

func WithValidator(v *kappcus.Validator) Option

type Preflight

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

func (*Preflight) Install

func (p *Preflight) Install(ctx context.Context, rel *release.Release) error

func (*Preflight) Upgrade

func (p *Preflight) Upgrade(ctx context.Context, rel *release.Release) error

type ServedVersionValidator added in v0.15.0

type ServedVersionValidator struct {
	Validations []kappcus.ChangeValidation
}

func (*ServedVersionValidator) Name added in v0.15.0

func (c *ServedVersionValidator) Name() string

func (*ServedVersionValidator) Validate added in v0.15.0

Jump to

Keyboard shortcuts

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