e2e

package
v1.118.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IgnoreAnnotations added in v1.117.0

func IgnoreAnnotations(annotations map[string]struct{}) func(string) string

func IgnoreComments

func IgnoreComments(s string) string

IgnoreComments is a normalization function that strips comments.

func ReplaceString

func ReplaceString(from, to string) func(string) string

ReplaceString is a normalization function that replaces a string, useful for e.g. project IDs.

Types

type Normalizer

type Normalizer struct {
	// contains filtered or unexported fields
}

func NewNormalizer

func NewNormalizer(uniqueID string, project testgcp.GCPProject) *Normalizer

func (*Normalizer) Preprocess

func (x *Normalizer) Preprocess(events []*test.LogEntry)

func (*Normalizer) Render

func (x *Normalizer) Render(events test.LogEntries) string

Jump to

Keyboard shortcuts

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