fakebinary

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package fakebinary as using morerequire introduces build cycles

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequireBuildFakeBinary

func RequireBuildFakeBinary(t *testing.T, workDir, name string, mainSrc []byte) []byte

RequireBuildFakeBinary builds a fake binary and returns its contents.

func RequireFakeEnvoy

func RequireFakeEnvoy(t *testing.T, path string)

RequireFakeEnvoy writes fakeEnvoyBin to the given path. This is embedded here because it is reused in many places.

Types

This section is empty.

Jump to

Keyboard shortcuts

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