integration

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IIntegration

type IIntegration interface {
	// Add adds an integration to the cluster
	Deploy(namespace string) error
	// Remove removes an integration from the cluster
	UnDeploy(namespace string) error
	//
	AddAnalyzer(*map[string]common.IAnalyzer)

	GetAnalyzerName() []string
	// An integration must keep record of its deployed namespace (if not using --no-install)
	GetNamespace() (string, error)

	OwnsAnalyzer(string) bool

	IsActivate() bool
}

type Integration

type Integration struct {
}

func NewIntegration

func NewIntegration() *Integration

func (*Integration) Activate

func (*Integration) Activate(name string, namespace string, activeFilters []string, skipInstall bool) error

func (*Integration) AnalyzerByIntegration

func (i *Integration) AnalyzerByIntegration(input string) (string, error)

func (*Integration) Deactivate

func (*Integration) Deactivate(name string, namespace string) error

func (*Integration) Get

func (*Integration) Get(name string) (IIntegration, error)

func (*Integration) IsActivate

func (*Integration) IsActivate(name string) (bool, error)

func (*Integration) List

func (*Integration) List() []string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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