Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DbClient *gorm.DB
Functions ¶
func Create ¶
func Create(auth *RegistryAuth) error
func Delete ¶
func Delete(registryAuth *RegistryAuth) error
Types ¶
type RegistryAuth ¶
type RegistryAuth struct { ID uint64 `json:"Id"` Name string `json:"Name" gorm:"not null"` Username string `json:"Username" gorm:"not null"` Password string `json:"Password" gorm:"not null"` AccountId uint64 `json:"Accountid" gorm:"not null"` }
func Get ¶
func Get(name string) (*RegistryAuth, error)
func List ¶
func List(registryAuth *RegistryAuth) ([]RegistryAuth, error)
Click to show internal directories.
Click to hide internal directories.