@crossplane-org/function-sdk-typescript 0.4.0 → 0.5.0-20260305214119-9b69c9f3611e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -224,8 +224,14 @@ import {
224
224
  getObservedComposedResources,
225
225
  getInput,
226
226
  getContextKey,
227
+ getRequiredResource,
227
228
  getRequiredResources,
229
+ getRequiredSchema,
230
+ getRequiredSchemas,
228
231
  getCredentials,
232
+ advertiseCapabilities,
233
+ hasCapability,
234
+ Capability,
229
235
  } from "@crossplane-org/function-sdk-typescript";
230
236
 
231
237
  // Get the observed composite resource (XR)
@@ -246,11 +252,28 @@ const input = getInput(req);
246
252
  // Get context value from previous function
247
253
  const [value, exists] = getContextKey(req, "my-key");
248
254
 
249
- // Get required resources
255
+ // Get a specific required resource by name
256
+ const [resources, resolved] = getRequiredResource(req, "app-config");
257
+
258
+ // Get all required resources
250
259
  const required = getRequiredResources(req);
251
260
 
261
+ // Get a specific required schema by name
262
+ const [schema, resolved] = getRequiredSchema(req, "xr-schema");
263
+
264
+ // Get all required schemas
265
+ const schemas = getRequiredSchemas(req);
266
+
252
267
  // Get credentials
253
268
  const creds = getCredentials(req, "aws-creds");
269
+
270
+ // Check if Crossplane advertises capabilities (v2.2+)
271
+ if (advertiseCapabilities(req)) {
272
+ // Check for specific capability support
273
+ if (hasCapability(req, Capability.CAPABILITY_REQUIRED_RESOURCES)) {
274
+ // Use required resources feature
275
+ }
276
+ }
254
277
  ```
255
278
 
256
279
  #### Response Helpers
@@ -268,7 +291,8 @@ import {
268
291
  normal,
269
292
  fatal,
270
293
  warning,
271
- update,
294
+ requireResource,
295
+ requireSchema,
272
296
  DEFAULT_TTL,
273
297
  } from "@crossplane-org/function-sdk-typescript";
274
298
 
@@ -295,8 +319,16 @@ normal(rsp, "Success message");
295
319
  warning(rsp, "Warning message");
296
320
  fatal(rsp, "Fatal error message");
297
321
 
298
- // Update a resource by merging
299
- const updated = update(sourceResource, targetResource);
322
+ // Request Crossplane fetch a resource (available in next invocation)
323
+ rsp = requireResource(rsp, "app-config", {
324
+ apiVersion: "v1",
325
+ kind: "ConfigMap",
326
+ matchName: "my-config",
327
+ namespace: "default"
328
+ });
329
+
330
+ // Request Crossplane fetch a schema (available in next invocation)
331
+ rsp = requireSchema(rsp, "xr-schema", "example.org/v1", "MyResource");
300
332
  ```
301
333
 
302
334
  #### Resource Helpers
@@ -311,6 +343,8 @@ import {
311
343
  fromObject,
312
344
  toObject,
313
345
  newDesiredComposed,
346
+ update,
347
+ getCondition,
314
348
  } from "@crossplane-org/function-sdk-typescript";
315
349
 
316
350
  // Create a Resource from a plain object
@@ -329,6 +363,35 @@ const plainObj = asObject(struct);
329
363
 
330
364
  // Create a new empty DesiredComposed resource
331
365
  const desired = newDesiredComposed();
