Documentation ¶ Index ¶ func NewClient(session *session.Session, awsConfig *aws.Config, db *gorm.DB, log *zap.Logger, ...) resource.ClientInterface type Client func (c *Client) CollectResource(resource string, config interface{}) error type Image func (Image) TableName() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewClient ¶ func NewClient(session *session.Session, awsConfig *aws.Config, db *gorm.DB, log *zap.Logger, accountID string, region string) resource.ClientInterface Types ¶ type Client ¶ type Client struct { // contains filtered or unexported fields } func (*Client) CollectResource ¶ func (c *Client) CollectResource(resource string, config interface{}) error type Image ¶ type Image struct { ID uint `gorm:"primarykey"` AccountID string Region string ImageDigest *string ImageTag *string } func (Image) TableName ¶ added in v0.3.8 func (Image) TableName() string Source Files ¶ View all Source files client.goimages.go Click to show internal directories. Click to hide internal directories.