extensions

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

SPDX-FileCopyrightText: 2021 SAP SE or an SAP affiliate company and Gardener contributors.

SPDX-License-Identifier: Apache-2.0

SPDX-FileCopyrightText: 2021 SAP SE or an SAP affiliate company and Gardener contributors.

SPDX-License-Identifier: Apache-2.0

SPDX-FileCopyrightText: 2021 SAP SE or an SAP affiliate company and Gardener contributors.

SPDX-License-Identifier: Apache-2.0

Index

Constants

View Source
const (
	// ExecutableType defines the type of an executable
	ExecutableType = "Executable"
)
View Source
const ProcessorServerAddressEnv = "PROCESSOR_SERVER_ADDRESS"

ProcessorServerAddressEnv is the environment variable key which is used to store the address under which a resource processor server should start.

Variables

This section is empty.

Functions

func CreateExecutable

func CreateExecutable(rawSpec *json.RawMessage) (process.ResourceStreamProcessor, error)

CreateExecutable creates a new executable defined by a spec

func NewStdIOExecutable

func NewStdIOExecutable(bin string, args []string, env map[string]string) (process.ResourceStreamProcessor, error)

NewStdIOExecutable returns a resource processor extension which runs an executable in the background when calling Process(). It communicates with this processor via stdin/stdout pipes.

func NewUnixDomainSocketExecutable

func NewUnixDomainSocketExecutable(bin string, args []string, env map[string]string) (process.ResourceStreamProcessor, error)

NewUnixDomainSocketExecutable returns a resource processor extension which runs an executable in the background when calling Process(). It communicates with this processor via Unix Domain Sockets.

Types

This section is empty.

Jump to

Keyboard shortcuts

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