services

package
v0.0.0-...-370919f Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package services is a generated GoMock package.

Package services is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateServiceHandler

func CreateServiceHandler(w http.ResponseWriter, r *http.Request)

func DeleteServiceHandler

func DeleteServiceHandler(w http.ResponseWriter, r *http.Request)

func FindOneServiceByName

func FindOneServiceByName(q helper.QueryExecuter, organizationId int, name string) (*service, error)

func GetAllServicesHandler

func GetAllServicesHandler(w http.ResponseWriter, r *http.Request)

func GetToken

func GetToken(w http.ResponseWriter, r *http.Request)

func TranslateNameToIdProcessor

func TranslateNameToIdProcessor(q helper.QueryExecuter, name string) (int, error)

func ValidateToken

func ValidateToken(w http.ResponseWriter, r *http.Request)

func ValidateTokenProcessor

func ValidateTokenProcessor(q helper.QueryExecuter, organizationId int, serviceName string, inputToken string) (bool, error)

Types

type MockserviceProcessorInterface

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

MockserviceProcessorInterface is a mock of serviceProcessorInterface interface

func NewMockserviceProcessorInterface

func NewMockserviceProcessorInterface(ctrl *gomock.Controller) *MockserviceProcessorInterface

NewMockserviceProcessorInterface creates a new mock instance

func (*MockserviceProcessorInterface) EXPECT

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

func (*MockserviceProcessorInterface) FindOneServiceByName

func (m *MockserviceProcessorInterface) FindOneServiceByName(organizationId int, name string) (*service, error)

FindOneServiceByName mocks base method

func (*MockserviceProcessorInterface) TranslateNameToIdProcessor

func (m *MockserviceProcessorInterface) TranslateNameToIdProcessor(name string) (int, error)

TranslateNameToIdProcessor mocks base method

func (*MockserviceProcessorInterface) ValidateTokenProcessor

func (m *MockserviceProcessorInterface) ValidateTokenProcessor(organizationId int, serviceName, inputToken string) (bool, error)

ValidateTokenProcessor mocks base method

type MockserviceProcessorInterfaceMockRecorder

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

MockserviceProcessorInterfaceMockRecorder is the mock recorder for MockserviceProcessorInterface

func (*MockserviceProcessorInterfaceMockRecorder) FindOneServiceByName

func (mr *MockserviceProcessorInterfaceMockRecorder) FindOneServiceByName(organizationId, name interface{}) *gomock.Call

FindOneServiceByName indicates an expected call of FindOneServiceByName

func (*MockserviceProcessorInterfaceMockRecorder) TranslateNameToIdProcessor

func (mr *MockserviceProcessorInterfaceMockRecorder) TranslateNameToIdProcessor(name interface{}) *gomock.Call

TranslateNameToIdProcessor indicates an expected call of TranslateNameToIdProcessor

func (*MockserviceProcessorInterfaceMockRecorder) ValidateTokenProcessor

func (mr *MockserviceProcessorInterfaceMockRecorder) ValidateTokenProcessor(organizationId, serviceName, inputToken interface{}) *gomock.Call

ValidateTokenProcessor indicates an expected call of ValidateTokenProcessor

type MockserviceRepositoryInterface

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

MockserviceRepositoryInterface is a mock of serviceRepositoryInterface interface

func NewMockserviceRepositoryInterface

func NewMockserviceRepositoryInterface(ctrl *gomock.Controller) *MockserviceRepositoryInterface

NewMockserviceRepositoryInterface creates a new mock instance

func (*MockserviceRepositoryInterface) EXPECT

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

type MockserviceRepositoryInterfaceMockRecorder

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

MockserviceRepositoryInterfaceMockRecorder is the mock recorder for MockserviceRepositoryInterface

Jump to

Keyboard shortcuts

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