Documentation ¶
Index ¶
- type CapacityPlan
- func (cp CapacityPlan) Create(db sqlx.DB, orgID int, cpToSave []model.CapacityPlanEntry) error
- func (cp CapacityPlan) DeleteByID(dbx sqlx.DB, id int) error
- func (cp CapacityPlan) List(dbx sqlx.DB, orgID int, resourceID int, startDate time.Time, endDate time.Time) ([]model.CapacityPlanEntry, error)
- func (cp CapacityPlan) ViewByID(dbx sqlx.DB, capEntryID int, orgID int) (model.CapacityPlanEntry, error)
- func (cp CapacityPlan) ViewByUUID(dbx sqlx.DB, capEntryUUID uuid.UUID, orgID int) (model.CapacityPlanEntry, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CapacityPlan ¶
type CapacityPlan struct { }
func (CapacityPlan) Create ¶
func (cp CapacityPlan) Create(db sqlx.DB, orgID int, cpToSave []model.CapacityPlanEntry) error
func (CapacityPlan) DeleteByID ¶
func (cp CapacityPlan) DeleteByID(dbx sqlx.DB, id int) error
func (CapacityPlan) ViewByID ¶
func (cp CapacityPlan) ViewByID(dbx sqlx.DB, capEntryID int, orgID int) (model.CapacityPlanEntry, error)
func (CapacityPlan) ViewByUUID ¶
func (cp CapacityPlan) ViewByUUID(dbx sqlx.DB, capEntryUUID uuid.UUID, orgID int) (model.CapacityPlanEntry, error)
Click to show internal directories.
Click to hide internal directories.