registry

package
v0.0.0-...-7a2caac Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0, MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectRegistry

func ConnectRegistry(cli client.APIClient) error

ConnectRegistry connects the local registry to the kind network. This is necessary so the pods can access the registry.

func CreateLocalRegistry

func CreateLocalRegistry(
	regName string,
	regPort int,
	image string,
	cli client.APIClient,
	log logger.Logger,
) error

func DeleteLocalRegistry

func DeleteLocalRegistry(cli client.APIClient, log logger.Logger) error

func EnsureLocalRegistryRunning

func EnsureLocalRegistryRunning(cli client.APIClient, connect bool, log logger.Logger) error

EnsureLocalRegistryRunning ensures a local docker registry is running, as per https://kind.sigs.k8s.io/docs/user/local-registry/

Types

This section is empty.

Jump to

Keyboard shortcuts

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