dotnet

package
v0.0.0-...-6ab3b6d Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DotNetCli

type DotNetCli interface {
	tools.ExternalTool
	Restore(ctx context.Context, project string) error
	Build(ctx context.Context, project string, configuration string, output string) error
	Publish(ctx context.Context, project string, configuration string, output string) error
	PublishContainer(
		ctx context.Context, project, configuration, imageName, server, username, password string,
	) (int, error)
	InitializeSecret(ctx context.Context, project string) error
	// PublishAppHostManifest runs the app host program with the correct configuration to generate an manifest. If dotnetEnv
	// is non-empty, it will be passed as environment variables (named `DOTNET_ENVIRONMENT`) when running the app host
	// program.
	PublishAppHostManifest(ctx context.Context, hostProject string, manifestPath string, dotnetEnv string) error
	SetSecrets(ctx context.Context, secrets map[string]string, project string) error
	GetMsBuildProperty(ctx context.Context, project string, propertyName string) (string, error)
}

func NewDotNetCli

func NewDotNetCli(commandRunner exec.CommandRunner) DotNetCli

Jump to

Keyboard shortcuts

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