fixtures

package
v0.60.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package fixtures contains test fixtures used by other fakeintake packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectorContainerPayload

func CollectorContainerPayload(t *testing.T) []byte

CollectorContainerPayload serializes an agentmodel.CollectorContainer into a []byte payload. It should use the same serialization steps as the process-agent's EncodePayload function.

func CollectorProcDiscoveryPayload

func CollectorProcDiscoveryPayload(t *testing.T) []byte

CollectorProcDiscoveryPayload serializes an agentmodel.CollectorProcDiscovery into a []byte payload. It should use the same serialization steps as the process-agent's EncodePayload function.

func CollectorProcPayload

func CollectorProcPayload(t *testing.T) []byte

CollectorProcPayload serializes an agentmodel.CollectorProc into a []byte payload. It should use the same serialization steps as the process-agent's EncodePayload function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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