compute

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package compute defines shared compute backend contracts and configuration policy.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateReconcileRate

func ValidateReconcileRate(field string, disabled bool, interval *durationpb.Duration) error

ValidateReconcileRate checks the interval used by an enabled reconciler.

Types

type Backend

type Backend struct {
	BackendParameters map[string]bool
}

func (Backend) BackendParameterKeys

func (b Backend) BackendParameterKeys() []string

func (Backend) CheckBackendParameterSupport

func (b Backend) CheckBackendParameterSupport(task *tes.Task) error

func (Backend) Close

func (b Backend) Close()

func (Backend) WriteEvent

func (b Backend) WriteEvent(ctx context.Context, ev *events.Event) error

WriteEvent does nothing and returns nil.

type Computer

type Computer interface {
	events.Writer
	CheckBackendParameterSupport(task *tes.Task) error
}

Directories

Path Synopsis
Package aws_batch contains code for accessing compute resources via AWS Batch.
Package aws_batch contains code for accessing compute resources via AWS Batch.
Package gcp_batch contains code for accessing compute resources via Google Batch.
Package gcp_batch contains code for accessing compute resources via Google Batch.
hpc
Package hpc submits and tracks jobs through HPC scheduler commands.
Package hpc submits and tracks jobs through HPC scheduler commands.
gridengine
Package gridengine contains code for accessing compute resources via Open Grid Engine.
Package gridengine contains code for accessing compute resources via Open Grid Engine.
htcondor
Package htcondor contains code for accessing compute resources via HTCondor.
Package htcondor contains code for accessing compute resources via HTCondor.
pbs
Package pbs contains code for accessing compute resources via PBS/Torque.
Package pbs contains code for accessing compute resources via PBS/Torque.
slurm
Package slurm contains code for accessing compute resources via Slurm.
Package slurm contains code for accessing compute resources via Slurm.
Package kubernetes contains code for accessing compute resources via the Kubernetes v1 Batch API.
Package kubernetes contains code for accessing compute resources via the Kubernetes v1 Batch API.
storageplan
Package storageplan resolves native Kubernetes storage objects for one task.
Package storageplan resolves native Kubernetes storage objects for one task.
Package local contains code for accessing compute resources via the local computer, for Funnel development and debugging.
Package local contains code for accessing compute resources via the local computer, for Funnel development and debugging.
Package noop contains a compute backend that does nothing, for testing purposes.
Package noop contains a compute backend that does nothing, for testing purposes.
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.

Jump to

Keyboard shortcuts

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