Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllOperatorsInCluster ¶
func AllOperatorsInCluster(client dynamic.Interface) ([]*operatorv1a1.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(kubeClient kube.CLIClient, client client.Client, 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 WithIOP ¶
func WithIOP(iop *operatorv1a1.IstioOperator) StatusVerifierOptions
func WithLogger ¶
func WithLogger(l clog.Logger) StatusVerifierOptions
Click to show internal directories.
Click to hide internal directories.