ops

package
v0.8.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertingOpsNode

Manages all dynamic backend configurations that must interact with & modify the runtime cluster

func NewAlertingOpsNode

func NewAlertingOpsNode(clusterDriver future.Future[drivers.ClusterDriver], opts ...AlertingOpsNodeOption) *AlertingOpsNode

func (*AlertingOpsNode) ApplyConfigToBackend

func (a *AlertingOpsNode) ApplyConfigToBackend(
	ctx context.Context,
	config *routing.RoutingTree,
	internal *routing.OpniInternalRouting,
) error

func (*AlertingOpsNode) ConfigFromBackend

func (*AlertingOpsNode) ConfigureCluster

func (a *AlertingOpsNode) ConfigureCluster(ctx context.Context, conf *alertops.ClusterConfiguration) (*emptypb.Empty, error)

func (*AlertingOpsNode) Fetch

func (*AlertingOpsNode) GetAvailableEndpoint

func (a *AlertingOpsNode) GetAvailableEndpoint(ctx context.Context, options shared.NewAlertingOptions) (string, error)

func (*AlertingOpsNode) GetClusterConfiguration

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

func (*AlertingOpsNode) GetClusterStatus

func (a *AlertingOpsNode) GetClusterStatus(ctx context.Context, _ *emptypb.Empty) (*alertops.InstallStatus, error)

func (*AlertingOpsNode) GetRuntimeOptions

func (a *AlertingOpsNode) GetRuntimeOptions(ctx context.Context) (shared.NewAlertingOptions, error)

func (*AlertingOpsNode) InstallCluster

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

func (*AlertingOpsNode) Reload

func (*AlertingOpsNode) UninstallCluster

func (a *AlertingOpsNode) UninstallCluster(ctx context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)

func (*AlertingOpsNode) Update

type AlertingOpsNodeOption

type AlertingOpsNodeOption func(*AlertingOpsNodeOptions)

type AlertingOpsNodeOptions

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

Jump to

Keyboard shortcuts

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