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 *ContivTelemetryController
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 ContivTelemetryController ¶
type ContivTelemetryController struct {
Deps
K8sClient *kubernetes.Clientset
CrdClient *crdClientSet.Clientset
APIClient *apiextcs.Clientset
// contains filtered or unexported fields
}
ContivTelemetryController struct defines how a controller should encapsulate logging, client connectivity, informing (list and watching) queueing, and handling of resource changes
func (*ContivTelemetryController) HasSynced ¶
func (ctc *ContivTelemetryController) HasSynced() bool
HasSynced indicates when the controller is synced up with the K8s.
func (*ContivTelemetryController) Init ¶
func (ctc *ContivTelemetryController) Init() error
Init performs the initialization of ContivTelemetryController
func (*ContivTelemetryController) Run ¶
func (ctc *ContivTelemetryController) 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.