mocks

package
v0.4.0-alpha Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRule

type MockRule struct {
	mock.Mock
}

func (*MockRule) Execute

func (m *MockRule) Execute(ctx heimdall.Context) (*url.URL, error)

func (*MockRule) ID

func (m *MockRule) ID() string

func (*MockRule) MatchesMethod

func (m *MockRule) MatchesMethod(method string) bool

func (*MockRule) MatchesURL

func (m *MockRule) MatchesURL(reqURL *url.URL) bool

func (*MockRule) SrcID

func (m *MockRule) SrcID() string

Jump to

Keyboard shortcuts

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