interfaces

package
v1.1.82 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterInterface

type ClusterInterface interface {
	GetTargetInterface
	ListTargetsInterface
}

Interface for the Execution Cluster

type ExecutionTargetProvider

type ExecutionTargetProvider interface {
	GetExecutionTarget(initializationErrorCounter prometheus.Counter, k8sCluster interfaces.ClusterConfig) (*executioncluster.ExecutionTarget, error)
}

type GetTargetInterface added in v0.6.80

type GetTargetInterface interface {
	GetTarget(context.Context, *executioncluster.ExecutionTargetSpec) (*executioncluster.ExecutionTarget, error)
}

type ListTargetsInterface added in v0.6.80

type ListTargetsInterface interface {
	GetAllTargets() map[string]*executioncluster.ExecutionTarget
	// Returns all enabled targets.
	GetValidTargets() map[string]*executioncluster.ExecutionTarget
}

Jump to

Keyboard shortcuts

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