Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultToolsImage = "ghcr.io/getarcaneapp/tools:latest" ContainerLabel = "com.getarcaneapp.volume-helper" )
Variables ¶
This section is empty.
Functions ¶
func HostConfig ¶
HostConfig builds the host config shared by volume helper containers.
func RemoveOptions ¶
func RemoveOptions() client.ContainerRemoveOptions
RemoveOptions returns the container remove options used for volume helpers.
Types ¶
type RuntimeImage ¶
RuntimeImage describes the Arcane runtime image that can run internal helper commands from inside temporary containers.
func ResolveArcaneRuntimeImage ¶
func ResolveArcaneRuntimeImage(ctx context.Context, dockerClient *client.Client) (RuntimeImage, bool)
ResolveArcaneRuntimeImage resolves the current Arcane or Arcane agent image so internal helper commands can run without pulling an external helper image.
Click to show internal directories.
Click to hide internal directories.