project

package
v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSProj

type CSProj struct {
	PropertyGroup struct {
		TargetFramework         string `xml:"TargetFramework"`
		RuntimeFrameworkVersion string `xml:"RuntimeFrameworkVersion"`
		AssemblyName            string `xml:"AssemblyName"`
	}
	ItemGroups []struct {
		PackageReferences []struct {
			Include string `xml:"Include,attr"`
			Version string `xml:"Version,attr"`
		} `xml:"PackageReference"`
	} `xml:"ItemGroup"`
}

type ConfigJSON

type ConfigJSON struct {
	RuntimeOptions struct {
		Framework struct {
			Name    string `json:"name"`
			Version string `json:"version"`
		} `json:"framework"`
		ApplyPatches *bool `json:"applyPatches"`
	} `json:"runtimeOptions"`
}

type Installer

type Installer interface {
	InstallDependency(libbuildpack.Dependency, string) error
}

type Manifest

type Manifest interface {
	AllDependencyVersions(string) []string
}

type Project

type Project struct {
	Log *libbuildpack.Logger
	// contains filtered or unexported fields
}

func New

func New(buildDir, depDir, depsIdx string, manifest Manifest, installer Installer, logger *libbuildpack.Logger) *Project

func (*Project) FDDInstallFrameworks

func (p *Project) FDDInstallFrameworks() error

func (*Project) FindMatchingFrameworkVersion

func (p *Project) FindMatchingFrameworkVersion(name, version string, applyPatches *bool) (string, error)

func (*Project) GetVersionFromDepsJSON

func (p *Project) GetVersionFromDepsJSON(library string) (string, error)

func (*Project) IsFDD

func (p *Project) IsFDD() (bool, error)

func (*Project) IsFsharp

func (p *Project) IsFsharp() (bool, error)

func (*Project) IsPublished

func (p *Project) IsPublished() (bool, error)

func (*Project) IsSourceBased

func (p *Project) IsSourceBased() (bool, error)

func (*Project) MainPath

func (p *Project) MainPath() (string, error)

func (*Project) ProjectFilePaths

func (p *Project) ProjectFilePaths() ([]string, error)

func (*Project) RuntimeConfigPath

func (p *Project) RuntimeConfigPath() (string, error)

func (*Project) SourceInstallDotnetAspNetCore

func (p *Project) SourceInstallDotnetAspNetCore() error

func (*Project) SourceInstallDotnetRuntime

func (p *Project) SourceInstallDotnetRuntime() error

func (*Project) StartCommand

func (p *Project) StartCommand() (string, error)

Jump to

Keyboard shortcuts

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