internal

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyNamespacer

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

func GetLogger

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

func LogEnd

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

func LogStart

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

func Read

func RegisterEnvs

func RegisterEnvs(ctx context.Context, compilers compilers.Compilers, namespace string, bindings apis.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