build

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultElviaContainerRegistry = "containerregistryelvia.azurecr.io"
	DefaultCacheTag               = "latest-cache"
)
View Source
const DefaultPythonVersion = "3.13"

Variables

This section is empty.

Functions

func Build

func Build(_ context.Context, c *cli.Command) error

func Command added in v0.3.0

func Command() *cli.Command

func GetImageName added in v0.19.0

func GetImageName(
	registry string,
	systemName string,
	applicationName string,
) (string, error)

Types

type CSharpProjectFile

type CSharpProjectFile struct {
	XMLName       xml.Name      `xml:"Project"`
	SDK           string        `xml:"Sdk,attr"`
	PropertyGroup PropertyGroup `xml:"PropertyGroup"`
}

type DockerfileVariablesDotnet

type DockerfileVariablesDotnet struct {
	CsprojFile       string // required
	AssemblyName     string // required
	BaseImageTag     string // required
	RuntimeBaseImage string // required
}

type DockerfileVariablesGo added in v0.4.1

type DockerfileVariablesGo struct {
	GoModuleDirectory    string
	MainPackageDirectory string
}

type DockerfileVariablesPython added in v0.24.0

type DockerfileVariablesPython struct {
	PythonVersion string
}

type GenerateDockerfileOptions

type GenerateDockerfileOptions struct {
	GoMainPackageDirectory string
	BuildContext           string
}

type PropertyGroup

type PropertyGroup struct {
	AssemblyName    string `xml:"AssemblyName"`
	TargetFramework string `xml:"TargetFramework"`
}

Jump to

Keyboard shortcuts

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