Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ValuePolicy ¶
func ParseValuePolicy ¶
func ParseValuePolicy(p string) (ValuePolicy, error)
type ValuePolicyDailySine ¶
type ValuePolicyDailySine struct {
// contains filtered or unexported fields
}
ValuePolicyDailySine mimics a daily sinus-shaped trend e.g. traffic to a website
func NewDailySine ¶
func NewDailySine(args string) (ValuePolicyDailySine, error)
func (ValuePolicyDailySine) Value ¶
func (v ValuePolicyDailySine) Value(ts int64) float64
type ValuePolicyMultiple ¶
type ValuePolicyMultiple struct {
// contains filtered or unexported fields
}
func (*ValuePolicyMultiple) Value ¶
func (v *ValuePolicyMultiple) Value(ts int64) float64
type ValuePolicyRandom ¶
type ValuePolicyRandom struct { }
func (*ValuePolicyRandom) Value ¶
func (v *ValuePolicyRandom) Value(ts int64) float64
type ValuePolicySingle ¶
type ValuePolicySingle struct {
// contains filtered or unexported fields
}
func (*ValuePolicySingle) Value ¶
func (v *ValuePolicySingle) Value(ts int64) float64
type ValuePolicyTimestamp ¶
type ValuePolicyTimestamp struct { }
func (*ValuePolicyTimestamp) Value ¶
func (v *ValuePolicyTimestamp) Value(ts int64) float64
Click to show internal directories.
Click to hide internal directories.