mock

package
v0.0.0-...-bf18145 Latest Latest
Warning

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

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

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthRequestInt

type MockAuthRequestInt struct {
	// contains filtered or unexported fields
}

MockAuthRequestInt is a mock of AuthRequestInt interface

func NewMockAuthRequestInt

func NewMockAuthRequestInt(ctrl *gomock.Controller) *MockAuthRequestInt

NewMockAuthRequestInt creates a new mock instance

func (*MockAuthRequestInt) Done

func (m *MockAuthRequestInt) Done() bool

Done mocks base method

func (*MockAuthRequestInt) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAuthRequestInt) GetAccessConsumerServiceURL

func (m *MockAuthRequestInt) GetAccessConsumerServiceURL() string

GetAccessConsumerServiceURL mocks base method

func (*MockAuthRequestInt) GetApplicationID

func (m *MockAuthRequestInt) GetApplicationID() string

GetApplicationID mocks base method

func (*MockAuthRequestInt) GetAuthRequestID

func (m *MockAuthRequestInt) GetAuthRequestID() string

GetAuthRequestID mocks base method

func (*MockAuthRequestInt) GetBindingType

func (m *MockAuthRequestInt) GetBindingType() string

GetBindingType mocks base method

func (*MockAuthRequestInt) GetCode

func (m *MockAuthRequestInt) GetCode() string

GetCode mocks base method

func (*MockAuthRequestInt) GetDestination

func (m *MockAuthRequestInt) GetDestination() string

GetDestination mocks base method

func (*MockAuthRequestInt) GetID

func (m *MockAuthRequestInt) GetID() string

GetID mocks base method

func (*MockAuthRequestInt) GetIssuer

func (m *MockAuthRequestInt) GetIssuer() string

GetIssuer mocks base method

func (*MockAuthRequestInt) GetIssuerName

func (m *MockAuthRequestInt) GetIssuerName() string

GetIssuerName mocks base method

func (*MockAuthRequestInt) GetNameID

func (m *MockAuthRequestInt) GetNameID() string

GetNameID mocks base method

func (*MockAuthRequestInt) GetRelayState

func (m *MockAuthRequestInt) GetRelayState() string

GetRelayState mocks base method

func (*MockAuthRequestInt) GetUserID

func (m *MockAuthRequestInt) GetUserID() string

GetUserID mocks base method

func (*MockAuthRequestInt) GetUserName

func (m *MockAuthRequestInt) GetUserName() string

GetUserName mocks base method

type MockAuthRequestIntMockRecorder

type MockAuthRequestIntMockRecorder struct {
	// contains filtered or unexported fields
}

MockAuthRequestIntMockRecorder is the mock recorder for MockAuthRequestInt

func (*MockAuthRequestIntMockRecorder) Done

Done indicates an expected call of Done

func (*MockAuthRequestIntMockRecorder) GetAccessConsumerServiceURL

func (mr *MockAuthRequestIntMockRecorder) GetAccessConsumerServiceURL() *gomock.Call

GetAccessConsumerServiceURL indicates an expected call of GetAccessConsumerServiceURL

func (*MockAuthRequestIntMockRecorder) GetApplicationID

func (mr *MockAuthRequestIntMockRecorder) GetApplicationID() *gomock.Call

GetApplicationID indicates an expected call of GetApplicationID

func (*MockAuthRequestIntMockRecorder) GetAuthRequestID

func (mr *MockAuthRequestIntMockRecorder) GetAuthRequestID() *gomock.Call

GetAuthRequestID indicates an expected call of GetAuthRequestID

func (*MockAuthRequestIntMockRecorder) GetBindingType

func (mr *MockAuthRequestIntMockRecorder) GetBindingType() *gomock.Call

GetBindingType indicates an expected call of GetBindingType

func (*MockAuthRequestIntMockRecorder) GetCode

GetCode indicates an expected call of GetCode

func (*MockAuthRequestIntMockRecorder) GetDestination

func (mr *MockAuthRequestIntMockRecorder) GetDestination() *gomock.Call

GetDestination indicates an expected call of GetDestination

func (*MockAuthRequestIntMockRecorder) GetID

GetID indicates an expected call of GetID

func (*MockAuthRequestIntMockRecorder) GetIssuer

func (mr *MockAuthRequestIntMockRecorder) GetIssuer() *gomock.Call

GetIssuer indicates an expected call of GetIssuer

func (*MockAuthRequestIntMockRecorder) GetIssuerName

func (mr *MockAuthRequestIntMockRecorder) GetIssuerName() *gomock.Call

GetIssuerName indicates an expected call of GetIssuerName

func (*MockAuthRequestIntMockRecorder) GetNameID

func (mr *MockAuthRequestIntMockRecorder) GetNameID() *gomock.Call

GetNameID indicates an expected call of GetNameID

func (*MockAuthRequestIntMockRecorder) GetRelayState

