impl

package
v0.6.49 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2021 License: Apache-2.0 Imports: 23 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInCluster

func NewInCluster(initializationErrorCounter prometheus.Counter, kubeConfig, master string) (interfaces.ClusterInterface, error)

func NewRandomClusterSelector

func NewRandomClusterSelector(initializationErrorCounter prometheus.Counter, config runtime.Configuration, executionTargetProvider interfaces.ExecutionTargetProvider, db repositories.RepositoryInterface) (interfaces.ClusterInterface, error)

Types

type InCluster

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

func (InCluster) GetAllValidTargets

func (i InCluster) GetAllValidTargets() []executioncluster.ExecutionTarget

type RandomClusterSelector

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

Implementation of Random cluster selector Selects cluster based on weights and domains.

func (RandomClusterSelector) GetAllValidTargets

func (s RandomClusterSelector) GetAllValidTargets() []executioncluster.ExecutionTarget

Jump to

Keyboard shortcuts

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