Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInCluster

func NewInCluster(scope promutils.Scope, kubeConfig, master string) (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