chiradeep / go-nitro

A Golang client to the Citrix ADC API
Apache License 2.0
18 stars 21 forks source link

Add Find functions with filter parameter #13

Closed jovandeginste closed 6 years ago

jovandeginste commented 6 years ago

This allows to find any resource of a given type, filtered by some attributes.

Eg:

filter := map[string]string{
    "ipv46": "10.71.136.50",
}
result, err := client.FindFilteredResourceArray("csvserver", filter)
jovandeginste commented 6 years ago

@chiradeep I can take a look!

chiradeep commented 6 years ago

@jovandeginste thanks. I already wrote a test.