Documentation ¶
Overview ¶
Package inputs implements data inputs used by the application
Index ¶
- func GetAllInputsData(inputs []Input, clusterIDs []string) (map[string]*Cluster, []error)
- func GetAllInputsDataWithMaxGoRoutines(inputs []Input, clusterIDs []string, maxGoRoutines int) (map[string]*Cluster, []error)
- func NewK8sAPIInputBuilder(ctx context.Context, apiVersions []string) *k8sInputBuilder
- func NewMetricsInputBuilder(ctx context.Context, queries []clients.MetricQuery) *metricsInputBuilder
- type Cluster
- type Input
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllInputsData ¶
GetAllInputsData fetches data from given inputs for all given clusters in a concurrent manner
func GetAllInputsDataWithMaxGoRoutines ¶
func GetAllInputsDataWithMaxGoRoutines(inputs []Input, clusterIDs []string, maxGoRoutines int) (map[string]*Cluster, []error)
GetAllInputsDataWithMaxGoRoutines fetches data from given inputs for all given clusters in a concurrent manner. The maxGoRoutines parameter determines concurrency level
func NewK8sAPIInputBuilder ¶
func NewMetricsInputBuilder ¶
func NewMetricsInputBuilder(ctx context.Context, queries []clients.MetricQuery) *metricsInputBuilder
Types ¶
Click to show internal directories.
Click to hide internal directories.