dotnet

package
v0.0.0-...-c2e3bda Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package dotnet is the planner of Dotnet projects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetermineFramework

func DetermineFramework(entryPoint string, src afero.Fs) (string, error)

DetermineFramework is used to determine the Dotnet framework

func DetermineSDKVersion

func DetermineSDKVersion(entryPoint string, src afero.Fs) (string, error)

DetermineSDKVersion returns the version of the SDK.

func GenerateDockerfile

func GenerateDockerfile(meta types.PlanMeta) (string, error)

GenerateDockerfile generates the Dockerfile for Dotnet projects.

func NewIdentifier

func NewIdentifier() plan.Identifier

NewIdentifier returns a new Dotnet identifier.

func NewPacker

func NewPacker() packer.Packer

NewPacker returns a new Dotnet packer.

Types

type TemplateContext

type TemplateContext struct {
	DotnetVer    string
	Out          string
	Static       bool
	SubmoduleDir string
}

TemplateContext is the context for the Dotnet Dockerfile template.

func (TemplateContext) Execute

func (c TemplateContext) Execute() (string, error)

Execute executes the template.

Jump to

Keyboard shortcuts

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