-
Notifications
You must be signed in to change notification settings - Fork 13
/
models.go
35 lines (30 loc) · 893 Bytes
/
models.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.16.0
package query
import (
"github.com/jackc/pgtype"
)
type ImageInfo struct {
ID int64 `json:"id"`
Name string `json:"name"`
Digest string `json:"digest"`
Created int64 `json:"created"`
Size int64 `json:"size"`
Labels pgtype.JSONB `json:"labels"`
LoginName string `json:"login_name"`
AptPackages pgtype.JSONB `json:"apt_packages"`
PypiCommands pgtype.JSONB `json:"pypi_commands"`
Services pgtype.JSONB `json:"services"`
}
type Key struct {
ID int64 `json:"id"`
Name string `json:"name"`
LoginName string `json:"login_name"`
PublicKey []byte `json:"public_key"`
}
type User struct {
ID int64 `json:"id"`
LoginName string `json:"login_name"`
PasswordHash string `json:"password_hash"`
}