Documentation
¶
Index ¶
- type Generator
- type PointDistribution
- func (dist PointDistribution) ApplyToFloat64(total float64) []float64
- func (dist PointDistribution) ApplyToInt64(total int64) []int64
- func (dist PointDistribution) ApplyToResources(total corev1.ResourceList) v1alpha1.ResourceDistribution
- func (dist PointDistribution) ApplyToTimeline(startingTime metav1.Time, total metav1.Duration) v1alpha1.Timeline
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PointDistribution ¶
type PointDistribution []float64
func GetPointDistribution ¶
func GetPointDistribution(nodes int64, spec *v1alpha1.DistributionSpec) PointDistribution
func NewPointDistribution ¶
func NewPointDistribution(nodes int64, distgenerator Generator) PointDistribution
func (PointDistribution) ApplyToFloat64 ¶
func (dist PointDistribution) ApplyToFloat64(total float64) []float64
func (PointDistribution) ApplyToInt64 ¶
func (dist PointDistribution) ApplyToInt64(total int64) []int64
func (PointDistribution) ApplyToResources ¶
func (dist PointDistribution) ApplyToResources(total corev1.ResourceList) v1alpha1.ResourceDistribution
func (PointDistribution) ApplyToTimeline ¶
Click to show internal directories.
Click to hide internal directories.