registry

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	registryHost string,
	baseRepository string,
	registryAuthEnabled bool,
	registryAuthUsername string,
	registryAuthPassword string,
) (*orasRegistry, error)

New returns a new registry implementation with an underlying oras-go client.

Types

type FetchPackageResponse

type FetchPackageResponse struct {
	Component   v1.Component
	Annotations map[string]string
}

FetchPackageResponse wraps the FetchPackage response.

type PackageRequest

type PackageRequest struct {
	Component        *v1.Component
	SDKVersion       string
	ComponentVersion string
}

PackageRequest represents a Package request.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL