test

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2018 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeClient

type FakeClient struct {
	mock.Mock
}

FakeClient mocks out the Kubernetes client

func (*FakeClient) GetIngresses

func (c *FakeClient) GetIngresses() ([]*v1beta1.Ingress, error)

GetIngresses mocks out calls to GetIngresses

func (*FakeClient) GetServices

func (c *FakeClient) GetServices() ([]*v1.Service, error)

GetServices mocks out calls to GetServices

func (*FakeClient) String

func (c *FakeClient) String() string

func (*FakeClient) WatchIngresses

func (c *FakeClient) WatchIngresses() k8s.Watcher

WatchIngresses mocks out calls to WatchIngresses

func (*FakeClient) WatchServices

func (c *FakeClient) WatchServices() k8s.Watcher

WatchServices mocks out calls to WatchServices

Jump to

Keyboard shortcuts

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