cnabtooci

package
v0.14.1-beta.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseOCIReference

func ParseOCIReference(ociRef string) (reference.Named, error)

Types

type Registry

type Registry struct {
	*portercontext.Context
}

func NewRegistry

func NewRegistry(c *portercontext.Context) *Registry

func (*Registry) PullBundle

func (r *Registry) PullBundle(tag string, insecureRegistry bool) (*bundle.Bundle, error)

PullBundle pulls a bundle from an OCI registry.

func (*Registry) PushBundle

func (r *Registry) PushBundle(bun *bundle.Bundle, tag string, insecureRegistry bool) error

func (*Registry) PushInvocationImage

func (r *Registry) PushInvocationImage(invocationImage string) (string, error)

PushInvocationImage pushes the invocation image from the Docker image cache to the specified location the expected format of the invocationImage is REGISTRY/NAME:TAG. Returns the image digest from the registry.

Jump to

Keyboard shortcuts

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