Documentation ¶
Index ¶
- type Container
- func (container *Container) AddPodRecommendations(podRecommendations []*datahub_v1alpha1.PodRecommendation) error
- func (container *Container) ListAvailablePodRecommendations(in *datahub_v1alpha1.ListPodRecommendationsRequest) ([]*datahub_v1alpha1.PodRecommendation, error)
- func (container *Container) ListPodRecommendations(podNamespacedName *datahub_v1alpha1.NamespacedName, ...) ([]*datahub_v1alpha1.PodRecommendation, error)
- type Controller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct {
InfluxDBConfig influxdb_repository.Config
}
Container Implements ContainerOperation interface
func (*Container) AddPodRecommendations ¶
func (container *Container) AddPodRecommendations(podRecommendations []*datahub_v1alpha1.PodRecommendation) error
AddPodRecommendations add pod recommendations to database
func (*Container) ListAvailablePodRecommendations ¶ added in v0.3.8
func (container *Container) ListAvailablePodRecommendations(in *datahub_v1alpha1.ListPodRecommendationsRequest) ([]*datahub_v1alpha1.PodRecommendation, error)
func (*Container) ListPodRecommendations ¶
func (container *Container) ListPodRecommendations(podNamespacedName *datahub_v1alpha1.NamespacedName, queryCondition *datahub_v1alpha1.QueryCondition, kind datahub_v1alpha1.Kind) ([]*datahub_v1alpha1.PodRecommendation, error)
ListPodRecommendations list pod recommendations
type Controller ¶ added in v0.3.8
type Controller struct {
InfluxDBConfig influxdb_repository.Config
}
func (*Controller) AddControllerRecommendations ¶ added in v0.3.8
func (c *Controller) AddControllerRecommendations(controllerRecommendations []*datahub_v1alpha1.ControllerRecommendation) error
func (*Controller) ListControllerRecommendations ¶ added in v0.3.8
func (c *Controller) ListControllerRecommendations(controllerNamespacedName *datahub_v1alpha1.NamespacedName, queryCondition *datahub_v1alpha1.QueryCondition) ([]*datahub_v1alpha1.ControllerRecommendation, error)
Click to show internal directories.
Click to hide internal directories.