mocks

package
v0.0.0-...-b2c40c7 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 OperationsServer

type OperationsServer struct {
	AddrStub func() string

	NewCounterStub func(metrics.CounterOpts) metrics.Counter

	NewGaugeStub func(metrics.GaugeOpts) metrics.Gauge

	NewHistogramStub func(metrics.HistogramOpts) metrics.Histogram

	RegisterCheckerStub func(string, healthz.HealthChecker) error

	StartStub func() error

	StopStub func() error
	// contains filtered or unexported fields
}

func (*OperationsServer) Addr

func (fake *OperationsServer) Addr() string

func (*OperationsServer) AddrCallCount

func (fake *OperationsServer) AddrCallCount() int

func (*OperationsServer) AddrCalls

func (fake *OperationsServer) AddrCalls(stub func() string)

func (*OperationsServer) AddrReturns

func (fake *OperationsServer) AddrReturns(result1 string)

func (*OperationsServer) AddrReturnsOnCall

func (fake *OperationsServer) AddrReturnsOnCall(i int, result1 string)

func (*OperationsServer) Invocations

func (fake *OperationsServer) Invocations() map[string][][]interface{}

func (*OperationsServer) NewCounter

func (fake *OperationsServer) NewCounter(arg1 metrics.CounterOpts) metrics.Counter

func (*OperationsServer) NewCounterArgsForCall

func (fake *OperationsServer) NewCounterArgsForCall(i int) metrics.CounterOpts

func (*OperationsServer) NewCounterCallCount

func (fake *OperationsServer) NewCounterCallCount() int

func (*OperationsServer) NewCounterCalls

func (fake *OperationsServer) NewCounterCalls(stub func(metrics.CounterOpts) metrics.Counter)

func (*OperationsServer) NewCounterReturns

func (fake *OperationsServer) NewCounterReturns(result1 metrics.Counter)

func (*OperationsServer) NewCounterReturnsOnCall

func (fake *OperationsServer) NewCounterReturnsOnCall(i int, result1 metrics.Counter)

func (*OperationsServer) NewGauge

func (fake *OperationsServer) NewGauge(arg1 metrics.GaugeOpts) metrics.Gauge

func (*OperationsServer) NewGaugeArgsForCall

func (fake *OperationsServer) NewGaugeArgsForCall(i int) metrics.GaugeOpts

func (*OperationsServer) NewGaugeCallCount

func (fake *OperationsServer) NewGaugeCallCount() int

func (*OperationsServer) NewGaugeCalls

func (fake *OperationsServer) NewGaugeCalls(stub func(metrics.GaugeOpts) metrics.Gauge)

func (*OperationsServer) NewGaugeReturns

func (fake *OperationsServer) NewGaugeReturns(result1 metrics.Gauge)

func (*OperationsServer) NewGaugeReturnsOnCall

func (fake *OperationsServer) NewGaugeReturnsOnCall(i int, result1 metrics.Gauge)

func (*OperationsServer) NewHistogram

func (fake *OperationsServer) NewHistogram(arg1 metrics.HistogramOpts) metrics.Histogram

func (*OperationsServer) NewHistogramArgsForCall

func (fake *OperationsServer) NewHistogramArgsForCall(i int) metrics.HistogramOpts

func (*OperationsServer) NewHistogramCallCount

func (fake *OperationsServer) NewHistogramCallCount() int

func (*OperationsServer) NewHistogramCalls

func (fake *OperationsServer) NewHistogramCalls(stub func(metrics.HistogramOpts) metrics.Histogram)

func (*OperationsServer) NewHistogramReturns

func (fake *OperationsServer) NewHistogramReturns(result1 metrics.Histogram)

func (*OperationsServer) NewHistogramReturnsOnCall

func (fake *OperationsServer) NewHistogramReturnsOnCall(i int, result1 metrics.Histogram)

func (*OperationsServer) RegisterChecker

func (fake *OperationsServer) RegisterChecker(arg1 string, arg2 healthz.HealthChecker) error

func (*OperationsServer) RegisterCheckerArgsForCall

func (fake *OperationsServer) RegisterCheckerArgsForCall(i int) (string, healthz.HealthChecker)

