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 ¶
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.
Click to show internal directories.
Click to hide internal directories.