verifier

package
v0.0.0-...-f2677c2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllOperatorsInCluster

func AllOperatorsInCluster(client dynamic.Interface) ([]*v1alpha1.IstioOperator, error)

Find all IstioOperator in the cluster.

Types

type StatusVerifier

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

StatusVerifier checks status of certain resources like deployment, jobs and also verifies count of certain resource types.

func NewStatusVerifier

func NewStatusVerifier(client kube.CLIClient, istioNamespace, manifestsPath string,
	filenames []string, controlPlaneOpts clioptions.ControlPlaneOptions,
	options ...StatusVerifierOptions,
) (*StatusVerifier, error)

NewStatusVerifier creates a new instance of post-install verifier which checks the status of various resources from the manifest.

func (*StatusVerifier) Colorize

func (v *StatusVerifier) Colorize()

func (*StatusVerifier) Verify

func (v *StatusVerifier) Verify() error

Verify implements Verifier interface. Here we check status of deployment and jobs, count various resources for verification.

type StatusVerifierOptions

type StatusVerifierOptions func(*StatusVerifier)

func WithLogger

func WithLogger(l clog.Logger) StatusVerifierOptions

Jump to

Keyboard shortcuts

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