Help us shape the future of Go! Take the 2026 Go Developer Survey

request

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: Apache-2.0 Imports: 8 Imported by: 57

Documentation

Overview

Package request contains utilities for working with RunFunctionRequests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetContextKey

func GetContextKey(req *v1.RunFunctionRequest, key string) (*structpb.Value, bool)

GetContextKey gets context from the supplied key.

func GetCredentials added in v0.3.0

func GetCredentials(req *v1.RunFunctionRequest, name string) (resource.Credentials, error)

GetCredentials from the supplied request.

func GetDesiredComposedResources

func GetDesiredComposedResources(req *v1.RunFunctionRequest) (map[resource.Name]*resource.DesiredComposed, error)

GetDesiredComposedResources from the supplied request.

func GetDesiredCompositeResource

func GetDesiredCompositeResource(req *v1.RunFunctionRequest) (*resource.Composite, error)

GetDesiredCompositeResource from the supplied request.

func GetExtraResources deprecated added in v0.2.0

func GetExtraResources(req *v1.RunFunctionRequest) (map[string][]resource.Required, error)

GetExtraResources from the supplied request using the deprecated extra_resources field.

Deprecated: Use GetRequiredResources.

func GetInput

func GetInput(req *v1.RunFunctionRequest, into runtime.Object) error

GetInput from the supplied request. Input is loaded into the supplied object.

func GetObservedComposedResources

func GetObservedComposedResources(req *v1.RunFunctionRequest) (map[resource.Name]resource.ObservedComposed, error)

GetObservedComposedResources from the supplied request.

func GetObservedCompositeResource

func GetObservedCompositeResource(req *v1.RunFunctionRequest) (*resource.Composite, error)

GetObservedCompositeResource from the supplied request.

func GetRequiredResources added in v0.5.0

func GetRequiredResources(req *v1.RunFunctionRequest) (map[string][]resource.Required, error)

GetRequiredResources from the supplied request using the new required_resources field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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