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
- func CreateExecutable(rawSpec *json.RawMessage) (process.ResourceStreamProcessor, error)
- func NewStdIOExecutable(bin string, args []string, env map[string]string) (process.ResourceStreamProcessor, error)
- func NewUnixDomainSocketExecutable(bin string, args []string, env map[string]string) (process.ResourceStreamProcessor, error)
Constants ¶
const (
// ExecutableType defines the type of an executable
ExecutableType = "Executable"
)
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.