apienablement

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name is the name of the plugin used in the plugin registry and configurations.
	Name = "APIEnablement"
)

Variables

This section is empty.

Functions

func New

func New() (framework.Plugin, error)

New instantiates the APIEnablement plugin.

Types

type APIEnablement

type APIEnablement struct{}

APIEnablement is a plugin that checks if the API(CRD) of the resource is installed in the target cluster.

func (*APIEnablement) Filter

Filter checks if the API(CRD) of the resource is enabled or installed in the target cluster.

func (*APIEnablement) Name

func (p *APIEnablement) Name() string

Name returns the plugin name.

Jump to

Keyboard shortcuts

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