MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / NewConfigAdapter

Function NewConfigAdapter

internal/adapters/adapters.go:62–64  ·  view source on GitHub ↗

NewConfigAdapter creates a new config adapter.

(cfg *config.Config)

Source from the content-addressed store, hash-verified

60
61// NewConfigAdapter creates a new config adapter.
62func NewConfigAdapter(cfg *config.Config) interfaces.Config {
63 return &ConfigAdapter{Config: cfg}
64}
65
66// LoggerAdapter adapts our internal logging to the API interface.
67type LoggerAdapter struct {

Calls

no outgoing calls