Versions in this module Expand all Collapse all v1 v1.0.1 Feb 21, 2024 v1.0.0 Feb 21, 2024 Changes in this version + func GetExecutionCluster(scope promutils.Scope, kubeConfig, master string, ...) executioncluster_interface.ClusterInterface + func NewExecutionTargetProvider() interfaces.ExecutionTargetProvider + func NewInCluster(initializationErrorCounter prometheus.Counter, kubeConfig, master string) (interfaces.ClusterInterface, error) + func NewListTargets(initializationErrorCounter prometheus.Counter, ...) (interfaces.ListTargetsInterface, error) + func NewRandomClusterSelector(listTargets interfaces.ListTargetsInterface, config runtime.Configuration, ...) (interfaces.ClusterInterface, error) + type InCluster struct + func (i InCluster) GetAllTargets() map[string]*executioncluster.ExecutionTarget + func (i InCluster) GetTarget(ctx context.Context, spec *executioncluster.ExecutionTargetSpec) (*executioncluster.ExecutionTarget, error) + func (i InCluster) GetValidTargets() map[string]*executioncluster.ExecutionTarget + type RandomClusterSelector struct + func (s RandomClusterSelector) GetTarget(ctx context.Context, spec *executioncluster.ExecutionTargetSpec) (*executioncluster.ExecutionTarget, error)