Closed ddebarros closed 1 year ago
This PR adds a new method for getting and filtering the total number of activations.
Usage
func main() { client, err := whisk.NewClient(http.DefaultClient, nil) if err != nil { fmt.Println(err) os.Exit(-1) } options := &whisk.ActivationCountOptions{ Name: "sample/hello", Since: 1665662104000, } count, resp, err := client.Activations.Count(options) if err != nil { fmt.Println(err) os.Exit(-1) } fmt.Println("Returned with status: ", resp.Status) fmt.Printf("Returned actions: \n %+v", count) }
Thank you @ddebarros for your first contribution to the project 🎉
This PR adds a new method for getting and filtering the total number of activations.
Usage