Documentation ¶
Index ¶
- type Nomad
- func (c *Nomad) AddService(rcp recipe.Service) (runtime.Service, error)
- func (c *Nomad) Get(s runtime.ServiceInstance, name string) string
- func (c *Nomad) GetHost(service runtime.ServiceInstance, hostType string) string
- func (c *Nomad) GetPort(service runtime.ServiceInstance, portType string) runtime.PortMap
- func (c *Nomad) GetServices() []runtime.Service
- func (c *Nomad) Reload(stack recipe.Stack) error
- func (c *Nomad) Write() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Nomad ¶
type Nomad struct { External string // contains filtered or unexported fields }
Nomad is the runtime.Runtime implementation for Hashicorp Nomad based environments.
func (*Nomad) AddService ¶
AddService implements runtime.Runtime.
func (*Nomad) Get ¶
func (c *Nomad) Get(s runtime.ServiceInstance, name string) string
Get implements runtime.Runtime.
func (*Nomad) GetHost ¶
func (c *Nomad) GetHost(service runtime.ServiceInstance, hostType string) string
GetHost implements runtime.Runtime.
func (*Nomad) GetServices ¶
GetServices implements runtime.Runtime.
Click to show internal directories.
Click to hide internal directories.