i18n

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExampleKubernetesName   = "Create a Kubernetes deployment"
	ExampleKubernetesPrompt = "# Create a Kubernetes deployment. Provide common variables."

	ExampleAlibabaCloudName   = "Create an alibaba cloud virtual machine"
	ExampleAlibabaCloudPrompt = "# Create a resource group, virtual network," +
		" subnet and virtual machine on alibaba cloud."

	ExampleELKName   = "Deploy an ELK stack"
	ExampleELKPrompt = "# Deploy an ELK stack using helm chart."

	TerraformModuleGenerateSystemMessage = "You are translating natural language to a Terraform module." +
		" Please do not explain, just write pure terraform HCL code." +
		" Please do not explain, just write pure terraform HCL code." +
		" Please do not explain, just write pure terraform HCL code."

	TerraformModuleExplainSystemMessage = "Please explain the given terraform module."

	TerraformModuleCorrectSystemMessageDesc = "Please Check and fix the given terraform module" +
		" if there's any mistake.\n" +
		"Strictly respond a valid JSON in the following format:"
	TerraformModuleCorrectSystemMessageCorrectedDesc = "Terraform code that is fixed." +
		" Please do not explain, just write terraform HCL code."
	TerraformModuleCorrectSystemMessageExplanationDesc = "Explanation of the fixes."
)

Variables

This section is empty.

Functions

func Fprintf added in v0.5.0

func Fprintf(p *message.Printer, w io.Writer)

Fprintf is a helper function to print all the messages to the given writer.

Fprintf also displays all i18n text for gotext extraction.

Types

This section is empty.

Jump to

Keyboard shortcuts

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