Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Default = func() ContainerRegistry { crs := []ContainerRegistry{} c, err := client.NewClientWithOpts(client.FromEnv, client.WithAPIVersionNegotiation()) if err == nil { if _, err = c.Ping(context.Background()); err == nil { crs = append(crs, &Daemon{c}) } } return Coalesce(append(crs, new(Remote))) }()
Functions ¶
Types ¶
type Coalesce ¶
type Coalesce []ContainerRegistry
type ContainerRegistry ¶
type Daemon ¶
type Daemon struct {
DaemonClient
}
type DaemonClient ¶
Click to show internal directories.
Click to hide internal directories.