common

package
v0.0.0-...-991bf0e Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package common provides a set of common functions to work with the plugins

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	Cluster *apiv1.Cluster
	// Parameters are the configuration parameters of this plugin
	Parameters  map[string]string
	PluginIndex int
}

Plugin represents a plugin with its associated cluster and parameters.

func NewPlugin

func NewPlugin(cluster apiv1.Cluster, pluginName string) *Plugin

NewPlugin creates a new Plugin instance for the given cluster and plugin name.

Jump to

Keyboard shortcuts

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