Documentation ¶
Index ¶
- func TrimSuffix(s, suffix string) string
- type IvAlias
- type IvUserImporting
- type IvUserRequest
- type LoginResponse
- type PDIClient
- func (c *PDIClient) DownloadAllSourceTo(solutionName, targetPath string, concurrent int)
- func (c *PDIClient) DownloadFileSource(xrepPath string) []byte
- func (c *PDIClient) GetSolutionFileList(solutionName string) *Project
- func (c *PDIClient) ListSolutionAllFiles(solutionName string) *PDIClient
- func (c *PDIClient) ListSolutions() *PDIClient
- type Project
- type XrepDownloadTask
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TrimSuffix ¶
Types ¶
type IvUserImporting ¶
type IvUserImporting struct {
IvAlias IvAlias `json:"IV_ALIAS"`
}
type IvUserRequest ¶
type IvUserRequest struct {
Importing IvUserImporting `json:"IMPORTING"`
}
type LoginResponse ¶
type LoginResponse struct { XMLName xml.Name `xml:"Login"` Text string `xml:",chardata"` Messages struct { Text string `xml:",chardata"` Message []struct { Text string `xml:",chardata"` Type string `xml:"type,attr"` AttrText string `xml:"text,attr"` } `xml:"Message"` } `xml:"Messages"` Actions struct { Text string `xml:",chardata"` Action struct { Text string `xml:",chardata"` Name string `xml:"name,attr"` } `xml:"Action"` } `xml:"Actions"` SimpleTypes struct { Text string `xml:",chardata"` SimpleType struct { Text string `xml:",chardata"` Name string `xml:"name,attr"` Enum []struct { Text string `xml:",chardata"` AttrText string `xml:"text,attr"` Value string `xml:"value,attr"` JaproSuffix string `xml:"japroSuffix,attr"` } `xml:"Enum"` } `xml:"SimpleType"` } `xml:"SimpleTypes"` Data struct { Text string `xml:",chardata"` Element []struct { Text string `xml:",chardata"` Name string `xml:"name,attr"` Value string `xml:"value,attr"` } `xml:"Element"` } `xml:"Data"` Sessions struct { Text string `xml:",chardata"` Session struct { Text string `xml:",chardata"` Client string `xml:"client,attr"` User string `xml:"user,attr"` Terminal string `xml:"terminal,attr"` Time string `xml:"time,attr"` } `xml:"Session"` } `xml:"Sessions"` Config struct { Text string `xml:",chardata"` Parameter []struct { Text string `xml:",chardata"` Name string `xml:"name,attr"` Value string `xml:"value,attr"` } `xml:"Parameter"` } `xml:"Config"` }
LoginResponse struct
type PDIClient ¶
type PDIClient struct {
// contains filtered or unexported fields
}
PDIClient for programming
func NewPDIClient ¶
NewPDIClient instance
func (*PDIClient) DownloadAllSourceTo ¶
DownloadAllSourceTo directory
func (*PDIClient) DownloadFileSource ¶
DownloadFileSource will return the remote file content
func (*PDIClient) GetSolutionFileList ¶
func (*PDIClient) ListSolutionAllFiles ¶
ListSolutionAllFiles names
func (*PDIClient) ListSolutions ¶
ListSolutions detail information
type Project ¶
type Project struct { XMLName xml.Name `xml:"Project"` Text string `xml:",chardata"` DefaultTargets string `xml:"DefaultTargets,attr"` Xmlns string `xml:"xmlns,attr"` PropertyGroup []struct { Text string `xml:",chardata"` Condition string `xml:"Condition,attr"` SchemaVersion string `xml:"SchemaVersion"` ProjectGUID string `xml:"ProjectGuid"` ProjectType string `xml:"ProjectType"` Configuration struct { Text string `xml:",chardata"` Condition string `xml:"Condition,attr"` } `xml:"Configuration"` Name string `xml:"Name"` RootNamespace string `xml:"RootNamespace"` RepositoryNamespace string `xml:"RepositoryNamespace"` RuntimeNamespacePrefix string `xml:"RuntimeNamespacePrefix"` RepositoryRootFolder string `xml:"RepositoryRootFolder"` DefaultProcessComponent string `xml:"DefaultProcessComponent"` DevelopmentPackage string `xml:"DevelopmentPackage"` XRepSolution string `xml:"XRepSolution"` BCSourceFolderInXRep string `xml:"BCSourceFolderInXRep"` ProjectSourceFolderinXRep string `xml:"ProjectSourceFolderinXRep"` DeploymentUnit string `xml:"DeploymentUnit"` CompilerVersion string `xml:"CompilerVersion"` OutputPath string `xml:"OutputPath"` } `xml:"PropertyGroup"` ItemGroup []struct { Text string `xml:",chardata"` Folder []struct { Text string `xml:",chardata"` Include string `xml:"Include,attr"` } `xml:"Folder"` BCSet []struct { Text string `xml:",chardata"` Include string `xml:"Include,attr"` SubType string `xml:"SubType"` } `xml:"BCSet"` Content []struct { Text string `xml:",chardata"` Include string `xml:"Include,attr"` DependentUpon string `xml:"DependentUpon"` SubType string `xml:"SubType"` IsHidden string `xml:"IsHidden"` } `xml:"Content"` } `xml:"ItemGroup"` Import struct { Text string `xml:",chardata"` Project string `xml:"Project,attr"` } `xml:"Import"` }
Project struct for pdi project xml
type XrepDownloadTask ¶
type XrepDownloadTask struct {
// contains filtered or unexported fields
}
XrepDownloadTask is download & write task
Click to show internal directories.
Click to hide internal directories.