services

package
v0.0.0-...-32c792f Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const (
	UnwatchInfo = "CONSUL_UNWATCH_SERVICE"
	WatchInfo   = "CONSUL_WATCH_SERVICE"
)
View Source
const (
	UnwatchList = "CONSUL_UNWATCH_SERVICES"
	WatchList   = "CONSUL_WATCH_SERVICES"
)
View Source
const (
	Deregister = "CONSUL_DEREGISTER_SERVICE"
)
View Source
const (
	DeregisterCheck = "CONSUL_DEREGISTER_SERVICE_CHECK"
)

Variables

This section is empty.

Functions

func NewDeregister

func NewDeregister(action structs.Action, cfg *config.Config, client *api.Client) *deregister

func NewDeregisterCheck

func NewDeregisterCheck(action structs.Action, cfg *config.Config, client *api.Client) *deregisterCheck

func NewInfo

func NewInfo(action structs.Action, client *api.Client, query *api.QueryOptions) *info

func NewList

func NewList(action structs.Action, client *api.Client, query *api.QueryOptions) *list

Types

type InternalService

type InternalService struct {
	Name           string
	Nodes          []string
	ChecksPassing  int64
	ChecksWarning  int64
	ChecksCritical int64
}

InternalService ...

type InternalServices

type InternalServices []*InternalService

InternalServices ...

Jump to

Keyboard shortcuts

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