cr

package
v0.0.0-...-f40bac8 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchModuleImage

func FetchModuleImage(repo, moduleName, moduleVersion string, opts ...Option) (v1.Image, error)

func FetchModuleListingImage

func FetchModuleListingImage(repo, moduleName string, opts ...Option) (v1.Image, error)

func FetchModuleReleaseImage

func FetchModuleReleaseImage(repo, moduleName, releaseChannel string, opts ...Option) (v1.Image, error)

func FetchModuleRunImages

func FetchModuleRunImages(repo, moduleName string, img v1.Image, opts ...Option) (map[string]v1.Image, error)

func GetAuthConfig

func GetAuthConfig(repo string, opts ...Option) (*authn.AuthConfig, string, error)

func ModuleReleaseImageMetadata

func ModuleReleaseImageMetadata(img v1.Image) (string, error)

func PushImage

func PushImage(repo, tag string, image v1.Image, opts ...Option) error

Types

type Option

type Option func(options *registryOptions)

func WithCA

func WithCA(ca string) Option

WithCA use custom CA certificate

func WithDisabledAuth

func WithDisabledAuth() Option

WithDisabledAuth don't use authConfig

func WithInsecureSchema

func WithInsecureSchema() Option

WithInsecureSchema use http schema instead of https

func WithUseDigest

func WithUseDigest() Option

WithUseDigest use digest except of tag

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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