codebase

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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 New

func New(path string) *Client

func (*Client) BuildAgent

func (c *Client) BuildAgent(ctx context.Context, os, arch string, production bool) (string, string, error)

func (*Client) BuildDir

func (c *Client) BuildDir() string

func (*Client) BuildRunscript

func (c *Client) BuildRunscript(ctx context.Context) (string, string, error)

func (*Client) BuildScript

func (c *Client) BuildScript(name string) (string, error)

func (*Client) GetScript

func (c *Client) GetScript(name string) (string, error)

func (*Client) ListModules

func (c *Client) ListModules() ([]string, error)

func (*Client) ListScripts

func (c *Client) ListScripts() ([]string, error)

func (*Client) ModulesDir

func (c *Client) ModulesDir() string

func (*Client) RunscriptConfigFile

func (c *Client) RunscriptConfigFile() string

func (*Client) ScriptsDir

func (c *Client) ScriptsDir() string

func (*Client) VesselConfigFile

func (c *Client) VesselConfigFile() string

func (*Client) WriteAgentConfig

func (c *Client) WriteAgentConfig(b []byte) error

func (*Client) WriteRunscriptConfig

func (c *Client) WriteRunscriptConfig(b []byte) error

Jump to

Keyboard shortcuts

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