Documentation
¶
Index ¶
- type Adapter
- type Body
- type Client
- type CxWSResponseSourceContent
- type CxWSResponseSourcesContent
- type Envelope
- type GetResultPathsForQueryRequest
- type GetResultPathsForQueryResponse
- type GetResultPathsForQueryResult
- type GetSourcesByScanIDRequest
- type GetSourcesByScanIDResponse
- type GetSourcesByScanIDResult
- type GetSourcesFilesToRetrieve
- type Header
- type Node
- type Paths
- type ResultPath
- type ResultPathNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter interface {
GetSourcesByScanID(scanID string, filenames []string) (*GetSourcesByScanIDResponse, error)
GetResultPathsForQuery(scanID string, queryID string) (*GetResultPathsForQueryResponse, error)
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetResultPathsForQuery ¶
func (e *Client) GetResultPathsForQuery(scanID, queryID string) (*GetResultPathsForQueryResponse, error)
func (*Client) GetSourcesByScanID ¶
func (e *Client) GetSourcesByScanID(scanID string, filenames []string) (*GetSourcesByScanIDResponse, error)
type CxWSResponseSourcesContent ¶
type CxWSResponseSourcesContent struct {
XMLName xml.Name `xml:"cxWSResponseSourcesContent"`
CxWSResponseSourceContents []CxWSResponseSourceContent `xml:"CxWSResponseSourceContent"`
}
type GetResultPathsForQueryResponse ¶
type GetResultPathsForQueryResponse struct {
XMLName xml.Name `xml:"GetResultPathsForQueryResponse"`
GetResultPathsForQueryResult GetResultPathsForQueryResult
}
type GetSourcesByScanIDRequest ¶
type GetSourcesByScanIDRequest struct {
XMLName xml.Name `xml:"chec:GetSourcesByScanID"`
ScanID string `xml:"chec:scanID"`
FilesToRetrieve GetSourcesFilesToRetrieve `xml:"chec:filesToRetreive"`
}
type GetSourcesByScanIDResponse ¶
type GetSourcesByScanIDResponse struct {
XMLName xml.Name `xml:"GetSourcesByScanIDResponse"`
GetSourcesByScanIDResult GetSourcesByScanIDResult
}
type GetSourcesByScanIDResult ¶
type GetSourcesByScanIDResult struct {
XMLName xml.Name `xml:"GetSourcesByScanIDResult"`
IsSuccessful bool `xml:"IsSuccesfull"`
ErrorMessage string `xml:"ErrorMessage"`
CxWSResponseSourcesContent CxWSResponseSourcesContent `xml:"cxWSResponseSourcesContent"`
}
type Header ¶
type Header struct {
XMLName struct{} `xml:"Header"`
Contents []byte `xml:",innerxml"`
}
type Node ¶
type Node struct {
XMLName xml.Name `xml:"Nodes"`
Nodes []ResultPathNode `xml:"CxWSPathNode"`
}
type Paths ¶
type Paths struct {
XMLName xml.Name `xml:"Paths"`
Paths []ResultPath `xml:"CxWSResultPath"`
}
type ResultPath ¶
type ResultPathNode ¶
Click to show internal directories.
Click to hide internal directories.