templates

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigApp

type ConfigApp struct {
	AppPkl     []byte
	ModulesPkl []byte
}

type ConfigAppSetter

type ConfigAppSetter interface {
	SetConfigApp(ConfigApp)
}

type ConfigSls

type ConfigSls struct {
	EnvironmentYAML []byte
	IamYAML         []byte
}

type ConfigSlsSetter

type ConfigSlsSetter interface {
	SetConfigSls(ConfigSls)
}

type CronSetter

type CronSetter interface {
	SetCron(LambdaCron)
}

type CustomSetter

type CustomSetter interface {
	SetCustom(LambdaCustom)
}

type Domain

type Domain struct {
	DomainGo []byte
	ErrorsGo []byte
	Options  DomainOptions
}

type DomainOptions

type DomainOptions struct {
	SearchGo           []byte
	SearchFiltersGo    []byte
	SearchOrdersGo     []byte
	SearchPaginationGo []byte
	UpdateFieldsGo     []byte
}

type Domains

type Domains struct {
	Service    Service
	Repository Repository
	Providers  Providers
	Domain     Domain
}

func NewDomains

func NewDomains(data any) (Domains, error)

type HTTPSetter

type HTTPSetter interface {
	SetHTTP(LambdaHTTP)
}

type LambdaCron

type LambdaCron struct {
	MainGo           []byte
	LambdaConfigYAML []byte
	Handler          LambdaCronHandler
}

type LambdaCronHandler

type LambdaCronHandler struct {
	BootstrapGo []byte
	HandlerGo   []byte
	ProviderGo  []byte
	WorkerGo    []byte
	EmbedYML    []byte
	ResourcesGo []byte
}

type LambdaCustom

type LambdaCustom struct {
	MainGo           []byte
	LambdaConfigYAML []byte
	Handler          LambdaCustomHandler
}

type LambdaCustomHandler

type LambdaCustomHandler struct {
	BootstrapGo       []byte
	HandlerGo         []byte
	WorkerGo          []byte
	ProviderGo        []byte
	EmbedYML          []byte
	ResourcesGo       []byte
	IdempotencyGo     []byte
	InterfacesGo      []byte
	WorkerSetupTestGo []byte
	WorkerTestGo      []byte
}

type LambdaHTTP

type LambdaHTTP struct {
	MainGo           []byte
	LambdaConfigYAML []byte
	Handler          LambdaHTTPHandler
}

type LambdaHTTPHandler

type LambdaHTTPHandler struct {
	BootstrapGo []byte
	HandlerGo   []byte
	WorkerGo    []byte
	EmbedYML    []byte
	ResourcesGo []byte
	DtosGo      []byte
}

type LambdaPlain

type LambdaPlain struct {
	MainGo           []byte
	LambdaConfigYAML []byte
	Handler          LambdaPlainHandler
}

type LambdaPlainHandler

type LambdaPlainHandler struct {
	BootstrapGo []byte
	HandlerGo   []byte
	WorkerGo    []byte
	ProviderGo  []byte
	EmbedYML    []byte
	ResourcesGo []byte
	DtosGo      []byte
}

type LambdaSnsSqs

type LambdaSnsSqs struct {
	MainGo           []byte
	LambdaConfigYAML []byte
	Handler          LambdaSnsSqsHandler
}

type LambdaSnsSqsHandler

type LambdaSnsSqsHandler struct {
	BootstrapGo   []byte
	HandlerGo     []byte
	WorkerGo      []byte
	ProviderGo    []byte
	EmbedYML      []byte
	ResourcesGo   []byte
	DtosGo        []byte
	IdempotencyGo []byte
	InterfacesGo  []byte
}

type LambdaSqs

type LambdaSqs struct {
	MainGo           []byte
	LambdaConfigYAML []byte
	Handler          LambdaSqsHandler
}

type LambdaSqsHandler

type LambdaSqsHandler struct {
	BootstrapGo   []byte
	HandlerGo     []byte
	WorkerGo      []byte
	ProviderGo    []byte
	EmbedYML      []byte
	ResourcesGo   []byte
	DtosGo        []byte
	IdempotencyGo []byte
	InterfacesGo  []byte
}

type LambdaTemplates

type LambdaTemplates struct {
	Cron   LambdaCron
	HTTP   LambdaHTTP
	Plain  LambdaPlain
	SnsSqs LambdaSnsSqs
	Sqs    LambdaSqs
	Custom LambdaCustom
}

func NewLambdaTemplates

func NewLambdaTemplates(data any) (*LambdaTemplates, error)

func (*LambdaTemplates) SetCron

func (l *LambdaTemplates) SetCron(cron LambdaCron)

func (*LambdaTemplates) SetCustom

func (l *LambdaTemplates) SetCustom(custom LambdaCustom)

