agentpath

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package agentpath holds the one path rule the agent and the server share: which directories "myownpki-agent deployment add" refuses to make writable (docs/PHASE3.md section 11.2).

It imports only the standard library, so the server's Add host assistant can use the agent's own list without linking the agent (and its ACME client).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Broad

func Broad(p string) bool

Broad reports whether p is a system root, or something below /proc, /sys or /dev: a directory the agent must not be allowed to write.

func IsLib

func IsLib(p string) bool

IsLib reports whether p is /lib, /lib64, /libx32 and the like (cleaned).

Types

This section is empty.

Jump to

Keyboard shortcuts

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