Documentation
¶
Overview ¶
Package noop provides a NoopAdapter that always Detect()s true, Renders no FileOps, and Apply()s nothing. Used as a registry placeholder in tests and as the default adapter set in M0 before M1+ adds real ones.
Index ¶
- type Adapter
- func (a *Adapter) Apply([]adapter.FileOp, adapter.DestWriter) error
- func (a *Adapter) Capabilities() adapter.Capability
- func (a *Adapter) Detect() (bool, error)
- func (a *Adapter) Ingest(adapter.Scope, string) (source.Canonical, error)
- func (a *Adapter) KeyMergeStrategy() string
- func (a *Adapter) Name() string
- func (a *Adapter) Render(secrets.Resolved, adapter.Scope, string) ([]adapter.FileOp, []adapter.Skip, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
AdapterName string // overridable for tests
}
func (*Adapter) Capabilities ¶
func (a *Adapter) Capabilities() adapter.Capability
func (*Adapter) KeyMergeStrategy ¶
Click to show internal directories.
Click to hide internal directories.