apichecker

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIChecker

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

APIChecker checks for needed resources in the cluster. Under-the-hood is uses a dry-run client to check if CRDs are available. APIChecker is inspired by cert-manager's apichecker. (https://github.com/cert-manager/cert-manager/blob/master/pkg/util/cmapichecker).

func NewAPIChecker

func NewAPIChecker(restcfg *rest.Config, scheme *runtime.Scheme, namespace string, fakeObjects []client.Object) (*APIChecker, error)

NewAPIChecker creates a new ApiChecker.

func (*APIChecker) Check

func (c *APIChecker) Check(ctx context.Context) error

Check attempts to perform a dry-run create of a needed istio resources.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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