fakes

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MappingResolver added in v0.8.0

type MappingResolver struct {
	FindDependencyMappingCall struct {
		CallCount int
		Receives  struct {
			SHA256      string
			PlatformDir string
		}
		Returns struct {
			String string
			Error  error
		}
		Stub func(string, string) (string, error)
		// contains filtered or unexported fields
	}
}

func (*MappingResolver) FindDependencyMapping added in v0.8.0

func (f *MappingResolver) FindDependencyMapping(param1 string, param2 string) (string, error)

type Transport

type Transport struct {
	DropCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Root string
			Uri  string
		}
		Returns struct {
			ReadCloser io.ReadCloser
			Error      error
		}
		Stub func(string, string) (io.ReadCloser, error)
	}
}

func (*Transport) Drop

func (f *Transport) Drop(param1 string, param2 string) (io.ReadCloser, error)

Jump to

Keyboard shortcuts

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