Documentation ¶
Index ¶
Constants ¶
View Source
const (
CollisionCountPatch = `{
"status" : {
"templateStatuses" : %s
}
}`
)
Variables ¶
This section is empty.
Functions ¶
func GetServiceForExperiment ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is the controller implementation for Experiment resources
func NewController ¶
func NewController(cfg ControllerConfig) *Controller
NewController returns a new experiment controller
type ControllerConfig ¶
type ControllerConfig struct { KubeClientSet kubernetes.Interface ArgoProjClientset clientset.Interface ReplicaSetInformer appsinformers.ReplicaSetInformer ExperimentsInformer informers.ExperimentInformer AnalysisRunInformer informers.AnalysisRunInformer AnalysisTemplateInformer informers.AnalysisTemplateInformer ClusterAnalysisTemplateInformer informers.ClusterAnalysisTemplateInformer ServiceInformer informersv1.ServiceInformer ResyncPeriod time.Duration RolloutWorkQueue workqueue.RateLimitingInterface ExperimentWorkQueue workqueue.RateLimitingInterface MetricsServer *metrics.MetricsServer Recorder record.EventRecorder }
ControllerConfig describes the data required to instantiate a new analysis controller
Click to show internal directories.
Click to hide internal directories.