interfaces

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandExecutor

type CommandExecutor func(executorPath, serviceName, operation string) (string, error)

type GetConfig

type GetConfig interface {
	Do(ctx context.Context, services []string) interface{}
}

type Metrics

type Metrics interface {
	Get(ctx context.Context, services []string) []interface{}
}

Metrics defines a metrics gathering abstraction.

type Operations

type Operations interface {
	Do(services []string, operation string) []interface{}
}

Operations defines an operation execution abstraction.

type SetConfig

type SetConfig interface {
	Do(services []string, sc configuration.SetConfigRequest) interface{}
}

Jump to

Keyboard shortcuts

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