Documentation ¶
Index ¶
- type NOOPSupportedProxiesAPIFunc
- type NoopCatalogAPI
- type NoopServiceRegHandler
- func (NoopServiceRegHandler) AllocRegistrations(allocID string) (*serviceregistration.AllocRegistration, error)
- func (NoopServiceRegHandler) RegisterWorkload(workload *serviceregistration.WorkloadServices) error
- func (NoopServiceRegHandler) RemoveWorkload(workload *serviceregistration.WorkloadServices)
- func (NoopServiceRegHandler) UpdateTTL(id, namespace, output, status string) error
- func (NoopServiceRegHandler) UpdateWorkload(old, newTask *serviceregistration.WorkloadServices) error
- type NoopSupportedProxiesAPI
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) AllocRegistrations(allocID string) (*serviceregistration.AllocRegistration, error)
func (NoopServiceRegHandler) RegisterWorkload ¶
func (NoopServiceRegHandler) RegisterWorkload(workload *serviceregistration.WorkloadServices) error
func (NoopServiceRegHandler) RemoveWorkload ¶
func (NoopServiceRegHandler) RemoveWorkload(workload *serviceregistration.WorkloadServices)
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
Click to show internal directories.
Click to hide internal directories.