events

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CompatibleTopicPrefix = "dockercompat"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Status   string     `json:"status,omitempty"` // Deprecated: use Action instead.
	ID       string     `json:"id,omitempty"`     // Deprecated: use Actor.ID instead.
	Type     string     `json:"Type"`
	Action   string     `json:"Action"`
	Actor    EventActor `json:"Actor"`
	Scope    string     `json:"scope"`
	Time     int64      `json:"time"`
	TimeNano int64      `json:"timeNano"`
}

From https://github.com/moby/moby/blob/v24.0.4/api/types/events/events.go#L31-L47

type EventActor

type EventActor struct {
	Id         string            `json:"ID"`
	Attributes map[string]string `json:"Attributes"`
}

Jump to

Keyboard shortcuts

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