/
model_scanner_registration_req.go
29 lines (27 loc) · 1.2 KB
/
model_scanner_registration_req.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
* Harbor API
*
* These APIs provide services for manipulating Harbor project.
*
* API version: 2.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package swagger
type ScannerRegistrationReq struct {
// The name of this registration
Name string `json:"name"`
// An optional description of this registration.
Description string `json:"description,omitempty"`
// A base URL of the scanner adapter.
Url string `json:"url"`
// Specify what authentication approach is adopted for the HTTP communications. Supported types Basic\", \"Bearer\" and api key header \"X-ScannerAdapter-API-Key\"
Auth string `json:"auth,omitempty"`
// An optional value of the HTTP Authorization header sent with each request to the Scanner Adapter API.
AccessCredential string `json:"access_credential,omitempty"`
// Indicate if skip the certificate verification when sending HTTP requests
SkipCertVerify bool `json:"skip_certVerify,omitempty"`
// Indicate whether use internal registry addr for the scanner to pull content or not
UseInternalAddr bool `json:"use_internal_addr,omitempty"`
// Indicate whether the registration is enabled or not
Disabled bool `json:"disabled,omitempty"`
}