const ( PluginName = "RandomSamplingStrategy" RandomSamplingStrategyName = "random" )
func NewRandomSamplingStrategy(pluginConfig config.PluginConfig, clusterAgentServices pipeline.ClusterAgentServices) (pipeline.Plugin, error)
type RandomSamplingStrategy struct {
// contains filtered or unexported fields
}
func (rs *RandomSamplingStrategy) Name() string
func (rs *RandomSamplingStrategy) SampleNodes(ctx pipeline.SchedulingContext, podInfo *pipeline.PodInfo, sampleSize int) ([]*pipeline.NodeInfo, pipeline.Status)
func (rs *RandomSamplingStrategy) StrategyName() string