internal

package
v0.2.4-beta.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const PollInterval = 50 * time.Millisecond

Variables

This section is empty.

Functions

func ApplyNamespacer added in v0.0.8

func ApplyNamespacer(namespacer namespacer.Namespacer, obj client.Object) error

func GetLogger added in v0.0.8

func GetLogger(ctx context.Context, obj client.Object) logging.Logger

func LogEnd added in v0.0.8

func LogEnd(logger logging.Logger, op logging.Operation, err error)

func LogStart added in v0.0.8

func LogStart(logger logging.Logger, op logging.Operation, args ...fmt.Stringer)

func RegisterEnvs added in v0.1.7

func RegisterEnvs(ctx context.Context, namespace string, bindings binding.Bindings, envs ...v1alpha1.Binding) (map[string]string, []string, error)

Types

type CommandOutput

type CommandOutput struct {
	Stdout bytes.Buffer
	Stderr bytes.Buffer
}

func (*CommandOutput) Err

func (c *CommandOutput) Err() string

func (*CommandOutput) Out

func (c *CommandOutput) Out() string

func (*CommandOutput) Sections

func (c *CommandOutput) Sections() []fmt.Stringer

Jump to

Keyboard shortcuts

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