cloudcost

package
v1.107.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultFieldByName

func DefaultFieldByName(field CloudCostField) *ast.Field

DefaultFieldByName returns only default cloud cost filter fields by name.

func NewCloudCostFilterParser

func NewCloudCostFilterParser() ast.FilterParser

NewCloudCostFilterParser creates a new `ast.FilterParser` implementation which uses CloudCost specific fields

Types

type CloudCostField

type CloudCostField string

CloudCostField is an enum that represents CloudCost specific fields that can be filtered

const (
	FieldInvoiceEntityID CloudCostField = "invoiceEntityID"
	FieldAccountID       CloudCostField = "accountID"
	FieldProvider        CloudCostField = "provider"
	FieldProviderID      CloudCostField = "providerID"
	FieldCategory        CloudCostField = "category"
	FieldService         CloudCostField = "service"
	FieldLabel           CloudCostField = "label"
)

Jump to

Keyboard shortcuts

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