simconsul

package
v0.0.0-...-ed1113b Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NOOPSupportedProxiesAPIFunc

type NOOPSupportedProxiesAPIFunc func(string) consul.SupportedProxiesAPI

type NoopCatalogAPI

type NoopCatalogAPI struct{}

func (NoopCatalogAPI) Datacenters

func (NoopCatalogAPI) Datacenters() ([]string, error)

func (NoopCatalogAPI) Service

func (NoopCatalogAPI) Service(service string, tag string, q *api.QueryOptions) ([]*api.CatalogService, *api.QueryMeta, error)

type NoopServiceRegHandler

type NoopServiceRegHandler struct{}

NoopServiceRegHandler implements github.com/hashicorp/nomad/client/serviceregistration.Handler

func (NoopServiceRegHandler) AllocRegistrations

func (NoopServiceRegHandler) RegisterWorkload

func (NoopServiceRegHandler) RemoveWorkload

func (NoopServiceRegHandler) UpdateTTL

func (NoopServiceRegHandler) UpdateTTL(id, namespace, output, status string) error

func (NoopServiceRegHandler) UpdateWorkload

func (NoopServiceRegHandler) UpdateWorkload(old, newTask *serviceregistration.WorkloadServices) error

type NoopSupportedProxiesAPI

type NoopSupportedProxiesAPI struct{}

NoopSupportedProxiesAPI implements github.com/hashicorp/nomad/client/consul.SupportedProxiesAPI

func (NoopSupportedProxiesAPI) Proxies

func (NoopSupportedProxiesAPI) Proxies() (map[string][]string, error)

Jump to

Keyboard shortcuts

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