Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SandboxActive ¶ added in v0.3.1
func SandboxActive(status compute_v1alpha.SandboxStatus) bool
SandboxActive reports whether a sandbox status indicates the sandbox may be actively running (PENDING, NOT_READY, or RUNNING).
func SandboxDead ¶ added in v0.3.1
func SandboxDead(status compute_v1alpha.SandboxStatus) bool
SandboxDead reports whether a sandbox status indicates the sandbox has stopped or failed (STOPPED or DEAD).
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides a domain-specific client for Sandbox entities
func (*Client) DeleteSandbox ¶
DeleteSandbox deletes a sandbox, but only if it's dead
func (*Client) GetSandbox ¶
func (c *Client) GetSandbox(ctx context.Context, sandboxID string) (*compute_v1alpha.Sandbox, error)
GetSandbox retrieves a sandbox by name or ID
Click to show internal directories.
Click to hide internal directories.