Documentation ¶
Index ¶
- func NewContainerRecommendationsWithConfig(config InternalInflux.Config) DaoRecommendationTypes.ContainerRecommendationsDAO
- func NewControllerRecommendationsWithConfig(config InternalInflux.Config) DaoRecommendationTypes.ControllerRecommendationsDAO
- type ContainerRecommendations
- func (c *ContainerRecommendations) AddPodRecommendations(in *ApiRecommendations.CreatePodRecommendationsRequest) error
- func (c *ContainerRecommendations) ListAvailablePodRecommendations(in *ApiRecommendations.ListPodRecommendationsRequest) ([]*ApiRecommendations.PodRecommendation, error)
- func (c *ContainerRecommendations) ListPodRecommendations(in *ApiRecommendations.ListPodRecommendationsRequest) ([]*ApiRecommendations.PodRecommendation, error)
- type ControllerRecommendations
- func (c *ControllerRecommendations) AddControllerRecommendations(controllerRecommendations []*ApiRecommendations.ControllerRecommendation) error
- func (c *ControllerRecommendations) ListControllerRecommendations(in *ApiRecommendations.ListControllerRecommendationsRequest) ([]*ApiRecommendations.ControllerRecommendation, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContainerRecommendationsWithConfig ¶
func NewContainerRecommendationsWithConfig(config InternalInflux.Config) DaoRecommendationTypes.ContainerRecommendationsDAO
func NewControllerRecommendationsWithConfig ¶
func NewControllerRecommendationsWithConfig(config InternalInflux.Config) DaoRecommendationTypes.ControllerRecommendationsDAO
Types ¶
type ContainerRecommendations ¶
type ContainerRecommendations struct {
InfluxDBConfig InternalInflux.Config
}
Container Implements ContainerOperation interface
func (*ContainerRecommendations) AddPodRecommendations ¶
func (c *ContainerRecommendations) AddPodRecommendations(in *ApiRecommendations.CreatePodRecommendationsRequest) error
AddPodRecommendations add pod recommendations to database
func (*ContainerRecommendations) ListAvailablePodRecommendations ¶
func (c *ContainerRecommendations) ListAvailablePodRecommendations(in *ApiRecommendations.ListPodRecommendationsRequest) ([]*ApiRecommendations.PodRecommendation, error)
func (*ContainerRecommendations) ListPodRecommendations ¶
func (c *ContainerRecommendations) ListPodRecommendations(in *ApiRecommendations.ListPodRecommendationsRequest) ([]*ApiRecommendations.PodRecommendation, error)
ListPodRecommendations list pod recommendations
type ControllerRecommendations ¶
type ControllerRecommendations struct {
InfluxDBConfig InternalInflux.Config
}
func (*ControllerRecommendations) AddControllerRecommendations ¶
func (c *ControllerRecommendations) AddControllerRecommendations(controllerRecommendations []*ApiRecommendations.ControllerRecommendation) error
func (*ControllerRecommendations) ListControllerRecommendations ¶
func (c *ControllerRecommendations) ListControllerRecommendations(in *ApiRecommendations.ListControllerRecommendationsRequest) ([]*ApiRecommendations.ControllerRecommendation, error)
Click to show internal directories.
Click to hide internal directories.