Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoMappedPort = errors.New("no mapped port found")
)
Functions ¶
This section is empty.
Types ¶
type BuildRContainerSpec ¶
type Capabilities ¶
type Client ¶
type Client interface { Inspector ContainerFileCopier }
type ContainerFileCopier ¶
type ContainerFileCopier interface {
CopyFromContainer(ctx context.Context, containerID, srcPath string) (io.ReadCloser, types.ContainerPathStat, error)
}
type ContainerProber ¶
type ContainerProber struct {
// contains filtered or unexported fields
}
func NewContainerProbe ¶
type ContainerSpec ¶
type ContainerSpec struct { Env map[string]string Image string User string WorkingDir string Capabilities Capabilities ExposedPorts []string Entrypoint []string Cmd []string Mounts []mount.Mount Privileged bool AutoRemove bool }
func (*ContainerSpec) WorkDir ¶
func (s *ContainerSpec) WorkDir() string
type GrpcHealthProbe ¶
type GrpcHealthProbe struct {
// contains filtered or unexported fields
}
func NewGRPCHealthProbe ¶
func NewGRPCHealthProbe(baseUrl string) GrpcHealthProbe
type Orchestrator ¶
type Orchestrator struct {
// contains filtered or unexported fields
}
func NewOrchestrator ¶
func (*Orchestrator) BuildRContainer ¶
func (o *Orchestrator) BuildRContainer(ctx context.Context, spec *BuildRContainerSpec) (con Container, baseUrl string, err error)
func (*Orchestrator) ShutdownContainer ¶
func (o *Orchestrator) ShutdownContainer(ctx context.Context, con Container) error
Click to show internal directories.
Click to hide internal directories.