Documentation ¶
Index ¶
- type Database
- func (d Database) Exec(stmt string, args ...any) (sql.Result, error)
- func (d Database) GetRemoteImageFromId(imageId int64) (*RemoteImageRow, error)
- func (d Database) GetRemoteImageFromName(imageName string) (*RemoteImageRow, error)
- func (d Database) QueryRow(stmt string, args ...any) (*sql.Row, error)
- func (d Database) SaveRemoteImage(name string, domain string, created time.Time, digest digest.Digest) (*int64, error)
- func (d Database) UpdateRemoteImage(rowid int64, created *time.Time, digest *digest.Digest) error
- func (d Database) UpdateRemoteImageCheck(rowid int64) error
- type RemoteImageRow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
func (Database) GetRemoteImageFromId ¶
func (d Database) GetRemoteImageFromId(imageId int64) (*RemoteImageRow, error)
func (Database) GetRemoteImageFromName ¶
func (d Database) GetRemoteImageFromName(imageName string) (*RemoteImageRow, error)
func (Database) SaveRemoteImage ¶
func (Database) UpdateRemoteImage ¶
func (Database) UpdateRemoteImageCheck ¶
Click to show internal directories.
Click to hide internal directories.