Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateCollectorSet ¶
func CreateOrUpdateCollectorSet(collectorset *crv1alpha1.CollectorSet, controller *Controller) ([]int32, error)
CreateOrUpdateCollectorSet creates a replicaset for each collector in a CollectorSet
func DeleteCollectorSet ¶
func DeleteCollectorSet(collectorset *crv1alpha1.CollectorSet, client clientset.Interface) error
DeleteCollectorSet deletes the collectorset.
Types ¶
type Controller ¶
type Controller struct { *collectorsetclient.Client CollectorSetScheme *runtime.Scheme LogicmonitorClient *client.LMSdkGo Storage storage.Storage CollectorsetConfig *config.Config }
Controller is the Kubernetes controller object for LogicMonitor collectors.
Click to show internal directories.
Click to hide internal directories.