Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientBackend = newRawClient(dialBackend)
View Source
var Paths = sync.OnceValue(func() DockerDesktopPaths { desktopPaths, err := getDockerDesktopPaths() if err != nil { panic(err) } return desktopPaths })
Functions ¶
func IsLoggedIn ¶
Types ¶
type DockerDesktopPaths ¶
type DockerDesktopPaths struct {
BackendSocket string
}
type DockerHubInfo ¶
type DockerHubInfo struct {
Email string `json:"email,omitempty"`
Organizations []string `json:"organizations,omitempty"`
PlanName string `json:"planName"`
}
func GetLoginInfo ¶
func GetLoginInfo(ctx context.Context) DockerHubInfo
Click to show internal directories.
Click to hide internal directories.