Documentation
¶
Overview ¶
Package api provides HTTP API tools with JavaScript template expansion. Import api/client instead to supply an expander without linking JavaScript.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateToolSet ¶ added in v1.60.0
CreateToolSet is used by the tools registry.
func Creator ¶ added in v1.132.0
func Creator(_ context.Context, toolset latest.Toolset, _ string, runConfig *config.RuntimeConfig, _ string) (tools.ToolSet, error)
Creator builds this toolset from its YAML declaration. It matches teamloader.ToolsetCreator so it can be registered directly:
teamloader.NewToolsetRegistry(map[string]teamloader.ToolsetCreator{"api": api.Creator})
Types ¶
type Option ¶ added in v1.65.0
func WithAllowPrivateIPs ¶ added in v1.65.0
func WithTimeout ¶ added in v1.65.0
Click to show internal directories.
Click to hide internal directories.