func (sps SecurityProfileSpec) GetProfileNSKeyValues(netns uint64, pidns uint64) ([]*keyvalue.KeyValue, error) {
	return []*keyvalue.KeyValue{
		&keyvalue.KeyValue{
			Key: &keyvalue.PIDnsKey{
				NS: pidns,
			},
			Value: &keyvalue.CookieValue{
				Cookie: sps.securityProfileID,
			},
		},
		&keyvalue.KeyValue{
			Key: &keyvalue.NETnsKey{
				NS: netns,
			},
			Value: &keyvalue.CookieValue{
				Cookie: sps.securityProfileID,
			},
		},
	}, nil
}
// GetProfileNSKeyValues - Returns the namespace key-values of the profile
Returns the namespace key-values of the profile
// GetProfileNSKeyValues - Returns the namespace key - values of the profile
func (sps SecurityProfileSpec) GetProfileNSKeyValues(netns uint64, pidns uint64) ([]*keyvalue.KeyValue, error) {
	return []*keyvalue.KeyValue{
		&keyvalue.KeyValue{
			Key: &keyvalue.PIDnsKey{
				NS: pidns,
			},
			Value: &keyvalue.CookieValue{
				Cookie: sps.securityProfileID,
			},
		},
		&keyvalue.KeyValue{
			Key: &keyvalue.NETnsKey{
				NS: netns,
			},
			Value: &keyvalue.CookieValue{
				Cookie: sps.securityProfileID,
			},
		},
	}, nil
}
func ( sps SecurityProfileSpec ) GetProfileNSKeyValues ( netns uint64 , pidns uint64 ) ( [ ] * keyvalue . KeyValue , error ) { return [ ] * keyvalue . KeyValue { & keyvalue . KeyValue { Key : & keyvalue . PIDnsKey { NS : pidns , } , Value : & keyvalue . CookieValue { Cookie : sps . securityProfileID , } , } , & keyvalue . KeyValue { Key : & keyvalue . NETnsKey { NS : netns , } , Value : & keyvalue . CookieValue { Cookie : sps . securityProfileID , } , } , } , nil }
Returns the namespace key-values of the profile
Returns the namespace key - values of the profile