add

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const EnvSecretManager = "envsecretmanager"
View Source
const Metrics = "metrics"
View Source
const NewFunctionName = "New"
View Source
const Postgres = "postgres"
View Source
const RESTResource = "resource"
View Source
const RabbitMQ = "rabbitmqproducer"
View Source
const SecretFunctionName = "Secret"
View Source
const WSResource = "ws"
View Source
const WebsocketPathConstName = "WsPath"
View Source
const WiringRouterFunctionContainingFile = "controller.go"
View Source
const WiringRouterFunctionName = "ConfigureRouter"

Variables

This section is empty.

Functions

This section is empty.

Types

type Add

type Add struct {
	Arguments

	Content embed.FS
}

func (*Add) Execute

func (a *Add) Execute(args []string) error

type Arguments added in v0.3.0

type Arguments struct {
	Args struct {
		ResourceType string `positional-arg-name:"resourcetype" description:"type of code to add e.g. \"resource\" for a REST resource" required:"yes"`
		Path         string `positional-arg-name:"path" description:"path e.g \"customer\" for the REST resource /customer"`
	} `positional-args:"yes"`
}

type ProviderTemplateInput added in v0.6.0

type ProviderTemplateInput struct {
	tmpl.Root
}

type ResourceTemplateInput added in v0.6.0

type ResourceTemplateInput struct {
	tmpl.Root
	PathBase            string
	ResourceNameSgCaps  string //Singular caps e.g Machine
	ResourceNameSgLower string //Singular lowercase e.g machine
	ResourceNamePlCaps  string //Plural caps e.g Machines
	ResourceNamePlLower string //Plural lowercase e.g machines
	RoutePath           string
}

Jump to

Keyboard shortcuts

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