Documentation ¶
Index ¶
- Constants
- Variables
- func NewBlueprintsCommand(ctx context.Context) *cobra.Command
- func NewGetCommand(ctx context.Context) *cobra.Command
- func NewPushCommand(ctx context.Context) *cobra.Command
- func NewRenderCommand(ctx context.Context) *cobra.Command
- func NewValidationCommand(_ context.Context) *cobra.Command
- type RenderOptions
Constants ¶
View Source
const ( OutputResourceDeployItems = "deployitems" OutputResourceSubinstallations = "subinstallations" )
View Source
const ( JSONOut = "json" YAMLOut = "yaml" )
View Source
const DeployItemOutputDir = "deployitems"
View Source
const SubinstallationOutputDir = "subinstallations"
Variables ¶
View Source
var ( OutputResourceAllTerms = sets.NewString("all") OutputResourceDeployItemsTerms = sets.NewString(OutputResourceDeployItems, "di") OutputResourceSubinstallationsTerms = sets.NewString(OutputResourceSubinstallations, "subinst", "inst") )
Functions ¶
func NewBlueprintsCommand ¶
NewBlueprintsCommand creates a new blueprints command.
func NewGetCommand ¶
NewGetCommand shows definitions and their configuration.
func NewPushCommand ¶
NewPushCommand creates a new blueprint command to push blueprints
func NewRenderCommand ¶
NewRenderCommand creates a new local command to render a blueprint instance locally
Types ¶
type RenderOptions ¶ added in v0.3.0
type RenderOptions struct { // BlueprintPath is the path to the directory containing the definition. BlueprintPath string // ComponentDescriptorPath is the path to the component descriptor to be used ComponentDescriptorPath string // AdditionalComponentDescriptorPath is the path to the component descriptor to be used AdditionalComponentDescriptorPath []string // ValueFiles is a list of file paths to value yaml files. ValueFiles []string // OutputFormat defines the format of the output OutputFormat string // OutDir is the directory where the rendered should be written to. OutDir string OCIOptions ociclientopts.Options // contains filtered or unexported fields }
RenderOptions describes the options for the render command.
func (*RenderOptions) AddFlags ¶ added in v0.3.0
func (o *RenderOptions) AddFlags(fs *pflag.FlagSet)
func (*RenderOptions) Complete ¶ added in v0.3.0
func (o *RenderOptions) Complete(log logr.Logger, args []string, fs vfs.FileSystem) error
func (*RenderOptions) Run ¶ added in v0.3.0
func (o *RenderOptions) Run(ctx context.Context, log logr.Logger, fs vfs.FileSystem) error
func (*RenderOptions) Validate ¶ added in v0.3.0
func (o *RenderOptions) Validate() error
Validate validates push options
Click to show internal directories.
Click to hide internal directories.