Documentation ¶
Index ¶
- type AppRecommendations
- type ClusterRecommendations
- type ContainerRecommendations
- func (c *ContainerRecommendations) CreatePodRecommendations(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) CreateControllerRecommendations(controllerRecommendations []*ApiRecommendations.ControllerRecommendation) error
- func (c *ControllerRecommendations) ListControllerRecommendations(in *ApiRecommendations.ListControllerRecommendationsRequest) ([]*ApiRecommendations.ControllerRecommendation, error)
- type NamespaceRecommendations
- type NodeRecommendations
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppRecommendations ¶
type AppRecommendations struct {
InfluxDBConfig InternalInflux.Config
}
func NewAppRecommendationsWithConfig ¶
func NewAppRecommendationsWithConfig(config InternalInflux.Config) *AppRecommendations
func (*AppRecommendations) CreateRecommendations ¶
func (c *AppRecommendations) CreateRecommendations(recommendations []*ApiRecommendations.ApplicationRecommendation) error
func (*AppRecommendations) ListRecommendations ¶
func (c *AppRecommendations) ListRecommendations(in *ApiRecommendations.ListApplicationRecommendationsRequest) ([]*ApiRecommendations.ApplicationRecommendation, error)
type ClusterRecommendations ¶
type ClusterRecommendations struct {
InfluxDBConfig InternalInflux.Config
}
func NewClusterRecommendationsWithConfig ¶
func NewClusterRecommendationsWithConfig(config InternalInflux.Config) *ClusterRecommendations
func (*ClusterRecommendations) CreateRecommendations ¶
func (c *ClusterRecommendations) CreateRecommendations(recommendations []*ApiRecommendations.ClusterRecommendation) error
func (*ClusterRecommendations) ListRecommendations ¶
func (c *ClusterRecommendations) ListRecommendations(in *ApiRecommendations.ListClusterRecommendationsRequest) ([]*ApiRecommendations.ClusterRecommendation, error)
type ContainerRecommendations ¶
type ContainerRecommendations struct {
InfluxDBConfig InternalInflux.Config
}
Container Implements ContainerOperation interface
func NewContainerRecommendationsWithConfig ¶
func NewContainerRecommendationsWithConfig(config InternalInflux.Config) *ContainerRecommendations
func (*ContainerRecommendations) CreatePodRecommendations ¶
func (c *ContainerRecommendations) CreatePodRecommendations(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 NewControllerRecommendationsWithConfig ¶
func NewControllerRecommendationsWithConfig(config InternalInflux.Config) *ControllerRecommendations
func (*ControllerRecommendations) CreateControllerRecommendations ¶
func (c *ControllerRecommendations) CreateControllerRecommendations(controllerRecommendations []*ApiRecommendations.ControllerRecommendation) error
func (*ControllerRecommendations) ListControllerRecommendations ¶
func (c *ControllerRecommendations) ListControllerRecommendations(in *ApiRecommendations.ListControllerRecommendationsRequest) ([]*ApiRecommendations.ControllerRecommendation, error)
type NamespaceRecommendations ¶
type NamespaceRecommendations struct {
InfluxDBConfig InternalInflux.Config
}
func NewNamespaceRecommendationsWithConfig ¶
func NewNamespaceRecommendationsWithConfig(config InternalInflux.Config) *NamespaceRecommendations
func (*NamespaceRecommendations) CreateRecommendations ¶
func (c *NamespaceRecommendations) CreateRecommendations(recommendations []*ApiRecommendations.NamespaceRecommendation) error
func (*NamespaceRecommendations) ListRecommendations ¶
func (c *NamespaceRecommendations) ListRecommendations(in *ApiRecommendations.ListNamespaceRecommendationsRequest) ([]*ApiRecommendations.NamespaceRecommendation, error)
type NodeRecommendations ¶
type NodeRecommendations struct {
InfluxDBConfig InternalInflux.Config
}
func NewNodeRecommendationsWithConfig ¶
func NewNodeRecommendationsWithConfig(config InternalInflux.Config) *NodeRecommendations
func (*NodeRecommendations) CreateRecommendations ¶
func (c *NodeRecommendations) CreateRecommendations(recommendations []*ApiRecommendations.NodeRecommendation) error
func (*NodeRecommendations) ListRecommendations ¶
func (c *NodeRecommendations) ListRecommendations(in *ApiRecommendations.ListNodeRecommendationsRequest) ([]*ApiRecommendations.NodeRecommendation, error)
Click to show internal directories.
Click to hide internal directories.