apiinstalled

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func New

func New() framework.Plugin

New instantiates the APIInstalled plugin.

Types

type APIInstalled

type APIInstalled struct{}

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

func (*APIInstalled) Filter

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

func (*APIInstalled) Name

func (p *APIInstalled) Name() string

Name returns the plugin name.

func (*APIInstalled) Score

Score calculates the score on the candidate cluster.

Jump to

Keyboard shortcuts

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