events

package
v0.0.0-...-8269f64 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamespaceLabel string = "namespace"
	LimitMemMetric string = "stonesoup_mem_limit_throttle_total"
	LimitCPUMetric string = "stonesoup_cpu_limit_throttle_total"
	ReqMemMetric   string = "stonesoup_mem_req_throttle_total"
	ReqCPUMetric   string = "stonesoup_cpu_req_throttle_total"
	PodCountMetric string = "stonesoup_pod_count_throttle_total"
)

Variables

This section is empty.

Functions

func InitPrometheus

func InitPrometheus(client client.Client, c *Controller)

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(cfg *rest.Config) (*Controller, error)

func NewControllerForTest

func NewControllerForTest() *Controller

func (*Controller) RegisterEventInformer

func (c *Controller) RegisterEventInformer(namespace string) error

func (*Controller) Start

func (c *Controller) Start(ctx context.Context) error

func (*Controller) UnregisterEventInformer

func (c *Controller) UnregisterEventInformer(namespace string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL