progress

package
v0.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainerEventID

func ContainerEventID(ctx context.Context, serviceName, containerID, machineName string) string

ContainerEventID returns a progress event ID for operations on existing containers using the canonical service_name/short_id format. Allows to override it using WithEventID.

func ImageEventID

func ImageEventID(image, machineName string) string

ImageEventID returns a progress event ID for image pull operations.

func MachineEventID

func MachineEventID(machineName, publicIP string) string

MachineEventID returns a progress event ID for machine operations.

func NewContainerEventID

func NewContainerEventID(ctx context.Context, containerName, machineName string) string

NewContainerEventID returns a progress event ID for new container creation where the Docker container ID is not yet known. Allows to override it using WithEventID.

func OldPreDeployHookEventID

func OldPreDeployHookEventID(serviceName, containerID, machineName string) string

OldPreDeployHookEventID returns a progress event ID for old pre-deploy hook container cleanup.

func PreDeployHookEventID

func PreDeployHookEventID(serviceName, machineName string) string

PreDeployHookEventID returns a progress event ID for pre-deploy hook operations.

func VolumeEventID

func VolumeEventID(volumeName, machineName string) string

VolumeEventID returns a progress event ID for volume operations.

func WithEventID

func WithEventID(ctx context.Context, eventID string) context.Context

WithEventID returns a context that overrides the default event ID used by client methods.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL