mocks

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllowedOriginsMgr

type AllowedOriginsMgr struct {
	GetStub func() ([]*url.URL, error)

	UpdateStub func([]*url.URL, []*url.URL) error
	// contains filtered or unexported fields
}

func (*AllowedOriginsMgr) Get

func (fake *AllowedOriginsMgr) Get() ([]*url.URL, error)

func (*AllowedOriginsMgr) GetCallCount

func (fake *AllowedOriginsMgr) GetCallCount() int

func (*AllowedOriginsMgr) GetCalls

func (fake *AllowedOriginsMgr) GetCalls(stub func() ([]*url.URL, error))

func (*AllowedOriginsMgr) GetReturns

func (fake *AllowedOriginsMgr) GetReturns(result1 []*url.URL, result2 error)

func (*AllowedOriginsMgr) GetReturnsOnCall

func (fake *AllowedOriginsMgr) GetReturnsOnCall(i int, result1 []*url.URL, result2 error)

func (*AllowedOriginsMgr) Invocations

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

func (*AllowedOriginsMgr) Update

func (fake *AllowedOriginsMgr) Update(arg1 []*url.URL, arg2 []*url.URL) error

func (*AllowedOriginsMgr) UpdateArgsForCall

func (fake *AllowedOriginsMgr) UpdateArgsForCall(i int) ([]*url.URL, []*url.URL)

func (*AllowedOriginsMgr) UpdateCallCount

func (fake *AllowedOriginsMgr) UpdateCallCount() int

func (*AllowedOriginsMgr) UpdateCalls

func (fake *AllowedOriginsMgr) UpdateCalls(stub func([]*url.URL, []*url.URL) error)

func (*AllowedOriginsMgr) UpdateReturns

func (fake *AllowedOriginsMgr) UpdateReturns(result1 error)

func (*AllowedOriginsMgr) UpdateReturnsOnCall

func (fake *AllowedOriginsMgr) UpdateReturnsOnCall(i int, result1 error)

type AnchorPublisher

type AnchorPublisher struct {
	PublishAnchorStub func(anchor *anchorinfo.AnchorInfo) error
	// contains filtered or unexported fields
}

func (*AnchorPublisher) Invocations

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

func (*AnchorPublisher) PublishAnchor

func (fake *AnchorPublisher) PublishAnchor(anchor *anchorinfo.AnchorInfo) error

func (*AnchorPublisher) PublishAnchorArgsForCall

func (fake *AnchorPublisher) PublishAnchorArgsForCall(i int) *anchorinfo.AnchorInfo

func (*AnchorPublisher) PublishAnchorCallCount

func (fake *AnchorPublisher) PublishAnchorCallCount() int

func (*AnchorPublisher) PublishAnchorReturns

func (fake *AnchorPublisher) PublishAnchorReturns(result1 error)

func (*AnchorPublisher) PublishAnchorReturnsOnCall

func (fake *AnchorPublisher) PublishAnchorReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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