func NewQuayAdapter(config Configuration) (QuayAdapter, error) {
	a := QuayAdapter{
		config: config,
	}
	if a.config.Tag == "" {
		a.config.Tag = "latest"
	}
	return a, nil
}
NewQuayAdapter - creates and returns a QuayAdapter ready to use.
package adapters
import (
	b64 "encoding/base64"
	"encoding/json"
	"errors"
	"fmt"
	"net/http"
	"github.com/automationbroker/bundle-lib/bundle"
	log "github.com/sirupsen/logrus"
	yaml "gopkg.in/yaml.v2"
)
const (
	quayName        = "quay.io"
	quayCatalogURL  = "%v/api/v1/repository?public=true&private=true&namespace=%v"
	quayDigestURL   = "%v/api/v1/repository/%v/%v"
	quayManifestURL = "%v/api/v1/repository/%v/%v/manifest/%v/labels"
)
type QuayAdapter struct {
	config Configuration
}
type quayRepository struct {
	IsPublic    bool   `json:"is_public"`
	Kind        string `json:"kind"`
	Namespace   string `json:"namespace"`
	Name        string `json:"name"`
	Description string `json:"description"`
}
type quayImageResponse struct {
	Repositories []quayRepository `json:"repositories"`
}