request

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 35

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 added in v0.2.0

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

GetExtraResources from the supplied request.

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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