Documentation
¶
Index ¶
- type IIntegration
- type Integration
- func (*Integration) Activate(name string, namespace string, activeFilters []string, skipInstall bool) error
- func (i *Integration) AnalyzerByIntegration(input string) (string, error)
- func (*Integration) Deactivate(name string, namespace string) error
- func (*Integration) Get(name string) (IIntegration, error)
- func (*Integration) IsActivate(name string) (bool, error)
- func (*Integration) List() []string
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) 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
Click to show internal directories.
Click to hide internal directories.