func (mr *MockAuthRequestIntMockRecorder) GetRelayState() *gomock.Call

GetRelayState indicates an expected call of GetRelayState

func (*MockAuthRequestIntMockRecorder) GetUserID

func (mr *MockAuthRequestIntMockRecorder) GetUserID() *gomock.Call

GetUserID indicates an expected call of GetUserID

func (*MockAuthRequestIntMockRecorder) GetUserName

func (mr *MockAuthRequestIntMockRecorder) GetUserName() *gomock.Call

GetUserName indicates an expected call of GetUserName

type MockIDPStorage

type MockIDPStorage struct {
	// contains filtered or unexported fields
}

MockIDPStorage is a mock of IDPStorage interface

func NewMockIDPStorage

func NewMockIDPStorage(ctrl *gomock.Controller) *MockIDPStorage

NewMockIDPStorage creates a new mock instance

func (*MockIDPStorage) AuthRequestByID

func (m *MockIDPStorage) AuthRequestByID(arg0 context.Context, arg1 string) (models.AuthRequestInt, error)

AuthRequestByID mocks base method

func (*MockIDPStorage) CreateAuthRequest

func (m *MockIDPStorage) CreateAuthRequest(arg0 context.Context, arg1 *samlp.AuthnRequestType, arg2, arg3, arg4, arg5 string) (models.AuthRequestInt, error)

CreateAuthRequest mocks base method

func (*MockIDPStorage) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockIDPStorage) GetEntityByID

func (m *MockIDPStorage) GetEntityByID(arg0 context.Context, arg1 string) (*serviceprovider.ServiceProvider, error)

GetEntityByID mocks base method

func (*MockIDPStorage) GetEntityIDByAppID

func (m *MockIDPStorage) GetEntityIDByAppID(arg0 context.Context, arg1 string) (string, error)

GetEntityIDByAppID mocks base method

func (*MockIDPStorage) GetResponseSigningKey

func (m *MockIDPStorage) GetResponseSigningKey(arg0 context.Context) (*key.CertificateAndKey, error)

GetResponseSigningKey mocks base method

func (*MockIDPStorage) Health

func (m *MockIDPStorage) Health(arg0 context.Context) error

Health mocks base method

func (*MockIDPStorage) SetUserinfoWithLoginName

func (m *MockIDPStorage) SetUserinfoWithLoginName(arg0 context.Context, arg1 models.AttributeSetter, arg2 string, arg3 []int) error

SetUserinfoWithLoginName mocks base method

func (*MockIDPStorage) SetUserinfoWithUserID

func (m *MockIDPStorage) SetUserinfoWithUserID(arg0 context.Context, arg1 models.AttributeSetter, arg2 string, arg3 []int) error

SetUserinfoWithUserID mocks base method

type MockIDPStorageMockRecorder

type MockIDPStorageMockRecorder struct {
	// contains filtered or unexported fields
}

MockIDPStorageMockRecorder is the mock recorder for MockIDPStorage

func (*MockIDPStorageMockRecorder) AuthRequestByID

func (mr *MockIDPStorageMockRecorder) AuthRequestByID(arg0, arg1 interface{}) *gomock.Call

AuthRequestByID indicates an expected call of AuthRequestByID

func (*MockIDPStorageMockRecorder) CreateAuthRequest

