Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

query: Remove owners filter in v1alpha2 #109

Merged
merged 1 commit into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions apis/query/v1alpha2/query_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ type QueryFilter struct {
Categories []string `json:"categories,omitempty"`
// conditions is a list of conditions to query.
Conditions []QueryCondition `json:"conditions,omitempty"`
// owners is a list of owners to query.
Owners []QueryOwner `json:"owners,omitempty"`
// jsonpath is a JSONPath filter expression that will be applied to objects
// as a filter. It must return a boolean; no objects will be matched if it
// returns any other type. jsonpath should be used as a last resort; using
Expand Down Expand Up @@ -154,18 +152,6 @@ type QueryCondition struct {
Reason string `json:"reason,omitempty"`
}

// A QueryOwner specifies how to query by owner.
type QueryOwner struct {
// APIGroup is the name of the owner to match.
APIGroup string `json:"apiGroup,omitempty"`
// kind is the kind of the owner to match.
Kind string `json:"kind,omitempty"`
// name is the name of the owner to match.
Name string `json:"name,omitempty"`
// uid is the uid of the owner to match.
UID string `json:"uid,omitempty"`
}

// Direction specifies in which direction to order.
type Direction string

Expand Down
20 changes: 0 additions & 20 deletions apis/query/v1alpha2/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading