Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transformer ¶
type Transformer interface {
Transform(*specs.Spec) error
}
Transformer defines the API for applying arbitrary transforms to a spec in-place
func NewNoopTransformer ¶
func NewNoopTransformer() Transformer
NewNoopTransformer returns a no-op transformer
func NewRootTransformer ¶
func NewRootTransformer(root string, targetRoot string) Transformer
NewRootTransformer creates a new transformer for modifying the root for paths in a CDI spec. If both roots are identical, this tranformer is a no-op.
Click to show internal directories.
Click to hide internal directories.