Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateToolSet ¶
CreateToolSet creates a file toolset using the filesystem implementation.
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{"file": file.Creator})
Types ¶
type ToolSet ¶
type ToolSet struct {
// contains filtered or unexported fields
}
ToolSet exposes the single-file operations from the filesystem toolset.
func New ¶
func New(filesystemToolSet *filesystem.ToolSet) *ToolSet
New creates a file toolset backed by filesystemToolSet.
func (*ToolSet) Instructions ¶
Click to show internal directories.
Click to hide internal directories.