Documentation
¶
Index ¶
- type DockerHandler
- func (dh *DockerHandler) CheckPulledMasterImage(ctx context.Context) (bool, error)
- func (dh *DockerHandler) GetActiveGnoPortalLoopContainers(ctx context.Context) ([]types.Container, error)
- func (dh *DockerHandler) GetPublishedRPCPort(dockerContainer types.Container) string
- func (dh *DockerHandler) RemoveContainersWithVolumes(ctx context.Context, containers []types.Container) error
- func (dh *DockerHandler) StartGnoPortalLoopContainer(ctx context.Context, containerName, hostPwd string, pullImage bool) (*types.Container, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerHandler ¶
func (*DockerHandler) CheckPulledMasterImage ¶
func (dh *DockerHandler) CheckPulledMasterImage(ctx context.Context) (bool, error)
Checks if a fresh pull of Master image corresponds to a new version
func (*DockerHandler) GetActiveGnoPortalLoopContainers ¶
func (dh *DockerHandler) GetActiveGnoPortalLoopContainers(ctx context.Context) ([]types.Container, error)
Gather the list of current running containter of
func (*DockerHandler) GetPublishedRPCPort ¶
func (dh *DockerHandler) GetPublishedRPCPort(dockerContainer types.Container) string
Gather the RPC Port published for the given container
func (*DockerHandler) RemoveContainersWithVolumes ¶
func (dh *DockerHandler) RemoveContainersWithVolumes(ctx context.Context, containers []types.Container) error
Removes the given containers and the linked volumes
func (*DockerHandler) StartGnoPortalLoopContainer ¶
func (dh *DockerHandler) StartGnoPortalLoopContainer(ctx context.Context, containerName, hostPwd string, pullImage bool) (*types.Container, error)
Starts the Gno Portal Loop Container
Click to show internal directories.
Click to hide internal directories.