root

package
v1.17.2 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

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

func WithRelativeTo(relativeTo string) Option

WithRelativeTo sets whether the specified root is relative to the host or container.

func WithRoot

func WithRoot(root string) Option

WithRoot sets the (from) root for the root transformer.

func WithTargetRoot

func WithTargetRoot(root string) Option

WithTargetRoot sets the (to) target root for the root transformer.

Jump to

Keyboard shortcuts

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