Documentation
¶
Index ¶
- Constants
- type APIError
- type APIErrorDescription
- type AddLabel
- type BuildTriggerActivateRequest
- type ChangeRepoTrust
- type ChangeTag
- type ChangeVisibility
- type CreateMessage
- type CreateMessageMessage
- type GetRepo
- type GetRepoTags
- type GetRepoTagsAdditionalProperties
- type ImageSecurity
- type ImageSecurityData
- type ImageSecurityDataLayer
- type ImageSecurityDataLayerFeatures
- type ImageSecurityDataLayerFeaturesItems
- type ImageSecurityDataLayerFeaturesItemsVulnerabilities
- type ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItems
- func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItems) MarshalBinary() ([]byte, error)
- func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItems) UnmarshalBinary(b []byte) error
- func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItems) Validate(formats strfmt.Registry) error
- type ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadata
- func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadata) MarshalBinary() ([]byte, error)
- func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadata) UnmarshalBinary(b []byte) error
- func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadata) Validate(formats strfmt.Registry) error
- type ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVD
- func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVD) MarshalBinary() ([]byte, error)
- func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVD) UnmarshalBinary(b []byte) error
- func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVD) Validate(formats strfmt.Registry) error
- type ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVDCVSSv2
- func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVDCVSSv2) MarshalBinary() ([]byte, error)
- func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVDCVSSv2) UnmarshalBinary(b []byte) error
- func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVDCVSSv2) Validate(formats strfmt.Registry) error
- type ListRepoTags
- type ListRepoTagsTags
- type ListRepoTagsTagsItems
- type ListRepos
- type ListReposRepositories
- type ListReposRepositoriesItems
- type NewApp
- type NewOrg
- type NewPrototype
- type NewPrototypeActivatingUser
- type NewPrototypeDelegate
- type NewRepo
- type NewStarredRepository
- type NewToken
- type NewUser
- type NotificationCreateRequest
- type PrototypeUpdate
- type RepoUpdate
- type RepositoryBuildRequest
- type RestoreTag
- type RunParameters
- type TeamDescription
- type TeamPermission
- type TokenPermission
- type UpdateApp
- type UpdateOrg
- type UpdateUser
- type UserPermission
- type UserView
Constants ¶
const ( // AddLabelMediaTypeTextPlain captures enum value "text/plain" AddLabelMediaTypeTextPlain string = "text/plain" // AddLabelMediaTypeApplicationJSON captures enum value "application/json" AddLabelMediaTypeApplicationJSON string = "application/json" )
const ( // APIErrorDescriptionTitleDownstreamIssue captures enum value "downstream_issue" APIErrorDescriptionTitleDownstreamIssue string = "downstream_issue" // APIErrorDescriptionTitleExceedsLicense captures enum value "exceeds_license" APIErrorDescriptionTitleExceedsLicense string = "exceeds_license" // APIErrorDescriptionTitleExpiredToken captures enum value "expired_token" APIErrorDescriptionTitleExpiredToken string = "expired_token" // APIErrorDescriptionTitleExternalServiceTimeout captures enum value "external_service_timeout" APIErrorDescriptionTitleExternalServiceTimeout string = "external_service_timeout" // APIErrorDescriptionTitleFreshLoginRequired captures enum value "fresh_login_required" APIErrorDescriptionTitleFreshLoginRequired string = "fresh_login_required" // APIErrorDescriptionTitleInsufficientScope captures enum value "insufficient_scope" APIErrorDescriptionTitleInsufficientScope string = "insufficient_scope" // APIErrorDescriptionTitleInvalidRequest captures enum value "invalid_request" APIErrorDescriptionTitleInvalidRequest string = "invalid_request" // APIErrorDescriptionTitleInvalidResponse captures enum value "invalid_response" APIErrorDescriptionTitleInvalidResponse string = "invalid_response" // APIErrorDescriptionTitleInvalidToken captures enum value "invalid_token" APIErrorDescriptionTitleInvalidToken string = "invalid_token" // APIErrorDescriptionTitleNotFound captures enum value "not_found" APIErrorDescriptionTitleNotFound string = "not_found" )
const ( // ChangeVisibilityVisibilityPublic captures enum value "public" ChangeVisibilityVisibilityPublic string = "public" // ChangeVisibilityVisibilityPrivate captures enum value "private" ChangeVisibilityVisibilityPrivate string = "private" )
const ( // CreateMessageMessageMediaTypeTextPlain captures enum value "text/plain" CreateMessageMessageMediaTypeTextPlain string = "text/plain" // CreateMessageMessageMediaTypeTextMarkdown captures enum value "text/markdown" CreateMessageMessageMediaTypeTextMarkdown string = "text/markdown" )
const ( // CreateMessageMessageSeverityInfo captures enum value "info" CreateMessageMessageSeverityInfo string = "info" // CreateMessageMessageSeverityWarning captures enum value "warning" CreateMessageMessageSeverityWarning string = "warning" // CreateMessageMessageSeverityError captures enum value "error" CreateMessageMessageSeverityError string = "error" )
const ( // NewPrototypeRoleRead captures enum value "read" NewPrototypeRoleRead string = "read" // NewPrototypeRoleWrite captures enum value "write" NewPrototypeRoleWrite string = "write" // NewPrototypeRoleAdmin captures enum value "admin" NewPrototypeRoleAdmin string = "admin" )
const ( // NewPrototypeDelegateKindUser captures enum value "user" NewPrototypeDelegateKindUser string = "user" // NewPrototypeDelegateKindTeam captures enum value "team" NewPrototypeDelegateKindTeam string = "team" )
const ( // NewRepoRepoKindImage captures enum value "image" NewRepoRepoKindImage string = "image" // NewRepoRepoKindApplication captures enum value "application" NewRepoRepoKindApplication string = "application" )
const ( // NewRepoVisibilityPublic captures enum value "public" NewRepoVisibilityPublic string = "public" // NewRepoVisibilityPrivate captures enum value "private" NewRepoVisibilityPrivate string = "private" )
const ( // PrototypeUpdateRoleRead captures enum value "read" PrototypeUpdateRoleRead string = "read" // PrototypeUpdateRoleWrite captures enum value "write" PrototypeUpdateRoleWrite string = "write" // PrototypeUpdateRoleAdmin captures enum value "admin" PrototypeUpdateRoleAdmin string = "admin" )
const ( // TeamDescriptionRoleMember captures enum value "member" TeamDescriptionRoleMember string = "member" // TeamDescriptionRoleCreator captures enum value "creator" TeamDescriptionRoleCreator string = "creator" // TeamDescriptionRoleAdmin captures enum value "admin" TeamDescriptionRoleAdmin string = "admin" )
const ( // TeamPermissionRoleRead captures enum value "read" TeamPermissionRoleRead string = "read" // TeamPermissionRoleWrite captures enum value "write" TeamPermissionRoleWrite string = "write" // TeamPermissionRoleAdmin captures enum value "admin" TeamPermissionRoleAdmin string = "admin" )
const ( // TokenPermissionRoleRead captures enum value "read" TokenPermissionRoleRead string = "read" // TokenPermissionRoleWrite captures enum value "write" TokenPermissionRoleWrite string = "write" // TokenPermissionRoleAdmin captures enum value "admin" TokenPermissionRoleAdmin string = "admin" )
const ( // UserPermissionRoleRead captures enum value "read" UserPermissionRoleRead string = "read" // UserPermissionRoleWrite captures enum value "write" UserPermissionRoleWrite string = "write" // UserPermissionRoleAdmin captures enum value "admin" UserPermissionRoleAdmin string = "admin" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
type APIError struct {
// Details about the specific instance of the error.
Detail string `json:"detail,omitempty"`
// Deprecated; alias for detail
ErrorMessage string `json:"error_message,omitempty"`
// Deprecated; alias for detail
ErrorType string `json:"error_type,omitempty"`
// Status code of the response.
// Required: true
Status *int64 `json:"status"`
// Unique error code to identify the type of error.
// Required: true
Title *string `json:"title"`
// Reference to the type of the error.
// Required: true
Type *string `json:"type"`
}
APIError Api error swagger:model ApiError
func (*APIError) MarshalBinary ¶
MarshalBinary interface implementation
func (*APIError) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type APIErrorDescription ¶
type APIErrorDescription struct {
// A more detailed description of the error that may include help for fixing the issue.
// Required: true
Description *string `json:"description"`
// The title of the error. Can be used to uniquely identify the kind of error.
// Required: true
Title *string `json:"title"`
// A reference to the error type resource
// Required: true
Type *string `json:"type"`
}
APIErrorDescription Description of an error swagger:model ApiErrorDescription
func (*APIErrorDescription) MarshalBinary ¶
func (m *APIErrorDescription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIErrorDescription) UnmarshalBinary ¶
func (m *APIErrorDescription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddLabel ¶
type AddLabel struct {
// The key for the label
// Required: true
Key *string `json:"key"`
// The media type for this label
// Required: true
MediaType *string `json:"media_type"`
// The value for the label
// Required: true
Value *string `json:"value"`
}
AddLabel Adds a label to a manifest swagger:model AddLabel
func (*AddLabel) MarshalBinary ¶
MarshalBinary interface implementation
func (*AddLabel) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BuildTriggerActivateRequest ¶
type BuildTriggerActivateRequest struct {
// Arbitrary json.
// Required: true
Config interface{} `json:"config"`
// The name of the robot that will be used to pull images.
PullRobot string `json:"pull_robot,omitempty"`
}
BuildTriggerActivateRequest build trigger activate request swagger:model BuildTriggerActivateRequest
func (*BuildTriggerActivateRequest) MarshalBinary ¶
func (m *BuildTriggerActivateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BuildTriggerActivateRequest) UnmarshalBinary ¶
func (m *BuildTriggerActivateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeRepoTrust ¶
type ChangeRepoTrust struct {
// Whether or not signing is enabled for the repository.
// Required: true
TrustEnabled *bool `json:"trust_enabled"`
}
ChangeRepoTrust Change the trust settings for the repository. swagger:model ChangeRepoTrust
func (*ChangeRepoTrust) MarshalBinary ¶
func (m *ChangeRepoTrust) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeRepoTrust) UnmarshalBinary ¶
func (m *ChangeRepoTrust) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeTag ¶
type ChangeTag struct {
// (If specified) The expiration for the image
Expiration float64 `json:"expiration,omitempty"`
// (If specified) Image identifier to which the tag should point
Image string `json:"image,omitempty"`
}
ChangeTag Makes changes to a specific tag swagger:model ChangeTag
func (*ChangeTag) MarshalBinary ¶
MarshalBinary interface implementation
func (*ChangeTag) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ChangeVisibility ¶
type ChangeVisibility struct {
// Visibility which the repository will start with
// Required: true
Visibility *string `json:"visibility"`
}
ChangeVisibility Change the visibility for the repository. swagger:model ChangeVisibility
func (*ChangeVisibility) MarshalBinary ¶
func (m *ChangeVisibility) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeVisibility) UnmarshalBinary ¶
func (m *ChangeVisibility) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateMessage ¶
type CreateMessage struct {
// message
Message *CreateMessageMessage `json:"message,omitempty"`
}
CreateMessage Create a new message swagger:model CreateMessage
func (*CreateMessage) MarshalBinary ¶
func (m *CreateMessage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateMessage) UnmarshalBinary ¶
func (m *CreateMessage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateMessageMessage ¶
type CreateMessageMessage struct {
// The actual message
// Required: true
Content *string `json:"content"`
// The media type of the message
// Required: true
MediaType *string `json:"media_type"`
// The severity of the message
// Required: true
Severity *string `json:"severity"`
}
CreateMessageMessage A single message swagger:model createMessageMessage
func (*CreateMessageMessage) MarshalBinary ¶
func (m *CreateMessageMessage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateMessageMessage) UnmarshalBinary ¶
func (m *CreateMessageMessage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetRepo ¶
type GetRepo struct {
// can admin
CanAdmin bool `json:"can_admin,omitempty"`
// can write
CanWrite bool `json:"can_write,omitempty"`
// description
Description string `json:"description,omitempty"`
// is organization
IsOrganization bool `json:"is_organization,omitempty"`
// is public
IsPublic bool `json:"is_public,omitempty"`
// is starred
IsStarred bool `json:"is_starred,omitempty"`
// kind
Kind string `json:"kind,omitempty"`
// name
Name string `json:"name,omitempty"`
// namespace
Namespace string `json:"namespace,omitempty"`
// status token
StatusToken string `json:"status_token,omitempty"`
// tag expiration s
TagExpirationS float64 `json:"tag_expiration_s,omitempty"`
// tags
Tags GetRepoTags `json:"tags,omitempty"`
// trust enabled
TrustEnabled bool `json:"trust_enabled,omitempty"`
}
GetRepo Response body of a successful getRepo. swagger:model GetRepo
func (*GetRepo) MarshalBinary ¶
MarshalBinary interface implementation
func (*GetRepo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GetRepoTags ¶
type GetRepoTags map[string]GetRepoTagsAdditionalProperties
GetRepoTags get repo tags swagger:model getRepoTags
type GetRepoTagsAdditionalProperties ¶
type GetRepoTagsAdditionalProperties struct {
// image id
ImageID string `json:"image_id,omitempty"`
// last modififed
LastModififed string `json:"last_modififed,omitempty"`
// manifest digest
ManifestDigest string `json:"manifest_digest,omitempty"`
// name
Name string `json:"name,omitempty"`
// size
Size float64 `json:"size,omitempty"`
}
GetRepoTagsAdditionalProperties get repo tags additional properties swagger:model getRepoTagsAdditionalProperties
func (*GetRepoTagsAdditionalProperties) MarshalBinary ¶
func (m *GetRepoTagsAdditionalProperties) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetRepoTagsAdditionalProperties) UnmarshalBinary ¶
func (m *GetRepoTagsAdditionalProperties) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageSecurity ¶
type ImageSecurity struct {
// data
Data *ImageSecurityData `json:"data,omitempty"`
// status
Status string `json:"status,omitempty"`
}
ImageSecurity Response body of a successful v. swagger:model ImageSecurity
func (*ImageSecurity) MarshalBinary ¶
func (m *ImageSecurity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageSecurity) UnmarshalBinary ¶
func (m *ImageSecurity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageSecurityData ¶
type ImageSecurityData struct {
// layer
Layer *ImageSecurityDataLayer `json:"Layer,omitempty"`
}
ImageSecurityData image security data swagger:model imageSecurityData
func (*ImageSecurityData) MarshalBinary ¶
func (m *ImageSecurityData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageSecurityData) UnmarshalBinary ¶
func (m *ImageSecurityData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageSecurityDataLayer ¶
type ImageSecurityDataLayer struct {
// features
Features ImageSecurityDataLayerFeatures `json:"Features"`
// indexed by version
IndexedByVersion float64 `json:"IndexedByVersion,omitempty"`
// name
Name string `json:"Name,omitempty"`
// namespace name
NamespaceName string `json:"NamespaceName,omitempty"`
// parent name
ParentName string `json:"ParentName,omitempty"`
}
ImageSecurityDataLayer image security data layer swagger:model imageSecurityDataLayer
func (*ImageSecurityDataLayer) MarshalBinary ¶
func (m *ImageSecurityDataLayer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageSecurityDataLayer) UnmarshalBinary ¶
func (m *ImageSecurityDataLayer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageSecurityDataLayerFeatures ¶
type ImageSecurityDataLayerFeatures []*ImageSecurityDataLayerFeaturesItems
ImageSecurityDataLayerFeatures image security data layer features swagger:model imageSecurityDataLayerFeatures
type ImageSecurityDataLayerFeaturesItems ¶
type ImageSecurityDataLayerFeaturesItems struct {
// added by
AddedBy string `json:"AddedBy,omitempty"`
// name
Name string `json:"Name,omitempty"`
// namespace name
NamespaceName string `json:"NamespaceName,omitempty"`
// version
Version string `json:"Version,omitempty"`
// version format
VersionFormat string `json:"VersionFormat,omitempty"`
// vulnerabilities
Vulnerabilities ImageSecurityDataLayerFeaturesItemsVulnerabilities `json:"Vulnerabilities"`
}
ImageSecurityDataLayerFeaturesItems image security data layer features items swagger:model imageSecurityDataLayerFeaturesItems
func (*ImageSecurityDataLayerFeaturesItems) MarshalBinary ¶
func (m *ImageSecurityDataLayerFeaturesItems) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageSecurityDataLayerFeaturesItems) UnmarshalBinary ¶
func (m *ImageSecurityDataLayerFeaturesItems) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageSecurityDataLayerFeaturesItemsVulnerabilities ¶
type ImageSecurityDataLayerFeaturesItemsVulnerabilities []*ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItems
ImageSecurityDataLayerFeaturesItemsVulnerabilities image security data layer features items vulnerabilities swagger:model imageSecurityDataLayerFeaturesItemsVulnerabilities
type ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItems ¶
type ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItems struct {
// fixed by
FixedBy string `json:"FixedBy,omitempty"`
// link
Link string `json:"Link,omitempty"`
// metadata
Metadata *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadata `json:"Metadata,omitempty"`
// name
Name string `json:"Name,omitempty"`
// namespace name
NamespaceName string `json:"NamespaceName,omitempty"`
// severity
Severity string `json:"Severity,omitempty"`
}
ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItems image security data layer features items vulnerabilities items swagger:model imageSecurityDataLayerFeaturesItemsVulnerabilitiesItems
func (*ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItems) MarshalBinary ¶
func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItems) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItems) UnmarshalBinary ¶
func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItems) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadata ¶
type ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadata struct {
// n v d
NVD *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVD `json:"NVD,omitempty"`
}
ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadata image security data layer features items vulnerabilities items metadata swagger:model imageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadata
func (*ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadata) MarshalBinary ¶
func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadata) UnmarshalBinary ¶
func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVD ¶
type ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVD struct {
// c v s sv2
CVSSv2 *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVDCVSSv2 `json:"CVSSv2,omitempty"`
}
ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVD image security data layer features items vulnerabilities items metadata n v d swagger:model imageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVD
func (*ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVD) MarshalBinary ¶
func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVD) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVD) UnmarshalBinary ¶
func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVD) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVD) Validate ¶
func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVD) Validate(formats strfmt.Registry) error
Validate validates this image security data layer features items vulnerabilities items metadata n v d
type ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVDCVSSv2 ¶
type ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVDCVSSv2 struct {
// score
Score float64 `json:"Score,omitempty"`
// vectors
Vectors string `json:"Vectors,omitempty"`
}
ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVDCVSSv2 image security data layer features items vulnerabilities items metadata n v d c v s sv2 swagger:model imageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVDCVSSv2
func (*ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVDCVSSv2) MarshalBinary ¶
func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVDCVSSv2) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVDCVSSv2) UnmarshalBinary ¶
func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVDCVSSv2) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVDCVSSv2) Validate ¶
func (m *ImageSecurityDataLayerFeaturesItemsVulnerabilitiesItemsMetadataNVDCVSSv2) Validate(formats strfmt.Registry) error
Validate validates this image security data layer features items vulnerabilities items metadata n v d c v s sv2
type ListRepoTags ¶
type ListRepoTags struct {
// has additional
HasAdditional bool `json:"has_additional,omitempty"`
// page
Page float64 `json:"page,omitempty"`
// tags
Tags ListRepoTagsTags `json:"tags"`
}
ListRepoTags Response body of a successful listRepoTags. swagger:model ListRepoTags
func (*ListRepoTags) MarshalBinary ¶
func (m *ListRepoTags) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListRepoTags) UnmarshalBinary ¶
func (m *ListRepoTags) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListRepoTagsTags ¶
type ListRepoTagsTags []*ListRepoTagsTagsItems
ListRepoTagsTags list repo tags tags swagger:model listRepoTagsTags
type ListRepoTagsTagsItems ¶
type ListRepoTagsTagsItems struct {
// docker image id
DockerImageID string `json:"docker_image_id,omitempty"`
// manifest digest
ManifestDigest string `json:"manifest_digest,omitempty"`
// name
Name string `json:"name,omitempty"`
// reversion
Reversion bool `json:"reversion,omitempty"`
}
ListRepoTagsTagsItems list repo tags tags items swagger:model listRepoTagsTagsItems
func (*ListRepoTagsTagsItems) MarshalBinary ¶
func (m *ListRepoTagsTagsItems) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListRepoTagsTagsItems) UnmarshalBinary ¶
func (m *ListRepoTagsTagsItems) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListRepos ¶
type ListRepos struct {
// repositories
Repositories ListReposRepositories `json:"repositories"`
}
ListRepos Response body of a successful listRepos. swagger:model ListRepos
func (*ListRepos) MarshalBinary ¶
MarshalBinary interface implementation
func (*ListRepos) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ListReposRepositories ¶
type ListReposRepositories []*ListReposRepositoriesItems
ListReposRepositories list repos repositories swagger:model listReposRepositories
type ListReposRepositoriesItems ¶
type ListReposRepositoriesItems struct {
// description
Description string `json:"description,omitempty"`
// is public
IsPublic bool `json:"is_public,omitempty"`
// is starred
IsStarred bool `json:"is_starred,omitempty"`
// kind
Kind string `json:"kind,omitempty"`
// name
Name string `json:"name,omitempty"`
// namespace
Namespace string `json:"namespace,omitempty"`
}
ListReposRepositoriesItems list repos repositories items swagger:model listReposRepositoriesItems
func (*ListReposRepositoriesItems) MarshalBinary ¶
func (m *ListReposRepositoriesItems) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListReposRepositoriesItems) UnmarshalBinary ¶
func (m *ListReposRepositoriesItems) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewApp ¶
type NewApp struct {
// The URI for the application's homepage
ApplicationURI string `json:"application_uri,omitempty"`
// The e-mail address of the avatar to use for the application
AvatarEmail string `json:"avatar_email,omitempty"`
// The human-readable description for the application
Description string `json:"description,omitempty"`
// The name of the application
// Required: true
Name *string `json:"name"`
// The URI for the application's OAuth redirect
RedirectURI string `json:"redirect_uri,omitempty"`
}
NewApp Description of a new organization application. swagger:model NewApp
func (*NewApp) MarshalBinary ¶
MarshalBinary interface implementation
func (*NewApp) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NewOrg ¶
type NewOrg struct {
// Organization contact email
Email string `json:"email,omitempty"`
// Organization username
// Required: true
Name *string `json:"name"`
}
NewOrg Description of a new organization. swagger:model NewOrg
func (*NewOrg) MarshalBinary ¶
MarshalBinary interface implementation
func (*NewOrg) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NewPrototype ¶
type NewPrototype struct {
// activating user
ActivatingUser *NewPrototypeActivatingUser `json:"activating_user,omitempty"`
// delegate
// Required: true
Delegate *NewPrototypeDelegate `json:"delegate"`
// Role that should be applied to the delegate
// Required: true
Role *string `json:"role"`
}
NewPrototype Description of a new prototype swagger:model NewPrototype
func (*NewPrototype) MarshalBinary ¶
func (m *NewPrototype) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewPrototype) UnmarshalBinary ¶
func (m *NewPrototype) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewPrototypeActivatingUser ¶
type NewPrototypeActivatingUser struct {
// The username for the activating_user
// Required: true
Name *string `json:"name"`
}
NewPrototypeActivatingUser Repository creating user to whom the rule should apply swagger:model newPrototypeActivatingUser
func (*NewPrototypeActivatingUser) MarshalBinary ¶
func (m *NewPrototypeActivatingUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewPrototypeActivatingUser) UnmarshalBinary ¶
func (m *NewPrototypeActivatingUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewPrototypeDelegate ¶
type NewPrototypeDelegate struct {
// Whether the delegate is a user or a team
// Required: true
Kind *string `json:"kind"`
// The name for the delegate team or user
// Required: true
Name *string `json:"name"`
}
NewPrototypeDelegate Information about the user or team to which the rule grants access swagger:model newPrototypeDelegate
func (*NewPrototypeDelegate) MarshalBinary ¶
func (m *NewPrototypeDelegate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewPrototypeDelegate) UnmarshalBinary ¶
func (m *NewPrototypeDelegate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewRepo ¶
type NewRepo struct {
// Markdown encoded description for the repository
// Required: true
Description *string `json:"description"`
// Namespace in which the repository should be created. If omitted, the username of the caller is used
Namespace string `json:"namespace,omitempty"`
// The kind of repository
RepoKind string `json:"repo_kind,omitempty"`
// Repository name
// Required: true
Repository *string `json:"repository"`
// Visibility which the repository will start with
// Required: true
Visibility *string `json:"visibility"`
}
NewRepo Description of a new repository swagger:model NewRepo
func (*NewRepo) MarshalBinary ¶
MarshalBinary interface implementation
func (*NewRepo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NewStarredRepository ¶
type NewStarredRepository struct {
// Namespace in which the repository belongs
// Required: true
Namespace *string `json:"namespace"`
// Repository name
// Required: true
Repository *string `json:"repository"`
}
NewStarredRepository new starred repository swagger:model NewStarredRepository
func (*NewStarredRepository) MarshalBinary ¶
func (m *NewStarredRepository) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewStarredRepository) UnmarshalBinary ¶
func (m *NewStarredRepository) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewToken ¶
type NewToken struct {
// Friendly name to help identify the token
// Required: true
FriendlyName *string `json:"friendlyName"`
}
NewToken Description of a new token. swagger:model NewToken
func (*NewToken) MarshalBinary ¶
MarshalBinary interface implementation
func (*NewToken) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NewUser ¶
type NewUser struct {
// The user's email address
Email string `json:"email,omitempty"`
// The optional invite code
InviteCode string `json:"invite_code,omitempty"`
// The user's password
// Required: true
Password *string `json:"password"`
// The (may be disabled) recaptcha response code for verification
RecaptchaResponse string `json:"recaptcha_response,omitempty"`
// The user's username
// Required: true
Username *string `json:"username"`
}
NewUser Fields which must be specified for a new user. swagger:model NewUser
func (*NewUser) MarshalBinary ¶
MarshalBinary interface implementation
func (*NewUser) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NotificationCreateRequest ¶
type NotificationCreateRequest struct {
// JSON config information for the specific method of notification
// Required: true
Config interface{} `json:"config"`
// The event on which the notification will respond
// Required: true
Event *string `json:"event"`
// JSON config information for the specific event of notification
// Required: true
EventConfig interface{} `json:"eventConfig"`
// The method of notification (such as email or web callback)
// Required: true
Method *string `json:"method"`
// The human-readable title of the notification
Title string `json:"title,omitempty"`
}
NotificationCreateRequest Information for creating a notification on a repository swagger:model NotificationCreateRequest
func (*NotificationCreateRequest) MarshalBinary ¶
func (m *NotificationCreateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NotificationCreateRequest) UnmarshalBinary ¶
func (m *NotificationCreateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PrototypeUpdate ¶
type PrototypeUpdate struct {
// Role that should be applied to the permission
// Required: true
Role *string `json:"role"`
}
PrototypeUpdate Description of a the new prototype role swagger:model PrototypeUpdate
func (*PrototypeUpdate) MarshalBinary ¶
func (m *PrototypeUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PrototypeUpdate) UnmarshalBinary ¶
func (m *PrototypeUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RepoUpdate ¶
type RepoUpdate struct {
// Markdown encoded description for the repository
// Required: true
Description *string `json:"description"`
}
RepoUpdate Fields which can be updated in a repository. swagger:model RepoUpdate
func (*RepoUpdate) MarshalBinary ¶
func (m *RepoUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RepoUpdate) UnmarshalBinary ¶
func (m *RepoUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RepositoryBuildRequest ¶
type RepositoryBuildRequest struct {
// The URL of the .tar.gz to build. Must start with "http" or "https".
ArchiveURL string `json:"archive_url,omitempty"`
// Pass in the context for the dockerfile. This is optional.
Context string `json:"context,omitempty"`
// The tags to which the built images will be pushed. If none specified, "latest" is used.
// Min Items: 1
// Unique: true
DockerTags []string `json:"docker_tags"`
// Path to a dockerfile. You can only specify this or subdirectory.
DockerfilePath string `json:"dockerfile_path,omitempty"`
// The file id that was generated when the build spec was uploaded
FileID string `json:"file_id,omitempty"`
// Username of a Quay robot account to use as pull credentials
PullRobot string `json:"pull_robot,omitempty"`
// Subdirectory in which the Dockerfile can be found. You can only specify this or dockerfile_path
Subdirectory string `json:"subdirectory,omitempty"`
}
RepositoryBuildRequest Description of a new repository build. swagger:model RepositoryBuildRequest
func (*RepositoryBuildRequest) MarshalBinary ¶
func (m *RepositoryBuildRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RepositoryBuildRequest) UnmarshalBinary ¶
func (m *RepositoryBuildRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestoreTag ¶
type RestoreTag struct {
// Image identifier to which the tag should point
// Required: true
Image *string `json:"image"`
// If specified, the manifest digest that should be used
ManifestDigest string `json:"manifest_digest,omitempty"`
}
RestoreTag Restores a tag to a specific image swagger:model RestoreTag
func (*RestoreTag) MarshalBinary ¶
func (m *RestoreTag) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestoreTag) UnmarshalBinary ¶
func (m *RestoreTag) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RunParameters ¶
type RunParameters struct {
// (SCM only) If specified, the name of the branch to build.
BranchName string `json:"branch_name,omitempty"`
// (Custom Only) If specified, the ref/SHA1 used to checkout a git repository.
CommitSha string `json:"commit_sha,omitempty"`
// (SCM Only) If specified, the ref to build.
Refs interface{} `json:"refs,omitempty"`
}
RunParameters Optional run parameters for activating the build trigger swagger:model RunParameters
func (*RunParameters) MarshalBinary ¶
func (m *RunParameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RunParameters) UnmarshalBinary ¶
func (m *RunParameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TeamDescription ¶
type TeamDescription struct {
// Markdown description for the team
Description string `json:"description,omitempty"`
// Org wide permissions that should apply to the team
// Required: true
Role *string `json:"role"`
}
TeamDescription Description of a team swagger:model TeamDescription
func (*TeamDescription) MarshalBinary ¶
func (m *TeamDescription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamDescription) UnmarshalBinary ¶
func (m *TeamDescription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TeamPermission ¶
type TeamPermission struct {
// Role to use for the team
// Required: true
Role *string `json:"role"`
}
TeamPermission Description of a team permission. swagger:model TeamPermission
func (*TeamPermission) MarshalBinary ¶
func (m *TeamPermission) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamPermission) UnmarshalBinary ¶
func (m *TeamPermission) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TokenPermission ¶
type TokenPermission struct {
// Role to use for the token
// Required: true
Role *string `json:"role"`
}
TokenPermission Description of a token permission swagger:model TokenPermission
func (*TokenPermission) MarshalBinary ¶
func (m *TokenPermission) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TokenPermission) UnmarshalBinary ¶
func (m *TokenPermission) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateApp ¶
type UpdateApp struct {
// The URI for the application's homepage
// Required: true
ApplicationURI *string `json:"application_uri"`
// The e-mail address of the avatar to use for the application
AvatarEmail string `json:"avatar_email,omitempty"`
// The human-readable description for the application
Description string `json:"description,omitempty"`
// The name of the application
// Required: true
Name *string `json:"name"`
// The URI for the application's OAuth redirect
// Required: true
RedirectURI *string `json:"redirect_uri"`
}
UpdateApp Description of an updated application. swagger:model UpdateApp
func (*UpdateApp) MarshalBinary ¶
MarshalBinary interface implementation
func (*UpdateApp) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UpdateOrg ¶
type UpdateOrg struct {
// Organization contact email
Email string `json:"email,omitempty"`
// Whether the organization desires to receive emails for invoices
InvoiceEmail bool `json:"invoice_email,omitempty"`
// The email address at which to receive invoices
InvoiceEmailAddress string `json:"invoice_email_address,omitempty"`
// The number of seconds for tag expiration
// Minimum: 0
TagExpirationS *int64 `json:"tag_expiration_s,omitempty"`
}
UpdateOrg Description of updates for an existing organization swagger:model UpdateOrg
func (*UpdateOrg) MarshalBinary ¶
MarshalBinary interface implementation
func (*UpdateOrg) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UpdateUser ¶
type UpdateUser struct {
// The optional entered company for the user
Company string `json:"company,omitempty"`
// The user's email address
Email string `json:"email,omitempty"`
// The optional entered family name for the user
FamilyName string `json:"family_name,omitempty"`
// The optional entered given name for the user
GivenName string `json:"given_name,omitempty"`
// Whether the user desires to receive an invoice email.
InvoiceEmail bool `json:"invoice_email,omitempty"`
// Custom email address for receiving invoices
InvoiceEmailAddress string `json:"invoice_email_address,omitempty"`
// The user's password
Password string `json:"password,omitempty"`
// The number of seconds for tag expiration
// Minimum: 0
TagExpirationS *int64 `json:"tag_expiration_s,omitempty"`
// The user's username
Username string `json:"username,omitempty"`
}
UpdateUser Fields which can be updated in a user. swagger:model UpdateUser
func (*UpdateUser) MarshalBinary ¶
func (m *UpdateUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateUser) UnmarshalBinary ¶
func (m *UpdateUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserPermission ¶
type UserPermission struct {
// Role to use for the user
// Required: true
Role *string `json:"role"`
}
UserPermission Description of a user permission. swagger:model UserPermission
func (*UserPermission) MarshalBinary ¶
func (m *UserPermission) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserPermission) UnmarshalBinary ¶
func (m *UserPermission) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserView ¶
type UserView struct {
// true if this user data represents a guest user
// Required: true
Anonymous *bool `json:"anonymous"`
// Avatar data representing the user's icon
// Required: true
Avatar interface{} `json:"avatar"`
// Whether the user has permission to create repositories
CanCreateRepo bool `json:"can_create_repo,omitempty"`
// The user's email address
Email string `json:"email,omitempty"`
// The list of external login providers against which the user has authenticated
Logins []interface{} `json:"logins"`
// Information about the organizations in which the user is a member
Organizations []interface{} `json:"organizations"`
// If true, the user's namespace is the preferred namespace to display
PreferredNamespace bool `json:"preferred_namespace,omitempty"`
// Whether the user's email address has been verified
Verified bool `json:"verified,omitempty"`
}
UserView Describes a user swagger:model UserView
func (*UserView) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserView) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Source Files
¶
- add_label.go
- api_error.go
- api_error_description.go
- build_trigger_activate_request.go
- change_repo_trust.go
- change_tag.go
- change_visibility.go
- create_message.go
- create_message_message.go
- get_repo.go
- get_repo_tags.go
- get_repo_tags_additional_properties.go
- image_security.go
- image_security_data.go
- image_security_data_layer.go
- image_security_data_layer_features.go
- image_security_data_layer_features_items.go
- image_security_data_layer_features_items_vulnerabilities.go
- image_security_data_layer_features_items_vulnerabilities_items.go
- image_security_data_layer_features_items_vulnerabilities_items_metadata.go
- image_security_data_layer_features_items_vulnerabilities_items_metadata_nvd.go
- image_security_data_layer_features_items_vulnerabilities_items_metadata_nvdcvssv2.go
- list_repo_tags.go
- list_repo_tags_tags.go
- list_repo_tags_tags_items.go
- list_repos.go
- list_repos_repositories.go
- list_repos_repositories_items.go
- new_app.go
- new_org.go
- new_prototype.go
- new_prototype_activating_user.go
- new_prototype_delegate.go
- new_repo.go
- new_starred_repository.go
- new_token.go
- new_user.go
- notification_create_request.go
- prototype_update.go
- repo_update.go
- repository_build_request.go
- restore_tag.go
- run_parameters.go
- team_description.go
- team_permission.go
- token_permission.go
- update_app.go
- update_org.go
- update_user.go
- user_permission.go
- user_view.go