mocks

package
v1.5.13 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 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 added in v1.4.1

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 added in v1.4.1

func (fake *OperationsServer) Addr() string

func (*OperationsServer) AddrCallCount added in v1.4.1

func (fake *OperationsServer) AddrCallCount() int

func (*OperationsServer) AddrCalls added in v1.4.1

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

func (*OperationsServer) AddrReturns added in v1.4.1

func (fake *OperationsServer) AddrReturns(result1 string)

func (*OperationsServer) AddrReturnsOnCall added in v1.4.1

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

func (*OperationsServer) Invocations added in v1.4.1

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

func (*OperationsServer) NewCounter added in v1.4.1

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

func (*OperationsServer) NewCounterArgsForCall added in v1.4.1

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

func (*OperationsServer) NewCounterCallCount added in v1.4.1

func (fake *OperationsServer) NewCounterCallCount() int

func (*OperationsServer) NewCounterCalls added in v1.4.1

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

func (*OperationsServer) NewCounterReturns added in v1.4.1

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

func (*OperationsServer) NewCounterReturnsOnCall added in v1.4.1

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

func (*OperationsServer) NewGauge added in v1.4.1

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

func (*OperationsServer) NewGaugeArgsForCall added in v1.4.1

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

func (*OperationsServer) NewGaugeCallCount added in v1.4.1

func (fake *OperationsServer) NewGaugeCallCount() int

func (*OperationsServer) NewGaugeCalls added in v1.4.1

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

func (*OperationsServer) NewGaugeReturns added in v1.4.1

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

func (*OperationsServer) NewGaugeReturnsOnCall added in v1.4.1

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

func (*OperationsServer) NewHistogram added in v1.4.1

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

func (*OperationsServer) NewHistogramArgsForCall added in v1.4.1

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

func (*OperationsServer) NewHistogramCallCount added in v1.4.1

func (fake *OperationsServer) NewHistogramCallCount() int

func (*OperationsServer) NewHistogramCalls added in v1.4.1

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

func (*OperationsServer) NewHistogramReturns added in v1.4.1

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

func (*OperationsServer) NewHistogramReturnsOnCall added in v1.4.1

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

func (*OperationsServer) RegisterChecker added in v1.4.1

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

func (*OperationsServer) RegisterCheckerArgsForCall added in v1.4.1

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

func (*OperationsServer) RegisterCheckerCallCount added in v1.4.1

func (fake *OperationsServer) RegisterCheckerCallCount() int

func (*OperationsServer) RegisterCheckerCalls added in v1.4.1

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

func (*OperationsServer) RegisterCheckerReturns added in v1.4.1

func (fake *OperationsServer) RegisterCheckerReturns(result1 error)

func (*OperationsServer) RegisterCheckerReturnsOnCall added in v1.4.1

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

func (*OperationsServer) Start added in v1.4.1

func (fake *OperationsServer) Start() error

func (*OperationsServer) StartCallCount added in v1.4.1

func (fake *OperationsServer) StartCallCount() int

func (*OperationsServer) StartCalls added in v1.4.1

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

func (*OperationsServer) StartReturns added in v1.4.1

func (fake *OperationsServer) StartReturns(result1 error)

func (*OperationsServer) StartReturnsOnCall added in v1.4.1

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

func (*OperationsServer) Stop added in v1.4.1

func (fake *OperationsServer) Stop() error

func (*OperationsServer) StopCallCount added in v1.4.1

func (fake *OperationsServer) StopCallCount() int

func (*OperationsServer) StopCalls added in v1.4.1

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

func (*OperationsServer) StopReturns added in v1.4.1

func (fake *OperationsServer) StopReturns(result1 error)

func (*OperationsServer) StopReturnsOnCall added in v1.4.1

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 added in v1.3.0

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 added in v1.3.0

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 added in v1.3.0

func (_m *ServerRequestContext) IsLDAPEnabled() bool

IsLDAPEnabled provides a mock function with given fields:

func (*ServerRequestContext) ReadBody added in v1.3.0

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