impl

package
v1.0.15 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExecutionTargetProvider

func NewExecutionTargetProvider() interfaces.ExecutionTargetProvider

func NewInCluster

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

func NewListTargets

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

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

func (InCluster) GetValidTargets

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