Documentation ¶
Index ¶
- type Container
- func (container *Container) AddPodRecommendations(in *datahub_v1alpha1.CreatePodRecommendationsRequest) error
- func (container *Container) ListAvailablePodRecommendations(in *datahub_v1alpha1.ListPodRecommendationsRequest) ([]*datahub_v1alpha1.PodRecommendation, error)
- func (container *Container) ListPodRecommendations(in *datahub_v1alpha1.ListPodRecommendationsRequest) ([]*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(in *datahub_v1alpha1.CreatePodRecommendationsRequest) 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(in *datahub_v1alpha1.ListPodRecommendationsRequest) ([]*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(in *datahub_v1alpha1.ListControllerRecommendationsRequest) ([]*datahub_v1alpha1.ControllerRecommendation, error)
Click to show internal directories.
Click to hide internal directories.