Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct { Endpoint string `json:"endpoint"` Name string `json:"name"` Username string `json:"username"` Password string `json:"password"` Type int `json:"type"` }
Endpoint : For /api/targets
type ExistingMember ¶
type ExistingMember struct { MID int `json:"id"` Name string `json:"entity_name"` RoleID int `json:"role_id"` }
ExistingMember : For GET /api/projects/20/members
type ExistingProject ¶
ExistingProject : For /api/projects?name=***
type ExistingReplicationPolicy ¶
type ExistingReplicationPolicy struct { }
type ExistingUser ¶
ExistingUser : For GET /api/users
type Member ¶
type Member struct { RoleID int `json:"role_id"` Member *MemberUser `json:"member_user"` }
Member : For /api/projects/:pid/members
type Metadata ¶
type Metadata struct {
AccessLevel string `json:"public"`
}
Metadata : Metadata for project
type Project ¶
type Project struct { Name string `json:"project_name"` Metadata *Metadata `json:"metadata,omitempty"` }
Project : For /api/projects
type ReplicationPolicy ¶
type ReplicationPolicy struct {
ProjectID int `json:"project_id"`
}
ReplicationPolicy : For /api/replications
type Repository ¶
Repository : For /api/repositories
type ScanOverview ¶
type ScanOverview struct {
Status string `json:"scan_status"`
}
ScanOverview : For scanning
type SystemInfo ¶
type SystemInfo struct { AuthMode string `json:"auth_mode"` RegistryURL string `json:"registry_url"` }
SystemInfo : For GET /api/systeminfo
Click to show internal directories.
Click to hide internal directories.