alert

package module
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: BSD-2-Clause Imports: 8 Imported by: 0

README

Alert

Alerts

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClientset added in v1.3.0

func CreateClientset(ctx context.Context, kubeconfig string) (versioned.Interface, error)

Types

type AlertDeployer

type AlertDeployer interface {
	Deploy(ctx context.Context, alert v1.Alert) error
	Undeploy(ctx context.Context, namespace k8s.Namespace, name string) error
}

func NewAlertDeployer

func NewAlertDeployer(
	clientset versioned.Interface,
) AlertDeployer

Directories

Path Synopsis
k8s
apis/monitoring.benjamin-borbe.de/v1
Package v1 is the v1 version of the API.
Package v1 is the v1 version of the API.
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/versioned/typed/monitoring.benjamin-borbe.de/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/monitoring.benjamin-borbe.de/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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