Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCredentials ¶
func GetCredentials(ctx cpi.Context, insecure bool, userPasswordCreds, registryURL string) credentials.Credentials
func NoSchemeURL ¶
func ParseUserPass ¶
Types ¶
type OCIRepository ¶
type OCIRepository interface { GetComponentVersion(archive *comparch.ComponentArchive, repo cpi.Repository) (cpi.ComponentVersionAccess, error) PushComponentVersion(archive *comparch.ComponentArchive, repo cpi.Repository, overwrite bool) error }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(ociRepository OCIRepository, repo cpi.Repository) (*Service, error)
func (*Service) GetComponentVersion ¶
func (s *Service) GetComponentVersion(archive *comparch.ComponentArchive, insecure bool, userPasswordCreds, registryURL string, ) (cpi.ComponentVersionAccess, error)
func (*Service) PushComponentVersion ¶
Click to show internal directories.
Click to hide internal directories.