woodpecker/pipeline/backend/types/auth.go

9 lines
221 B
Go
Raw Normal View History

package types
// Auth defines registry authentication credentials.
type Auth struct {
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty"`
Email string `json:"email,omitempty"`
}