cmdutil

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package cmdutil contains helpers used by the cmd pacakge.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseLogLevel

func ParseLogLevel(s string) (slog.Level, error)

func WaitForJetStream added in v0.8.0

func WaitForJetStream(ctx context.Context, url string, opts []nats.Option, logger *slog.Logger) error

WaitForJetStream waits until JetStream is available on the NATS server.

func WaitForNATS added in v0.9.0

func WaitForNATS(ctx context.Context, url string, opts []nats.Option, logger *slog.Logger) error

WaitForNATS waits until NATS is available.

func WaitForPostgres added in v0.8.0

func WaitForPostgres(ctx context.Context, db *pgxpool.Pool, logger *slog.Logger) error

func WaitForStorageTypes added in v0.8.0

func WaitForStorageTypes(ctx context.Context, config *rest.Config, logger *slog.Logger) error

WaitForStorageTypes waits until the storage types resources are available in the cluster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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