dnfjson_mock

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

dnfjson_mock provides data and methods for testing the dnfjson package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BadDepsolve

func BadDepsolve(tmpdir string) string

func BadFetch

func BadFetch(tmpdir string) string

func Base

func Base(tmpdir string) string

func BaseDeps

func BaseDeps() []rpmmd.PackageSpec

BaseDeps is the expected list of dependencies (as rpmmd.PackageSpec) from the Base ResponseGenerator

func NonExistingPackage

func NonExistingPackage(tmpdir string) string

Types

type ResponseGenerator

type ResponseGenerator func(string) string

Jump to

Keyboard shortcuts

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