mocks

package
v1.0.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 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 added in v1.0.0

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

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

func (*AllowedOriginsMgr) Get added in v1.0.0

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

func (*AllowedOriginsMgr) GetCallCount added in v1.0.0

func (fake *AllowedOriginsMgr) GetCallCount() int

func (*AllowedOriginsMgr) GetCalls added in v1.0.0

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

func (*AllowedOriginsMgr) GetReturns added in v1.0.0

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

func (*AllowedOriginsMgr) GetReturnsOnCall added in v1.0.0

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

func (*AllowedOriginsMgr) Invocations added in v1.0.0

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

func (*AllowedOriginsMgr) Update added in v1.0.0

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

func (*AllowedOriginsMgr) UpdateArgsForCall added in v1.0.0

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

func (*AllowedOriginsMgr) UpdateCallCount added in v1.0.0

func (fake *AllowedOriginsMgr) UpdateCallCount() int

func (*AllowedOriginsMgr) UpdateCalls added in v1.0.0

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

func (*AllowedOriginsMgr) UpdateReturns added in v1.0.0

func (fake *AllowedOriginsMgr) UpdateReturns(result1 error)

func (*AllowedOriginsMgr) UpdateReturnsOnCall added in v1.0.0

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