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.
Click to show internal directories.
Click to hide internal directories.