mock

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockWrapper

type MockWrapper struct {
	Satisfy    bool
	FailBundle bool
}

func (*MockWrapper) Apply

func (*MockWrapper) Bundle added in v0.7.0

func (b *MockWrapper) Bundle(string, string) error

func (*MockWrapper) DoesSatisfyConstraints

func (m *MockWrapper) DoesSatisfyConstraints(doc jsparse.JSDocument) bool

func (*MockWrapper) HydrationFile added in v0.7.0

func (b *MockWrapper) HydrationFile() []embedutils.FileReader

func (*MockWrapper) RequiredBodyDOMElements

func (m *MockWrapper) RequiredBodyDOMElements(ctx context.Context, opts *webwrap.CacheDOMOpts) []string

func (*MockWrapper) Setup added in v0.7.0

func (*MockWrapper) Stats added in v0.16.0

func (m *MockWrapper) Stats() *webwrap.WrapStats

func (*MockWrapper) VerifyRequirements added in v0.10.0

func (m *MockWrapper) VerifyRequirements() error

func (*MockWrapper) Version

func (m *MockWrapper) Version() string

Jump to

Keyboard shortcuts

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