blueprints

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

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

func NewBlueprintsCommand(ctx context.Context) *cobra.Command

NewBlueprintsCommand creates a new blueprints command.

func NewGetCommand

func NewGetCommand(ctx context.Context) *cobra.Command

NewGetCommand shows definitions and their configuration.

func NewPushCommand

func NewPushCommand(ctx context.Context) *cobra.Command

NewPushCommand creates a new blueprint command to push blueprints

func NewRenderCommand

func NewRenderCommand(ctx context.Context) *cobra.Command

NewRenderCommand creates a new local command to render a blueprint instance locally

func NewValidationCommand

func NewValidationCommand(_ context.Context) *cobra.Command

NewValidationCommand creates a new blueprint command to validate blueprints.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL