root

package
v1.15.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 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.

Types

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