utils

package
v0.0.0-...-8d3d3ba Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForPossibleCredentials

func CheckForPossibleCredentials(err error) error

CheckForPossibleCredentials checks if an error message contains things that looks like credentials If it does, return a new error with a message that the error message has been removed because it contains possible credentials. Else the error is returned unchanged.

func TlsFromFiles

func TlsFromFiles(certPath, keyPath, caPath string) (cert, key, ca []byte, err error)

func TopicCreateReqComp

func TopicCreateReqComp(expected aiven.CreateKafkaTopicRequest) func(actual aiven.CreateKafkaTopicRequest) bool

func TopicUpdateReqComp

func TopicUpdateReqComp(expected aiven.UpdateKafkaTopicRequest) func(actual aiven.UpdateKafkaTopicRequest) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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