Documentation
¶
Index ¶
- func GetWorkingDirectory(conf *v1.ConfigSpec, componentType string, component string) string
- func PrepareComponent(ctx context.Context, componentPath string, dstDir string, ...) error
- func PrepareComponentBySpec(ctx context.Context, componentPath string, dstDir string, ...) error
- func ReadComponent(r io.Reader) (*v1.Component, error)
- type PrepareComponentOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetWorkingDirectory ¶ added in v0.2.0
func GetWorkingDirectory(conf *v1.ConfigSpec, componentType string, component string) string
func PrepareComponent ¶ added in v0.2.1
func PrepareComponentBySpec ¶ added in v0.2.1
func PrepareComponentBySpec(ctx context.Context, componentPath string, dstDir string, spec v1.ComponentSpec, options PrepareComponentOptions) error
Types ¶
type PrepareComponentOptions ¶ added in v0.2.1
type PrepareComponentOptions struct {
DryRun bool
}
Click to show internal directories.
Click to hide internal directories.