integrationutil

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildExpectedOnlineMap added in v0.27.0

func BuildExpectedOnlineMap(all map[types.NodeID][]tailcfg.MapResponse) map[types.NodeID]map[types.NodeID]bool

func CreateCertificate added in v0.24.0

func CreateCertificate(hostname string) ([]byte, []byte, error)

nolint

func FetchPathFromContainer added in v0.22.2

func FetchPathFromContainer(
	pool *dockertest.Pool,
	container *dockertest.Resource,
	path string,
) ([]byte, error)

func PeerSyncRetryInterval added in v0.27.0

func PeerSyncRetryInterval() time.Duration

PeerSyncRetryInterval returns the retry interval for peer synchronization checks.

func PeerSyncTimeout added in v0.27.0

func PeerSyncTimeout() time.Duration

PeerSyncTimeout returns the timeout for peer synchronization based on environment: 60s for dev, 120s for CI.

func WriteFileToContainer

func WriteFileToContainer(
	pool *dockertest.Pool,
	container *dockertest.Resource,
	path string,
	data []byte,
) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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