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

Classes

class  NetworkAttachedEvent
 Indicates that the network has been attached to a container. More...
 
class  NetworkCreatedEvent
 Represents a notification of the creation of a new Docker network resource. More...
 
class  NetworkDeletedEvent
 Represents a notification that the network has been deleted. More...
 
class  NetworkDetachedEvent
 Indicates that the network has been detached from a container. More...
 
class  NetworkEvent
 Represents an event emitted by the Docker daemon about a network. More...
 

Enumerations

enum class  NetworkEventType { Created , Attached , Deleted , Detached }
 The types of event that networks can raise in the Docker event system. More...
 

Enumeration Type Documentation

◆ NetworkEventType

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

Enumerator
Created 

The creation of a new Docker network resource.

Events of this type are represented by the NetworkCreatedEvent class. Docker documentation calls this event type "create".

Attached 

A network has been attached to a container.

Events of this type are represented by the NetworkAttachedEvent class. Docker documentation calls this event type "connect".

Deleted 

The deletion of an existing Docker network resource.

Events of this type are represented by the NetworkDeletedEvent class. Docker documentation calls this event type "destroy".

Detached 

A network has been detached from a container.

Events of this type are represented by the NetworkDetachedEvent class. Docker documentation calls this event type "disconnect".

Docker sometimes (always?) emits two of these events when detaching.