feat: onCreateSet

Add support for onCreateSet with validation.
- If a filter is not provided or a status is not set, a default filter of `status = running` is used.
- update `filters` field to be a slice instead of a string
- add dryRunValidation call to validate fields
This commit is contained in:
Elim Tsiagbey committed 2024-10-28 13:09:23 -04:00
1 parent beaa93d3d8
commit e4099a5f64
6 files changed
+451 -59

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ package host
const (
// ConstListInstancesFilter refers to a Google Cloud SDK filter to search for instances
ConstListInstancesFilter = "filter"
ConstListInstancesFilter = "filters"
// ConstInstanceGroup refers to the name of a Google Cloud instance group
ConstInstanceGroup = "instance_group"