helper

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFile

func CreateFile(ctx *context.LedoContext, path string, templateBody string, is_executable ...bool) (bool, error)

Types

type DockerComposeModeCfg

type DockerComposeModeCfg struct {
	DockerComposeName     string                              `yaml:"docker_compose_name,omitempty" json:"dockerComposeName"`
	DockerComposeServices []DockerProjectAdditionalServiceCfg `yaml:"docker_compose_services,omitempty" json:"dockerComposeServices"`
}

type DockerProjectAdditionalServiceCfg

type DockerProjectAdditionalServiceCfg struct {
	DockerServiceMode        string                     `yaml:"docker_service_mode,omitempty" json:"dockerServiceMode"`
	DockerServiceType        string                     `yaml:"docker_service_type,omitempty" json:"dockerServiceType"`
	DockerServiceImage       string                     `yaml:"docker_service_image,omitempty" json:"dockerServiceImage"`
	DockerServiceTag         string                     `yaml:"docker_service_tag,omitempty" json:"dockerServiceTag"`
	DockerServiceEnvironment []DockerServiceEnvironment `yaml:"docker_service_environment,omitempty" json:"dockerServiceEnvironment"`
}

type DockerProjectCfg

type DockerProjectCfg struct {
	HasDockerRegistry  bool                   `yaml:"has_docker_registry,omitempty" json:"hasDockerRegistry"`
	DockerBaseImage    string                 `yaml:"docker_base_image,omitempty" json:"dockerBaseImage"`
	DockerBaseTag      string                 `yaml:"docker_base_tag,omitempty" json:"dockerBaseTag"`
	DockerComposeModes []DockerComposeModeCfg `yaml:"docker_compose_modes,omitempty" json:"dockerComposeModes"`
}

type DockerServiceEnvironment

type DockerServiceEnvironment struct {
	EnvironmentName  string `yaml:"environment_name,omitempty" json:"environmentName"`
	EnvironmentValue string `yaml:"environment_value,omitempty" json:"environmentValue"`
}

Jump to

Keyboard shortcuts

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