Documentation ¶
Index ¶
Constants ¶
View Source
const (
EnvSkipTransitionRules = "SKIP_POD_TRANSITION_RULES"
)
Variables ¶
View Source
var (
SkipTransitionRules = sets.NewString()
)
Functions ¶
This section is empty.
Types ¶
type ProcessResult ¶
type ProcessResult struct { Rejected map[string]RejectInfo // pod:rules PassRules map[string]sets.String Retry bool Interval *time.Duration RuleStates []*appsv1alpha1.RuleState }
type Processor ¶
func NewRuleProcessor ¶
func NewRuleProcessor(client client.Client, stage string, podTransitionRule *appsv1alpha1.PodTransitionRule, log logr.Logger) *Processor
type RejectInfo ¶
Click to show internal directories.
Click to hide internal directories.