Skip to content
This repository was archived by the owner on Apr 7, 2024. It is now read-only.
This repository was archived by the owner on Apr 7, 2024. It is now read-only.

Support creating store with fallbacks #35

@Wwwsylvia

Description

@Wwwsylvia

Proposed API:

package credentials

// NewStoreWithFallbacks returns a new store based on the given stores.
// The second and the subsequent stores will be used as fallbacks for the first store.
func NewStoreWithFallbacks(store Store, fallbacks ...Store) Store {
	panic("not implemented") // TODO: Implement
}

Design discussion: #18
Reference: https://github.com/oras-project/oras/blob/main/internal/credential/store.go#L93-L129

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions