remote

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LabelService     = "service"
	LabelVersion     = "version"
	LabelEnvironment = "environment"
	LabelApp         = "app"

	DefaultInterval = time.Second * 30
)

const.

View Source
const (
	ModeWatch = iota
	ModeInterval
)

Mode.

Variables

View Source
var (
	ErrInvalidEP      = errors.New("invalid endpoint")
	ErrLabelsNil      = errors.New("labels can not be nil")
	ErrAppEmpty       = errors.New("app can not be empty")
	ErrServiceTooLong = errors.New("exceeded max value for service name")
)

errors.

Functions

This section is empty.

Types

type Options

type Options struct {
	ServerURI     string
	Endpoint      string
	TLSConfig     *tls.Config
	TenantName    string
	EnableSSL     bool
	APIVersion    string
	AutoDiscovery bool
	RefreshPort   string
	WatchTimeOut  int
	VerifyPeer    bool
	ProjectID     string

	Labels map[string]string
}

Options is client option.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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