rule

package
Version: v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2019 License: MIT Imports: 10 Imported by: 4

Documentation

Index

Constants

View Source
const (
	IconSetType3Arrows primitives.IconSetType
	IconSetType3ArrowsGray
	IconSetType3Flags
	IconSetType3TrafficLights1
	IconSetType3TrafficLights2
	IconSetType3Signs
	IconSetType3Symbols
	IconSetType3Symbols2

	IconSetType4Arrows
	IconSetType4ArrowsGray
	IconSetType4RedToBlack
	IconSetType4Rating
	IconSetType4TrafficLights

	IconSetType5Arrows
	IconSetType5ArrowsGray
	IconSetType5Rating
	IconSetType5Quarters
)

List of all possible values for IconSetType

View Source
const (

	//ValueTypeNumber type indicate that it's number
	ValueTypeNumber primitives.ConditionValueType
	//ValueTypeNumber type indicate that it's percent
	ValueTypePercent
	//ValueTypeNumber type indicate that it's maximum
	ValueTypeHighest
	//ValueTypeNumber type indicate that it's minimum
	ValueTypeLowest
	//ValueTypeFormula type indicate that it's formula
	ValueTypeFormula
	//ValueTypePercentile type indicate that it's percentile
	ValueTypePercentile
)

List of all possible values for ConditionValueType

Variables

View Source
var Average averageRule

Average is helper object to set specific options for rule

View Source
var Blanks blanksRule

Blanks is helper object to set specific options for rule

View Source
var Bottom bottomRule

Bottom is helper object to set specific options for rule

View Source
var ColorScale2 colorScale2Rule

ColorScale2 is helper object to set specific options for rule

View Source
var ColorScale3 colorScale3Rule

ColorScale3 is helper object to set specific options for rule

View Source
var DataBar dataBarRule

DataBar is helper object to set specific options for rule

View Source
var Duplicate duplicateRule

Duplicate is helper object to set specific options for rule

View Source
var Errors errorsRule

Errors is helper object to set specific options for rule

View Source
var Formula formulaRule

Formula is helper object to set specific options for rule

View Source
var IconSet iconSetRule

IconSet is helper object to set specific options for rule

View Source
var NoBlanks noBlanksRule

NoBlanks is helper object to set specific options for rule

View Source
var NoErrors noErrorsRule

NoErrors is helper object to set specific options for rule

View Source
var Text textRule

Text is helper object to set specific options for rule

View Source
var TimePeriod timePeriodRule

TimePeriod is helper object to set specific options for rule

View Source
var Top topRule

Top is helper object to set specific options for rule

View Source
var Unique uniqueRule

Unique is helper object to set specific options for rule

View Source
var Value valueRule

Value is helper object to set specific options for rule

Functions

This section is empty.

Types

type Info

type Info struct {
	// contains filtered or unexported fields
}

Info is objects that holds combined information about conditional rule

func New

func New(options ...Option) *Info

New creates and returns Info object with requested options

func (*Info) Set

func (r *Info) Set(options ...Option)

Set sets new options for conditional rule

func (*Info) Validate

func (r *Info) Validate() error

Validate validate rule if required

type Option

type Option func(o *Info)

Option is helper type to set options for rule

Jump to

Keyboard shortcuts

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