Documentation ¶
Index ¶
- type Controller
- func (c *Controller) GetAnalyticsTree(userId string, skipEstimation bool, start *time.Time, end *time.Time) (tree model.CostWithChildren, err error)
- func (c *Controller) GetApiCallsTree(username string, skipEstimation bool, start *time.Time, end *time.Time) (result model.CostWithChildren, err error)
- func (c *Controller) GetCostControllers(userid string, token string, admin bool, costType model.CostType, ...) (res model.CostWithChildren, err error)
- func (c *Controller) GetCostTree(userid string, token string, admin bool, skipEstimation bool, start *time.Time, ...) (res model.CostTree, err error)
- func (c *Controller) GetDevicesTree(userId string, token string, skipEstimation bool, start *time.Time, ...) (result model.CostWithChildren, err error)
- func (c *Controller) GetExportsTree(userId string, token string, admin bool, skipEstimation bool, start *time.Time, ...) (result model.CostWithChildren, err error)
- func (c *Controller) GetFlowEstimations(authorization string, userid string, flowIds []string) (estimations []*model.Estimation, err error)
- func (c *Controller) GetImportEstimation(authorization string, userid string, importTypeId string) (estimation *model.Estimation, err error)
- func (c *Controller) GetImportsTree(userId string, skipEstimation bool, start *time.Time, end *time.Time) (tree model.CostWithChildren, err error)
- func (c *Controller) GetProcessTree(userId string, skipEstimation bool, start *time.Time, end *time.Time) (processCost model.CostWithChildren, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(ctx context.Context, conf configuration.Config, fatal func(err error)) (*Controller, error)
func (*Controller) GetAnalyticsTree ¶
func (c *Controller) GetAnalyticsTree(userId string, skipEstimation bool, start *time.Time, end *time.Time) (tree model.CostWithChildren, err error)
func (*Controller) GetApiCallsTree ¶
func (c *Controller) GetApiCallsTree(username string, skipEstimation bool, start *time.Time, end *time.Time) (result model.CostWithChildren, err error)
func (*Controller) GetCostControllers ¶
func (*Controller) GetCostTree ¶
func (*Controller) GetDevicesTree ¶
func (*Controller) GetExportsTree ¶
func (*Controller) GetFlowEstimations ¶
func (c *Controller) GetFlowEstimations(authorization string, userid string, flowIds []string) (estimations []*model.Estimation, err error)
func (*Controller) GetImportEstimation ¶
func (c *Controller) GetImportEstimation(authorization string, userid string, importTypeId string) (estimation *model.Estimation, err error)
func (*Controller) GetImportsTree ¶
func (c *Controller) GetImportsTree(userId string, skipEstimation bool, start *time.Time, end *time.Time) (tree model.CostWithChildren, err error)
func (*Controller) GetProcessTree ¶
func (c *Controller) GetProcessTree(userId string, skipEstimation bool, start *time.Time, end *time.Time) (processCost model.CostWithChildren, err error)
Click to show internal directories.
Click to hide internal directories.