Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CredExtractor ¶
type CredExtractor struct {
// contains filtered or unexported fields
}
func CreateCredExtractor ¶
func CreateCredExtractor() *CredExtractor
func (*CredExtractor) GetCredentials ¶
type Extractor ¶
type Extractor interface {
// Prints the name of the extractor
Name() string
// Returns true if extractor is supported for extracting credentials for the given image
IsSupported(named reference.Named) bool
// Returns the proper credentials for the given image
GetCredentials(ctx context.Context, named reference.Named) (username, password string, err error)
}
Click to show internal directories.
Click to hide internal directories.