Documentation
¶
Index ¶
- func Commands() []*cobra.Command
- func ControlPlane(name string) protocol.Plane
- func HTTPStatus(err error) int
- func ProjectJSONSchema() ([]byte, error)
- func ServerJSONSchema() ([]byte, error)
- func SessionReady(session protocol.SessionResponse) (bool, error)
- type Client
- func (m *Client) Call(ctx context.Context, plane protocol.Plane, tool string, input, output any) error
- func (m *Client) DeleteSession(ctx context.Context, name, uid string, skip bool) error
- func (m *Client) Session(ctx context.Context, name string) (protocol.SessionResponse, error)
- func (m *Client) StreamLogs(ctx context.Context, input protocol.SessionLogsRequest, stdout io.Writer) error
- type ClientConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ControlPlane ¶
func HTTPStatus ¶
func ProjectJSONSchema ¶
func ServerJSONSchema ¶
func SessionReady ¶
func SessionReady(session protocol.SessionResponse) (bool, error)
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeleteSession ¶
func (*Client) StreamLogs ¶
func (m *Client) StreamLogs(ctx context.Context, input protocol.SessionLogsRequest, stdout io.Writer) error
StreamLogs follows session logs until ctx ends or the server rejects the request. A dropped stream resumes from the last record received, skipping the records the server replays.
Source Files
¶
- app_build.go
- apps.go
- auth.go
- build.go
- buildkit.go
- client_config.go
- commands.go
- configuration.go
- configuration_schema.go
- control_client.go
- credentials.go
- descriptor.go
- dev.go
- dev_reload.go
- egress.go
- execution.go
- graph.go
- http_client.go
- image.go
- import.go
- kiln.go
- lifecycle.go
- manifest.go
- oauth.go
- oci.go
- progress.go
- project_schema.go
- run.go
- server_schema.go
- source.go
- stdio_image.go
- types.go
- types_build.go
- types_extract.go
- types_image.go
Click to show internal directories.
Click to hide internal directories.