mirror of
https://github.com/containrrr/watchtower.git
synced 2026-01-02 07:08:49 +01:00
fix linter issues
This commit is contained in:
parent
6b9fd8d7ef
commit
a32468d1fe
9 changed files with 64 additions and 61 deletions
|
|
@ -1,5 +1,6 @@
|
|||
package types
|
||||
|
||||
// RegistryCredentials is a credential pair used for basic auth
|
||||
type RegistryCredentials struct {
|
||||
Username string
|
||||
Password string // usually a token rather than an actual password
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
package types
|
||||
|
||||
// TokenResponse is returned by the registry on successful authentication
|
||||
type TokenResponse struct {
|
||||
Token string `json:"token"`
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue