pkg

package
v3.0.0-...-27aa445 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: MIT Imports: 39 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UniVariable       = "UniVariable"
	MultipleVariables = "MultipleVariables"
)
View Source
const AzApiResourceType = "azapi-resource-type"

Variables

This section is empty.

Functions

func GenerateResource

func GenerateResource(generateCmd ResourceGenerateCommand) (string, error)

Types

type Config

type Config struct {
	Delimiter string
	Mode      GenerateMode
}

func (Config) GetDelimiter

func (c Config) GetDelimiter() string

func (Config) GetMode

func (c Config) GetMode() GenerateMode

type Document

type Document struct {
	// contains filtered or unexported fields
}

type GenerateMode

type GenerateMode string

type ResourceGenerateCommand

type ResourceGenerateCommand interface {
	ResourceBlockType() string
	ResourceType() string
	Config() Config
	Schema() (*tfjson.Schema, error)
}

func NewResourceGenerateCommand

func NewResourceGenerateCommand(resourceType string, cfg Config, parameters map[string]string) ResourceGenerateCommand

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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