Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance string
Instance is a label instance.
const ( // Postsubmit indicates that the test should be run as part of a postsubmit run only. Postsubmit Instance = "postsubmit" // CustomSetup indicates that the test requires a custom Istio installation. CustomSetup Instance = "customsetup" // IPv4 indicates a test is only compatible with IPv4 clusters. // Any usage of this should have an associated GitHub issue to make it compatible with IPv6 IPv4 Instance = "ipv4" )
type Selector ¶
type Selector struct {
// contains filtered or unexported fields
}
Selector is a Set of label filter expressions that get applied together to decide whether tests should be selected for execution or not.
func NewSelector ¶
NewSelector returns a new selector based on the given presence/absence predicates.
func ParseSelector ¶
ParseSelector parses and returns a new instance of Selector.
func (*Selector) Excludes ¶
Excludes returns false, if the given set of labels, even combined with new ones, could end up satisfying the Selector. It returns false, if Matches would never return true, even if new labels are added to the input set.
Click to show internal directories.
Click to hide internal directories.