Documentation ¶
Index ¶
- type Client
- func (c *Client) BasePath() string
- func (c *Client) Generate(names []string, force bool, group string, targets []string) error
- func (c *Client) List() error
- func (c *Client) LoadConfig(edwardVersion string) error
- func (c *Client) Log(names []string) error
- func (c *Client) Restart(names []string, force bool, skipBuild bool, tail bool, noWatch bool, ...) error
- func (c *Client) ServiceMap() map[string]*services.ServiceConfig
- func (c *Client) Start(names []string, skipBuild bool, tail bool, noWatch bool, exclude []string) error
- func (c *Client) Status(names []string, all bool) (string, error)
- func (c *Client) Stop(names []string, force bool, exclude []string, all bool) error
- func (c *Client) Version() string
- type TaskFollower
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Logger *log.Logger Input io.Reader Output io.Writer Config string ServiceChecks func([]services.ServiceOrGroup) error EdwardExecutable string Follower TaskFollower // Prevent build, launch and stop phases from running concurrently DisableConcurrentPhases bool WorkingDir string // contains filtered or unexported fields }
func NewClientWithConfig ¶
NewClientWithConfig creates an Edward client and loads the config from the given path
func (*Client) LoadConfig ¶
LoadConfig loads an Edward project config into the shared maps for this client
func (*Client) ServiceMap ¶
func (c *Client) ServiceMap() map[string]*services.ServiceConfig
type TaskFollower ¶
Click to show internal directories.
Click to hide internal directories.