func (*LambdaTemplates) SetHTTP

func (l *LambdaTemplates) SetHTTP(http LambdaHTTP)

func (*LambdaTemplates) SetPlain

func (l *LambdaTemplates) SetPlain(plain LambdaPlain)

func (*LambdaTemplates) SetSnsSqs

func (l *LambdaTemplates) SetSnsSqs(sqs LambdaSnsSqs)

func (*LambdaTemplates) SetSqs

func (l *LambdaTemplates) SetSqs(sqs LambdaSqs)

type PlainSetter

type PlainSetter interface {
	SetPlain(LambdaPlain)
}

type Providers

type Providers struct {
	GeneratorGo             []byte
	ServiceGo               []byte
	Postgres                ProvidersPostgres
	GeneratorsNanoidTableid ProvidersGeneratorsNanoidTableid
}

type ProvidersGeneratorsNanoidTableid

type ProvidersGeneratorsNanoidTableid struct {
	ProvideGo []byte
}

type ProvidersPostgres

type ProvidersPostgres struct {
	RepositoryGo []byte
}

type Repository

type Repository struct {
	Postgres RepositoryPostgres
	Dynamo   RepositoryDynamo
}

type RepositoryDynamo

type RepositoryDynamo struct {
	DotMockeryPkgYml []byte
	InterfacesGo     []byte
	RepositoryGo     []byte
	ProviderGo       []byte
}

type RepositoryPostgres

type RepositoryPostgres struct {
	DotMockeryPkgYml []byte
	CreateGo         []byte
	CreateTestGo     []byte
	DeleteGo         []byte
	DeleteTestGo     []byte
	GetGo            []byte
	GetTestGo        []byte
	InterfacesGo     []byte
	RepositoryGo     []byte
	RepositoryTestGo []byte
	SearchGo         []byte
	SearchTestGo     []byte
	SearchOneGo      []byte
	SearchOneTestGo  []byte
	UpdateGo         []byte
	UpdateTestGo     []byte
	ProvideGo        []byte
	Builders         RepositoryPostgresBuilders
	Daos             RepositoryPostgresDaos
}

type RepositoryPostgresBuilders

type RepositoryPostgresBuilders struct {
	SearchGo           []byte
	SearchFiltersGo    []byte
	SearchOrdersGo     []byte
	SearchPaginationGo []byte
}

type RepositoryPostgresDaos

type RepositoryPostgresDaos struct {
	DaosGo   []byte
	DeleteGo []byte
	UpdateGo []byte
}

type Service

type Service struct {
	Postgres ServicePostgres
	Dynamo   ServiceDynamo
}

type ServiceDynamo

type ServiceDynamo struct {
	DotMockeryPkgYml []byte
	InterfacesGo     []byte
	ServiceGo        []byte
	ProviderGo       []byte
}

type ServicePostgres

type ServicePostgres struct {
	DotMockeryPkgYml []byte
	CreateGo         []byte
	CreateTestGo     []byte
	DeleteGo         []byte
	DeleteTestGo     []byte
	GetGo            []byte
	GetTestGo        []byte
	InterfacesGo     []byte
	SearchGo         []byte
	SearchTestGo     []byte
	SearchOneGo      []byte
	SearchOneTestGo  []byte
	ServiceGo        []byte
	ServiceTestGo    []byte
	UpdateGo         []byte
	UpdateTestGo     []byte
	ProvideGo        []byte
}

type ServiceTemplates

type ServiceTemplates struct {
	ServerlessYAML []byte
	PackageJSON    []byte
	DepsGo         []byte
	Config         ServiceTemplatesConfig
	Lambda         ServiceTemplatesLambda
}

func NewServiceTemplates

func NewServiceTemplates(data any) (*ServiceTemplates, error)

func (*ServiceTemplates) SetConfigApp

func (s *ServiceTemplates) SetConfigApp(v ConfigApp)

func (*ServiceTemplates) SetConfigSls

func (s *ServiceTemplates) SetConfigSls(v ConfigSls)

func (*ServiceTemplates) SetPlain

func (s *ServiceTemplates) SetPlain(plain LambdaPlain)

type ServiceTemplatesConfig

type ServiceTemplatesConfig struct {
	App ConfigApp
	Sls ConfigSls
}

type ServiceTemplatesConfigSls

type ServiceTemplatesConfigSls struct {
	EnvironmentYAML []byte
	IamYAML         []byte
}

type ServiceTemplatesLambda

type ServiceTemplatesLambda struct {
	Plain LambdaPlain
}

type SnsSqsSetter

type SnsSqsSetter interface {
	SetSnsSqs(LambdaSnsSqs)
}

type SqsSetter

type SqsSetter interface {
	SetSqs(LambdaSqs)
}

Jump to

Keyboard shortcuts

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