Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Perceptor PerceptorConfig
Perceiver PerceiverConfig
}
Config contains all configuration for a PodPerceiver
func (*Config) StartWatch ¶
StartWatch will start watching the ImagePerceiver configuration file and call the passed handler function when the configuration file has changed
type ImagePerceiver ¶
type ImagePerceiver struct {
ImageController *controller.ImageController
ImageAnnotator *annotator.ImageAnnotator
ImageDumper *dumper.ImageDumper
// contains filtered or unexported fields
}
ImagePerceiver handles watching and annotating Images
func NewImagePerceiver ¶
func NewImagePerceiver(handler annotations.ImageAnnotatorHandler, configPath string) (*ImagePerceiver, error)
NewImagePerceiver creates a new ImagePerceiver object
func (*ImagePerceiver) Run ¶
func (ip *ImagePerceiver) Run(stopCh <-chan struct{})
Run starts the ImagePerceiver watching and annotating Images
type PerceiverConfig ¶
PerceiverConfig contains general Perceiver config
type PerceptorConfig ¶
PerceptorConfig contains Perceptor config
Click to show internal directories.
Click to hide internal directories.