Documentation ¶
Index ¶
- func Delete(db gorpmapper.SqlExecutorWithTx, hatcheryID string) error
- func Insert(ctx context.Context, db gorpmapper.SqlExecutorWithTx, h *sdk.Hatchery) error
- func LoadHatcheries(ctx context.Context, db gorp.SqlExecutor) ([]sdk.Hatchery, error)
- func LoadHatcheryByID(ctx context.Context, db gorp.SqlExecutor, ID string) (*sdk.Hatchery, error)
- func LoadHatcheryByName(ctx context.Context, db gorp.SqlExecutor, name string) (*sdk.Hatchery, error)
- func LoadHatcheryStatusByHatcheryID(ctx context.Context, db gorp.SqlExecutor, hatcheryID string) (*sdk.HatcheryStatus, error)
- func Update(ctx context.Context, db gorpmapper.SqlExecutorWithTx, h *sdk.Hatchery) error
- func UpsertStatus(ctx context.Context, db gorpmapper.SqlExecutorWithTx, hatcheryID string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete(db gorpmapper.SqlExecutorWithTx, hatcheryID string) error
func Insert ¶
func Insert(ctx context.Context, db gorpmapper.SqlExecutorWithTx, h *sdk.Hatchery) error
func LoadHatcheries ¶
func LoadHatcheryByID ¶
func LoadHatcheryByName ¶
func LoadHatcheryStatusByHatcheryID ¶
func LoadHatcheryStatusByHatcheryID(ctx context.Context, db gorp.SqlExecutor, hatcheryID string) (*sdk.HatcheryStatus, error)
func Update ¶
func Update(ctx context.Context, db gorpmapper.SqlExecutorWithTx, h *sdk.Hatchery) error
func UpsertStatus ¶
func UpsertStatus(ctx context.Context, db gorpmapper.SqlExecutorWithTx, hatcheryID string, s *sdk.HatcheryStatus) error
UpsertStatus insert or update monitoring status
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.