imgpkginterface

package
v0.0.0-...-9331f55 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package imgpkginterface ImgPkgClient defines functions to pull/push/List images

Package imgpkginterface ImgPkgClient defines functions to pull/push/List images

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTKGRTMVersion

func IsTKGRTMVersion(tag string) bool

func PrintErrorAndExit

func PrintErrorAndExit(err error)

func ReplaceSlash

func ReplaceSlash(s string) string

func UnderscoredPlus

func UnderscoredPlus(s string) string

Types

type Imgpkg

type Imgpkg struct {
}

func (*Imgpkg) CopyImageFromTar

func (c *Imgpkg) CopyImageFromTar(sourceImageName, destImageRepo, customImageRepoCertificate string, insecureconnection bool) error

func (*Imgpkg) CopyImageToTar

func (c *Imgpkg) CopyImageToTar(sourceImageName, destImageRepo, customImageRepoCertificate string, insecureconnection bool) error

func (*Imgpkg) GetImageTagList

func (c *Imgpkg) GetImageTagList(sourceImageName string) []string

func (*Imgpkg) PullImage

func (c *Imgpkg) PullImage(sourceImageName, destDir string) error

type ImgpkgClient

type ImgpkgClient interface {
	CopyImageFromTar(sourceImageName string, destImageRepo string, customImageRepoCertificate string, insecureconnection bool) error
	CopyImageToTar(sourceImageName string, destImageRepo string, customImageRepoCertificate string, insecureconnection bool) error
	PullImage(sourceImageName string, destDir string) error
	GetImageTagList(sourceImageName string) []string
}

Jump to

Keyboard shortcuts

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