DockerSdk
the .NET SDK for Docker
Classes | Enumerations
DockerSdk.Images.Events Namespace Reference

Classes

class  ImageDeletedEvent
 Represents a notification of the deletion of an image. More...
 
class  ImageEvent
 Represents an event emitted by the Docker daemon about a container. More...
 
class  ImageLoadedEvent
 Represents a notification of an image being loaded from a file or stream. More...
 
class  ImagePulledEvent
 Represents a notification of the creation of a new image. More...
 
class  ImagePushedEvent
 Represents a notification of a local image being pushed to a registry. More...
 
class  ImageSavedEvent
 Represents a notification of a local image being saved to a file or stream. More...
 
class  ImageTaggedEvent
 Represents a notification that a tag has been removed from a local image. More...
 
class  ImageUntaggedEvent
 Represents a notification that a tag has been removed from a local image. More...
 

Enumerations

enum class  ImageEventType {
  Deleted , Loaded , Pulled , Pushed ,
  Saved , Tagged , Untagged
}
 The types of event that images can raise in the Docker event system. More...
 

Enumeration Type Documentation

◆ ImageEventType

The types of event that images can raise in the Docker event system.

Enumerator
Deleted 

An image has been locally deleted. This is not related to deleting the image from its registry.

Events of this type are represented by the ImageDeletedEvent class. Docker documentation calls this event type "delete".

Loaded 

An image has been loaded from a file or stream.

Events of this type are represented by the ImageLoadedEvent class. Docker documentation calls this event type "load".

Pulled 

An image has been pulled from its registry.

Events of this type are represented by the ImagePulledEvent class. Docker documentation calls this event type "pull".

Pushed 

A local image has been pushed to its registry.

Events of this type are represented by the ImagePushedEvent class. Docker documentation calls this event type "pull".

Saved 

A local image has been saved to a file or stream.

Events of this type are represented by the ImageSavedEvent class. Docker documentation calls this event type "save".

Tagged 

A tag has been created or updated.

Events of this type are represented by the ImageTaggedEvent class. Docker documentation calls this event type "tag".

Untagged 

A tag has been removed from a local image.

Events of this type are represented by the ImageUntaggedEvent class. Docker documentation calls this event type "untag".

When Docker updates an existing tag to point to a different image, it emits this event but does not also emit an untag event for the old image.