Documentation ¶
Index ¶
Constants ¶
View Source
const (
RealmLabelSelectorsKey = "realmLabelSelectors"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Detector ¶
type Detector struct {
// contains filtered or unexported fields
}
Detector represents a procedure that runs in the background, periodically auto-detecting features
func NewAutoDetect ¶
func NewAutoDetect(dc discovery.DiscoveryInterface) (*Detector, error)
New creates a new auto-detect runner
func (*Detector) AddCRDTrigger ¶
AddCRDTrigger to run the trigger function, the first time that the background scanner discovers that the CRD type specified exists
func (*Detector) AddCRDsTrigger ¶
AddCRDsTrigger to run the trigger function, the first time that the background scanner discovers that each of the CRD types specified exists
func (*Detector) AddCRDsWithTriggers ¶
AddCRDsWithTriggers to run the associated trigger function for the particular CRD, the first time that the background scanner discovers that the CRD type specified exists
type StateManager ¶
func GetStateManager ¶
func GetStateManager() *StateManager
func (*StateManager) Clear ¶
func (sm *StateManager) Clear()
func (*StateManager) GetState ¶
func (sm *StateManager) GetState(key string) interface{}
func (*StateManager) SetState ¶
func (sm *StateManager) SetState(key string, value interface{})
Click to show internal directories.
Click to hide internal directories.