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 InternalResourceOptions ¶
type InternalResourceOptions struct {
ResourceOptions
Path string
}
InternalResourceOptions contains options that are used to describe a resource as well as the filepath of the resource that is used to search for the input blob
type Options ¶
type Options struct {
componentarchive.BuilderOptions
TemplateOptions template.Options
// either components can be added by a yaml resource template or by input flags
// ResourceObjectPaths defines the path to the resources defined as yaml or json
// DEPRECATED
ResourceObjectPath string
// ResourceObjectPaths contains paths to read the yaml resource template from.
// If "-" is provided, the resource is read from stdin
ResourceObjectPaths []string
}
Options defines the options that are used to add resources to a component descriptor
type ResourceOptionList ¶
type ResourceOptionList struct {
Resources []ResourceOptions `json:"resources"`
}
ResourceOptionList contains a list of options that are used to describe a resource.
Click to show internal directories.
Click to hide internal directories.