package
0.12.12
Repository: https://github.com/hashicorp/nomad.git
Documentation: pkg.go.dev

# Functions

NewMockServiceIdentitiesClient returns a MockServiceIdentitiesClient for testing.

# Structs

MockConsulOp represents the register/deregister operations.
MockConsulServiceClient implements the ConsulServiceAPI interface to record and log task registration/deregistration.
MockServiceIdentitiesClient is used for testing the client for managing consul service identity tokens.

# Interfaces

ConsulServiceAPI is the interface the Nomad Client uses to register and remove services and checks from Consul.
ServiceIdentityAPI is the interface the Nomad Client uses to request Consul Service Identity tokens through Nomad Server.

# Type aliases

TokenDeriverFunc takes an allocation and a set of tasks and derives a service identity token for each.