impl

package
v0.6.80 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2022 License: Apache-2.0 Imports: 23 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExecutionTargetProvider added in v0.6.80

func NewExecutionTargetProvider() interfaces.ExecutionTargetProvider

func NewInCluster

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

func NewListTargets added in v0.6.80

func NewListTargets(initializationErrorCounter prometheus.Counter, executionTargetProvider interfaces.ExecutionTargetProvider,
	clusterConfig runtime.ClusterConfiguration) (interfaces.ListTargetsInterface, error)

Types

type InCluster

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

func (InCluster) GetAllTargets added in v0.6.80

func (i InCluster) GetAllTargets() map[string]*executioncluster.ExecutionTarget

func (InCluster) GetValidTargets added in v0.6.80

func (i InCluster) GetValidTargets() map[string]*executioncluster.ExecutionTarget

type RandomClusterSelector

type RandomClusterSelector struct {
	interfaces.ListTargetsInterface
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

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