plugin

package
v0.83.2 Latest Latest
Warning

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

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

Documentation

Overview

Package plugin provides plugin command specific E2E test cases

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAllPluginsAvailable

func CheckAllPluginsAvailable(allPlugins, requiredPlugins []*framework.PluginInfo) bool

CheckAllPluginsAvailable checks requiredPlugins are exists in the allPlugins

func CheckAllPluginsExists

func CheckAllPluginsExists(superList, subList []*framework.PluginInfo) bool

CheckAllPluginsExists checks all PluginInfo's in subList are available in superList superList is the super set, subList is sub set

func GetPluginFromFirstListButNotExistsInSecondList added in v0.0.11

func GetPluginFromFirstListButNotExistsInSecondList(first, second []*framework.PluginInfo) (*framework.PluginInfo, error)

GetPluginFromFirstListButNotExistsInSecondList returns a plugin which is exists in first plugin list but not in second plugin list

func IsAllPluginGroupsExists added in v0.0.11

func IsAllPluginGroupsExists(superList, subList []*framework.PluginGroup) bool

IsAllPluginGroupsExists takes the two list of PluginGroups (super list and sub list), check if all sub list PluginGroup are exists in super list PluginGroup

func IsPluginSourceExists

func IsPluginSourceExists(list []*framework.PluginSourceInfo, sourceName string) bool

IsPluginSourceExists checks the sourceName is exists in the given list of PluginSourceInfo's

func MapPluginsToPluginGroups added in v0.0.11

func MapPluginsToPluginGroups(list []*framework.PluginInfo, pg []*framework.PluginGroup) map[string][]*framework.PluginInfo

func SearchAllPluginGroups added in v0.0.11

func SearchAllPluginGroups(tf *framework.Framework) []*framework.PluginGroup

SearchAllPluginGroups runs the plugin group search command and returns all the plugin groups

func SearchAllPlugins

func SearchAllPlugins(tf *framework.Framework) []*framework.PluginInfo

SearchAllPlugins runs the plugin search command and returns all the plugins from the search output

Types

This section is empty.

Jump to

Keyboard shortcuts

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