Documentation ¶
Index ¶
- Variables
- type VolatileConditionFieldsPredicate
- func (s *VolatileConditionFieldsPredicate) Create(event event.CreateEvent) bool
- func (s *VolatileConditionFieldsPredicate) Delete(event event.DeleteEvent) bool
- func (s *VolatileConditionFieldsPredicate) Generic(event event.GenericEvent) bool
- func (s *VolatileConditionFieldsPredicate) Update(event event.UpdateEvent) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultVolatileConditionFields = []string{
"lastTransitionTime",
"lastUpdateTime",
"lastScaleTime",
"lastProbeTime",
"lastHeartbeatTime",
}
Functions ¶
This section is empty.
Types ¶
type VolatileConditionFieldsPredicate ¶
type VolatileConditionFieldsPredicate struct { // Fields specifies the volatile fields to erase. // If nil, this is set to DefaultVolatileConditionFields. Fields []string }
VolatileConditionFieldsPredicate removes volatile fields from any condition in an object and then does an equals-based comparison.
func (*VolatileConditionFieldsPredicate) Create ¶
func (s *VolatileConditionFieldsPredicate) Create(event event.CreateEvent) bool
func (*VolatileConditionFieldsPredicate) Delete ¶
func (s *VolatileConditionFieldsPredicate) Delete(event event.DeleteEvent) bool
func (*VolatileConditionFieldsPredicate) Generic ¶
func (s *VolatileConditionFieldsPredicate) Generic(event event.GenericEvent) bool
func (*VolatileConditionFieldsPredicate) Update ¶
func (s *VolatileConditionFieldsPredicate) Update(event event.UpdateEvent) bool
Click to show internal directories.
Click to hide internal directories.