366
+
367
+ // Deep merge updates into a resource (arrays replaced by default)
368
+ update(resource, {
369
+ resource: {
370
+ spec: {
371
+ forProvider: {
372
+ region: "us-west-2",
373
+ tags: ["env:prod"] // Replaces existing tags
374
+ }
375
+ }
376
+ }
377
+ });
378
+
379
+ // Or merge with array concatenation
380
+ update(resource, {
381
+ resource: {
382
+ spec: {
383
+ forProvider: {
384
+ tags: ["new-tag"] // Appended to existing tags
385
+ }
386
+ }
387
+ }
388
+ }, { mergeArrays: true });
389
+
390
+ // Get a status condition from a resource
391
+ const readyCondition = getCondition(resource.resource, "Ready");
392
+ if (readyCondition.status === "True") {
393
+ console.log("Resource is ready");
394
+ }
332
395
  ```
333
396
 
334
397
  ### Error Handling
@@ -519,6 +582,10 @@ import {
519
582
  ObservedComposed,
520
583
  DesiredComposed,
521
584
  ConnectionDetails,
585
+ MergeOptions,
586
+
587
+ // Status condition types
588
+ Condition as ResourceCondition,
522
589
 
523
590
  // Protocol buffer types
524
591
  Severity,
@@ -531,6 +598,11 @@ import {
531
598
  Resources,
532
599
  Credentials,
533
600
  CredentialData,
601
+ Requirements,
602
+ ResourceSelector,
603
+ SchemaSelector,
604
+ Schema,
605
+ Capability,
534
606
 
535
607
  // Runtime types
536
608
  ServerOptions,
@@ -539,21 +611,43 @@ import {
539
611
 
540
612
  ### Core Functions
541
613
 
614
+ #### Response Functions
615
+
542
616
  - **`to(req, ttl?)`** - Initialize a response from a request
543
617
  - **`normal(rsp, message)`** - Add a normal (info) result
544
618
  - **`warning(rsp, message)`** - Add a warning result
545
619
  - **`fatal(rsp, message)`** - Add a fatal error result
620
+ - **`setDesiredComposedResources(rsp, resources)`** - Set desired composed resources
621
+ - **`setDesiredCompositeStatus({rsp, status})`** - Update XR status
622
+ - **`setContextKey(rsp, key, value)`** - Set context for next function
623
+ - **`setOutput(rsp, output)`** - Set function output
624
+ - **`requireResource(rsp, name, selector)`** - Request Crossplane fetch resources
625
+ - **`requireSchema(rsp, name, apiVersion, kind)`** - Request Crossplane fetch schemas
626
+
627
+ #### Request Functions
628
+
546
629
  - **`getObservedCompositeResource(req)`** - Get the observed XR
547
630
  - **`getDesiredCompositeResource(req)`** - Get the desired XR
548
631
  - **`getDesiredComposedResources(req)`** - Get desired composed resources
549
632
  - **`getObservedComposedResources(req)`** - Get observed composed resources
550
- - **`setDesiredComposedResources(rsp, resources)`** - Set desired composed resources
551
- - **`setDesiredCompositeStatus({rsp, status})`** - Update XR status
552
- - **`setContextKey(rsp, key, value)`** - Set context for next function
553
633
  - **`getContextKey(req, key)`** - Get context from previous function
554
634
  - **`getInput(req)`** - Get function input configuration
555
- - **`getRequiredResources(req)`** - Get required resources
635
+ - **`getRequiredResource(req, name)`** - Get a required resource by name
636
+ - **`getRequiredResources(req)`** - Get all required resources
637
+ - **`getRequiredSchema(req, name)`** - Get a required schema by name
638
+ - **`getRequiredSchemas(req)`** - Get all required schemas
556
639
  - **`getCredentials(req, name)`** - Get credentials by name (throws error if not found)
640
+ - **`advertiseCapabilities(req)`** - Check if Crossplane advertises capabilities
641
+ - **`hasCapability(req, capability)`** - Check for a specific capability
642
+
643
+ #### Resource Functions
644
+
645
+ - **`fromObject(obj, connectionDetails?, ready?)`** - Create Resource from plain object
646
+ - **`fromModel(model, connectionDetails?, ready?)`** - Create Resource from kubernetes-models
647
+ - **`toObject(resource)`** - Extract plain object from Resource
648
+ - **`update(resource, source, options?)`** - Deep merge data into a Resource
649
+ - **`getCondition(resource, type)`** - Extract a status condition by type
650
+ - **`newDesiredComposed()`** - Create an empty DesiredComposed resource
557
651
 
558
652
  See [USAGE.md](USAGE.md) for detailed API documentation and examples.
559
653
 
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  export type { FunctionHandler } from './function/function.js';
2
2
  export { FunctionRunner, getServer } from './function/function.js';
3
- export { getDesiredCompositeResource, getObservedCompositeResource, getDesiredComposedResources, getObservedComposedResources, getInput, getContextKey, getRequiredResources, getCredentials, } from './request/request.js';
4
- export { to, fatal, normal, warning, setDesiredComposedResources, setDesiredResources, setDesiredCompositeStatus, setDesiredCompositeResource, updateDesiredComposedResources, update, setContextKey, setOutput, DEFAULT_TTL, } from './response/response.js';
5
- export { asObject, asStruct, fromObject, fromModel, toObject, newDesiredComposed, mustStructObject, mustStructJSON, type Composite, type ObservedComposed, type DesiredComposed, type ConnectionDetails, } from './resource/resource.js';
6
- export { newGrpcServer, startServer, getServerCredentials, type ServerOptions, } from './runtime/runtime.js';
7
- export { RunFunctionRequest, RunFunctionResponse, Resource, Severity, Result, State, Ready, Target, Status, Condition, Resources, Credentials, CredentialData, FunctionRunnerServiceService, } from './proto/run_function.js';
3
+ export { advertiseCapabilities, getContextKey, getCredentials, getDesiredComposedResources, getDesiredCompositeResource, getInput, getObservedComposedResources, getObservedCompositeResource, getRequiredResource, getRequiredResources, getRequiredSchema, getRequiredSchemas, getWatchedResource, hasCapability, } from './request/request.js';
4
+ export { DEFAULT_TTL, fatal, normal, requireResource, requireSchema, setContextKey, setDesiredComposedResources, setDesiredCompositeResource, setDesiredCompositeStatus, setDesiredResources, setOutput, to, update, updateDesiredComposedResources, warning, } from './response/response.js';
5
+ export { asObject, asStruct, type Composite, type Condition as ResourceCondition, type ConnectionDetails, type DesiredComposed, fromModel, fromObject, getCondition, type MergeOptions, mustStructJSON, mustStructObject, newDesiredComposed, type ObservedComposed, toObject, update as updateResource, } from './resource/resource.js';
6
+ export { getServerCredentials, newGrpcServer, type ServerOptions, startServer, } from './runtime/runtime.js';
7
+ export { Capability, Condition, CredentialData, Credentials, FunctionRunnerServiceService, Ready, Requirements, Resource, Resources, ResourceSelector, Result, RunFunctionRequest, RunFunctionResponse, Schema, SchemaSelector, Severity, State, Status, Target, } from './proto/run_function.js';
8
8
  export type { Logger } from 'pino';
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnE,OAAO,EACL,2BAA2B,EAC3B,4BAA4B,EAC5B,2BAA2B,EAC3B,4BAA4B,EAC5B,QAAQ,EACR,aAAa,EACb,oBAAoB,EACpB,cAAc,GACf,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EACL,EAAE,EACF,KAAK,EACL,MAAM,EACN,OAAO,EACP,2BAA2B,EAC3B,mBAAmB,EACnB,yBAAyB,EACzB,2BAA2B,EAC3B,8BAA8B,EAC9B,MAAM,EACN,aAAa,EACb,SAAS,EACT,WAAW,GACZ,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,SAAS,EACT,QAAQ,EACR,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,iBAAiB,GACvB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,aAAa,EACb,WAAW,EACX,oBAAoB,EACpB,KAAK,aAAa,GACnB,MAAM,sB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,aAAa,EACb,KAAK,aAAa,EAClB,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EACL,UAAU,EACV,SAAS,EACT,cAAc,EACd,WAAW,EACX,4BAA4B,EAC5B,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,MAAM,EACN,kBAAkB,EAClB,mBAAmB,EACnB,MAAM,EACN,cAAc,EACd,QAAQ,EACR,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,yBAAyB,CAAC;AAEjC,YAAY,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC"}
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  // Main SDK exports for the Crossplane Function SDK
2
2
  export { FunctionRunner, getServer } from './function/function.js';
3
3
  // Request helpers
4
- export { getDesiredCompositeResource, getObservedCompositeResource, getDesiredComposedResources, getObservedComposedResources, getInput, getContextKey, getRequiredResources, getCredentials, } from './request/request.js';
4
+ export { advertiseCapabilities, getContextKey, getCredentials, getDesiredComposedResources, getDesiredCompositeResource, getInput, getObservedComposedResources, getObservedCompositeResource, getRequiredResource, getRequiredResources, getRequiredSchema, getRequiredSchemas, getWatchedResource, hasCapability, } from './request/request.js';
5
5
  // Response helpers
6
- export { to, fatal, normal, warning, setDesiredComposedResources, setDesiredResources, setDesiredCompositeStatus, setDesiredCompositeResource, updateDesiredComposedResources, update, setContextKey, setOutput, DEFAULT_TTL, } from './response/response.js';
6
+ export { DEFAULT_TTL, fatal, normal, requireResource, requireSchema, setContextKey, setDesiredComposedResources, setDesiredCompositeResource, setDesiredCompositeStatus, setDesiredResources, setOutput, to, update, updateDesiredComposedResources, warning, } from './response/response.js';
7
7
  // Resource utilities
8
- export { asObject, asStruct, fromObject, fromModel, toObject, newDesiredComposed, mustStructObject, mustStructJSON, } from './resource/resource.js';
8
+ export { asObject, asStruct, fromModel, fromObject, getCondition, mustStructJSON, mustStructObject, newDesiredComposed, toObject, update as updateResource, } from './resource/resource.js';
9
9
  // Runtime utilities
10
- export { newGrpcServer, startServer, getServerCredentials, } from './runtime/runtime.js';
10
+ export { getServerCredentials, newGrpcServer, startServer, } from './runtime/runtime.js';
11
11
  // Protocol buffer types
12
- export { RunFunctionRequest, RunFunctionResponse, Resource, Severity, Result, State, Ready, Target, Status, Condition, Resources, Credentials, CredentialData, FunctionRunnerServiceService, } from './proto/run_function.js';
12
+ export { Capability, Condition, CredentialData, Credentials, FunctionRunnerServiceService, Ready, Requirements, Resource, Resources, ResourceSelector, Result, RunFunctionRequest, RunFunctionResponse, Schema, SchemaSelector, Severity, State, Status, Target, } from './proto/run_function.js';
13
13
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,mDAAmD;AAInD,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnE,kBAAkB;AAClB,OAAO,EACL,2BAA2B,EAC3B,4BAA4B,EAC5B,2BAA2B,EAC3B,4BAA4B,EAC5B,QAAQ,EACR,aAAa,EACb,oBAAoB,EACpB,cAAc,GACf,MAAM,sBAAsB,CAAC;AAE9B,mBAAmB;AACnB,OAAO,EACL,EAAE,EACF,KAAK,EACL,MAAM,EACN,OAAO,EACP,2BAA2B,EAC3B,mBAAmB,EACnB,yBAAyB,EACzB,2BAA2B,EAC3B,8BAA8B,EAC9B,MAAM,EACN,aAAa,EACb,SAAS,EACT,WAAW,GACZ,MAAM,wBAAwB,CAAC;AAEhC,qBAAqB;AACrB,OAAO,EACL,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,SAAS,EACT,QAAQ,EACR,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,GAKf,MAAM,wBAAwB,CAAC;AAEhC,oBAAoB;AACpB,OAAO,EACL,aAAa,EACb,WAAW,EACX,oBAAoB,GAErB,MAAM,sBAAsB,CAAC;AAE9B,wBAAwB;AACxB,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,KAAK,EACL,KAAK,EACL,MAAM,EACN,MAAM,EACN,SAAS,EACT,SAAS,EACT,WAAW,EACX,cAAc,EACd,4BAA4B,GAC7B,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,mDAAmD;AAInD,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnE,kBAAkB;AAClB,OAAO,EACL,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,2BAA2B,EAC3B,2BAA2B,EAC3B,QAAQ,EACR,4BAA4B,EAC5B,4BAA4B,EAC5B,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAE9B,mBAAmB;AACnB,OAAO,EACL,WAAW,EACX,KAAK,EACL,MAAM,EACN,eAAe,EACf,aAAa,EACb,aAAa,EACb,2BAA2B,EAC3B,2BAA2B,EAC3B,yBAAyB,EACzB,mBAAmB,EACnB,SAAS,EACT,EAAE,EACF,MAAM,EACN,8BAA8B,EAC9B,OAAO,GACR,MAAM,wBAAwB,CAAC;AAEhC,qBAAqB;AACrB,OAAO,EACL,QAAQ,EACR,QAAQ,EAKR,SAAS,EACT,UAAU,EACV,YAAY,EAEZ,cAAc,EACd,gBAAgB,EAChB,kBAAkB,EAElB,QAAQ,EACR,MAAM,IAAI,cAAc,GACzB,MAAM,wBAAwB,CAAC;AAEhC,oBAAoB;AACpB,OAAO,EACL,oBAAoB,EACpB,aAAa,EAEb,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAE9B,wBAAwB;AACxB,OAAO,EACL,UAAU,EACV,SAAS,EACT,cAAc,EACd,WAAW,EACX,4BAA4B,EAC5B,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,MAAM,EACN,kBAAkB,EAClB,mBAAmB,EACnB,MAAM,EACN,cAAc,EACd,QAAQ,EACR,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,yBAAyB,CAAC"}
@@ -2,6 +2,48 @@ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { type CallOptions, type ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, type Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
3
3
  import { Duration } from "./google/protobuf/duration.js";
4
4
  export declare const protobufPackage = "apiextensions.fn.proto.v1";
5
+ /**
6
+ * Capability indicates that Crossplane supports a particular feature.
7
+ * Functions can check for capabilities to determine whether Crossplane will
8
+ * honor a particular request or response field.
9
+ */
10
+ export declare enum Capability {
11
+ CAPABILITY_UNSPECIFIED = 0,
12
+ /**
13
+ * CAPABILITY_CAPABILITIES - Crossplane sends capabilities in RequestMeta. If this capability is
14
+ * present, the function knows that if another capability is absent, it's
15
+ * because Crossplane doesn't support it (not because Crossplane predates
16
+ * capability advertisement). Added in Crossplane v2.2.
17
+ */
18
+ CAPABILITY_CAPABILITIES = 1,
19
+ /**
20
+ * CAPABILITY_REQUIRED_RESOURCES - Crossplane supports the requirements.resources field. Functions can return
21
+ * resource requirements and Crossplane will fetch the requested resources and
22
+ * return them in required_resources. Added in Crossplane v1.15.
23
+ */
24
+ CAPABILITY_REQUIRED_RESOURCES = 2,
25
+ /**
26
+ * CAPABILITY_CREDENTIALS - Crossplane supports the credentials field. Functions can receive
27
+ * credentials from secrets specified in the Composition. Added in Crossplane
28
+ * v1.16.
29
+ */
30
+ CAPABILITY_CREDENTIALS = 3,
31
+ /**
32
+ * CAPABILITY_CONDITIONS - Crossplane supports the conditions field. Functions can return status
33
+ * conditions to be applied to the XR and optionally its claim. Added in
34
+ * Crossplane v1.17.
35
+ */
36
+ CAPABILITY_CONDITIONS = 4,
37
+ /**
38
+ * CAPABILITY_REQUIRED_SCHEMAS - Crossplane supports the requirements.schemas field. Functions can request
39
+ * OpenAPI schemas and Crossplane will return them in required_schemas. Added
40
+ * in Crossplane v2.2.
41
+ */
42
+ CAPABILITY_REQUIRED_SCHEMAS = 5,
43
+ UNRECOGNIZED = -1
44
+ }
45
+ export declare function capabilityFromJSON(object: any): Capability;
46
+ export declare function capabilityToJSON(object: Capability): string;
5
47
  /** Ready indicates whether a resource should be considered ready. */
6
48
  export declare enum Ready {
7
49
  READY_UNSPECIFIED = 0,
@@ -138,6 +180,16 @@ export interface RunFunctionRequest {
138
180
  requiredResources: {
139
181
  [key: string]: Resources;
140
182
  };
183
+ /**
184
+ * Optional schemas that the function specified in its requirements. The map
185
+ * key corresponds to the key in a RunFunctionResponse's requirements.schemas
186
+ * field. If a function requested a schema that could not be found, Crossplane
187
+ * sets the map key to an empty Schema message to indicate that it attempted
188
+ * to satisfy the request.
189
+ */
190
+ requiredSchemas: {
191
+ [key: string]: Schema;
192
+ };
141
193
  }
142
194
  export interface RunFunctionRequest_ExtraResourcesEntry {
143
195
  key: string;
@@ -151,6 +203,10 @@ export interface RunFunctionRequest_RequiredResourcesEntry {
151
203
  key: string;
152
204
  value: Resources | undefined;
153
205
  }
206
+ export interface RunFunctionRequest_RequiredSchemasEntry {
207
+ key: string;
208
+ value: Schema | undefined;
209
+ }
154
210
  /** Credentials that a function may use to communicate with an external system. */
155
211
  export interface Credentials {
156
212
  /** Credential data loaded by Crossplane, for example from a Secret. */
@@ -222,6 +278,12 @@ export interface RequestMeta {
222
278
  * be otherwise identical.
223
279
  */
224
280
  tag: string;
281
+ /**
282
+ * Capabilities supported by this version of Crossplane. Functions may use
283
+ * this to determine whether Crossplane will honor certain fields in their
284
+ * response, or populate certain fields in their request.
285
+ */
286
+ capabilities: Capability[];
225
287
  }
226
288
  /** Requirements that must be satisfied for a function to run successfully. */
227
289
  export interface Requirements {
@@ -243,6 +305,13 @@ export interface Requirements {
243
305
  resources: {
244
306
  [key: string]: ResourceSelector;
245
307
  };
308
+ /**
309
+ * Schemas that this function requires. The map key uniquely identifies the
310
+ * schema request.
311
+ */
312
+ schemas: {
313
+ [key: string]: SchemaSelector;
314
+ };
246
315
  }
247
316
  export interface Requirements_ExtraResourcesEntry {
248
317
  key: string;
@@ -252,6 +321,28 @@ export interface Requirements_ResourcesEntry {
252
321
  key: string;
253
322
  value: ResourceSelector | undefined;
254
323
  }
324
+ export interface Requirements_SchemasEntry {
325
+ key: string;
326
+ value: SchemaSelector | undefined;
327
+ }
328
+ /** SchemaSelector identifies a resource kind whose OpenAPI schema is requested. */
329
+ export interface SchemaSelector {
330
+ /** API version of the resource kind, e.g. "example.org/v1". */
331
+ apiVersion: string;
332
+ /** Kind of resource, e.g. "MyResource". */
333
+ kind: string;
334
+ }
335
+ /** Schema represents the OpenAPI schema for a resource kind. */
336
+ export interface Schema {
337
+ /**
338
+ * The OpenAPI v3 schema of the resource kind as unstructured JSON.
339
+ * For CRDs this is the spec.versions[].schema.openAPIV3Schema field.
340
+ * Empty if Crossplane could not find a schema for the requested kind.
341
+ */
342
+ openapiV3?: {
343
+ [key: string]: any;
344
+ } | undefined;
345
+ }
255
346
  /** ResourceSelector selects a group of resources, either by name or by label. */
256
347
  export interface ResourceSelector {
257
348
  /** API version of resources to select. */
@@ -339,7 +430,7 @@ export interface Resource {
339
430
  * the observed connection details of a composite or composed resource.
340
431
  *
341
432
  * * A function should set this field in a RunFunctionResponse to indicate the
342
- * desired connection details of the XR.
433
+ * desired connection details of legacy XRs. For modern XRs, this will be ignored.
343
434
  *
344
435
  * * A function should not set this field in a RunFunctionResponse to indicate
345
436
  * the desired connection details of a composed resource. This will be
@@ -362,7 +453,7 @@ export interface Resource {
362
453
  * * A function should set this field to READY_TRUE in a RunFunctionResponse
363
454
  * to indicate that a desired XR is ready. This overwrites the standard
364
455
  * readiness detection that determines the ready state of the composite by the
365
- * ready state of the the composed resources.
456
+ * ready state of the composed resources.
366
457
  *
367
458
  * Ready is only used for composition. It's ignored by Operations.
368
459
  */
@@ -417,6 +508,7 @@ export declare const RunFunctionRequest: MessageFns<RunFunctionRequest>;
417
508
  export declare const RunFunctionRequest_ExtraResourcesEntry: MessageFns<RunFunctionRequest_ExtraResourcesEntry>;
418
509
  export declare const RunFunctionRequest_CredentialsEntry: MessageFns<RunFunctionRequest_CredentialsEntry>;
419
510
  export declare const RunFunctionRequest_RequiredResourcesEntry: MessageFns<RunFunctionRequest_RequiredResourcesEntry>;
511
+ export declare const RunFunctionRequest_RequiredSchemasEntry: MessageFns<RunFunctionRequest_RequiredSchemasEntry>;
420
512
  export declare const Credentials: MessageFns<Credentials>;
421
513
  export declare const CredentialData: MessageFns<CredentialData>;
422
514
  export declare const CredentialData_DataEntry: MessageFns<CredentialData_DataEntry>;
@@ -426,6 +518,9 @@ export declare const RequestMeta: MessageFns<RequestMeta>;
426
518
  export declare const Requirements: MessageFns<Requirements>;
427
519
  export declare const Requirements_ExtraResourcesEntry: MessageFns<Requirements_ExtraResourcesEntry>;
428
520
  export declare const Requirements_ResourcesEntry: MessageFns<Requirements_ResourcesEntry>;
521
+ export declare const Requirements_SchemasEntry: MessageFns<Requirements_SchemasEntry>;
522
+ export declare const SchemaSelector: MessageFns<SchemaSelector>;
523
+ export declare const Schema: MessageFns<Schema>;
429
524
  export declare const ResourceSelector: MessageFns<ResourceSelector>;
430
525
  export declare const MatchLabels: MessageFns<MatchLabels>;
431
526
  export declare const MatchLabels_LabelsEntry: MessageFns<MatchLabels_LabelsEntry>;
@@ -1 +1 @@
1
- {"version":3,"file":"run_function.d.ts","sourceRoot":"","sources":["../../src/proto/run_function.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,eAAe,EAEpB,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,4B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