interfaces

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: 4 Imported by: 0

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

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

type ListTargetsInterface

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