bicep

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(factory framework.Factory) (*cobra.Command, framework.Runner)

NewCommand creates a command for the `rad bicep generate-kubernetes-manifest` command.

Types

type Runner

type Runner struct {
	Bicep             bicep.Interface
	ConfigHolder      *framework.ConfigHolder
	ConnectionFactory connections.Factory
	Deploy            deploy.Interface
	Output            output.Interface

	FileSystem      filesystem.FileSystem
	Group           string
	FilePath        string
	Parameters      map[string]map[string]any
	DestinationFile string
	AzureScope      string
	AWSScope        string
}

Runner is the runner implementation for the `rad bicep generate-kubernetes` command.

func NewRunner

func NewRunner(factory framework.Factory) *Runner

NewRunner creates a new instance of the `rad bicep generate-kubernetes-manifest` runner.

func (*Runner) Run

func (r *Runner) Run(ctx context.Context) error

Run runs the rad bicep generate-kubernetes-manifest command.

func (*Runner) Validate

func (r *Runner) Validate(cmd *cobra.Command, args []string) error

Validate validates the inputs of the rad bicep generate-kubernetes-manifest command.

Jump to

Keyboard shortcuts

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