Documentation ¶
Overview ¶
Package gcr implements Google Container Repository importer.
Index ¶
Constants ¶
View Source
const (
// RepoName contains the repository name.
RepoName = "gcr"
)
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 a GCR repository.
func NewRepo ¶
func NewRepo(ctx context.Context, oauth2Token oauth2.TokenSource, repositoryPath string) (*Repo, error)
NewRepo returns new instance of a GCR repository.
func (*Repo) DiscoverRepo ¶
DiscoverRepo traverses the GCR repository and return supported images.
Click to show internal directories.
Click to hide internal directories.