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
// If defines the conditions required to verify the// presence of, absence of, equals to & other checks// against one or more resources observed in the clustertypeIfstruct {
// OR-ing or AND-ing of conditionsIfOperatorIfOperator`json:"operator,omitempty"`// List of conditions that get executed as part of// if operationIfConditions []IfCondition`json:"conditions,omitempty"`
}
// IfCondition to match, filter, verify a kubernetes resource.typeIfConditionstruct {
// Selector to filter one or more resources that are expected// to be present in the clusterResourceSelector metac.ResourceSelector`json:"resourceSelector,omitempty"`// ResourceOperator refers to the operation that gets executed to// the selected resources//// Defaults to 'Exists'ResourceOperatorResourceOperator`json:"operator,omitempty"`// Count comes into effect when operator is related to count// e.g. EqualsCount, GreaterThanEqualTo, LessThanEqualTo.Count*int`json:"count,omitempty"`
}
Following is the proposed schema
// ResourceCheck defines the conditions required to verify the// presence of, absence of, equals to & other checks// against one or more resources observed in the clustertypeResourceCheckstruct {
// OR-ing or AND-ing of conditionsSelectConditionOperatorResourceSelectConditionOperator`json:"selectConditionOperator,omitempty"`// List of conditions that get executed as part of// if operationSelectConditions []ResourceSelectCondition`json:"selectConditions,omitempty"`
}
// ResourceSelectCondition to match, filter, verify a kubernetes resource.typeResourceSelectConditionstruct {
// Selector to filter one or more resources that are expected// to be present in the clusterSelector metac.ResourceSelector`json:"resourceSelector,omitempty"`// Operator refers to the operation that gets executed to// the selected resources//// Defaults to 'Exists'OperatorResourceSelectorOperator`json:"selectOperator,omitempty"`// Count comes into effect when operator is related to count// e.g. EqualsCount, GreaterThanEqualTo, LessThanEqualTo.Count*int`json:"count,omitempty"`
}
The text was updated successfully, but these errors were encountered:
Following is the current schema:
Following is the proposed schema
The text was updated successfully, but these errors were encountered: