execution

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package execution defines operator-owned assignment routing boundaries.

Index

Constants

View Source
const PoolKindPrefix = "pool-"

Variables

This section is empty.

Functions

func IsPoolKind

func IsPoolKind(kind string) bool

func Kind

func Kind(name string) (string, error)

Types

type Catalog

type Catalog struct {
	// contains filtered or unexported fields
}

Catalog is immutable after construction and never contains credentials.

func NewCatalog

func NewCatalog(config map[string]Pool) (*Catalog, error)

func (*Catalog) AllowsRoute

func (c *Catalog) AllowsRoute(kind, tenant, agent string) bool

AllowsRoute leaves existing trusted fleets unchanged. Reserved pool kinds require an explicit catalog entry and exact membership at every boundary.

func (*Catalog) Kinds

func (c *Catalog) Kinds() []string

func (*Catalog) Lookup

func (c *Catalog) Lookup(kind string) (Pool, bool)

func (*Catalog) Select

func (c *Catalog) Select(name, framework string, agents []string) (string, error)

type Pool

type Pool struct {
	RunnerKind string   `json:"runner_kind"`
	Tenants    []string `json:"tenants"`
	Agents     []string `json:"agents"`
}

Pool grants one independently authenticated fleet an exact set of tenants and agents. It is not a unique workload identity or process sandbox.

Jump to

Keyboard shortcuts

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