Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddCommand ¶
NewAddCommand creates a command to add additional resources to a component descriptor.
Types ¶
type InternalSourceOptions ¶
type InternalSourceOptions struct {
SourceOptions
Path string
}
InternalSourceOptions contains the source options as well as the context path where to look for input data.
type Options ¶
type Options struct {
componentarchive.BuilderOptions
TemplateOptions template.Options
// SourceObjectPaths defines the path to the source defined as yaml or json.
// either components can be added by a yaml resource template or by input flags
SourceObjectPaths []string
// SourceObjectPath defines the path to the resources defined as yaml or json
// DEPRECATED
SourceObjectPath string
}
Options defines the options that are used to add resources to a component descriptor
Click to show internal directories.
Click to hide internal directories.