registry

package
v0.0.0-...-edfa39e Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InClusterRegistry

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

InClusterRegistry helps deploying an in-cluster registry on a k8s cluster.

func NewInClusterRegistry

func NewInClusterRegistry(accessor *kube.Accessor, localPort uint16, ns string) (*InClusterRegistry, error)

NewInClusterRegistry creates a new in-cluster registry object.

func (*InClusterRegistry) Address

func (r *InClusterRegistry) Address() string

Address returns the local registry address after a successful call to Start().

func (*InClusterRegistry) Close

func (r *InClusterRegistry) Close() error

Close deletes local registry from k8s cluster and cleans-up port forward processes too.

func (*InClusterRegistry) Start

func (r *InClusterRegistry) Start() error

Start sets up registry and returns if any error was found while doing that.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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