mock

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCluster

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

MockCluster is a mock of Cluster interface

func NewMockCluster

func NewMockCluster(ctrl *gomock.Controller) *MockCluster

NewMockCluster creates a new mock instance

func (*MockCluster) AddEventListener

func (m *MockCluster) AddEventListener(arg0 cluster.ClusterListener) error

AddEventListener mocks base method

func (*MockCluster) ClearAlert

func (m *MockCluster) ClearAlert(arg0 api.ResourceType, arg1 int64) error

ClearAlert mocks base method

func (*MockCluster) DisableUpdates

func (m *MockCluster) DisableUpdates() error

DisableUpdates mocks base method

func (*MockCluster) EXPECT

func (m *MockCluster) EXPECT() *MockClusterMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCluster) EnableUpdates

func (m *MockCluster) EnableUpdates() error

EnableUpdates mocks base method

func (*MockCluster) Enumerate

func (m *MockCluster) Enumerate() (api.Cluster, error)

Enumerate mocks base method

func (*MockCluster) EnumerateAlerts

func (m *MockCluster) EnumerateAlerts(arg0, arg1 time.Time, arg2 api.ResourceType) (*api.Alerts, error)

EnumerateAlerts mocks base method

func (*MockCluster) EraseAlert

func (m *MockCluster) EraseAlert(arg0 api.ResourceType, arg1 int64) error

EraseAlert mocks base method

func (*MockCluster) GetData

func (m *MockCluster) GetData() (map[string]*api.Node, error)

GetData mocks base method

func (*MockCluster) GetGossipState

func (m *MockCluster) GetGossipState() *cluster.ClusterState

GetGossipState mocks base method

func (*MockCluster) GetTunnelConfig

func (m *MockCluster) GetTunnelConfig() api.TunnelConfig

GetTunnelConfig mocks base method

func (*MockCluster) Inspect

func (m *MockCluster) Inspect(arg0 string) (api.Node, error)

Inspect mocks base method

func (*MockCluster) NodeRemoveDone

func (m *MockCluster) NodeRemoveDone(arg0 string, arg1 error)

NodeRemoveDone mocks base method

func (*MockCluster) NodeStatus

func (m *MockCluster) NodeStatus() (api.Status, error)

NodeStatus mocks base method

func (*MockCluster) PeerStatus

func (m *MockCluster) PeerStatus(arg0 string) (map[string]api.Status, error)

PeerStatus mocks base method

func (*MockCluster) Remove

func (m *MockCluster) Remove(arg0 []api.Node, arg1 bool) error

Remove mocks base method

func (*MockCluster) SetFluentDConfig

func (m *MockCluster) SetFluentDConfig(arg0 api.FluentDConfig) error

SetFluentDConfig mocks base method

func (*MockCluster) SetLoggingURL

func (m *MockCluster) SetLoggingURL(arg0 string) error

SetLoggingURL mocks base method

func (*MockCluster) SetManagementURL

func (m *MockCluster) SetManagementURL(arg0 string) error

SetManagementURL mocks base method

func (*MockCluster) SetSize

func (m *MockCluster) SetSize(arg0 int) error

SetSize mocks base method

func (*MockCluster) SetTunnelConfig

func (m *MockCluster) SetTunnelConfig(arg0 api.TunnelConfig) error

SetTunnelConfig mocks base method

func (*MockCluster) Shutdown

func (m *MockCluster) Shutdown() error

Shutdown mocks base method

func (*MockCluster) Start

func (m *MockCluster) Start(arg0 int, arg1 bool) error

Start mocks base method

func (*MockCluster) UpdateData

func (m *MockCluster) UpdateData(arg0 map[string]interface{}) error

UpdateData mocks base method

func (*MockCluster) UpdateLabels

func (m *MockCluster) UpdateLabels(arg0 map[string]string) error

UpdateLabels mocks base method

type MockClusterMockRecorder

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

MockClusterMockRecorder is the mock recorder for MockCluster

func (*MockClusterMockRecorder) AddEventListener

func (mr *MockClusterMockRecorder) AddEventListener(arg0 interface{}) *gomock.Call

AddEventListener indicates an expected call of AddEventListener

func (*MockClusterMockRecorder) ClearAlert

func (mr *MockClusterMockRecorder) ClearAlert(arg0, arg1 interface{}) *gomock.Call

ClearAlert indicates an expected call of ClearAlert

func (*MockClusterMockRecorder) DisableUpdates

