Pewarta Proxy

๐Ÿ“‹ Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

โš™๏ธ Pengaturan Proxy Target

Skip to main content

Crate function_sdk_rust

Crate function_sdk_rust 

Source
Expand description

A Rust SDK for writing Crossplane composition functions.

Composition functions are gRPC servers implementing the FunctionRunnerService defined by Crossplaneโ€™s apiextensions.fn.proto.v1 API. This SDK provides the generated protocol types, a spec-compliant server runtime, and helpers for working with requests and responses.

The most important protocol rule: desired state is a fully specified server-side apply intent, not a merge patch. Build responses with response::to so the desired state and context accumulated by earlier pipeline steps are copied forward; anything left out is deleted from the cluster.

Re-exportsยง

pub use server::Args;
pub use server::Server;
pub use server::serve;

Modulesยง

context
Well-known function context keys.
logging
Logging setup for composition functions.
proto
Generated protobuf, gRPC, and protojson (serde) code for the apiextensions.fn.proto.v1 FunctionRunnerService API.
request
Helpers for working with RunFunctionRequests.
resource
Helpers for working with composite and composed resources.
response
Helpers for working with RunFunctionResponses.
server
A spec-compliant gRPC server runtime for composition functions.

Enumsยง

Error
Errors returned by the SDK.