test

package
v0.1.31 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.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 APKsOnList

type APKsOnList struct {
	Given *apk.APKFilter
	List  *apk.APKList
	Error error
}

type MockAPKClient

type MockAPKClient struct {
	apk.APKClient

	OnListAPKs []APKsOnList
}

func (MockAPKClient) ListAPKs

func (m MockAPKClient) ListAPKs(_ context.Context, given *apk.APKFilter, _ ...grpc.CallOption) (*apk.APKList, error)

type MockAPKClients

type MockAPKClients struct {
	OnClose error

	APKClient MockAPKClient
}

func (MockAPKClients) APK

func (m MockAPKClients) APK() apk.APKClient

func (MockAPKClients) Close

func (m MockAPKClients) Close() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