actions

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package actions wires concrete Docker/Colima operations into the generic tool Registry and supplies the entity resolver. Keeping this separate lets the tools package stay dependency-free and unit-testable.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(dc *docker.Client, envMask, logMask func() secrets.Mode) *tools.Registry

New builds the registry with all builtin tools registered. envMask and logMask supply the current masking modes (from settings) so container.inspect and container.logs can redact secrets in their output; both are read per call, not captured once. A non-consented (agent / MCP) caller is floored to at least MaskSensitive regardless of the setting, so an automated client never receives fully-raw env or logs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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