semvertagger

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImage

func GetImage(r string, opt ...Option) (v1.Image, name.Reference, error)

func GetManifest

func GetManifest(r string, opt ...Option) (*remote.Descriptor, error)
func Head(r string, opt ...Option) (*v1.Descriptor, error)

func Insecure

func Insecure(o *Options)

Insecure is an Option that allows image references to be fetched without TLS.

func Tag

func Tag(refStr string, tags []string, versionLabelKey string, opt ...Option) error

Types

type Option

type Option func(*Options)

Option is a functional option for crane.

func WithTransport

func WithTransport(t http.RoundTripper) Option

WithTransport is a functional option for overriding the default transport for remote operations.

type Options

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

func MakeOptions

func MakeOptions(opts ...Option) Options

Jump to

Keyboard shortcuts

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