Skip to content

Commit

Permalink
Add Children field to SearchableData. (#44)
Browse files Browse the repository at this point in the history
This is needed e.g. to check on what resources are
created by a subscription.
  • Loading branch information
steven-collins-omega authored Aug 12, 2021
1 parent 61152f7 commit bef4328
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ type SearchableData struct {
APIVersion string `json:"apiVersion,omitempty"`
SearchableExpression string `json:"searchableExpression,omitempty"`
Errors map[string]interface{} `json:"errors,omitempty"`
Children []string `json:"children,omitempty"`
}

// Subscription encapsulates satellite subscription data
Expand Down Expand Up @@ -201,5 +202,5 @@ type User struct {
}

type UuidOnly struct {
UUID string `json:"uuid,omitempty"`
UUID string `json:"uuid,omitempty"`
}

0 comments on commit bef4328

Please sign in to comment.