func (mr *MockClusterMockRecorder) DisableUpdates() *gomock.Call

DisableUpdates indicates an expected call of DisableUpdates

func (*MockClusterMockRecorder) EnableUpdates

func (mr *MockClusterMockRecorder) EnableUpdates() *gomock.Call

EnableUpdates indicates an expected call of EnableUpdates

func (*MockClusterMockRecorder) Enumerate

func (mr *MockClusterMockRecorder) Enumerate() *gomock.Call

Enumerate indicates an expected call of Enumerate

func (*MockClusterMockRecorder) EnumerateAlerts

func (mr *MockClusterMockRecorder) EnumerateAlerts(arg0, arg1, arg2 interface{}) *gomock.Call

EnumerateAlerts indicates an expected call of EnumerateAlerts

func (*MockClusterMockRecorder) EraseAlert

func (mr *MockClusterMockRecorder) EraseAlert(arg0, arg1 interface{}) *gomock.Call

EraseAlert indicates an expected call of EraseAlert

func (*MockClusterMockRecorder) GetData

func (mr *MockClusterMockRecorder) GetData() *gomock.Call

GetData indicates an expected call of GetData

func (*MockClusterMockRecorder) GetGossipState

func (mr *MockClusterMockRecorder) GetGossipState() *gomock.Call

GetGossipState indicates an expected call of GetGossipState

func (*MockClusterMockRecorder) GetTunnelConfig

func (mr *MockClusterMockRecorder) GetTunnelConfig() *gomock.Call

GetTunnelConfig indicates an expected call of GetTunnelConfig

func (*MockClusterMockRecorder) Inspect

func (mr *MockClusterMockRecorder) Inspect(arg0 interface{}) *gomock.Call

Inspect indicates an expected call of Inspect

func (*MockClusterMockRecorder) NodeRemoveDone

func (mr *MockClusterMockRecorder) NodeRemoveDone(arg0, arg1 interface{}) *gomock.Call

NodeRemoveDone indicates an expected call of NodeRemoveDone

func (*MockClusterMockRecorder) NodeStatus

func (mr *MockClusterMockRecorder) NodeStatus() *gomock.Call

NodeStatus indicates an expected call of NodeStatus

func (*MockClusterMockRecorder) PeerStatus

func (mr *MockClusterMockRecorder) PeerStatus(arg0 interface{}) *gomock.Call

PeerStatus indicates an expected call of PeerStatus

func (*MockClusterMockRecorder) Remove

func (mr *MockClusterMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call

Remove indicates an expected call of Remove

func (*MockClusterMockRecorder) SetFluentDConfig

func (mr *MockClusterMockRecorder) SetFluentDConfig(arg0 interface{}) *gomock.Call

SetFluentDConfig indicates an expected call of SetFluentDConfig

func (*MockClusterMockRecorder) SetLoggingURL

func (mr *MockClusterMockRecorder) SetLoggingURL(arg0 interface{}) *gomock.Call

SetLoggingURL indicates an expected call of SetLoggingURL

func (*MockClusterMockRecorder) SetManagementURL

func (mr *MockClusterMockRecorder) SetManagementURL(arg0 interface{}) *gomock.Call

SetManagementURL indicates an expected call of SetManagementURL

func (*MockClusterMockRecorder) SetSize

func (mr *MockClusterMockRecorder) SetSize(arg0 interface{}) *gomock.Call

SetSize indicates an expected call of SetSize

func (*MockClusterMockRecorder) SetTunnelConfig

func (mr *MockClusterMockRecorder) SetTunnelConfig(arg0 interface{}) *gomock.Call

SetTunnelConfig indicates an expected call of SetTunnelConfig

func (*MockClusterMockRecorder) Shutdown

func (mr *MockClusterMockRecorder) Shutdown() *gomock.Call

Shutdown indicates an expected call of Shutdown

func (*MockClusterMockRecorder) Start

func (mr *MockClusterMockRecorder) Start(arg0, arg1 interface{}) *gomock.Call

Start indicates an expected call of Start

func (*MockClusterMockRecorder) UpdateData

func (mr *MockClusterMockRecorder) UpdateData(arg0 interface{}) *gomock.Call

UpdateData indicates an expected call of UpdateData

func (*MockClusterMockRecorder) UpdateLabels

func (mr *MockClusterMockRecorder) UpdateLabels(arg0 interface{}) *gomock.Call

UpdateLabels indicates an expected call of UpdateLabels

Jump to

Keyboard shortcuts

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