Documentation ¶
Index ¶
- Constants
- type Controller
- func (c *Controller) CreateRecommendationObject(ctx context.Context, analytics *analysisv1alph1.Analytics, ...) *analysisv1alph1.Recommendation
- func (c *Controller) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (c *Controller) SetupWithManager(mgr ctrl.Manager) error
- func (c *Controller) UpdateStatus(ctx context.Context, analytics *analysisv1alph1.Analytics, ...)
- type ObjectIdentity
Constants ¶
View Source
const (
RecommendationMissionMessageSuccess = "Success"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { client.Client Scheme *runtime.Scheme RestMapper meta.RESTMapper Recorder record.EventRecorder K8SVersion *version.Version ScaleClient scale.ScalesGetter PredictorMgr predictormgr.Manager Provider providers.History ConfigSet *analysisv1alph1.ConfigSet // contains filtered or unexported fields }
func (*Controller) CreateRecommendationObject ¶ added in v0.5.0
func (c *Controller) CreateRecommendationObject(ctx context.Context, analytics *analysisv1alph1.Analytics, target corev1.ObjectReference, id ObjectIdentity) *analysisv1alph1.Recommendation
func (*Controller) SetupWithManager ¶
func (c *Controller) SetupWithManager(mgr ctrl.Manager) error
func (*Controller) UpdateStatus ¶ added in v0.2.0
func (c *Controller) UpdateStatus(ctx context.Context, analytics *analysisv1alph1.Analytics, newStatus *analysisv1alph1.AnalyticsStatus)
Click to show internal directories.
Click to hide internal directories.