Documentation ¶
Overview ¶
Package request contains utilities for working with RunFunctionRequests.
Index ¶
- func GetContextKey(req *v1.RunFunctionRequest, key string) (*structpb.Value, bool)
- func GetCredentials(req *v1.RunFunctionRequest, name string) (resource.Credentials, error)
- func GetDesiredComposedResources(req *v1.RunFunctionRequest) (map[resource.Name]*resource.DesiredComposed, error)
- func GetDesiredCompositeResource(req *v1.RunFunctionRequest) (*resource.Composite, error)
- func GetExtraResources(req *v1.RunFunctionRequest) (map[string][]resource.Extra, error)
- func GetInput(req *v1.RunFunctionRequest, into runtime.Object) error
- func GetObservedComposedResources(req *v1.RunFunctionRequest) (map[resource.Name]resource.ObservedComposed, error)
- func GetObservedCompositeResource(req *v1.RunFunctionRequest) (*resource.Composite, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContextKey ¶
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
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.
Click to show internal directories.
Click to hide internal directories.