wrappers

package
v0.0.0-...-035f276 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CraneWrapper

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

CraneWrapper wraps crane operations

func NewCraneWrapper

func NewCraneWrapper(instrumentationProvider instrumentation.IInstrumentationProvider, retryPolicy retrypolicy.IRetryPolicy) *CraneWrapper

NewCraneWrapper Cto'r for CraneWrapper

func (*CraneWrapper) Digest

func (craneWrapper *CraneWrapper) Digest(imageReference string, opt ...crane.Option) (string, error)

Digest get image digest using image ref using crane Digest call

type ICraneWrapper

type ICraneWrapper interface {
	// Digest get image digest using image ref using crane Digest call
	Digest(ref string, opt ...crane.Option) (string, error)
}

ICraneWrapper wraps crane operations

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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