Help us shape the future of Go! Take the 2026 Go Developer Survey

test

package
v1.154.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmpOptsForDestinationRule

func CmpOptsForDestinationRule() cmp.Option

CmpOptsForDestinationRule returns a compare option to ignore unexported fields in types related to destination rules

func CmpOptsForGateway

func CmpOptsForGateway() cmp.Option

CmpOptsForGateway returns a compare option to ignore unexported fields in types related to gateways

func CmpOptsForIstio

func CmpOptsForIstio() []cmp.Option

CmpOptsForIstio returns a slice of compare options to ignore unexported fields in types related to istio resources

func CmpOptsForVirtualService

func CmpOptsForVirtualService() cmp.Option

CmpOptsForVirtualService returns a compare option to ignore unexported fields in types related to virtual services

func PrometheusRule added in v1.90.0

func PrometheusRule(rule *monitoringv1.PrometheusRule, filenameRulesTest string)

PrometheusRule calls the `promtool test rules` for the given PrometheusRule and the test file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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