ormb

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Login(hostname, username, password string, insecureOpt bool) error
	Push(refStr string) error
	Pull(refStr string) error
	Export(refStr, dst string) error
	Save(src, refStr string) error
	Tag(refStr, targetStr string) error
	Remove(refStr string) error
}

Interface is the interface to manage models with a remote registry.

func New

func New(opts ...oras.ClientOption) (Interface, error)

New creates a OCI-based ORMB client.

type ORMB

type ORMB struct {
	// contains filtered or unexported fields
}

func (ORMB) Export

func (o ORMB) Export(refStr, dst string) error

func (ORMB) Login

func (o ORMB) Login(hostname, username, password string, insecureOpt bool) error

func (ORMB) Pull

func (o ORMB) Pull(refStr string) error

func (ORMB) Push

func (o ORMB) Push(refStr string) error

func (ORMB) Remove

func (o ORMB) Remove(refStr string) error

func (ORMB) Save

func (o ORMB) Save(src, refStr string) error

func (ORMB) Tag

func (o ORMB) Tag(refStr, targetStr string) error

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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