istio

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 License: Apache-2.0 Imports: 11 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 istio 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) (*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.

Jump to

Keyboard shortcuts

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