Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SERVICE_NAME = "compliance"
Functions ¶
This section is empty.
Types ¶
type Compliance ¶
type Compliance struct { Postgres ElasticSearch InspecAgent Service Profiles Delivery Manager Secrets Authz LatestRebuilder ElasticSearchSidecar DataRetention EventConfig FeedConfig Notifications }
Compliance service specific config options
type ConfigManager ¶
type ConfigManager struct {
// contains filtered or unexported fields
}
ConfigManager - configuration manager for the service
func NewConfigManager ¶
func NewConfigManager(configFile string) (*ConfigManager, error)
NewConfigManager - create a new config. There should only be one config for the service.
func (*ConfigManager) Close ¶
func (manager *ConfigManager) Close()
Close - to close out the channel for this object. This should only be called when the service is being shutdown
func (*ConfigManager) GetProjectUpdateConfig ¶
func (manager *ConfigManager) GetProjectUpdateConfig() project_update_lib.ProjectUpdateConfig
GetProjectUpdateConfig - get project update config
func (*ConfigManager) UpdateProjectUpdateConfig ¶
func (manager *ConfigManager) UpdateProjectUpdateConfig(projectUpdateConfig project_update_lib.ProjectUpdateConfig) error
UpdateProjectUpdateConfig - update the project update config
type DataRetention ¶
DataRetention describes data retention policies
type ElasticSearch ¶
ElasticSearch specific options
type ElasticSearchSidecar ¶
type ElasticSearchSidecar struct {
ESSidecarAddress string
}
ElasticSearchSidecar specific options
type EventConfig ¶
type EventConfig struct {
Endpoint string
}
type FeedConfig ¶
type FeedConfig struct { }
type InspecAgent ¶
type InspecAgent struct { JobBufferSize int JobWorkers int SocketPath string BackendCache string AuthnTarget string AutomateFQDN string TmpDir string }
InspecAgent service specific config options
type LatestRebuilder ¶
type Manager ¶
type Manager struct { Host string Port int Endpoint string ManualPollIntervalMinutes int AwsEc2PollIntervalMinutes int AzureVMPollIntervalMinutes int }
Manager service specific config options
type Notifications ¶
type Notifications struct {
Target string
}
Click to show internal directories.
Click to hide internal directories.