spawnclient

package
v1.0.0-RC1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2018 License: GPL-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(router, entityFile string) (*Client, error)

func (*Client) Deploy

func (sc *Client) Deploy(config *service.Configuration, uri string) error

func (*Client) Inspect

func (sc *Client) Inspect(uri string) (*daemon.Heartbeat, map[string]daemon.ServiceHeartbeat, error)

func (*Client) Restart

func (sc *Client) Restart(uri string, svcName string) error

func (*Client) Scan

func (sc *Client) Scan(baseURI string) (map[string]daemon.Heartbeat, error)

func (*Client) Stop

func (sc *Client) Stop(uri string, svcName string) error

func (*Client) Tail

func (sc *Client) Tail(ctx context.Context, svcName string, uri string) (<-chan service.LogMessage, <-chan error)

Jump to

Keyboard shortcuts

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