preflight

package
v1.119.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompositePreflight

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

func NewCompositePreflight

func NewCompositePreflight(checkers []declarative.Preflight) *CompositePreflight

func (*CompositePreflight) Preflight

type ConfigConnectorContextChecker

type ConfigConnectorContextChecker struct {
}

func NewConfigConnectorContextChecker

func NewConfigConnectorContextChecker() *ConfigConnectorContextChecker

func (*ConfigConnectorContextChecker) Preflight

type NameChecker

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

func NewNameChecker

func NewNameChecker(client client.Client, allowedName string) *NameChecker

func (*NameChecker) Preflight

type UpgradeChecker

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

func NewUpgradeChecker

func NewUpgradeChecker(client client.Client, repo manifest.Repository) *UpgradeChecker

NewUpgradeChecker provides an implementation of declarative.Preflight that does version comparison between the version of the existing KCC and the version to deploy. If it's a major version change, it returns error and surface the error status on the DeclarativeObject.

func (*UpgradeChecker) Preflight

Jump to

Keyboard shortcuts

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