Documentation ¶
Index ¶
- type Paths
- type Standalone
- func (c *Standalone) AddService(recipe recipe.Service) (runtime.Service, error)
- func (c *Standalone) Get(service runtime.ServiceInstance, name string) string
- func (c *Standalone) GetHost(service runtime.ServiceInstance, hostType string) string
- func (c *Standalone) GetPort(service runtime.ServiceInstance, portType string) runtime.PortMap
- func (c *Standalone) GetServices() []runtime.Service
- func (c *Standalone) Reload(stack recipe.Stack) error
- func (c *Standalone) Write() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Standalone ¶
type Standalone struct { Intellij bool ProjectDir string // contains filtered or unexported fields }
Standalone is a runtime.Runtime implementation for shell based execution.
func NewStandalone ¶
func NewStandalone(paths Paths) (*Standalone, error)
NewStandalone returns with a new runtime, starting services without any container isolation (like storj-sim).
func (*Standalone) AddService ¶
AddService implements runtime.Runtime.
func (*Standalone) Get ¶
func (c *Standalone) Get(service runtime.ServiceInstance, name string) string
Get implements runtime.Runtime.
func (*Standalone) GetHost ¶
func (c *Standalone) GetHost(service runtime.ServiceInstance, hostType string) string
GetHost implements runtime.Runtime.
func (*Standalone) GetPort ¶
func (c *Standalone) GetPort(service runtime.ServiceInstance, portType string) runtime.PortMap
GetPort implements runtime.Runtime.
func (*Standalone) GetServices ¶
func (c *Standalone) GetServices() []runtime.Service
GetServices implements runtime.Runtime.
func (*Standalone) Reload ¶
func (c *Standalone) Reload(stack recipe.Stack) error
Reload implements runtime.Runtime.
func (*Standalone) Write ¶
func (c *Standalone) Write() error
Click to show internal directories.
Click to hide internal directories.