Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine interface { ImageClient EnvironmentClient VersionClient }
type EnvironmentClient ¶ added in v0.2.4
type EnvironmentClient interface { PauseEnvironment(ctx context.Context, env string) (string, error) ResumeEnvironment(ctx context.Context, env string) (string, error) ListEnvironment(ctx context.Context) ([]types.EnvdEnvironment, error) ListEnvDependency(ctx context.Context, env string) (*types.Dependency, error) ListEnvPortBinding(ctx context.Context, env string) ([]types.PortBinding, error) CleanEnvdIfExists(ctx context.Context, name string, force bool) error // StartEnvd creates the container for the given tag and container name. StartEnvd(ctx context.Context, tag, name, buildContext string, gpuEnabled bool, numGPUs int, sshPort int, g ir.Graph, timeout time.Duration, mountOptionsStr []string) (string, string, error) IsRunning(ctx context.Context, name string) (bool, error) Exists(ctx context.Context, name string) (bool, error) WaitUntilRunning(ctx context.Context, name string, timeout time.Duration) error }
type ImageClient ¶ added in v0.2.4
Click to show internal directories.
Click to hide internal directories.