function

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package function defines the seams kas injects into the CD Functions library. See docs/specs/functions-autoflow-module.md.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K8sRoundTripperFactory

type K8sRoundTripperFactory func(agentID int64) (http.RoundTripper, error)

K8sRoundTripperFactory proxies Kubernetes API requests to the cluster behind agentID.

type TokenResolver

type TokenResolver func() (string, error)

TokenResolver returns the GitLab token a Function authenticates with. Resolving it here rather than taking it as a step input keeps a real credential out of the Starlark program and the workflow's inputs.

Jump to

Keyboard shortcuts

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