Documentation ¶
Index ¶
- Constants
- type CurationAuditCommand
- func (ca *CurationAuditCommand) CommandName() string
- func (ca *CurationAuditCommand) Run() (err error)
- func (ca *CurationAuditCommand) SetParallelRequests(threads int) *CurationAuditCommand
- func (ca *CurationAuditCommand) SetRepo(tech coreutils.Technology) error
- func (ca *CurationAuditCommand) SetWorkingDirs(dirs []string) *CurationAuditCommand
- type ErrorResp
- type ErrorsResp
- type PackageStatus
- type PackageStatusTable
- type Policy
Constants ¶
View Source
const ( BlockingReasonPolicy = "Policy violations" BlockingReasonNotFound = "Package pending update" BlockMessageKey = "jfrog packages curation" NotBeingFoundKey = "not being found" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CurationAuditCommand ¶
type CurationAuditCommand struct { PackageManagerConfig *rtUtils.RepositoryConfig OriginPath string *utils.GraphBasicParams // contains filtered or unexported fields }
func NewCurationAuditCommand ¶
func NewCurationAuditCommand() *CurationAuditCommand
func (*CurationAuditCommand) CommandName ¶
func (ca *CurationAuditCommand) CommandName() string
func (*CurationAuditCommand) Run ¶
func (ca *CurationAuditCommand) Run() (err error)
func (*CurationAuditCommand) SetParallelRequests ¶
func (ca *CurationAuditCommand) SetParallelRequests(threads int) *CurationAuditCommand
func (*CurationAuditCommand) SetRepo ¶
func (ca *CurationAuditCommand) SetRepo(tech coreutils.Technology) error
func (*CurationAuditCommand) SetWorkingDirs ¶
func (ca *CurationAuditCommand) SetWorkingDirs(dirs []string) *CurationAuditCommand
type ErrorsResp ¶
type ErrorsResp struct {
Errors []ErrorResp `json:"errors"`
}
type PackageStatus ¶
type PackageStatus struct { Action string `json:"action"` ParentName string `json:"direct_dependency_package_name"` ParentVersion string `json:"direct_dependency_package_version"` BlockedPackageUrl string `json:"blocked_package_url"` PackageName string `json:"blocked_package_name"` PackageVersion string `json:"blocked_package_version"` BlockingReason string `json:"blocking_reason"` DepRelation string `json:"dependency_relation"` PkgType string `json:"type"` Policy []Policy `json:"policies"` }
type PackageStatusTable ¶
type PackageStatusTable struct { Status string `col-name:"Action"` ParentName string `col-name:"Direct Dependency\nPackage Name"` ParentVersion string `col-name:"Direct Dependency\nPackage Version"` BlockedPackageUrl string `col-name:"Blocked Package URL"` PackageName string `col-name:"Blocked Package\nName"` PackageVersion string `col-name:"Blocked Package\nVersion"` BlockingReason string `col-name:"Blocking Reason"` PkgType string `col-name:"Package Type"` Policy []policyTable `embed-table:"true"` }
Click to show internal directories.
Click to hide internal directories.