Versions in this module Expand all Collapse all v1 v1.0.0 Jul 18, 2019 Changes in this version + func ConvertAttributes(attributesTable map[string]*acpb.PolicyDTO_Attributes) (map[string]map[string]interface{}, error) + func ConvertPrettyCondition(c *Condition) (*acpb.Condition, error) + func ConvertPrettyConditions(cs Conditions) ([]*acpb.Condition, error) + type Attribute struct + Name string + Required bool + Type string + Value interface{} + type Condition struct + Name string + Options *ConditionOption + Type string + func ConvertCondition(c *acpb.Condition) (*Condition, error) + func (c *Condition) ConvertCondition(values map[string]interface{}) (attr.Condition, error) + type ConditionOption struct + Attributes []*Attribute + Expression string + type Conditions []*Condition + func ConvertConditions(cs []*acpb.Condition) (Conditions, error) + func (cs Conditions) ConvertConditions(all map[string]map[string]interface{}) (attr.Conditions, error) + type PredefinedPolicy struct + Actions []string + Conditions Conditions + Description string + Name string + Resources []string