controller

package
v0.0.23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

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 (c *Controller) GetCostControllers(userid string, token string, admin bool, costType model.CostType, skipEstimation bool, start *time.Time, end *time.Time) (res model.CostWithChildren, err error)

func (*Controller) GetCostTree

func (c *Controller) GetCostTree(userid string, token string, admin bool, skipEstimation bool, start *time.Time, end *time.Time) (res model.CostTree, err error)

func (*Controller) GetDevicesTree

func (c *Controller) GetDevicesTree(userId string, token string, skipEstimation bool, start *time.Time, end *time.Time) (result model.CostWithChildren, err error)

func (*Controller) GetExportsTree

func (c *Controller) GetExportsTree(userId string, token string, admin bool, skipEstimation bool, start *time.Time, end *time.Time) (result model.CostWithChildren, err error)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL