Documentation ¶
Overview ¶
Package AWS implements AWS repository importer.
Index ¶
Constants ¶
View Source
const (
// RepoName contains the importer repository name.
RepoName = "AWS"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
Repo holds data related to AWS repository.
func NewRepo ¶
func NewRepo(ctx context.Context, hashrEc2Client *ec2.Client, hashrS3Client *s3.Client, hashrBucketName string, hashrSSHUser string, osfilter string, osarchs []string) (*Repo, error)
NewRepo returns a new instance of AWS repository (Repo).
func (*Repo) DiscoverRepo ¶
DiscoverRepo returns a list of AMI matching the AMI filters.
Click to show internal directories.
Click to hide internal directories.