Documentation
¶
Index ¶
- type DBTX
- type GetPayloadCacheRow
- type InsertPageParams
- type InsertPageWithIDParams
- type InsertZoneParams
- type ListZonesForPageRow
- type Page
- type PayloadCache
- type Querier
- type Queries
- func (q *Queries) CountPages(ctx context.Context) (int64, error)
- func (q *Queries) DeleteAllPages(ctx context.Context) error
- func (q *Queries) DeletePage(ctx context.Context, id int64) error
- func (q *Queries) DeletePayloadCache(ctx context.Context, zoneID string) error
- func (q *Queries) DeleteZone(ctx context.Context, id string) error
- func (q *Queries) GetAllSettings(ctx context.Context) ([]Setting, error)
- func (q *Queries) GetPayloadCache(ctx context.Context, zoneID string) (GetPayloadCacheRow, error)
- func (q *Queries) GetSetting(ctx context.Context, key string) (string, error)
- func (q *Queries) GetZoneConfigJSON(ctx context.Context, id string) (string, error)
- func (q *Queries) GetZonePageID(ctx context.Context, id string) (int64, error)
- func (q *Queries) InsertPage(ctx context.Context, arg InsertPageParams) (int64, error)
- func (q *Queries) InsertPageWithID(ctx context.Context, arg InsertPageWithIDParams) error
- func (q *Queries) InsertZone(ctx context.Context, arg InsertZoneParams) error
- func (q *Queries) ListPages(ctx context.Context) ([]Page, error)
- func (q *Queries) ListZonesForPage(ctx context.Context, pageID int64) ([]ListZonesForPageRow, error)
- func (q *Queries) UpdatePage(ctx context.Context, arg UpdatePageParams) error
- func (q *Queries) UpdatePageOrd(ctx context.Context, arg UpdatePageOrdParams) error
- func (q *Queries) UpdateZone(ctx context.Context, arg UpdateZoneParams) (sql.Result, error)
- func (q *Queries) UpdateZoneConfigJSON(ctx context.Context, arg UpdateZoneConfigJSONParams) error
- func (q *Queries) UpdateZoneOrd(ctx context.Context, arg UpdateZoneOrdParams) error
- func (q *Queries) UpdateZonePlugin(ctx context.Context, arg UpdateZonePluginParams) error
- func (q *Queries) UpsertPayloadCache(ctx context.Context, arg UpsertPayloadCacheParams) error
- func (q *Queries) UpsertSetting(ctx context.Context, arg UpsertSettingParams) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type SchemaVersion
- type Setting
- type UpdatePageOrdParams
- type UpdatePageParams
- type UpdateZoneConfigJSONParams
- type UpdateZoneOrdParams
- type UpdateZoneParams
- type UpdateZonePluginParams
- type UpsertPayloadCacheParams
- type UpsertSettingParams
- type Zone
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetPayloadCacheRow ¶
type InsertPageParams ¶
type InsertPageWithIDParams ¶
type InsertZoneParams ¶
type ListZonesForPageRow ¶
type PayloadCache ¶
type Querier ¶
type Querier interface {
CountPages(ctx context.Context) (int64, error)
DeleteAllPages(ctx context.Context) error
DeletePage(ctx context.Context, id int64) error
DeletePayloadCache(ctx context.Context, zoneID string) error
DeleteZone(ctx context.Context, id string) error
GetAllSettings(ctx context.Context) ([]Setting, error)
GetPayloadCache(ctx context.Context, zoneID string) (GetPayloadCacheRow, error)
GetSetting(ctx context.Context, key string) (string, error)
GetZoneConfigJSON(ctx context.Context, id string) (string, error)
GetZonePageID(ctx context.Context, id string) (int64, error)
InsertPage(ctx context.Context, arg InsertPageParams) (int64, error)
InsertPageWithID(ctx context.Context, arg InsertPageWithIDParams) error
InsertZone(ctx context.Context, arg InsertZoneParams) error
ListPages(ctx context.Context) ([]Page, error)
ListZonesForPage(ctx context.Context, pageID int64) ([]ListZonesForPageRow, error)
UpdatePage(ctx context.Context, arg UpdatePageParams) error
UpdatePageOrd(ctx context.Context, arg UpdatePageOrdParams) error
UpdateZone(ctx context.Context, arg UpdateZoneParams) (sql.Result, error)
UpdateZoneConfigJSON(ctx context.Context, arg UpdateZoneConfigJSONParams) error
UpdateZoneOrd(ctx context.Context, arg UpdateZoneOrdParams) error
UpdateZonePlugin(ctx context.Context, arg UpdateZonePluginParams) error
UpsertPayloadCache(ctx context.Context, arg UpsertPayloadCacheParams) error
UpsertSetting(ctx context.Context, arg UpsertSettingParams) error
}
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) DeletePayloadCache ¶
func (*Queries) GetAllSettings ¶
func (*Queries) GetPayloadCache ¶
func (*Queries) GetSetting ¶
func (*Queries) GetZoneConfigJSON ¶
func (*Queries) GetZonePageID ¶
func (*Queries) InsertPage ¶
func (*Queries) InsertPageWithID ¶
func (q *Queries) InsertPageWithID(ctx context.Context, arg InsertPageWithIDParams) error
func (*Queries) InsertZone ¶
func (q *Queries) InsertZone(ctx context.Context, arg InsertZoneParams) error
func (*Queries) ListZonesForPage ¶
func (*Queries) UpdatePage ¶
func (q *Queries) UpdatePage(ctx context.Context, arg UpdatePageParams) error
func (*Queries) UpdatePageOrd ¶
func (q *Queries) UpdatePageOrd(ctx context.Context, arg UpdatePageOrdParams) error
func (*Queries) UpdateZone ¶
func (*Queries) UpdateZoneConfigJSON ¶
func (q *Queries) UpdateZoneConfigJSON(ctx context.Context, arg UpdateZoneConfigJSONParams) error
func (*Queries) UpdateZoneOrd ¶
func (q *Queries) UpdateZoneOrd(ctx context.Context, arg UpdateZoneOrdParams) error
func (*Queries) UpdateZonePlugin ¶
func (q *Queries) UpdateZonePlugin(ctx context.Context, arg UpdateZonePluginParams) error
func (*Queries) UpsertPayloadCache ¶
func (q *Queries) UpsertPayloadCache(ctx context.Context, arg UpsertPayloadCacheParams) error
func (*Queries) UpsertSetting ¶
func (q *Queries) UpsertSetting(ctx context.Context, arg UpsertSettingParams) error
type SchemaVersion ¶
type SchemaVersion struct {
Version int64
}
type UpdatePageOrdParams ¶
type UpdatePageParams ¶
type UpdateZoneOrdParams ¶
type UpdateZoneParams ¶
type UpdateZonePluginParams ¶
type UpsertSettingParams ¶
Click to show internal directories.
Click to hide internal directories.