Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Recommender ¶
type Recommender struct { // ResourceSelector indicates which resources(e.g. a set of Deployments) are accepted for plugin. // Override the accepted resources from recommender's interface AcceptedResourceSelectors []analysisapi.ResourceSelector `json:"acceptedResources"` // Name should be existed in all predefined recommenders Name string `json:"name"` // Override Recommender configs // +optional Config map[string]string `json:"config,omitempty"` }
type RecommenderConfiguration ¶
type RecommenderConfiguration struct { metav1.TypeMeta `json:",inline"` // Recommender list Recommenders []Recommender `json:"recommenders"` // Recommender Plugin list RecommenderPlugins []RecommenderPlugin `json:"recommenderPlugins"` }
type RecommenderPlugin ¶
type RecommenderPlugin struct { // Name is the name for this plugin Name string `json:"name"` // Priority control the sequence when execute plugins Priority int32 `json:"priority,omitempty"` // ServerConfig ServerConfig ServerConfig `json:"serverConfig,omitempty"` // Override Recommender configs // +optional Config map[string]string `json:"config,omitempty"` }
type ServerConfig ¶
type ServerConfig struct {
UrlPrefix string `json:"urlPrefix,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.