Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRDReport ¶
type CRDReport struct { Deps Ctlr *Controller VppCache api.VppCache K8sCache api.K8sCache Report api.Report }
CRDReport implements generation of reports to CRD
func (*CRDReport) GenerateCRDReport ¶
func (cr *CRDReport) GenerateCRDReport()
GenerateCRDReport updates the CRD status in Kubernetes with the current status from the sfc-controller
type Controller ¶
type Controller struct { Deps CrdClient *crdClientSet.Clientset APIClient *apiextcs.Clientset CollectionInterval time.Duration // contains filtered or unexported fields }
Controller struct defines how a controller should encapsulate logging, client connectivity, informing (list and watching) queueing, and handling of resource changes
func (*Controller) HasSynced ¶
func (c *Controller) HasSynced() bool
HasSynced indicates when the controller is synced up with the K8s.
func (*Controller) Init ¶
func (c *Controller) Init() error
Init performs the initialization of Telemetry Controller
func (*Controller) Run ¶
func (c *Controller) Run(ctx <-chan struct{})
Run this in the plugin_crd_impl, it's the controller loop
Click to show internal directories.
Click to hide internal directories.