infrastructuregen

package
v0.0.0-...-4f71f7c Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfrastructureDto

type InfrastructureDto struct {
	GomodName          string
	InfrastructurePath string
	ProjectPath        string
	DatabaseType       dbgen.DbType
}

type InfrastructureGen

type InfrastructureGen interface {
	CreateInfrastructureDir(dto InfrastructureDto) error
	GenerateInfrastructure(dto InfrastructureDto) error
}

type InfrastructureGenImpl

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

func NewInfrastructureGen

func NewInfrastructureGen(
	cacheGen cachegen.CacheGen,
	dbGen dbgen.DatabaseGen,
	fs database.FileSystem,
) *InfrastructureGenImpl

func (*InfrastructureGenImpl) CreateInfrastructureDir

func (s *InfrastructureGenImpl) CreateInfrastructureDir(dto InfrastructureDto) error

func (*InfrastructureGenImpl) GenerateInfrastructure

func (s *InfrastructureGenImpl) GenerateInfrastructure(dto InfrastructureDto) error

Jump to

Keyboard shortcuts

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