util

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AudienceEquals

func AudienceEquals(a, b *protos.Audience) bool

func AudienceToStr

func AudienceToStr(audience *protos.Audience) string

func ContainsAudience

func ContainsAudience(a *protos.Audience, b []*protos.Audience) bool

func ProtosOperationTypeToStr

func ProtosOperationTypeToStr(operationType protos.OperationType) string

ProtosOperationTypeToStr translates the proto enum to a human-readable string

func RedirectStdErr

func RedirectStdErr(f *os.File)

func ReportErrorAndExit added in v0.1.2

func ReportErrorAndExit(t statsd.Statter, cfg *config.Config, err error)

func SelectedToTailComponent

func SelectedToTailComponent(name, desc string) *types.TailComponent

func StrOperationTypeToProtos

func StrOperationTypeToProtos(operationType string) protos.OperationType

StrOperationTypeToProtos translates an operationType string to the proto enum

Types

This section is empty.

Jump to

Keyboard shortcuts

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