Documentation ¶
Index ¶
- func LoadFile(filename string) (b *[]byte)
- func SaveFile(filename string, x interface{})
- type PropSum
- type Propsv
- func (ps *Propsv) FindBehaviors(r *papi.Rules) (propsum *PropSum)
- func (p *Propsv) GetProperties(ctx context.Context, params papi.GetPropertiesRequest) (*papi.GetPropertiesResponse, error)
- func (ps *Propsv) GetPropertyVersionHostnames(params papi.GetPropertyVersionHostnamesRequest) (pr *papi.GetPropertyVersionHostnamesResponse, err error)
- func (ps *Propsv) GetRuleTree(params papi.GetRuleTreeRequest) (tree *papi.GetRuleTreeResponse)
- type UsedBehavior
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PropSum ¶
type PropSum struct {
Behaviors map[string][]UsedBehavior
}
type Propsv ¶
type Propsv struct { PapiClient papi.PAPI CacheDir string // contains filtered or unexported fields }
func (*Propsv) GetProperties ¶
func (p *Propsv) GetProperties(ctx context.Context, params papi.GetPropertiesRequest) (*papi.GetPropertiesResponse, error)
func (*Propsv) GetPropertyVersionHostnames ¶
func (ps *Propsv) GetPropertyVersionHostnames(params papi.GetPropertyVersionHostnamesRequest) (pr *papi.GetPropertyVersionHostnamesResponse, err error)
func (*Propsv) GetRuleTree ¶
func (ps *Propsv) GetRuleTree(params papi.GetRuleTreeRequest) (tree *papi.GetRuleTreeResponse)
type UsedBehavior ¶
type UsedBehavior struct { Behavior *papi.RuleBehavior Criteria [][]papi.RuleBehavior }
Click to show internal directories.
Click to hide internal directories.