discovery

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AvailableAPIs

type AvailableAPIs struct {
	Istio              bool
	CertManager        bool
	PrometheusOperator bool
}

AvailableAPIs holds available apis in the cluster.

func FindAvailableAPIs

func FindAvailableAPIs(ctx context.Context, logger logr.Logger, mgr ctrl.Manager, cfg ResourcesConfig) (*AvailableAPIs, error)

FindAvailableAPIs searches for available well-known APIs in the cluster.

type ResourcesConfig

type ResourcesConfig struct {
	IstioNamespace              string
	CertManagerNamespace        string
	PrometheusOperatorNamespace string
}

ResourcesConfig holds namespaces where to create resources to check if they exists.

Jump to

Keyboard shortcuts

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