Documentation ¶
Index ¶
- type ClientInterface
- type CodeLocation
- type ComponentVersionStatusCount
- type Dump
- type HubDumper
- func (hd *HubDumper) Dump() (*Dump, error)
- func (hd *HubDumper) DumpAllProjects() ([]*Project, error)
- func (hd *HubDumper) DumpCodeLocation(hubCodeLocation *hubapi.CodeLocation) (*CodeLocation, error)
- func (hd *HubDumper) DumpPolicyStatus(hubPolicyStatus *hubapi.ProjectVersionPolicyStatus) (*PolicyStatus, error)
- func (hd *HubDumper) DumpProject(hubProject *hubapi.Project) (*Project, error)
- func (hd *HubDumper) DumpRiskProfile(hubRiskProfile *hubapi.ProjectVersionRiskProfile) (*RiskProfile, error)
- func (hd *HubDumper) DumpScanSummary(hubScanSummary *hubapi.ScanSummary) (*ScanSummary, error)
- func (hd *HubDumper) DumpVersion(hubVersion *hubapi.ProjectVersion) (*Version, error)
- func (hd *HubDumper) Login() error
- func (hd *HubDumper) Version() (string, error)
- type PolicyStatus
- type Project
- type RiskProfile
- type ScanSummary
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientInterface ¶
ClientInterface .....
type CodeLocation ¶
type CodeLocation struct { ScanSummaries []*ScanSummary CreatedAt string MappedProjectVersion string Meta hubapi.Meta Name string Type string URL string UpdatedAt string }
CodeLocation .....
type ComponentVersionStatusCount ¶
ComponentVersionStatusCount .....
type Dump ¶
type Dump struct { Version string Projects []*Project Scans []*CodeLocation ScansByName map[string]*CodeLocation DuplicateShas map[string]bool }
Dump .....
type HubDumper ¶
HubDumper .....
func NewHubDumper ¶
NewHubDumper .....
func (*HubDumper) DumpAllProjects ¶
DumpAllProjects .....
func (*HubDumper) DumpCodeLocation ¶
func (hd *HubDumper) DumpCodeLocation(hubCodeLocation *hubapi.CodeLocation) (*CodeLocation, error)
DumpCodeLocation .....
func (*HubDumper) DumpPolicyStatus ¶
func (hd *HubDumper) DumpPolicyStatus(hubPolicyStatus *hubapi.ProjectVersionPolicyStatus) (*PolicyStatus, error)
DumpPolicyStatus .....
func (*HubDumper) DumpProject ¶
DumpProject .....
func (*HubDumper) DumpRiskProfile ¶
func (hd *HubDumper) DumpRiskProfile(hubRiskProfile *hubapi.ProjectVersionRiskProfile) (*RiskProfile, error)
DumpRiskProfile .....
func (*HubDumper) DumpScanSummary ¶
func (hd *HubDumper) DumpScanSummary(hubScanSummary *hubapi.ScanSummary) (*ScanSummary, error)
DumpScanSummary .....
func (*HubDumper) DumpVersion ¶
func (hd *HubDumper) DumpVersion(hubVersion *hubapi.ProjectVersion) (*Version, error)
DumpVersion .....
type PolicyStatus ¶
type PolicyStatus struct { ComponentVersionStatusCounts []*ComponentVersionStatusCount Meta hubapi.Meta OverallStatus string UpdatedAt string }
PolicyStatus .....
type RiskProfile ¶
type RiskProfile struct { BomLastUpdatedAt string Categories map[string]map[string]int Meta hubapi.Meta }
RiskProfile .....
type ScanSummary ¶
ScanSummary .....
type Version ¶
type Version struct { Name string CodeLocations []*CodeLocation RiskProfile *RiskProfile Distribution string Meta hubapi.Meta ReleasedOn string ReleaseComments string Phase string Nickname string PolicyStatus *PolicyStatus }
Version .....
Click to show internal directories.
Click to hide internal directories.