generator

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildConfigStanzaFromServices

func BuildConfigStanzaFromServices(services []LagoonServiceDefinition) (string, error)

func GenerateFilesSyncRootFromPersistentService

func GenerateFilesSyncRootFromPersistentService(definition LagoonServiceDefinition) (synchers.FilesSyncRoot, error)

func GenerateFilesSyncRootsFromServiceDefinition

func GenerateFilesSyncRootsFromServiceDefinition(definition LagoonServiceDefinition) ([]synchers.FilesSyncRoot, error)

func GenerateMariadbSyncRootFromService

func GenerateMariadbSyncRootFromService(definition LagoonServiceDefinition) (synchers.MariadbSyncRoot, error)

func GeneratePgqlSyncRootFromService

func GeneratePgqlSyncRootFromService(definition LagoonServiceDefinition) (synchers.PostgresSyncRoot, error)

func LoadComposeFile

func LoadComposeFile(composeFile string) (*types.Project, error)

func RunWizard

func RunWizard() (string, error)

Types

type LagoonServiceDefinition

type LagoonServiceDefinition struct {
	ServiceName string
	ServiceType string

	Labels map[string]string
	// contains filtered or unexported fields
}

func ProcessServicesFromCompose

func ProcessServicesFromCompose(project *types.Project) []LagoonServiceDefinition

Jump to

Keyboard shortcuts

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