You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.
// Value is the label value, when match is set as "regexp", the acceptable syntax of regex is RE2 (https://github.com/google/re2/wiki/Syntax)
Value string `json:"value"`
// Match is the way of matching, default to "exact" match, can also use "regexp" and set value to a regular express for matching.
Match string `json:"match,omitempty"`
}
// Selector is the resource selector that used when listing kubernetes objects, only namespaced rules have this since cluster rules apply for all objects.
type Selector struct {
// Name is the resource name this selector will select
Name string `json:"name,omitempty"`
// MatchLabels is the map of labels this selector will select on