Documentation ¶
Index ¶
- Constants
- type ConsoleTemplateConfig
- type DotNetWindowsVersionMapping
- type DotNetWindowsVersionMappingSpec
- type SilverLightTemplateConfig
- type WebTemplateConfig
- type WinConsoleAppDockerfileGenerator
- func (t *WinConsoleAppDockerfileGenerator) DirectoryDetect(dir string) (map[string][]transformertypes.Artifact, error)
- func (t *WinConsoleAppDockerfileGenerator) GetConfig() (transformertypes.Transformer, *environment.Environment)
- func (t *WinConsoleAppDockerfileGenerator) Init(tc transformertypes.Transformer, env *environment.Environment) (err error)
- func (t *WinConsoleAppDockerfileGenerator) Transform(newArtifacts []transformertypes.Artifact, ...) ([]transformertypes.PathMapping, []transformertypes.Artifact, error)
- type WinSilverLightWebAppDockerfileGenerator
- func (t *WinSilverLightWebAppDockerfileGenerator) DirectoryDetect(dir string) (services map[string][]transformertypes.Artifact, err error)
- func (t *WinSilverLightWebAppDockerfileGenerator) GetConfig() (transformertypes.Transformer, *environment.Environment)
- func (t *WinSilverLightWebAppDockerfileGenerator) Init(tc transformertypes.Transformer, env *environment.Environment) (err error)
- func (t *WinSilverLightWebAppDockerfileGenerator) Transform(newArtifacts []transformertypes.Artifact, ...) ([]transformertypes.PathMapping, []transformertypes.Artifact, error)
- type WinWebAppDockerfileGenerator
- func (t *WinWebAppDockerfileGenerator) DirectoryDetect(dir string) (map[string][]transformertypes.Artifact, error)
- func (t *WinWebAppDockerfileGenerator) GetConfig() (transformertypes.Transformer, *environment.Environment)
- func (t *WinWebAppDockerfileGenerator) Init(tc transformertypes.Transformer, env *environment.Environment) error
- func (t *WinWebAppDockerfileGenerator) Transform(newArtifacts []transformertypes.Artifact, ...) ([]transformertypes.PathMapping, []transformertypes.Artifact, error)
Constants ¶
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" )
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 ¶
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 ¶
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 ¶
func (t *WinConsoleAppDockerfileGenerator) DirectoryDetect(dir string) (map[string][]transformertypes.Artifact, error)
DirectoryDetect runs detect in each sub directory
func (*WinConsoleAppDockerfileGenerator) GetConfig ¶
func (t *WinConsoleAppDockerfileGenerator) GetConfig() (transformertypes.Transformer, *environment.Environment)
GetConfig returns the transformer config
func (*WinConsoleAppDockerfileGenerator) Init ¶
func (t *WinConsoleAppDockerfileGenerator) Init(tc transformertypes.Transformer, env *environment.Environment) (err error)
Init Initializes the transformer
func (*WinConsoleAppDockerfileGenerator) Transform ¶
func (t *WinConsoleAppDockerfileGenerator) Transform(newArtifacts []transformertypes.Artifact, alreadySeenArtifacts []transformertypes.Artifact) ([]transformertypes.PathMapping, []transformertypes.Artifact, error)
Transform transforms the artifacts
type WinSilverLightWebAppDockerfileGenerator ¶
type WinSilverLightWebAppDockerfileGenerator struct { Config transformertypes.Transformer Env *environment.Environment }
WinSilverLightWebAppDockerfileGenerator implements the Transformer interface
func (*WinSilverLightWebAppDockerfileGenerator) DirectoryDetect ¶
func (t *WinSilverLightWebAppDockerfileGenerator) DirectoryDetect(dir string) (services map[string][]transformertypes.Artifact, err error)
DirectoryDetect runs detect in each sub directory
func (*WinSilverLightWebAppDockerfileGenerator) GetConfig ¶
func (t *WinSilverLightWebAppDockerfileGenerator) GetConfig() (transformertypes.Transformer, *environment.Environment)
GetConfig returns the transformer config
func (*WinSilverLightWebAppDockerfileGenerator) Init ¶
func (t *WinSilverLightWebAppDockerfileGenerator) Init(tc transformertypes.Transformer, env *environment.Environment) (err error)
Init Initializes the transformer
func (*WinSilverLightWebAppDockerfileGenerator) Transform ¶
func (t *WinSilverLightWebAppDockerfileGenerator) Transform(newArtifacts []transformertypes.Artifact, alreadySeenArtifacts []transformertypes.Artifact) ([]transformertypes.PathMapping, []transformertypes.Artifact, error)
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 ¶
func (t *WinWebAppDockerfileGenerator) GetConfig() (transformertypes.Transformer, *environment.Environment)
GetConfig returns the transformer config
func (*WinWebAppDockerfileGenerator) Init ¶
func (t *WinWebAppDockerfileGenerator) Init(tc transformertypes.Transformer, env *environment.Environment) error
Init Initializes the transformer
func (*WinWebAppDockerfileGenerator) Transform ¶
func (t *WinWebAppDockerfileGenerator) Transform(newArtifacts []transformertypes.Artifact, alreadySeenArtifacts []transformertypes.Artifact) ([]transformertypes.PathMapping, []transformertypes.Artifact, error)
Transform transforms the artifacts