Documentation ¶
Index ¶
- Constants
- func DefaultCredential(registry string) auth.CredentialFunc
- func EmptyCredential(ctx context.Context, hostport string) (auth.Credential, error)
- func GetRepository(ctx context.Context, ref string) (registry.Repository, error)
- func Pull(ctx context.Context, ref string, data store.Storer[[]byte]) error
- func Push(ctx context.Context, kind string, ref string, pkgData []byte) error
- type Tags
Constants ¶
View Source
const ( //PackageMetaLayerMediaType = "application/vnd.cncf.kform.package.meta.v1.tar+gzip" //PackageImageLayerMediaType = "application/vnd.cncf.kform.package.image.v1.tar+gzip" PackageLayerMediaType = "application/vnd.cncf.kform.package.v1.tar+gzip" ModuleMediaType = "application/vnd.cncf.kform.module.v1+json" ProviderMediaType = "application/vnd.cncf.kform.provider.v1+json" )
Variables ¶
This section is empty.
Functions ¶
func DefaultCredential ¶
func DefaultCredential(registry string) auth.CredentialFunc
func EmptyCredential ¶
func GetRepository ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.