Documentation
¶
Index ¶
- func ContainerEventID(ctx context.Context, serviceName, containerID, machineName string) string
- func ImageEventID(image, machineName string) string
- func MachineEventID(machineName, publicIP string) string
- func NewContainerEventID(ctx context.Context, containerName, machineName string) string
- func OldPreDeployHookEventID(serviceName, containerID, machineName string) string
- func PreDeployHookEventID(serviceName, machineName string) string
- func VolumeEventID(volumeName, machineName string) string
- func WithEventID(ctx context.Context, eventID string) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerEventID ¶
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 ¶
ImageEventID returns a progress event ID for image pull operations.
func MachineEventID ¶
MachineEventID returns a progress event ID for machine operations.
func NewContainerEventID ¶
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 ¶
OldPreDeployHookEventID returns a progress event ID for old pre-deploy hook container cleanup.
func PreDeployHookEventID ¶
PreDeployHookEventID returns a progress event ID for pre-deploy hook operations.
func VolumeEventID ¶
VolumeEventID returns a progress event ID for volume operations.
Types ¶
This section is empty.