Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionConfig ¶
type ActionConfig interface { // ToAction constructs an action ToAction() Action }
ActionConfig is a config object that can construct an action.
type ConditionConfig ¶
type ConditionConfig interface { // ToCondition constructs a condition ToCondition() Condition }
ConditionConfig is a config object that can construct a condition.
type Relabeler ¶
type Relabeler interface {
Evaluate(originalRawObject []byte, obj metaV1.Object) ([]jsonpatch.Operation, error)
}
Relabeler is the main entrypoint into the relabeling process it keeps a runtime optimized set of rules to relabel objects.
func NewRelabeler ¶
type Rule ¶
type Rule struct {
// contains filtered or unexported fields
}
Rule is a single rule describing if and how we should relabel an object.
func NewRelabelRule ¶
Click to show internal directories.
Click to hide internal directories.