mocks

package
v0.0.0-...-3468198 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) GetNumberSentinelSlavesInMemory

func (_m *Client) GetNumberSentinelSlavesInMemory(ip string) (int32, error)

GetNumberSentinelSlavesInMemory provides a mock function with given fields: ip

func (*Client) GetNumberSentinelsInMemory

func (_m *Client) GetNumberSentinelsInMemory(ip string) (int32, error)

GetNumberSentinelsInMemory provides a mock function with given fields: ip

func (*Client) GetSentinelMonitor

func (_m *Client) GetSentinelMonitor(ip string) (string, error)

GetSentinelMonitor provides a mock function with given fields: ip

func (*Client) GetSlaveOf

func (_m *Client) GetSlaveOf(ip string) (string, error)

GetSlaveOf provides a mock function with given fields: ip

func (*Client) IsMaster

func (_m *Client) IsMaster(ip string) (bool, error)

IsMaster provides a mock function with given fields: ip

func (*Client) MakeMaster

func (_m *Client) MakeMaster(ip string) error

MakeMaster provides a mock function with given fields: ip

func (*Client) MakeSlaveOf

func (_m *Client) MakeSlaveOf(ip string, masterIP string) error

MakeSlaveOf provides a mock function with given fields: ip, masterIP

func (*Client) MonitorRedis

func (_m *Client) MonitorRedis(ip string, monitor string, quorum string) error

MonitorRedis provides a mock function with given fields: ip, monitor, quorum

func (*Client) ResetSentinel

func (_m *Client) ResetSentinel(ip string) error

ResetSentinel provides a mock function with given fields: ip

func (*Client) SetCustomRedisConfig

func (_m *Client) SetCustomRedisConfig(ip string, configs []string) error

SetCustomRedisConfig provides a mock function with given fields: ip, configs

func (*Client) SetCustomSentinelConfig

func (_m *Client) SetCustomSentinelConfig(ip string, configs []string) error

SetCustomSentinelConfig provides a mock function with given fields: ip, configs

Jump to

Keyboard shortcuts

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