func (mr *MockIDPStorageMockRecorder) CreateAuthRequest(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

CreateAuthRequest indicates an expected call of CreateAuthRequest

func (*MockIDPStorageMockRecorder) GetEntityByID

func (mr *MockIDPStorageMockRecorder) GetEntityByID(arg0, arg1 interface{}) *gomock.Call

GetEntityByID indicates an expected call of GetEntityByID

func (*MockIDPStorageMockRecorder) GetEntityIDByAppID

func (mr *MockIDPStorageMockRecorder) GetEntityIDByAppID(arg0, arg1 interface{}) *gomock.Call

GetEntityIDByAppID indicates an expected call of GetEntityIDByAppID

func (*MockIDPStorageMockRecorder) GetResponseSigningKey

func (mr *MockIDPStorageMockRecorder) GetResponseSigningKey(arg0 interface{}) *gomock.Call

GetResponseSigningKey indicates an expected call of GetResponseSigningKey

func (*MockIDPStorageMockRecorder) Health

func (mr *MockIDPStorageMockRecorder) Health(arg0 interface{}) *gomock.Call

Health indicates an expected call of Health

func (*MockIDPStorageMockRecorder) SetUserinfoWithLoginName

func (mr *MockIDPStorageMockRecorder) SetUserinfoWithLoginName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SetUserinfoWithLoginName indicates an expected call of SetUserinfoWithLoginName

func (*MockIDPStorageMockRecorder) SetUserinfoWithUserID

func (mr *MockIDPStorageMockRecorder) SetUserinfoWithUserID(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SetUserinfoWithUserID indicates an expected call of SetUserinfoWithUserID

type MockStorage

type MockStorage struct {
	// contains filtered or unexported fields
}

MockStorage is a mock of Storage interface

func NewMockStorage

func NewMockStorage(ctrl *gomock.Controller) *MockStorage

NewMockStorage creates a new mock instance

func (*MockStorage) AuthRequestByID

func (m *MockStorage) AuthRequestByID(arg0 context.Context, arg1 string) (models.AuthRequestInt, error)

AuthRequestByID mocks base method

func (*MockStorage) CreateAuthRequest

func (m *MockStorage) CreateAuthRequest(arg0 context.Context, arg1 *saml2p.AuthnRequestType, arg2, arg3, arg4, arg5 string) (models.AuthRequestInt, error)

CreateAuthRequest mocks base method

func (*MockStorage) EXPECT

func (m *MockStorage) EXPECT() *MockStorageMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStorage) GetCA

GetCA mocks base method

func (*MockStorage) GetEntityByID

func (m *MockStorage) GetEntityByID(arg0 context.Context, arg1 string) (*serviceprovider.ServiceProvider, error)

GetEntityByID mocks base method

func (*MockStorage) GetEntityIDByAppID

func (m *MockStorage) GetEntityIDByAppID(arg0 context.Context, arg1 string) (string, error)

GetEntityIDByAppID mocks base method

func (*MockStorage) GetMetadataSigningKey

func (m *MockStorage) GetMetadataSigningKey(arg0 context.Context) (*key.CertificateAndKey, error)

GetMetadataSigningKey mocks base method

func (*MockStorage) GetResponseSigningKey

func (m *MockStorage) GetResponseSigningKey(arg0 context.Context) (*key.CertificateAndKey, error)

GetResponseSigningKey mocks base method

func (*MockStorage) Health

func (m *MockStorage) Health(arg0 context.Context) error

Health mocks base method

func (*MockStorage) SetUserinfoWithLoginName

func (m *MockStorage) SetUserinfoWithLoginName(arg0 context.Context, arg1 models.AttributeSetter, arg2 string, arg3 []int) error

SetUserinfoWithLoginName mocks base method

func (*MockStorage) SetUserinfoWithUserID

func (m *MockStorage) SetUserinfoWithUserID(arg0 context.Context, arg1 models.AttributeSetter, arg2 string, arg3 []int) error

SetUserinfoWithUserID mocks base method

type MockStorageMockRecorder

type MockStorageMockRecorder struct {
	// contains filtered or unexported fields
}

MockStorageMockRecorder is the mock recorder for MockStorage

func (*MockStorageMockRecorder) AuthRequestByID

func (mr *MockStorageMockRecorder) AuthRequestByID(arg0, arg1 interface{}) *gomock.Call

AuthRequestByID indicates an expected call of AuthRequestByID

func (*MockStorageMockRecorder) CreateAuthRequest

func (mr *MockStorageMockRecorder) CreateAuthRequest(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

CreateAuthRequest indicates an expected call of CreateAuthRequest

func (*MockStorageMockRecorder) GetCA

func (mr *MockStorageMockRecorder) GetCA(arg0 interface{}) *gomock.Call

GetCA indicates an expected call of GetCA

func (*MockStorageMockRecorder) GetEntityByID

func (mr *MockStorageMockRecorder) GetEntityByID(arg0, arg1 interface{}) *gomock.Call

GetEntityByID indicates an expected call of GetEntityByID

func (*MockStorageMockRecorder) GetEntityIDByAppID

func (mr *MockStorageMockRecorder) GetEntityIDByAppID(arg0, arg1 interface{}) *gomock.Call

GetEntityIDByAppID indicates an expected call of GetEntityIDByAppID

func (*MockStorageMockRecorder) GetMetadataSigningKey

func (mr *MockStorageMockRecorder) GetMetadataSigningKey(arg0 interface{}) *gomock.Call

GetMetadataSigningKey indicates an expected call of GetMetadataSigningKey

func (*MockStorageMockRecorder) GetResponseSigningKey

func (mr *MockStorageMockRecorder) GetResponseSigningKey(arg0 interface{}) *gomock.Call

GetResponseSigningKey indicates an expected call of GetResponseSigningKey

func (*MockStorageMockRecorder) Health

func (mr *MockStorageMockRecorder) Health(arg0 interface{}) *gomock.Call

Health indicates an expected call of Health

func (*MockStorageMockRecorder) SetUserinfoWithLoginName

func (mr *MockStorageMockRecorder) SetUserinfoWithLoginName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SetUserinfoWithLoginName indicates an expected call of SetUserinfoWithLoginName

func (*MockStorageMockRecorder) SetUserinfoWithUserID

func (mr *MockStorageMockRecorder) SetUserinfoWithUserID(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SetUserinfoWithUserID indicates an expected call of SetUserinfoWithUserID

Jump to

Keyboard shortcuts

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