templates

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCreate

func NewCmdCreate(ctx *cmd.Context, opts *TemplateOpts) *cmd.Command

func NewCmdDelete

func NewCmdDelete(ctx *cmd.Context, opts *TemplateOpts) *cmd.Command

func NewCmdList

func NewCmdList(ctx *cmd.Context, opts *TemplateOpts) *cmd.Command

func NewCmdRead

func NewCmdRead(ctx *cmd.Context, opts *TemplateOpts) *cmd.Command

func NewCmdTemplate

func NewCmdTemplate(ctx *cmd.Context) *cmd.Command

func NewCmdUpdate

func NewCmdUpdate(ctx *cmd.Context, opts *TemplateOpts) *cmd.Command

Types

type TemplateOpts

type TemplateOpts struct {
	opts.WaypointOpts

	ID string

	// Name is the name of a new template, or the name of an existing template.
	// When used during update operations, it is the name of the template to be
	// updated.
	Name string

	// UpdatedName is used for updates, and is the new name for the template.
	UpdatedName                string
	Summary                    string
	Description                string
	ReadmeMarkdownTemplateFile string
	Labels                     []string
	Tags                       map[string]string

	TerraformNoCodeModuleSource string
	TerraformCloudProjectName   string
	TerraformCloudProjectID     string
	TerraformExecutionMode      string
	TerraformAgentPoolID        string

	VariableOptionsFile string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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