alerting_manager

package
v0.10.0-rc4 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertingClusterManager added in v0.10.0

type AlertingClusterManager struct {
	AlertingDriverOptions
	alertops.UnsafeAlertingAdminServer
}

func NewAlertingClusterManager added in v0.10.0

func NewAlertingClusterManager(options AlertingDriverOptions) (*AlertingClusterManager, error)

func (*AlertingClusterManager) ConfigureCluster added in v0.10.0

func (*AlertingClusterManager) GetClusterConfiguration added in v0.10.0

func (a *AlertingClusterManager) GetClusterConfiguration(ctx context.Context, empty *emptypb.Empty) (*alertops.ClusterConfiguration, error)

func (*AlertingClusterManager) GetClusterStatus added in v0.10.0

func (a *AlertingClusterManager) GetClusterStatus(ctx context.Context, empty *emptypb.Empty) (status *alertops.InstallStatus, retErr error)

func (*AlertingClusterManager) GetRuntimeOptions added in v0.10.0

func (a *AlertingClusterManager) GetRuntimeOptions() shared.AlertingClusterOptions

func (*AlertingClusterManager) InstallCluster added in v0.10.0

func (a *AlertingClusterManager) InstallCluster(ctx context.Context, empty *emptypb.Empty) (*emptypb.Empty, error)

func (*AlertingClusterManager) ShouldDisableNode added in v0.10.0

func (a *AlertingClusterManager) ShouldDisableNode(reference *corev1.Reference) error

func (*AlertingClusterManager) UninstallCluster added in v0.10.0

func (a *AlertingClusterManager) UninstallCluster(ctx context.Context, request *alertops.UninstallRequest) (*emptypb.Empty, error)

type AlertingDriverOptions added in v0.10.0

type AlertingDriverOptions struct {
	Logger             *zap.SugaredLogger                        `option:"logger"`
	K8sClient          client.Client                             `option:"k8sClient"`
	GatewayRef         types.NamespacedName                      `option:"gatewayRef"`
	ConfigKey          string                                    `option:"configKey"`
	InternalRoutingKey string                                    `option:"internalRoutingKey"`
	AlertingOptions    *shared.AlertingClusterOptions            `option:"alertingOptions"`
	Subscribers        []chan shared.AlertingClusterNotification `option:"subscribers"`
}

type AlertingGatewayManager added in v0.10.0

type AlertingGatewayManager struct {
	AlertingDriverOptions
	alertops.UnsafeAlertingAdminServer
}

func NewAlertingGatewayManager added in v0.10.0

func NewAlertingGatewayManager(options AlertingDriverOptions) (*AlertingGatewayManager, error)

func (*AlertingGatewayManager) ConfigureCluster added in v0.10.0

func (*AlertingGatewayManager) GetClusterConfiguration added in v0.10.0

func (a *AlertingGatewayManager) GetClusterConfiguration(ctx context.Context, _ *emptypb.Empty) (*alertops.ClusterConfiguration, error)

func (*AlertingGatewayManager) GetClusterStatus added in v0.10.0

func (*AlertingGatewayManager) GetRuntimeOptions added in v0.10.0

func (a *AlertingGatewayManager) GetRuntimeOptions() shared.AlertingClusterOptions

func (*AlertingGatewayManager) InstallCluster added in v0.10.0

func (a *AlertingGatewayManager) InstallCluster(ctx context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)

func (*AlertingGatewayManager) ShouldDisableNode added in v0.10.0

func (a *AlertingGatewayManager) ShouldDisableNode(_ *corev1.Reference) error

func (*AlertingGatewayManager) UninstallCluster added in v0.10.0

Jump to

Keyboard shortcuts

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