Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuxiliaryConfig ¶
type AuxiliaryConfig struct { Namespace string PodPerceiverServiceAccountName string ImagePerceiverServiceAccountName string IsOpenshift bool }
func ReadAuxiliaryConfig ¶
func ReadAuxiliaryConfig(auxConfigPath string) *AuxiliaryConfig
type Config ¶
type Config struct { // general protoform config MasterURL string KubeConfigPath string // Perceptor config PerceptorPort int32 // perceivers config AnnotationIntervalSeconds int DumpIntervalMinutes int ImagePerceiverPort int32 PodPerceiverPort int32 LogLevel string AuxConfig *AuxiliaryConfig }
func ReadConfig ¶
func (*Config) ImagePerceiverConfig ¶
func (pc *Config) ImagePerceiverConfig() model.ImagePerceiverConfigMap
func (*Config) PerceptorConfig ¶
func (pc *Config) PerceptorConfig() model.PerceptorConfigMap
func (*Config) PodPerceiverConfig ¶
func (pc *Config) PodPerceiverConfig() model.PodPerceiverConfigMap
type Kube ¶
type Kube struct { Config *Config // model objects Perceptor *model.Perceptor PodPerceiver *model.PodPerceiver Prometheus *model.Prometheus // Kubernetes resources ReplicationControllers []*v1.ReplicationController ConfigMaps []*v1.ConfigMap Services []*v1.Service Secrets []*v1.Secret }
func (*Kube) GetConfigMaps ¶
func (*Kube) GetReplicationControllers ¶
func (kube *Kube) GetReplicationControllers() []*v1.ReplicationController
func (*Kube) GetSecrets ¶
func (*Kube) GetServices ¶
type Openshift ¶
type Openshift struct { Config *Config Kube *Kube ReplicationControllers []*v1.ReplicationController ConfigMaps []*v1.ConfigMap Services []*v1.Service Secrets []*v1.Secret }
func NewOpenshift ¶
func (*Openshift) GetConfigMaps ¶
func (*Openshift) GetReplicationControllers ¶
func (os *Openshift) GetReplicationControllers() []*v1.ReplicationController
func (*Openshift) GetSecrets ¶
func (*Openshift) GetServices ¶
Click to show internal directories.
Click to hide internal directories.