func (rule L7Rule) GetProfileKeyValues(cookie keyvalue.Cookie, trafficType kernel.TrafficType, action interface{}) ([]*keyvalue.KeyValue, error) {
	rep := []*keyvalue.KeyValue{}
	rep = append(rep, rule.GetProtocolKeys(cookie, trafficType, action)...)
	rep = append(rep, rule.GetHTTPKeys(cookie, trafficType, action)...)
	dnsKeys, err := rule.GetDNSKeys(cookie, trafficType, action)
	if err != nil {
		return nil, err
	}
	rep = append(rep, dnsKeys...)
	return rep, nil
}
// GetProfileKeyValues - Returns the profile key-values of the L7Rule
Returns the profile key-values of the L7Rule
// GetProfileKeyValues - Returns the profile key - values of the L7Rule
func (rule L7Rule) GetProfileKeyValues(cookie keyvalue.Cookie, trafficType kernel.TrafficType, action interface{}) ([]*keyvalue.KeyValue, error) {
	rep := []*keyvalue.KeyValue{}
	rep = append(rep, rule.GetProtocolKeys(cookie, trafficType, action)...)
	rep = append(rep, rule.GetHTTPKeys(cookie, trafficType, action)...)
	dnsKeys, err := rule.GetDNSKeys(cookie, trafficType, action)
	if err != nil {
		return nil, err
	}
	rep = append(rep, dnsKeys...)
	return rep, nil
}
func ( rule L7Rule ) GetProfileKeyValues ( cookie keyvalue . Cookie , trafficType kernel . TrafficType , action interface { } ) ( [ ] * keyvalue . KeyValue , error ) { rep := [ ] * keyvalue . KeyValue { } rep = append ( rep , rule . GetProtocolKeys ( cookie , trafficType , action ) ... ) rep = append ( rep , rule . GetHTTPKeys ( cookie , trafficType , action ) ... ) dnsKeys , err := rule . GetDNSKeys ( cookie , trafficType , action ) if err != nil { return nil , err } rep = append ( rep , dnsKeys ... ) return rep , nil }
Returns the profile key-values of the L7Rule
Returns the profile key - values of the L7Rule