Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides methods to interact with Docker Hub registry API.
func NewClient ¶
func NewClient() *Client
NewClient creates a new Docker Hub registry client with default settings.
func (*Client) ImageExists ¶
ImageExists checks if a specific tag exists in the repository. repository should be in the format "namespace/repo" (e.g., "lexfrei/papermc"). Returns true if the tag exists, false if it doesn't exist (404), and error for other failures.
Click to show internal directories.
Click to hide internal directories.