mocks

package
v2.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2019 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scrubber

type Scrubber struct {
	mock.Mock
}

Scrubber is an autogenerated mock type for the Scrubber type

func (*Scrubber) ScrubMapping

func (_m *Scrubber) ScrubMapping(sn *v1alpha1.Mapping) (bool, bool, *net.IP)

ScrubMapping provides a mock function with given fields: sn

func (*Scrubber) ValidateEndpoints

func (_m *Scrubber) ValidateEndpoints(_a0 *v1alpha1.Mapping, endpoints *v1.Endpoints) error

ValidateEndpoints provides a mock function with given fields: _a0, endpoints

type Syncer

type Syncer struct {
	mock.Mock
}

Syncer is an autogenerated mock type for the Syncer type

func (*Syncer) DeleteMapping

func (_m *Syncer) DeleteMapping(sn *v1alpha1.Mapping, externalIP net.IP) (bool, error)

DeleteMapping provides a mock function with given fields: sn, externalIP

func (*Syncer) SyncMapping

func (_m *Syncer) SyncMapping(sn *v1alpha1.Mapping, svc *v1.Service, eps *v1.Endpoints) (bool, error)

SyncMapping provides a mock function with given fields: sn, svc, eps

Jump to

Keyboard shortcuts

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