Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { Opts ServiceOpts Context context.Context KubernetesClientset *kubernetes.Clientset Ingresses []ServiceIngress Prometheus map[string]*ServicePrometheus // contains filtered or unexported fields }
func NewService ¶
func NewService(opts ServiceOpts) (*Service, error)
func (*Service) PrometheusForDomain ¶
func (s *Service) PrometheusForDomain(domain string) *ServicePrometheus
func (*Service) UpdateIngresses ¶
func (*Service) UpdateThreatMatchMetrics ¶
type ServiceIngress ¶
type ServiceOpts ¶
type ServicePrometheus ¶
type ServicePrometheus struct {
ThreatMatches prometheus.Gauge
}
Click to show internal directories.
Click to hide internal directories.