Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(opts ...Option) transform.Transformer
New creates a root transformer using the specified options.
func NewDriverTransformer ¶ added in v1.16.0
func NewDriverTransformer(opts ...DriverOption) transform.Transformer
NewDriverTransformer creates a transformer for transforming driver specifications.
Types ¶
type DriverOption ¶ added in v1.16.0
type DriverOption func(*driverOptions)
func WithDevRoot ¶ added in v1.16.0
func WithDevRoot(root string) DriverOption
func WithDriverRoot ¶ added in v1.16.0
func WithDriverRoot(root string) DriverOption
func WithTargetDevRoot ¶ added in v1.16.0
func WithTargetDevRoot(root string) DriverOption
func WithTargetDriverRoot ¶ added in v1.16.0
func WithTargetDriverRoot(root string) DriverOption
type Option ¶
type Option func(*builder)
Option defines a functional option for configuring a transormer.
func WithRelativeTo ¶
WithRelativeTo sets whether the specified root is relative to the host or container.
func WithTargetRoot ¶
WithTargetRoot sets the (to) target root for the root transformer.
Click to show internal directories.
Click to hide internal directories.