impl

package
v0.0.0-...-267b159 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: Apache-2.0 Imports: 22 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