Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ImageTables = []interface{}{ &Repository{}, &Image{}, &ImageSeverityCount{}, &ImageTags{}, }
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CollectResource ¶
type Image ¶
type Image struct { ID uint `gorm:"primarykey"` RepositoryID uint `neo:"ignore"` AccountID string `gorm:"-"` Region string `gorm:"-"` ArtifactMediaType *string ImageDigest *string ImageManifestMediaType *string ImagePushedAt *time.Time ImageScanFindingsSeverityCounts []*ImageSeverityCount `gorm:"constraint:OnDelete:CASCADE;"` ImageScanFindingsImageScanCompletedAt *time.Time ImageScanFindingsVulnerabilitySourceUpdatedAt *time.Time ImageScanStatusDescription *string ImageScanStatusStatus *string ImageSizeInBytes *int64 ImageTags []*ImageTags `gorm:"constraint:OnDelete:CASCADE;"` RegistryId *string RepositoryName *string }
type ImageConfig ¶
type ImageConfig struct {
Filter string
}
type ImageSeverityCount ¶
type ImageSeverityCount struct { ID uint `gorm:"primarykey"` ImageID uint `neo:"ignore"` AccountID string `gorm:"-"` Region string `gorm:"-"` Severity string Count int32 }
func (ImageSeverityCount) TableName ¶
func (ImageSeverityCount) TableName() string
type ImageTags ¶
type Repository ¶
type Repository struct { ID uint `gorm:"primarykey"` AccountID string Region string CreatedAt *time.Time EncryptionType *string EncryptionKmsKey *string ImageScanningConfigurationScanOnPush *bool ImageTagMutability *string RegistryId *string ARN *string Name *string URI *string Images []*Image `gorm:"constraint:OnDelete:CASCADE;"` // contains filtered or unexported fields }
func (Repository) TableName ¶
func (Repository) TableName() string
Click to show internal directories.
Click to hide internal directories.