automock

package
v0.0.0-...-3e5e6b6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationService

type ApplicationService struct {
	mock.Mock
}

ApplicationService is an autogenerated mock type for the ApplicationService type

func NewApplicationService

func NewApplicationService(t interface {
	mock.TestingT
	Cleanup(func())
}) *ApplicationService

NewApplicationService creates a new instance of ApplicationService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ApplicationService) Exist

func (_m *ApplicationService) Exist(ctx context.Context, id string) (bool, error)

Exist provides a mock function with given fields: ctx, id

type ClientDetailsConfigProvider

type ClientDetailsConfigProvider struct {
	mock.Mock
}

ClientDetailsConfigProvider is an autogenerated mock type for the ClientDetailsConfigProvider type

func NewClientDetailsConfigProvider

func NewClientDetailsConfigProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientDetailsConfigProvider

NewClientDetailsConfigProvider creates a new instance of ClientDetailsConfigProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClientDetailsConfigProvider) GetRequiredGrantTypes

func (_m *ClientDetailsConfigProvider) GetRequiredGrantTypes(path string) ([]string, error)

GetRequiredGrantTypes provides a mock function with given fields: path

func (*ClientDetailsConfigProvider) GetRequiredScopes

func (_m *ClientDetailsConfigProvider) GetRequiredScopes(path string) ([]string, error)

GetRequiredScopes provides a mock function with given fields: path

type IntegrationSystemService

type IntegrationSystemService struct {
	mock.Mock
}

IntegrationSystemService is an autogenerated mock type for the IntegrationSystemService type

func NewIntegrationSystemService

func NewIntegrationSystemService(t interface {
	mock.TestingT
	Cleanup(func())
}) *IntegrationSystemService

NewIntegrationSystemService creates a new instance of IntegrationSystemService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IntegrationSystemService) Exists

func (_m *IntegrationSystemService) Exists(ctx context.Context, id string) (bool, error)

Exists provides a mock function with given fields: ctx, id

type OryHydraService

type OryHydraService struct {
	mock.Mock
}

OryHydraService is an autogenerated mock type for the OryHydraService type

func NewOryHydraService

func NewOryHydraService(t interface {
	mock.TestingT
	Cleanup(func())
}) *OryHydraService

NewOryHydraService creates a new instance of OryHydraService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*OryHydraService) CreateOAuth2Client

CreateOAuth2Client provides a mock function with given fields: ctx

func (*OryHydraService) CreateOAuth2ClientExecute

CreateOAuth2ClientExecute provides a mock function with given fields: r

func (*OryHydraService) DeleteOAuth2Client

DeleteOAuth2Client provides a mock function with given fields: ctx, id

func (*OryHydraService) DeleteOAuth2ClientExecute

func (_m *OryHydraService) DeleteOAuth2ClientExecute(r client.OAuth2ApiDeleteOAuth2ClientRequest) (*http.Response, error)

DeleteOAuth2ClientExecute provides a mock function with given fields: r

func (*OryHydraService) ListOAuth2Clients

ListOAuth2Clients provides a mock function with given fields: ctx

func (*OryHydraService) ListOAuth2ClientsExecute

ListOAuth2ClientsExecute provides a mock function with given fields: r

func (*OryHydraService) SetOAuth2Client

SetOAuth2Client provides a mock function with given fields: ctx, id

func (*OryHydraService) SetOAuth2ClientExecute

SetOAuth2ClientExecute provides a mock function with given fields: r

type RuntimeService

type RuntimeService struct {
	mock.Mock
}

RuntimeService is an autogenerated mock type for the RuntimeService type

func NewRuntimeService

func NewRuntimeService(t interface {
	mock.TestingT
	Cleanup(func())
}) *RuntimeService

NewRuntimeService creates a new instance of RuntimeService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RuntimeService) Exist

func (_m *RuntimeService) Exist(ctx context.Context, id string) (bool, error)

Exist provides a mock function with given fields: ctx, id

type Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func NewService

func NewService(t interface {
	mock.TestingT
	Cleanup(func())
}) *Service

NewService creates a new instance of Service. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Service) CreateClientCredentials

func (_m *Service) CreateClientCredentials(ctx context.Context, objectType model.SystemAuthReferenceObjectType) (*internalmodel.OAuthCredentialDataInput, error)

CreateClientCredentials provides a mock function with given fields: ctx, objectType

func (*Service) DeleteClientCredentials

func (_m *Service) DeleteClientCredentials(ctx context.Context, clientID string) error

DeleteClientCredentials provides a mock function with given fields: ctx, clientID

type SystemAuthConverter

type SystemAuthConverter struct {
	mock.Mock
}

SystemAuthConverter is an autogenerated mock type for the SystemAuthConverter type

func NewSystemAuthConverter

func NewSystemAuthConverter(t interface {
	mock.TestingT
	Cleanup(func())
}) *SystemAuthConverter

NewSystemAuthConverter creates a new instance of SystemAuthConverter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SystemAuthConverter) ToGraphQL

ToGraphQL provides a mock function with given fields: _a0

type SystemAuthService

type SystemAuthService struct {
	mock.Mock
}

SystemAuthService is an autogenerated mock type for the SystemAuthService type

func NewSystemAuthService

func NewSystemAuthService(t interface {
	mock.TestingT
	Cleanup(func())
}) *SystemAuthService

NewSystemAuthService creates a new instance of SystemAuthService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SystemAuthService) CreateWithCustomID

func (_m *SystemAuthService) CreateWithCustomID(ctx context.Context, id string, objectType model.SystemAuthReferenceObjectType, objectID string, authInput *internalmodel.AuthInput) (string, error)

CreateWithCustomID provides a mock function with given fields: ctx, id, objectType, objectID, authInput

func (*SystemAuthService) GetByIDForObject

func (_m *SystemAuthService) GetByIDForObject(ctx context.Context, objectType model.SystemAuthReferenceObjectType, authID string) (*model.SystemAuth, error)

GetByIDForObject provides a mock function with given fields: ctx, objectType, authID

Jump to

Keyboard shortcuts

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