Documentation
¶
Index ¶
- Variables
- type Client
- func (c *Client) BuildAgent(ctx context.Context, os, arch string, production bool) (string, string, error)
- func (c *Client) BuildDir() string
- func (c *Client) BuildRunscript(ctx context.Context) (string, string, error)
- func (c *Client) BuildScript(name string) (string, error)
- func (c *Client) GetScript(name string) (string, error)
- func (c *Client) ListModules() ([]string, error)
- func (c *Client) ListScripts() ([]string, error)
- func (c *Client) ModulesDir() string
- func (c *Client) RunscriptConfigFile() string
- func (c *Client) ScriptsDir() string
- func (c *Client) VesselConfigFile() string
- func (c *Client) WriteAgentConfig(b []byte) error
- func (c *Client) WriteRunscriptConfig(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrScriptNotFound = errors.New("script not found")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) BuildAgent ¶
func (*Client) BuildRunscript ¶
func (*Client) ListModules ¶
func (*Client) ListScripts ¶
func (*Client) ModulesDir ¶
func (*Client) RunscriptConfigFile ¶
func (*Client) ScriptsDir ¶
func (*Client) VesselConfigFile ¶
func (*Client) WriteAgentConfig ¶
func (*Client) WriteRunscriptConfig ¶
Click to show internal directories.
Click to hide internal directories.