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 (fake *OperationsServer) Addr() string
func (fake *OperationsServer) AddrCallCount() int
func (fake *OperationsServer) AddrCalls(stub func() string)
func (fake *OperationsServer) AddrReturns(result1 string)
func (fake *OperationsServer) AddrReturnsOnCall(i int, result1 string)
func (fake *OperationsServer) Invocations() map[string][][]interface{}
func (fake *OperationsServer) NewCounter(arg1 metrics.CounterOpts) metrics.Counter
func (fake *OperationsServer) NewCounterArgsForCall(i int) metrics.CounterOpts
func (fake *OperationsServer) NewCounterCallCount() int
func (fake *OperationsServer) NewCounterCalls(stub func(metrics.CounterOpts) metrics.Counter)
func (fake *OperationsServer) NewCounterReturns(result1 metrics.Counter)
func (fake *OperationsServer) NewCounterReturnsOnCall(i int, result1 metrics.Counter)
func (fake *OperationsServer) NewGauge(arg1 metrics.GaugeOpts) metrics.Gauge
func (fake *OperationsServer) NewGaugeArgsForCall(i int) metrics.GaugeOpts
func (fake *OperationsServer) NewGaugeCallCount() int
func (fake *OperationsServer) NewGaugeCalls(stub func(metrics.GaugeOpts) metrics.Gauge)
func (fake *OperationsServer) NewGaugeReturns(result1 metrics.Gauge)
func (fake *OperationsServer) NewGaugeReturnsOnCall(i int, result1 metrics.Gauge)
func (fake *OperationsServer) NewHistogram(arg1 metrics.HistogramOpts) metrics.Histogram
func (fake *OperationsServer) NewHistogramArgsForCall(i int) metrics.HistogramOpts
func (fake *OperationsServer) NewHistogramCallCount() int
func (fake *OperationsServer) NewHistogramCalls(stub func(metrics.HistogramOpts) metrics.Histogram)
func (fake *OperationsServer) NewHistogramReturns(result1 metrics.Histogram)
func (fake *OperationsServer) NewHistogramReturnsOnCall(i int, result1 metrics.Histogram)
func (fake *OperationsServer) RegisterChecker(arg1 string, arg2 healthz.HealthChecker) error
func (fake *OperationsServer) RegisterCheckerArgsForCall(i int) (string, healthz.HealthChecker)
func (fake *OperationsServer) RegisterCheckerCallCount() int
func (fake *OperationsServer) RegisterCheckerCalls(stub func(string, healthz.HealthChecker) error)
func (fake *OperationsServer) RegisterCheckerReturns(result1 error)
func (fake *OperationsServer) RegisterCheckerReturnsOnCall(i int, result1 error)
func (fake *OperationsServer) Start() error
func (fake *OperationsServer) StartCallCount() int
func (fake *OperationsServer) StartCalls(stub func() error)
func (fake *OperationsServer) StartReturns(result1 error)
func (fake *OperationsServer) StartReturnsOnCall(i int, result1 error)
func (fake *OperationsServer) Stop() error
func (fake *OperationsServer) StopCallCount() int
func (fake *OperationsServer) StopCalls(stub func() error)
func (fake *OperationsServer) StopReturns(result1 error)
func (fake *OperationsServer) StopReturnsOnCall(i int, result1 error)
ServerRequestContext is an autogenerated mock type for the ServerRequestContext type
type ServerRequestContext struct { mock.Mock }
func (_m *ServerRequestContext) BasicAuthentication() (string, error)
BasicAuthentication provides a mock function with given fields:
func (_m *ServerRequestContext) CanActOnType(_a0 string) error
CanActOnType provides a mock function with given fields: _a0
func (_m *ServerRequestContext) ChunksToDeliver(_a0 string) (int, error)
ChunksToDeliver provides a mock function with given fields: _a0
func (_m *ServerRequestContext) ContainsAffiliation(_a0 string) error
ContainsAffiliation provides a mock function with given fields: _a0
func (_m *ServerRequestContext) GetBoolQueryParm(name string) (bool, error)
GetBoolQueryParm provides a mock function with given fields: name
func (_m *ServerRequestContext) GetCaller() (user.User, error)
GetCaller provides a mock function with given fields:
func (_m *ServerRequestContext) GetCertificates(_a0 certificaterequest.CertificateRequest, _a1 string) (*sqlx.Rows, error)
GetCertificates provides a mock function with given fields: _a0, _a1
func (_m *ServerRequestContext) GetQueryParm(name string) string
GetQueryParm provides a mock function with given fields: name
func (_m *ServerRequestContext) GetReq() *http.Request
GetReq provides a mock function with given fields:
func (_m *ServerRequestContext) GetResp() http.ResponseWriter
GetResp provides a mock function with given fields:
func (_m *ServerRequestContext) HasRole(role string) error
HasRole provides a mock function with given fields: role
func (_m *ServerRequestContext) IsLDAPEnabled() bool
IsLDAPEnabled provides a mock function with given fields:
func (_m *ServerRequestContext) ReadBody(_a0 interface{}) error
ReadBody provides a mock function with given fields: _a0
func (_m *ServerRequestContext) TokenAuthentication() (string, error)
TokenAuthentication provides a mock function with given fields: