Documentation ¶
Index ¶
- type Handler
- func (h *Handler) BeginTransaction(ctx context.Context) (driver.Tx, error)
- func (h *Handler) CreateDep(ctx context.Context, itf driver.Tx, depBase model.DepBase) (string, error)
- func (h *Handler) CreateDepAssets(ctx context.Context, itf driver.Tx, dID string, depAssets model.DepAssets) error
- func (h *Handler) CreateInst(ctx context.Context, itf driver.Tx, dID string, timestamp time.Time) (string, error)
- func (h *Handler) CreateInstCtr(ctx context.Context, itf driver.Tx, iID string, ctr model.Container) error
- func (h *Handler) DeleteDep(ctx context.Context, id string) error
- func (h *Handler) DeleteDepAssets(ctx context.Context, itf driver.Tx, dID string) error
- func (h *Handler) DeleteInst(ctx context.Context, id string) error
- func (h *Handler) Init(ctx context.Context, schemaPath string, delay time.Duration) error
- func (h *Handler) ListDep(ctx context.Context, filter model.DepFilter) ([]model.DepBase, error)
- func (h *Handler) ListInst(ctx context.Context, filter model.DepInstFilter) ([]model.Instance, error)
- func (h *Handler) ListInstCtr(ctx context.Context, iID string, filter model.CtrFilter) ([]model.Container, error)
- func (h *Handler) ReadDep(ctx context.Context, id string, assets bool) (model.Deployment, error)
- func (h *Handler) ReadInst(ctx context.Context, id string) (model.Instance, error)
- func (h *Handler) UpdateDep(ctx context.Context, itf driver.Tx, depBase model.DepBase) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) BeginTransaction ¶
func (*Handler) CreateDepAssets ¶ added in v0.3.0
func (*Handler) CreateInst ¶
func (*Handler) CreateInstCtr ¶
func (*Handler) DeleteDepAssets ¶ added in v0.3.0
func (*Handler) ListInstCtr ¶
Click to show internal directories.
Click to hide internal directories.