Documentation
¶
Overview ¶
Package local implements client.Client as thin, direct calls into an already-open *app.App — the exact same calls the CLI made before the client abstraction existed. Behavior is unchanged from the walking skeleton; this package only moves those calls behind the interface.
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) DeleteTag(ctx context.Context, uri, name string) error
- func (c *Client) Diff(ctx context.Context, targetA, targetB string) (diff.Result, error)
- func (c *Client) GetManifest(ctx context.Context, idOrRun string) (manifest.Manifest, error)
- func (c *Client) GetResource(ctx context.Context, uri string) (resource.Resource, error)
- func (c *Client) GetSnapshot(ctx context.Context, id string) (snapshot.Snapshot, error)
- func (c *Client) History(ctx context.Context, uri string) ([]snapshot.Snapshot, error)
- func (c *Client) ListResources(ctx context.Context) ([]resource.Resource, error)
- func (c *Client) ListTags(ctx context.Context, uri string) ([]tag.Tag, error)
- func (c *Client) RegisterResource(ctx context.Context, r resource.Resource) error
- func (c *Client) Replay(ctx context.Context, idOrRun string) (replay.Result, error)
- func (c *Client) Resolve(ctx context.Context, uri string) (resolver.ResolveResult, error)
- func (c *Client) RunCommit(ctx context.Context, runID string) (manifest.Manifest, error)
- func (c *Client) RunMount(ctx context.Context, runID, uri string) (resolver.ResolveResult, int, error)
- func (c *Client) RunStart(ctx context.Context, runID string) error
- func (c *Client) SetTag(ctx context.Context, uri, name, snapshotID string) (tag.Tag, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) GetManifest ¶
func (*Client) GetResource ¶
func (*Client) GetSnapshot ¶
func (*Client) ListResources ¶
func (*Client) RegisterResource ¶
Click to show internal directories.
Click to hide internal directories.