Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClientset ¶ added in v1.3.0
func NewAlertResourceEventHandler ¶ added in v1.5.0
func NewAlertResourceEventHandler( ctx context.Context, eventHandlerAlert k8s.EventHandler[v1.Alert], ) cache.ResourceEventHandler
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
type AlertEventHandler ¶ added in v1.5.0
type AlertEventHandler k8s.EventHandler[v1.Alert]
func NewAlertEventHandler ¶ added in v1.5.0
func NewAlertEventHandler() AlertEventHandler
Source Files
¶
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. |
Click to show internal directories.
Click to hide internal directories.