Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CsSln is the solution file extension CsSln = ".sln" // DefaultBaseImageVersion is the default base image version tag DefaultBaseImageVersion = "4.8" )
Variables ¶
View Source
var ( // FourXPattern is the framework version pattern FourXPattern = regexp.MustCompile("v4*") // WebLib is the key library used in web applications WebLib = regexp.MustCompile("^System.Web*") // WebSLLib is the key library used in web sliverlight applications WebSLLib = regexp.MustCompile("Silverlight.js") // ProjBlockRegex pattern ProjBlockRegex = regexp.MustCompile(`(?m)^Project\([^,]+\s*,\s*\"([^,]+)\"`) )
Functions ¶
This section is empty.
Types ¶
type AddKeys ¶
type AddKeys struct { XMLName xml.Name `xml:"add"` BaseAddress string `xml:"baseAddress,attr"` Key string `xml:"key,attr"` Value string `xml:"value,attr"` }
AddKeys defines the key list
type AppCfgSettings ¶
AppCfgSettings defines the settings
type AppConfig ¶
type AppConfig struct { XMLName xml.Name `xml:"configuration"` Model ServiceModel `xml:"system.serviceModel"` AppCfgSettings AppCfgSettings `xml:"appSettings"` }
AppConfig defines the app.config
type BaseAddresses ¶
BaseAddresses defines list of base addresses
type CSProj ¶
type CSProj struct { XMLName xml.Name `xml:"Project"` Sdk string `xml:"Sdk,attr"` PropertyGroup *PropertyGroup `xml:"PropertyGroup"` ItemGroups []ItemGroup `xml:"ItemGroup"` }
CSProj defines the .csproj file
type Host ¶
type Host struct { XMLName xml.Name `xml:"host"` BaseAddresses BaseAddresses `xml:"baseAddresses"` }
Host defines a host exposed by service
type ItemGroup ¶
type ItemGroup struct { XMLName xml.Name `xml:"ItemGroup"` References []Reference `xml:"Reference"` Contents []Content `xml:"Content"` None []None `xml:"None"` }
ItemGroup is defined in .csproj file to list items used in the project
type Properties ¶
type Properties struct {
Entries Entries
}
Properties defines pom.xml properties
func (*Properties) UnmarshalXML ¶
func (p *Properties) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error)
UnmarshalXML unmarshals XML
type PropertyGroup ¶
type PropertyGroup struct { XMLName xml.Name `xml:"PropertyGroup"` Condition string `xml:"Condition,attr"` TargetFramework string `xml:"TargetFramework"` TargetFrameworkVersion string `xml:"TargetFrameworkVersion"` Properties *Properties `xml:"properties,omitempty"` }
PropertyGroup is defined in .csproj file to list properties of the project
type ServiceModel ¶
type ServiceModel struct { XMLName xml.Name `xml:"system.serviceModel"` Services Services `xml:"services"` }
ServiceModel defines list of service models
Click to show internal directories.
Click to hide internal directories.