windows

package
v0.4.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AppConfigFilePathListType points to the go.mod file path
	AppConfigFilePathListType transformertypes.PathType = "AppConfigFilePathList"

	// AppCfgFile is file name of App.Config file in dotnet projects
	AppCfgFile = "App.config"
)
View Source
const (

	// DotNetWindowsVersionMappingKind defines the K8s kind for the version mapping file
	DotNetWindowsVersionMappingKind types.Kind = "DotNetWindowsVersionMapping"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsoleTemplateConfig

type ConsoleTemplateConfig struct {
	Ports            []int32
	AppName          string
	BaseImageVersion string
}

ConsoleTemplateConfig implements .Net Console config interface

type DotNetWindowsVersionMapping added in v0.3.3

type DotNetWindowsVersionMapping struct {
	types.TypeMeta   `yaml:",inline"`
	types.ObjectMeta `yaml:"metadata,omitempty"`
	Spec             DotNetWindowsVersionMappingSpec `yaml:"spec,omitempty"`
}

DotNetWindowsVersionMapping stores the dot net version mapping

type DotNetWindowsVersionMappingSpec added in v0.3.3

type DotNetWindowsVersionMappingSpec struct {
	// imageTagToSupportedVersions is a mapping from image tag to dot net framework versions that image supports.
	// Version compatibility table taken from https://hub.docker.com/_/microsoft-dotnet-framework-aspnet
	ImageTagToSupportedVersions map[string][]string `yaml:"imageTagToSupportedVersions"`
}

DotNetWindowsVersionMappingSpec stores the dot net version mapping spec

type SilverLightTemplateConfig

type SilverLightTemplateConfig struct {
	Ports   []int32
	AppName string
}

SilverLightTemplateConfig implements SilverLight config interface

type WebTemplateConfig

type WebTemplateConfig struct {
	Ports              []int32
	IncludeBuildStage  bool
	BuildStageImageTag string
	BuildContainerName string
	IncludeRunStage    bool
	RunStageImageTag   string
	CopyFrom           string
}

WebTemplateConfig contains the data to fill the Dockerfile template

type WinConsoleAppDockerfileGenerator

type WinConsoleAppDockerfileGenerator struct {
	Config transformertypes.Transformer
	Env    *environment.Environment
}

WinConsoleAppDockerfileGenerator implements the Transformer interface

func (*WinConsoleAppDockerfileGenerator) DirectoryDetect

DirectoryDetect runs detect in each sub directory

func (*WinConsoleAppDockerfileGenerator) GetConfig

GetConfig returns the transformer config

func (*WinConsoleAppDockerfileGenerator) Init

Init Initializes the transformer

func (*WinConsoleAppDockerfileGenerator) Transform

Transform transforms the artifacts

type WinSilverLightWebAppDockerfileGenerator

type WinSilverLightWebAppDockerfileGenerator struct {
	Config transformertypes.Transformer
	Env    *environment.Environment
}

WinSilverLightWebAppDockerfileGenerator implements the Transformer interface

func (*WinSilverLightWebAppDockerfileGenerator) DirectoryDetect

DirectoryDetect runs detect in each sub directory

func (*WinSilverLightWebAppDockerfileGenerator) GetConfig

GetConfig returns the transformer config

func (*WinSilverLightWebAppDockerfileGenerator) Init

Init Initializes the transformer

func (*WinSilverLightWebAppDockerfileGenerator) Transform

Transform transforms the artifacts

type WinWebAppDockerfileGenerator

type WinWebAppDockerfileGenerator struct {
	Config transformertypes.Transformer
	Env    *environment.Environment
	// contains filtered or unexported fields
}

WinWebAppDockerfileGenerator implements the Transformer interface

func (*WinWebAppDockerfileGenerator) DirectoryDetect

func (t *WinWebAppDockerfileGenerator) DirectoryDetect(dir string) (map[string][]transformertypes.Artifact, error)

DirectoryDetect runs detect in each sub directory

func (*WinWebAppDockerfileGenerator) GetConfig

GetConfig returns the transformer config

func (*WinWebAppDockerfileGenerator) Init

Init Initializes the transformer

func (*WinWebAppDockerfileGenerator) Transform

Transform transforms the artifacts

Jump to

Keyboard shortcuts

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