servicefakes

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAuthService

type FakeAuthService struct {
	TypeStub func() string

	VersionStub func() string

	DescriptionStub func() string

	GetCommandStub func() interface{}

	AuthRequestStub func(*http.Request) error

	AuthLoginStub func(api.InfoServiceResponse) (interface{}, error)

	AuthLogoutStub func() error
	// contains filtered or unexported fields
}

func (*FakeAuthService) AuthLogin

func (fake *FakeAuthService) AuthLogin(arg1 api.InfoServiceResponse) (interface{}, error)

func (*FakeAuthService) AuthLoginArgsForCall

func (fake *FakeAuthService) AuthLoginArgsForCall(i int) api.InfoServiceResponse

func (*FakeAuthService) AuthLoginCallCount

func (fake *FakeAuthService) AuthLoginCallCount() int

func (*FakeAuthService) AuthLoginReturns

func (fake *FakeAuthService) AuthLoginReturns(result1 interface{}, result2 error)

func (*FakeAuthService) AuthLogout

func (fake *FakeAuthService) AuthLogout() error

func (*FakeAuthService) AuthLogoutCallCount

func (fake *FakeAuthService) AuthLogoutCallCount() int

func (*FakeAuthService) AuthLogoutReturns

func (fake *FakeAuthService) AuthLogoutReturns(result1 error)

func (*FakeAuthService) AuthRequest

func (fake *FakeAuthService) AuthRequest(arg1 *http.Request) error

func (*FakeAuthService) AuthRequestArgsForCall

func (fake *FakeAuthService) AuthRequestArgsForCall(i int) *http.Request

func (*FakeAuthService) AuthRequestCallCount

func (fake *FakeAuthService) AuthRequestCallCount() int

func (*FakeAuthService) AuthRequestReturns

func (fake *FakeAuthService) AuthRequestReturns(result1 error)

func (*FakeAuthService) Description

func (fake *FakeAuthService) Description() string

func (*FakeAuthService) DescriptionCallCount

func (fake *FakeAuthService) DescriptionCallCount() int

func (*FakeAuthService) DescriptionReturns

func (fake *FakeAuthService) DescriptionReturns(result1 string)

func (*FakeAuthService) GetCommand

func (fake *FakeAuthService) GetCommand() interface{}

func (*FakeAuthService) GetCommandCallCount

func (fake *FakeAuthService) GetCommandCallCount() int

func (*FakeAuthService) GetCommandReturns

func (fake *FakeAuthService) GetCommandReturns(result1 interface{})

func (*FakeAuthService) Invocations

func (fake *FakeAuthService) Invocations() map[string][][]interface{}

func (*FakeAuthService) Type

func (fake *FakeAuthService) Type() string

func (*FakeAuthService) TypeCallCount

func (fake *FakeAuthService) TypeCallCount() int

func (*FakeAuthService) TypeReturns

func (fake *FakeAuthService) TypeReturns(result1 string)

func (*FakeAuthService) Version

func (fake *FakeAuthService) Version() string

func (*FakeAuthService) VersionCallCount

func (fake *FakeAuthService) VersionCallCount() int

func (*FakeAuthService) VersionReturns

func (fake *FakeAuthService) VersionReturns(result1 string)

type FakeManager

type FakeManager struct {
	AddStub func(service.Service)

	GetStub func(string) (service.Service, error)

	ServicesStub func() []string
	// contains filtered or unexported fields
}

func (*FakeManager) Add

func (fake *FakeManager) Add(arg1 service.Service)

func (*FakeManager) AddArgsForCall

func (fake *FakeManager) AddArgsForCall(i int) service.Service

func (*FakeManager) AddCallCount

func (fake *FakeManager) AddCallCount() int

func (*FakeManager) Get

func (fake *FakeManager) Get(arg1 string) (service.Service, error)

func (*FakeManager) GetArgsForCall

func (fake *FakeManager) GetArgsForCall(i int) string

func (*FakeManager) GetCallCount

func (fake *FakeManager) GetCallCount() int

func (*FakeManager) GetReturns

func (fake *FakeManager) GetReturns(result1 service.Service, result2 error)

func (*FakeManager) Invocations

func (fake *FakeManager) Invocations() map[string][][]interface{}

func (*FakeManager) Services

func (fake *FakeManager) Services() []string

func (*FakeManager) ServicesCallCount

func (fake *FakeManager) ServicesCallCount() int

func (*FakeManager) ServicesReturns

func (fake *FakeManager) ServicesReturns(result1 []string)

type FakeService

type FakeService struct {
	TypeStub func() string

	VersionStub func() string

	DescriptionStub func() string

	GetCommandStub func() interface{}
	// contains filtered or unexported fields
}

func (*FakeService) Description

func (fake *FakeService) Description() string

func (*FakeService) DescriptionCallCount

func (fake *FakeService) DescriptionCallCount() int

func (*FakeService) DescriptionReturns

func (fake *FakeService) DescriptionReturns(result1 string)

func (*FakeService) GetCommand

func (fake *FakeService) GetCommand() interface{}

func (*FakeService) GetCommandCallCount

func (fake *FakeService) GetCommandCallCount() int

func (*FakeService) GetCommandReturns

func (fake *FakeService) GetCommandReturns(result1 interface{})

func (*FakeService) Invocations

func (fake *FakeService) Invocations() map[string][][]interface{}

func (*FakeService) Type

func (fake *FakeService) Type() string

func (*FakeService) TypeCallCount

func (fake *FakeService) TypeCallCount() int

func (*FakeService) TypeReturns

func (fake *FakeService) TypeReturns(result1 string)

func (*FakeService) Version

func (fake *FakeService) Version() string

func (*FakeService) VersionCallCount

func (fake *FakeService) VersionCallCount() int

func (*FakeService) VersionReturns

func (fake *FakeService) VersionReturns(result1 string)

Jump to

Keyboard shortcuts

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