fake

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package fake implements a fake namespace start and stopper used for testing purpouses.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamespaceStartStopper

type NamespaceStartStopper struct {
	StartNamespaceCalled        int
	StartNamespaceArgumentsCall map[string]string

	StopNamespaceCalled        int
	StopNamespaceArgumentsCall map[string]string
}

NamespaceStartStopper is a fake manager.NamespaceStartStopper.

func NewNamespaceStartStopper

func NewNamespaceStartStopper() *NamespaceStartStopper

NewNamespaceStartStopper creates a new NamespaceManager.

func (*NamespaceStartStopper) StartNamespace

func (nm *NamespaceStartStopper) StartNamespace(local, remote string)

StartNamespace starts the reflection for a given namespace.

func (*NamespaceStartStopper) StopNamespace

func (nm *NamespaceStartStopper) StopNamespace(local, remote string)

StopNamespace stops the reflection for a given namespace.

Jump to

Keyboard shortcuts

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