...

Package roundrobinsampling

import "framework/plugins/roundrobinsampling"
Overview
Index

Overview ▾

Constants

const (
    PluginName                     = "RoundRobinSamplingStrategy"
    RoundRobinSamplingStrategyName = "round-robin"
)

func NewRoundRobinSamplingStrategy

func NewRoundRobinSamplingStrategy(pluginConfig config.PluginConfig, clusterAgentServices pipeline.ClusterAgentServices) (pipeline.Plugin, error)

type RoundRobinSamplingStrategy

type RoundRobinSamplingStrategy struct {
    // contains filtered or unexported fields
}

func (*RoundRobinSamplingStrategy) Name

func (rr *RoundRobinSamplingStrategy) Name() string

func (*RoundRobinSamplingStrategy) SampleNodes

func (rr *RoundRobinSamplingStrategy) SampleNodes(ctx pipeline.SchedulingContext, podInfo *pipeline.PodInfo, sampleSize int) ([]*pipeline.NodeInfo, pipeline.Status)

func (*RoundRobinSamplingStrategy) StrategyName

func (rr *RoundRobinSamplingStrategy) StrategyName() string