cmapichecker

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCertManagerCRDsNotFound   = errors.New("the cert-manager CRDs are not yet installed on the Kubernetes API server")
	ErrWebhookServiceFailure     = errors.New("the cert-manager webhook service is not created yet")
	ErrWebhookDeploymentFailure  = errors.New("the cert-manager webhook deployment is not ready yet")
	ErrWebhookCertificateFailure = errors.New("the cert-manager webhook CA bundle is not injected yet")
)

Functions

This section is empty.

Types

type ApiCheckError

type ApiCheckError struct {
	SimpleError     error
	UnderlyingError error
}

func (*ApiCheckError) Error

func (e *ApiCheckError) Error() string

func (*ApiCheckError) Unwrap

func (e *ApiCheckError) Unwrap() error

If no simple error exists, this function will return nil which indicates that the error is not unwrappable

type Interface

type Interface interface {
	Check(context.Context) error
}

Interface is used to check that the cert-manager CRDs have been installed and are usable.

func New

func New(restcfg *rest.Config, scheme *runtime.Scheme, namespace string) (Interface, error)

New returns a cert-manager API checker

Jump to

Keyboard shortcuts

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