cluster

package
v0.1.40 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster interface {
	AddAnnotation(ctx context.Context, key, value string) error
	Instances(ctx context.Context, appName string) ([]*Instance, error)
	TryLock(ctx context.Context, logger dlog.Logger, deploymentName, lockName string) (context.Context, context.CancelFunc, error)
}

type Instance

type Instance struct {
	Annotations map[string]string `json:"annotations"`
	Name        string            `json:"name"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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