mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-15 06:58:11 +00:00
12 lines
431 B
Go
12 lines
431 B
Go
package resourcehandler
|
|
|
|
type QueryableResources map[string]QueryableResource
|
|
|
|
// QueryableResource is a struct that holds a representation of a resource we would like to query (from the K8S API, or from other sources)
|
|
type QueryableResource struct {
|
|
// <api group/api version/resource>
|
|
GroupVersionResourceTriplet string
|
|
// metadata.name==<resource name>, metadata.namespace==<resource namespace> etc.
|
|
FieldSelectors string
|
|
}
|