scorer

package
v0.0.0-...-e0af2a1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2020 License: GPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hints

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

type Patch

type Patch struct {
	Op    string      `json:"op,inline"`
	Path  string      `json:"path,inline"`
	Value interface{} `json:"value"`
}

type Scorer

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

func NewScorer

func NewScorer(
	parentCtx context.Context,
	lec componentbaseconfig.LeaderElectionConfiguration,
	clientset clientset.Interface,
	outConfigMapName string,
	namespace string,
	refreshInterval time.Duration,
	spotAdvisor *spotadvisor.SpotAdvisor,
	asgDiscoverer *aws.ASGDiscoverer,
	nodesDistribution *nodes.NodesDistribution,
	pricer *aws.Pricer,
	config config.ScorerConfiguration,
) *Scorer

func (*Scorer) Exit

func (s *Scorer) Exit()

func (*Scorer) Run

func (s *Scorer) Run()

func (*Scorer) Start

func (s *Scorer) Start() error

func (*Scorer) Stop

func (s *Scorer) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL