discovery

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	IsGVKSupported(gvk schema.GroupVersionKind) (bool, error)
	IsObjectSupported(obj client.Object) (bool, error)
	AreObjectsSupported(objs ...client.Object) (bool, error)
}

Manager provides resources discovery features to know if objects are supported by the cluster its connected to.

func NewManager

func NewManager(config *rest.Config, scheme *runtime.Scheme) (Manager, error)

NewManager creates a new instance of a discovery manager.

Jump to

Keyboard shortcuts

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