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

utils

package
v5.15.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDomainImportId

func GetDomainImportId(s string) (types.String, types.Int64, error)

func GetFilterIs

func GetFilterIs(filter string) *string

func GetFilterIsNot

func GetFilterIsNot(filter string) *string

func GetRuleAny

func GetRuleAny() *string

func GetRuleImportId

func GetRuleImportId(s string) (types.String, types.String, error)

func IsValidRuleFilter

func IsValidRuleFilter(s string) bool

func RetryRuleRead

func RetryRuleRead[T any](
	ctx context.Context,
	readFunc func() (T, *http.Response, error),
	resourceType string,
) (T, *http.Response, error)

RetryRuleRead retries a rule read operation with minimal backoff for transient network issues. The DB-backed API has eliminated eventual consistency, so this is just a safety net.

Types

This section is empty.

Jump to

Keyboard shortcuts

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