ocimodelsource

package
v1.42.2 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFromRegistry

func NewFromRegistry(ctx context.Context, cfg Config) (source.Source, error)

NewFromRegistry creates a new OCI model source by fetching the model artifact from a registry.

func NewSourceProvider

func NewSourceProvider(reference string, registryOpts *image.RegistryOptions, alias source.Alias) source.Provider

NewSourceProvider creates a new OCI model artifact source provider.

Types

type Config

type Config struct {
	Reference       string
	RegistryOptions *image.RegistryOptions
	Alias           source.Alias
}

Config holds the input configuration for an OCI model artifact source.

Jump to

Keyboard shortcuts

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