Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactoryPerceiver ¶
type ArtifactoryPerceiver struct {
// contains filtered or unexported fields
}
ArtifactoryPerceiver handles watching and annotating Images
func NewArtifactoryPerceiver ¶
func NewArtifactoryPerceiver(configPath string) (*ArtifactoryPerceiver, error)
NewArtifactoryPerceiver creates a new ArtifactoryPerceiver object
func (*ArtifactoryPerceiver) Run ¶
func (ap *ArtifactoryPerceiver) Run(stopCh <-chan struct{})
Run starts the ArtifactoryPerceiver watching and annotating Images
type ArtifactoryPerceiverConfig ¶
type ArtifactoryPerceiverConfig struct {
Dumper bool
}
ArtifactoryPerceiverConfig contains config specific to pod perceivers
type Config ¶
type Config struct { LogLevel string Perceptor PerceptorConfig Perceiver PerceiverConfig PrivateDockerRegistries []*utils.RegistryAuth }
Config contains the ArtifactoryPerceiver configurations
func (*Config) GetLogLevel ¶
GetLogLevel returns the log level set in Opssight Spec Config
func (*Config) StartWatch ¶
StartWatch will start watching the ArtifactoryPerceiver configuration file and call the passed handler function when the configuration file has changed
type PerceiverConfig ¶
type PerceiverConfig struct { AnnotationIntervalSeconds int DumpIntervalMinutes int Port int Artifactory ArtifactoryPerceiverConfig }
PerceiverConfig contains general Perceiver config
type PerceptorConfig ¶
PerceptorConfig contains Perceptor config
Click to show internal directories.
Click to hide internal directories.