rma

package
v0.0.0-...-54d0854 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RmiHelmDriver       = "secret"
	RmiHelmMaxHistory   = 1
	RmiChartName        = "rmi"
	RmiChartURLConfig   = "rmi.chartUrl"
	RmiNamespaceConfig  = "rmi.namespace"
	RmiVmalertGroupsNum = "rmi.vmalertGroupsNum"
)
View Source
const DefaultVMAlertGroupsNum = 1
View Source
const ReconcilerName = "rma"

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeClient

type FakeClient struct {
	// contains filtered or unexported fields
}

func NewFakeClient

func NewFakeClient(clientset *fake.Clientset) *FakeClient

func (*FakeClient) HelmActionConfiguration

func (c *FakeClient) HelmActionConfiguration(namespace string) (*action.Configuration, error)

func (*FakeClient) KubernetesClientSet

func (c *FakeClient) KubernetesClientSet() (kubernetes.Interface, error)

type IntegrationAction

type IntegrationAction struct {
	// contains filtered or unexported fields
}

func NewIntegrationAction

func NewIntegrationAction(name string, client IntegrationClient) *IntegrationAction

func (*IntegrationAction) Run

func (a *IntegrationAction) Run(context *service.ActionContext) error

type IntegrationClient

type IntegrationClient interface {
	KubernetesClientSet() (kubernetes.Interface, error)
	HelmActionConfiguration(namespace string) (*action.Configuration, error)
}

type LazyClient

type LazyClient struct {
	// contains filtered or unexported fields
}

func (*LazyClient) HelmActionConfiguration

func (c *LazyClient) HelmActionConfiguration(namespace string) (*action.Configuration, error)

func (*LazyClient) KubernetesClientSet

func (c *LazyClient) KubernetesClientSet() (kubernetes.Interface, error)

Jump to

Keyboard shortcuts

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