func (*OperationsServer) RegisterCheckerCallCount

func (fake *OperationsServer) RegisterCheckerCallCount() int

func (*OperationsServer) RegisterCheckerCalls

func (fake *OperationsServer) RegisterCheckerCalls(stub func(string, healthz.HealthChecker) error)

func (*OperationsServer) RegisterCheckerReturns

func (fake *OperationsServer) RegisterCheckerReturns(result1 error)

func (*OperationsServer) RegisterCheckerReturnsOnCall

func (fake *OperationsServer) RegisterCheckerReturnsOnCall(i int, result1 error)

func (*OperationsServer) Start

func (fake *OperationsServer) Start() error

func (*OperationsServer) StartCallCount

func (fake *OperationsServer) StartCallCount() int

func (*OperationsServer) StartCalls

func (fake *OperationsServer) StartCalls(stub func() error)

func (*OperationsServer) StartReturns

func (fake *OperationsServer) StartReturns(result1 error)

func (*OperationsServer) StartReturnsOnCall

func (fake *OperationsServer) StartReturnsOnCall(i int, result1 error)

func (*OperationsServer) Stop

func (fake *OperationsServer) Stop() error

func (*OperationsServer) StopCallCount

func (fake *OperationsServer) StopCallCount() int

func (*OperationsServer) StopCalls

func (fake *OperationsServer) StopCalls(stub func() error)

func (*OperationsServer) StopReturns

func (fake *OperationsServer) StopReturns(result1 error)

func (*OperationsServer) StopReturnsOnCall

func (fake *OperationsServer) StopReturnsOnCall(i int, result1 error)

type ServerRequestContext

type ServerRequestContext struct {
	mock.Mock
}

ServerRequestContext is an autogenerated mock type for the ServerRequestContext type

func (*ServerRequestContext) BasicAuthentication

func (_m *ServerRequestContext) BasicAuthentication() (string, error)

BasicAuthentication provides a mock function with given fields:

func (*ServerRequestContext) CanActOnType

func (_m *ServerRequestContext) CanActOnType(_a0 string) error

CanActOnType provides a mock function with given fields: _a0

func (*ServerRequestContext) ChunksToDeliver

func (_m *ServerRequestContext) ChunksToDeliver(_a0 string) (int, error)

ChunksToDeliver provides a mock function with given fields: _a0

func (*ServerRequestContext) ContainsAffiliation

func (_m *ServerRequestContext) ContainsAffiliation(_a0 string) error

ContainsAffiliation provides a mock function with given fields: _a0

func (*ServerRequestContext) GetBoolQueryParm

func (_m *ServerRequestContext) GetBoolQueryParm(name string) (bool, error)

GetBoolQueryParm provides a mock function with given fields: name

func (*ServerRequestContext) GetCaller

func (_m *ServerRequestContext) GetCaller() (user.User, error)

GetCaller provides a mock function with given fields:

func (*ServerRequestContext) GetCertificates

GetCertificates provides a mock function with given fields: _a0, _a1

func (*ServerRequestContext) GetQueryParm

func (_m *ServerRequestContext) GetQueryParm(name string) string

GetQueryParm provides a mock function with given fields: name

func (*ServerRequestContext) GetReq

func (_m *ServerRequestContext) GetReq() *http.Request

GetReq provides a mock function with given fields:

func (*ServerRequestContext) GetResp

GetResp provides a mock function with given fields:

func (*ServerRequestContext) HasRole

func (_m *ServerRequestContext) HasRole(role string) error

HasRole provides a mock function with given fields: role

func (*ServerRequestContext) IsLDAPEnabled

func (_m *ServerRequestContext) IsLDAPEnabled() bool

IsLDAPEnabled provides a mock function with given fields:

func (*ServerRequestContext) ReadBody

func (_m *ServerRequestContext) ReadBody(_a0 interface{}) error

ReadBody provides a mock function with given fields: _a0

func (*ServerRequestContext) TokenAuthentication

func (_m *ServerRequestContext) TokenAuthentication() (string, error)

TokenAuthentication provides a mock function with given fields:

Jump to

Keyboard shortcuts

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