test

package
v0.10.0-rc3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertingServerUnit

type AlertingServerUnit struct {
	AlertManagerPort int
	ClusterPort      int
	OpniPort         int
	Ctx              context.Context
	CancelFunc       context.CancelFunc
}

type TestEnvAlertingClusterDriver

type TestEnvAlertingClusterDriver struct {
	ConfigFile string

	*shared.AlertingClusterOptions

	*alertops.ClusterConfiguration

	alertops.UnsafeAlertingAdminServer
	// contains filtered or unexported fields
}

func (*TestEnvAlertingClusterDriver) ConfigureCluster

func (l *TestEnvAlertingClusterDriver) ConfigureCluster(_ context.Context, configuration *alertops.ClusterConfiguration) (*emptypb.Empty, error)

func (*TestEnvAlertingClusterDriver) GetClusterConfiguration

func (*TestEnvAlertingClusterDriver) GetClusterStatus

func (*TestEnvAlertingClusterDriver) GetRuntimeOptions

func (*TestEnvAlertingClusterDriver) InstallCluster

func (*TestEnvAlertingClusterDriver) Name

func (*TestEnvAlertingClusterDriver) ShouldDisableNode

func (l *TestEnvAlertingClusterDriver) ShouldDisableNode(_ *corev1.Reference) error

func (*TestEnvAlertingClusterDriver) StartAlertingBackendServer

func (l *TestEnvAlertingClusterDriver) StartAlertingBackendServer(
	ctx context.Context,
	configFilePath string,
) AlertingServerUnit

func (*TestEnvAlertingClusterDriver) UninstallCluster

type TestEnvAlertingClusterDriverOptions

type TestEnvAlertingClusterDriverOptions struct {
	AlertingOptions *shared.AlertingClusterOptions            `option:"alertingOptions"`
	Subscribers     []chan shared.AlertingClusterNotification `option:"subscribers"`
}

Jump to

Keyboard shortcuts

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