maintenance

package
v0.0.0-...-a56079f Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Maintenance

type Maintenance interface {
	StartControlPlane(endsAt time.Time, version string, ignoredAlerts []string) error
	SetWorker(endsAt time.Time, version string, count int32) error
	EndControlPlane() error
	EndWorker() error
	EndSilences(comment string) error
	IsActive() (bool, error)
}

Maintenance enables implementation of a maintenance interface type

type MaintenanceBuilder

type MaintenanceBuilder interface {
	NewClient(client client.Client) (Maintenance, error)
}

MaintenanceBuilder enables an implementation of a maintenancebuilder interface type

func NewBuilder

func NewBuilder() MaintenanceBuilder

NewBuilder returns a MaintenanceBuilder

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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