mocks

package
v1.3.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2018 License: Apache-2.0 Imports: 5 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 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() (spi.User, error)

GetCaller provides a mock function with given fields:

func (*ServerRequestContext) GetCertificates

func (_m *ServerRequestContext) GetCertificates(_a0 server.CertificateRequest, _a1 string) (*sqlx.Rows, error)

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