@confighub/api 0.4.6 → 0.4.8
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/dist/index.d.cts +61 -232
- package/dist/index.d.ts +61 -232
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1595,26 +1595,6 @@ interface paths {
|
|
|
1595
1595
|
patch?: never;
|
|
1596
1596
|
trace?: never;
|
|
1597
1597
|
};
|
|
1598
|
-
"/space/{space_id}/unit/{unit_id}/extended": {
|
|
1599
|
-
parameters: {
|
|
1600
|
-
query?: never;
|
|
1601
|
-
header?: never;
|
|
1602
|
-
path?: never;
|
|
1603
|
-
cookie?: never;
|
|
1604
|
-
};
|
|
1605
|
-
/**
|
|
1606
|
-
* Get Unit details with expanded relationships
|
|
1607
|
-
* @description Get Unit details with expanded relationships
|
|
1608
|
-
*/
|
|
1609
|
-
get: operations["GetUnitExtended"];
|
|
1610
|
-
put?: never;
|
|
1611
|
-
post?: never;
|
|
1612
|
-
delete?: never;
|
|
1613
|
-
options?: never;
|
|
1614
|
-
head?: never;
|
|
1615
|
-
patch?: never;
|
|
1616
|
-
trace?: never;
|
|
1617
|
-
};
|
|
1618
1598
|
"/space/{space_id}/unit/{unit_id}/guard": {
|
|
1619
1599
|
parameters: {
|
|
1620
1600
|
query?: never;
|
|
@@ -2464,11 +2444,6 @@ interface components {
|
|
|
2464
2444
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
2465
2445
|
*/
|
|
2466
2446
|
readonly CreatedAt?: string;
|
|
2467
|
-
/**
|
|
2468
|
-
* Format: int64
|
|
2469
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
2470
|
-
*/
|
|
2471
|
-
readonly CursorID?: number;
|
|
2472
2447
|
/** @description DataType specifies the data type of the attribute value. Must be one of: string, int, bool. */
|
|
2473
2448
|
DataType: string;
|
|
2474
2449
|
/** @description An optional set of gates that, if any is present, will block deletion. */
|
|
@@ -2677,11 +2652,6 @@ interface components {
|
|
|
2677
2652
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
2678
2653
|
*/
|
|
2679
2654
|
readonly CreatedAt?: string;
|
|
2680
|
-
/**
|
|
2681
|
-
* Format: int64
|
|
2682
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
2683
|
-
*/
|
|
2684
|
-
readonly CursorID?: number;
|
|
2685
2655
|
/** @description An optional set of gates that, if any is present, will block deletion. */
|
|
2686
2656
|
DeleteGates?: {
|
|
2687
2657
|
[key: string]: boolean;
|
|
@@ -2830,11 +2800,6 @@ interface components {
|
|
|
2830
2800
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
2831
2801
|
*/
|
|
2832
2802
|
readonly CreatedAt?: string;
|
|
2833
|
-
/**
|
|
2834
|
-
* Format: int64
|
|
2835
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
2836
|
-
*/
|
|
2837
|
-
readonly CursorID?: number;
|
|
2838
2803
|
/** @description An optional set of gates that, if any is present, will block deletion. */
|
|
2839
2804
|
DeleteGates?: {
|
|
2840
2805
|
[key: string]: boolean;
|
|
@@ -2953,11 +2918,6 @@ interface components {
|
|
|
2953
2918
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
2954
2919
|
*/
|
|
2955
2920
|
readonly CreatedAt?: string;
|
|
2956
|
-
/**
|
|
2957
|
-
* Format: int64
|
|
2958
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
2959
|
-
*/
|
|
2960
|
-
readonly CursorID?: number;
|
|
2961
2921
|
/** @description An optional set of gates that, if any is present, will block deletion. */
|
|
2962
2922
|
DeleteGates?: {
|
|
2963
2923
|
[key: string]: boolean;
|
|
@@ -3287,11 +3247,6 @@ interface components {
|
|
|
3287
3247
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
3288
3248
|
*/
|
|
3289
3249
|
readonly CreatedAt?: string;
|
|
3290
|
-
/**
|
|
3291
|
-
* Format: int64
|
|
3292
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
3293
|
-
*/
|
|
3294
|
-
readonly CursorID?: number;
|
|
3295
3250
|
/** @description An optional set of gates that, if any is present, will block deletion. */
|
|
3296
3251
|
DeleteGates?: {
|
|
3297
3252
|
[key: string]: boolean;
|
|
@@ -3569,11 +3524,6 @@ interface components {
|
|
|
3569
3524
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
3570
3525
|
*/
|
|
3571
3526
|
readonly CreatedAt?: string;
|
|
3572
|
-
/**
|
|
3573
|
-
* Format: int64
|
|
3574
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
3575
|
-
*/
|
|
3576
|
-
readonly CursorID?: number;
|
|
3577
3527
|
/** @description An optional set of gates that, if any is present, will block deletion. */
|
|
3578
3528
|
DeleteGates?: {
|
|
3579
3529
|
[key: string]: boolean;
|
|
@@ -3661,11 +3611,6 @@ interface components {
|
|
|
3661
3611
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
3662
3612
|
*/
|
|
3663
3613
|
readonly CreatedAt?: string;
|
|
3664
|
-
/**
|
|
3665
|
-
* Format: int64
|
|
3666
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
3667
|
-
*/
|
|
3668
|
-
readonly CursorID?: number;
|
|
3669
3614
|
/** @description An optional set of gates that, if any is present, will block deletion. */
|
|
3670
3615
|
DeleteGates?: {
|
|
3671
3616
|
[key: string]: boolean;
|
|
@@ -3800,11 +3745,6 @@ interface components {
|
|
|
3800
3745
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
3801
3746
|
*/
|
|
3802
3747
|
readonly CreatedAt?: string;
|
|
3803
|
-
/**
|
|
3804
|
-
* Format: int64
|
|
3805
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
3806
|
-
*/
|
|
3807
|
-
readonly CursorID?: number;
|
|
3808
3748
|
/** @description The type of entity. */
|
|
3809
3749
|
readonly EntityType?: string;
|
|
3810
3750
|
FunctionInvocation?: components["schemas"]["FunctionInvocation"];
|
|
@@ -3997,11 +3937,6 @@ interface components {
|
|
|
3997
3937
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
3998
3938
|
*/
|
|
3999
3939
|
readonly CreatedAt?: string;
|
|
4000
|
-
/**
|
|
4001
|
-
* Format: int64
|
|
4002
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
4003
|
-
*/
|
|
4004
|
-
readonly CursorID?: number;
|
|
4005
3940
|
/** @description An optional set of gates that, if any is present, will block deletion. */
|
|
4006
3941
|
DeleteGates?: {
|
|
4007
3942
|
[key: string]: boolean;
|
|
@@ -4235,11 +4170,6 @@ interface components {
|
|
|
4235
4170
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
4236
4171
|
*/
|
|
4237
4172
|
readonly CreatedAt?: string;
|
|
4238
|
-
/**
|
|
4239
|
-
* Format: int64
|
|
4240
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
4241
|
-
*/
|
|
4242
|
-
readonly CursorID?: number;
|
|
4243
4173
|
/** Format: int64 */
|
|
4244
4174
|
readonly DataSize?: number;
|
|
4245
4175
|
/** @description An optional set of gates that, if any is present, will block deletion. */
|
|
@@ -4334,11 +4264,6 @@ interface components {
|
|
|
4334
4264
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
4335
4265
|
*/
|
|
4336
4266
|
readonly CreatedAt?: string;
|
|
4337
|
-
/**
|
|
4338
|
-
* Format: int64
|
|
4339
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
4340
|
-
*/
|
|
4341
|
-
readonly CursorID?: number;
|
|
4342
4267
|
/** @description Configuration data of the resource, represented as JSON. */
|
|
4343
4268
|
Data?: Record<string, never>;
|
|
4344
4269
|
/** @description The type of entity. */
|
|
@@ -4568,11 +4493,6 @@ interface components {
|
|
|
4568
4493
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
4569
4494
|
*/
|
|
4570
4495
|
readonly CreatedAt?: string;
|
|
4571
|
-
/**
|
|
4572
|
-
* Format: int64
|
|
4573
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
4574
|
-
*/
|
|
4575
|
-
readonly CursorID?: number;
|
|
4576
4496
|
/** @description The SHA256 hash of this revision's data, encoded as hexadecimal. It is also the ETag the data endpoint serves. */
|
|
4577
4497
|
DataHash?: string;
|
|
4578
4498
|
/**
|
|
@@ -4584,6 +4504,8 @@ interface components {
|
|
|
4584
4504
|
Description?: string;
|
|
4585
4505
|
/** @description The type of entity. */
|
|
4586
4506
|
readonly EntityType?: string;
|
|
4507
|
+
/** @description Attribute paths this Revision's configuration needs from upstream Units via NeedsProvides Links. */
|
|
4508
|
+
NeededPaths?: components["schemas"]["AttributeValue"][];
|
|
4587
4509
|
/**
|
|
4588
4510
|
* Format: uuid
|
|
4589
4511
|
* @description Unique identifier for an Organization.
|
|
@@ -4591,6 +4513,8 @@ interface components {
|
|
|
4591
4513
|
*/
|
|
4592
4514
|
OrganizationID?: string;
|
|
4593
4515
|
PathAnnotations?: components["schemas"]["PathAnnotationList"];
|
|
4516
|
+
/** @description Attribute paths this Revision's configuration provides to downstream Units via NeedsProvides Links. */
|
|
4517
|
+
ProvidedPaths?: components["schemas"]["AttributeInfo"][];
|
|
4594
4518
|
/** @description A set (map) of ReleaseIDs of any Releases that have bundled this Revision. The string values have no particular meaning for now. */
|
|
4595
4519
|
Releases?: {
|
|
4596
4520
|
[key: string]: string;
|
|
@@ -4646,10 +4570,22 @@ interface components {
|
|
|
4646
4570
|
ValidationErrors?: {
|
|
4647
4571
|
[key: string]: boolean;
|
|
4648
4572
|
};
|
|
4573
|
+
/** @description A map of "<space slug>/<trigger slug>/<function name>" to true of Triggers invoking validating functions that executed and passed on the configuration data at this Revision. Disjoint from ValidationErrors and ValidationWarnings. */
|
|
4574
|
+
ValidationPassed?: {
|
|
4575
|
+
[key: string]: boolean;
|
|
4576
|
+
};
|
|
4577
|
+
/** @description A map from gate/warning name to the validation results that caused it, for the configuration data at this Revision. */
|
|
4578
|
+
ValidationResults?: {
|
|
4579
|
+
[key: string]: components["schemas"]["ValidationResultList"];
|
|
4580
|
+
};
|
|
4649
4581
|
/** @description A map of "<space slug>/<trigger slug>/<function name>" to true of Triggers with Warn=true invoking validating functions that did not pass on the configuration data at this Revision. These do not block Release operations. */
|
|
4650
4582
|
ValidationWarnings?: {
|
|
4651
4583
|
[key: string]: boolean;
|
|
4652
4584
|
};
|
|
4585
|
+
/** @description Map from "<trigger slug>/<attribute name>" to the first output Value with that attribute name of the function invocation specified by the Trigger, as of this Revision. */
|
|
4586
|
+
Values?: {
|
|
4587
|
+
[key: string]: string;
|
|
4588
|
+
};
|
|
4653
4589
|
/**
|
|
4654
4590
|
* Format: int64
|
|
4655
4591
|
* @description An entity-specific sequence number used for optimistic concurrency control. The value read must be sent in calls to Update.
|
|
@@ -4733,11 +4669,6 @@ interface components {
|
|
|
4733
4669
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
4734
4670
|
*/
|
|
4735
4671
|
readonly CreatedAt?: string;
|
|
4736
|
-
/**
|
|
4737
|
-
* Format: int64
|
|
4738
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
4739
|
-
*/
|
|
4740
|
-
readonly CursorID?: number;
|
|
4741
4672
|
/** @description An optional set of gates that, if any is present, will block deletion. */
|
|
4742
4673
|
DeleteGates?: {
|
|
4743
4674
|
[key: string]: boolean;
|
|
@@ -4932,11 +4863,6 @@ interface components {
|
|
|
4932
4863
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
4933
4864
|
*/
|
|
4934
4865
|
readonly CreatedAt?: string;
|
|
4935
|
-
/**
|
|
4936
|
-
* Format: int64
|
|
4937
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
4938
|
-
*/
|
|
4939
|
-
readonly CursorID?: number;
|
|
4940
4866
|
/** @description An optional set of gates that, if any is present, will block deletion. */
|
|
4941
4867
|
DeleteGates?: {
|
|
4942
4868
|
[key: string]: boolean;
|
|
@@ -5009,11 +4935,6 @@ interface components {
|
|
|
5009
4935
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
5010
4936
|
*/
|
|
5011
4937
|
readonly CreatedAt?: string;
|
|
5012
|
-
/**
|
|
5013
|
-
* Format: int64
|
|
5014
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
5015
|
-
*/
|
|
5016
|
-
readonly CursorID?: number;
|
|
5017
4938
|
/** @description An optional set of gates that, if any is present, will block deletion. */
|
|
5018
4939
|
DeleteGates?: {
|
|
5019
4940
|
[key: string]: boolean;
|
|
@@ -5188,11 +5109,6 @@ interface components {
|
|
|
5188
5109
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
5189
5110
|
*/
|
|
5190
5111
|
readonly CreatedAt?: string;
|
|
5191
|
-
/**
|
|
5192
|
-
* Format: int64
|
|
5193
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
5194
|
-
*/
|
|
5195
|
-
readonly CursorID?: number;
|
|
5196
5112
|
/** @description An optional set of gates that, if any is present, will block deletion. */
|
|
5197
5113
|
DeleteGates?: {
|
|
5198
5114
|
[key: string]: boolean;
|
|
@@ -5365,11 +5281,6 @@ interface components {
|
|
|
5365
5281
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
5366
5282
|
*/
|
|
5367
5283
|
readonly CreatedAt?: string;
|
|
5368
|
-
/**
|
|
5369
|
-
* Format: int64
|
|
5370
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
5371
|
-
*/
|
|
5372
|
-
readonly CursorID?: number;
|
|
5373
5284
|
/** @description The SHA256 hash of the configuration data, encoded as hexadecimal. It is also the ETag the data endpoint serves, so a caller that listed Units can ask for a body conditionally without fetching it first. */
|
|
5374
5285
|
readonly DataHash?: string;
|
|
5375
5286
|
/**
|
|
@@ -5396,6 +5307,12 @@ interface components {
|
|
|
5396
5307
|
* @description Sequence number the head Mutation.
|
|
5397
5308
|
*/
|
|
5398
5309
|
readonly HeadMutationNum?: number;
|
|
5310
|
+
/**
|
|
5311
|
+
* Format: uuid
|
|
5312
|
+
* @description Unique identifier of the head Revision -- the same Revision HeadRevisionNum numbers. Use include=HeadRevisionNum to expand it.
|
|
5313
|
+
* @example 248df4b7-aa70-47b8-a036-33ac447e668d
|
|
5314
|
+
*/
|
|
5315
|
+
readonly HeadRevisionID?: string;
|
|
5399
5316
|
/**
|
|
5400
5317
|
* Format: int64
|
|
5401
5318
|
* @description Sequence number the head Revision.
|
|
@@ -5688,11 +5605,6 @@ interface components {
|
|
|
5688
5605
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
5689
5606
|
*/
|
|
5690
5607
|
readonly CreatedAt?: string;
|
|
5691
|
-
/**
|
|
5692
|
-
* Format: int64
|
|
5693
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
5694
|
-
*/
|
|
5695
|
-
readonly CursorID?: number;
|
|
5696
5608
|
/** @description The type of entity. */
|
|
5697
5609
|
readonly EntityType?: string;
|
|
5698
5610
|
Message?: string;
|
|
@@ -5758,12 +5670,6 @@ interface components {
|
|
|
5758
5670
|
*/
|
|
5759
5671
|
Version?: number;
|
|
5760
5672
|
};
|
|
5761
|
-
UnitExtended: {
|
|
5762
|
-
ApprovedByUsers?: string[] | null;
|
|
5763
|
-
FromLinks?: components["schemas"]["Link"][] | null;
|
|
5764
|
-
ToLinks?: components["schemas"]["Link"][] | null;
|
|
5765
|
-
Unit?: components["schemas"]["Unit"];
|
|
5766
|
-
};
|
|
5767
5673
|
UnitGuardRequest: {
|
|
5768
5674
|
Clearance?: components["schemas"]["Clearance"];
|
|
5769
5675
|
/** @description Per-resource guard edits to apply to the Unit's PathAnnotations */
|
|
@@ -5822,11 +5728,6 @@ interface components {
|
|
|
5822
5728
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
5823
5729
|
*/
|
|
5824
5730
|
readonly CreatedAt?: string;
|
|
5825
|
-
/**
|
|
5826
|
-
* Format: int64
|
|
5827
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
5828
|
-
*/
|
|
5829
|
-
readonly CursorID?: number;
|
|
5830
5731
|
/** @description Friendly name for the entity. */
|
|
5831
5732
|
DisplayName?: string;
|
|
5832
5733
|
/** @description The type of entity. */
|
|
@@ -5917,11 +5818,6 @@ interface components {
|
|
|
5917
5818
|
* @example 2025-04-04T11:50:02.95102-07:00
|
|
5918
5819
|
*/
|
|
5919
5820
|
readonly CreatedAt?: string;
|
|
5920
|
-
/**
|
|
5921
|
-
* Format: int64
|
|
5922
|
-
* @description An auto-incrementing sequence number used for pagination.
|
|
5923
|
-
*/
|
|
5924
|
-
readonly CursorID?: number;
|
|
5925
5821
|
/** @description An optional set of gates that, if any is present, will block deletion. */
|
|
5926
5822
|
DeleteGates?: {
|
|
5927
5823
|
[key: string]: boolean;
|
|
@@ -10926,7 +10822,7 @@ interface operations {
|
|
|
10926
10822
|
* An example conjunction is:
|
|
10927
10823
|
* `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
|
|
10928
10824
|
*
|
|
10929
|
-
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
10825
|
+
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
10930
10826
|
*
|
|
10931
10827
|
* Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Unapplied units can be found using `LastReleasedRevisionNum = 0`. Units with unapplied changes can be found with `HeadRevisionNum > LastReleasedRevisionNum`.
|
|
10932
10828
|
*
|
|
@@ -10951,8 +10847,10 @@ interface operations {
|
|
|
10951
10847
|
include?: string;
|
|
10952
10848
|
/** @description Resource type: Resource type to match for the desired ToolchainType, for example apps/v1/Deployment */
|
|
10953
10849
|
resource_type?: string;
|
|
10954
|
-
/** @description Where data: The specified string is an expression for the purpose of evaluating whether the configuration data matches the filter. It supports conjunctions using `AND` of relational expressions of the form *path* *operator* *literal*. The path specifications are dot-separated, for both map fields and array indices, as in `spec.template.spec.containers.0.image = 'ghcr.io/headlamp-k8s/headlamp:latest' AND spec.replicas > 1`. Path expressions support `*` for wildcard array or map segments and `?key=value` syntax for associative matches of array elements containing objects with a `key` attribute. Strings support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `LIKE`, `ILIKE`, `~~`, `!~~`, `~`, `!~`, `~*`, `!~*`, `IN`, `NOT IN`. String pattern operators: `LIKE` and `~~` for pattern matching with `%` and `_` wildcards, `ILIKE` for case-insensitive pattern matching, `!~~` for NOT LIKE. String regex operators: `~` for regex matching, `~*` for case-insensitive regex, `!~` and `!~*` for regex not matching (case-sensitive and insensitive). Integers support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `IN`, `NOT IN`. Boolean values support equality and inequality only. The `IN` and `NOT IN` operators accept a comma-separated list of values in parentheses, such as `spec.template.spec.containers.0.image#reference IN (':latest', ':arm64-latest')`. The syntax `.|`
|
|
10850
|
+
/** @description Where data: The specified string is an expression for the purpose of evaluating whether the configuration data matches the filter. It supports conjunctions using `AND` of relational expressions of the form *path* *operator* *literal*. The path specifications are dot-separated, for both map fields and array indices, as in `spec.template.spec.containers.0.image = 'ghcr.io/headlamp-k8s/headlamp:latest' AND spec.replicas > 1`. Path expressions support `*` for wildcard array or map segments and `?key=value` syntax for associative matches of array elements containing objects with a `key` attribute. Strings support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `LIKE`, `ILIKE`, `~~`, `!~~`, `~`, `!~`, `~*`, `!~*`, `IN`, `NOT IN`. String pattern operators: `LIKE` and `~~` for pattern matching with `%` and `_` wildcards, `ILIKE` for case-insensitive pattern matching, `!~~` for NOT LIKE. String regex operators: `~` for regex matching, `~*` for case-insensitive regex, `!~` and `!~*` for regex not matching (case-sensitive and insensitive). Integers support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `IN`, `NOT IN`. Boolean values support equality and inequality only. The `IN` and `NOT IN` operators accept a comma-separated list of values in parentheses, such as `spec.template.spec.containers.0.image#reference IN (':latest', ':arm64-latest')`. The syntax `.|` splits the path: the left side selects, and the right side is a property of what was selected. On the right side of a `.|`, and only there, `!=` is true when the property is absent: `spec.containers.*.|image != 'nginx'` selects the containers and asks that none of their images be nginx, which a container with no image satisfies. Everywhere else a path that is not present is not a match, `!=` included. String literals are quoted with single quotes, such as `'string'`. Integer and boolean literals are also supported for attributes of those types. The whole string must be query-encoded. */
|
|
10955
10851
|
where_data?: string;
|
|
10852
|
+
/** @description Which engine answers where_data and resource_type: `sql` (the default) evaluates the expression against the stored resource projection in a single query, falling back to the function engine for the expressions it cannot translate; `function` invokes the where-filter function on each candidate Unit, reading every one's configuration; `shadow` runs both, answers with `function`, and logs any disagreement. Temporary: `function` is the escape hatch for one release, after which this parameter goes away. */
|
|
10853
|
+
where_data_engine?: string;
|
|
10956
10854
|
/** @description Where expression to match Triggers. Matched triggers are invoked on each unit to filter by validation results. Use with triggers_passed to control whether passing or failing units are returned (default: failing). */
|
|
10957
10855
|
where_trigger?: string;
|
|
10958
10856
|
/** @description Filter UUID (with From=Trigger). The filter's matching triggers are invoked on units to filter by validation results. Can be combined with where_trigger. */
|
|
@@ -14657,7 +14555,7 @@ interface operations {
|
|
|
14657
14555
|
* An example conjunction is:
|
|
14658
14556
|
* `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
|
|
14659
14557
|
*
|
|
14660
|
-
* Supported attributes for filtering on Revision: ApplyGates, ApplyWarnings, ApprovedBy, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, OrganizationID, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationWarnings.
|
|
14558
|
+
* Supported attributes for filtering on Revision: ApplyGates, ApplyWarnings, ApprovedBy, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, NeededPaths, OrganizationID, ProvidedPaths, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationPassed, ValidationWarnings, Values.
|
|
14661
14559
|
*
|
|
14662
14560
|
* To list tagged Revisions use `Tags ? '<tag-id>'`.
|
|
14663
14561
|
*
|
|
@@ -14726,7 +14624,7 @@ interface operations {
|
|
|
14726
14624
|
*
|
|
14727
14625
|
* Field names are case-sensitive and PascalCase, as in the JSON encoding. Sort direction defaults to ASC when the 'DIRECTION:' prefix is omitted.
|
|
14728
14626
|
*
|
|
14729
|
-
* Supported attributes for ordering Revision: ApplyGates, ApplyWarnings, ApprovedBy, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, OrganizationID, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationWarnings.
|
|
14627
|
+
* Supported attributes for ordering Revision: ApplyGates, ApplyWarnings, ApprovedBy, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, NeededPaths, OrganizationID, ProvidedPaths, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationPassed, ValidationWarnings, Values.
|
|
14730
14628
|
*
|
|
14731
14629
|
* Example: 'DESC:CreatedAt' or 'DisplayName,DESC:CreatedAt'.
|
|
14732
14630
|
*
|
|
@@ -14855,7 +14753,7 @@ interface operations {
|
|
|
14855
14753
|
* An example conjunction is:
|
|
14856
14754
|
* `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
|
|
14857
14755
|
*
|
|
14858
|
-
* Supported attributes for filtering on Revision: ApplyGates, ApplyWarnings, ApprovedBy, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, OrganizationID, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationWarnings.
|
|
14756
|
+
* Supported attributes for filtering on Revision: ApplyGates, ApplyWarnings, ApprovedBy, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, NeededPaths, OrganizationID, ProvidedPaths, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationPassed, ValidationWarnings, Values.
|
|
14859
14757
|
*
|
|
14860
14758
|
* To list tagged Revisions use `Tags ? '<tag-id>'`.
|
|
14861
14759
|
*
|
|
@@ -14924,7 +14822,7 @@ interface operations {
|
|
|
14924
14822
|
*
|
|
14925
14823
|
* Field names are case-sensitive and PascalCase, as in the JSON encoding. Sort direction defaults to ASC when the 'DIRECTION:' prefix is omitted.
|
|
14926
14824
|
*
|
|
14927
|
-
* Supported attributes for ordering Revision: ApplyGates, ApplyWarnings, ApprovedBy, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, OrganizationID, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationWarnings.
|
|
14825
|
+
* Supported attributes for ordering Revision: ApplyGates, ApplyWarnings, ApprovedBy, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, NeededPaths, OrganizationID, ProvidedPaths, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationPassed, ValidationWarnings, Values.
|
|
14928
14826
|
*
|
|
14929
14827
|
* Example: 'DESC:CreatedAt' or 'DisplayName,DESC:CreatedAt'.
|
|
14930
14828
|
*
|
|
@@ -15053,7 +14951,7 @@ interface operations {
|
|
|
15053
14951
|
* An example conjunction is:
|
|
15054
14952
|
* `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
|
|
15055
14953
|
*
|
|
15056
|
-
* Supported attributes for filtering on Revision: ApplyGates, ApplyWarnings, ApprovedBy, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, OrganizationID, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationWarnings.
|
|
14954
|
+
* Supported attributes for filtering on Revision: ApplyGates, ApplyWarnings, ApprovedBy, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, NeededPaths, OrganizationID, ProvidedPaths, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationPassed, ValidationWarnings, Values.
|
|
15057
14955
|
*
|
|
15058
14956
|
* To list tagged Revisions use `Tags ? '<tag-id>'`.
|
|
15059
14957
|
*
|
|
@@ -15122,7 +15020,7 @@ interface operations {
|
|
|
15122
15020
|
*
|
|
15123
15021
|
* Field names are case-sensitive and PascalCase, as in the JSON encoding. Sort direction defaults to ASC when the 'DIRECTION:' prefix is omitted.
|
|
15124
15022
|
*
|
|
15125
|
-
* Supported attributes for ordering Revision: ApplyGates, ApplyWarnings, ApprovedBy, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, OrganizationID, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationWarnings.
|
|
15023
|
+
* Supported attributes for ordering Revision: ApplyGates, ApplyWarnings, ApprovedBy, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, NeededPaths, OrganizationID, ProvidedPaths, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationPassed, ValidationWarnings, Values.
|
|
15126
15024
|
*
|
|
15127
15025
|
* Example: 'DESC:CreatedAt' or 'DisplayName,DESC:CreatedAt'.
|
|
15128
15026
|
*
|
|
@@ -19664,7 +19562,7 @@ interface operations {
|
|
|
19664
19562
|
* An example conjunction is:
|
|
19665
19563
|
* `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
|
|
19666
19564
|
*
|
|
19667
|
-
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
19565
|
+
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
19668
19566
|
*
|
|
19669
19567
|
* Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Unapplied units can be found using `LastReleasedRevisionNum = 0`. Units with unapplied changes can be found with `HeadRevisionNum > LastReleasedRevisionNum`.
|
|
19670
19568
|
*
|
|
@@ -19689,8 +19587,10 @@ interface operations {
|
|
|
19689
19587
|
include?: string;
|
|
19690
19588
|
/** @description Resource type: Resource type to match for the desired ToolchainType, for example apps/v1/Deployment */
|
|
19691
19589
|
resource_type?: string;
|
|
19692
|
-
/** @description Where data: The specified string is an expression for the purpose of evaluating whether the configuration data matches the filter. It supports conjunctions using `AND` of relational expressions of the form *path* *operator* *literal*. The path specifications are dot-separated, for both map fields and array indices, as in `spec.template.spec.containers.0.image = 'ghcr.io/headlamp-k8s/headlamp:latest' AND spec.replicas > 1`. Path expressions support `*` for wildcard array or map segments and `?key=value` syntax for associative matches of array elements containing objects with a `key` attribute. Strings support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `LIKE`, `ILIKE`, `~~`, `!~~`, `~`, `!~`, `~*`, `!~*`, `IN`, `NOT IN`. String pattern operators: `LIKE` and `~~` for pattern matching with `%` and `_` wildcards, `ILIKE` for case-insensitive pattern matching, `!~~` for NOT LIKE. String regex operators: `~` for regex matching, `~*` for case-insensitive regex, `!~` and `!~*` for regex not matching (case-sensitive and insensitive). Integers support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `IN`, `NOT IN`. Boolean values support equality and inequality only. The `IN` and `NOT IN` operators accept a comma-separated list of values in parentheses, such as `spec.template.spec.containers.0.image#reference IN (':latest', ':arm64-latest')`. The syntax `.|`
|
|
19590
|
+
/** @description Where data: The specified string is an expression for the purpose of evaluating whether the configuration data matches the filter. It supports conjunctions using `AND` of relational expressions of the form *path* *operator* *literal*. The path specifications are dot-separated, for both map fields and array indices, as in `spec.template.spec.containers.0.image = 'ghcr.io/headlamp-k8s/headlamp:latest' AND spec.replicas > 1`. Path expressions support `*` for wildcard array or map segments and `?key=value` syntax for associative matches of array elements containing objects with a `key` attribute. Strings support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `LIKE`, `ILIKE`, `~~`, `!~~`, `~`, `!~`, `~*`, `!~*`, `IN`, `NOT IN`. String pattern operators: `LIKE` and `~~` for pattern matching with `%` and `_` wildcards, `ILIKE` for case-insensitive pattern matching, `!~~` for NOT LIKE. String regex operators: `~` for regex matching, `~*` for case-insensitive regex, `!~` and `!~*` for regex not matching (case-sensitive and insensitive). Integers support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `IN`, `NOT IN`. Boolean values support equality and inequality only. The `IN` and `NOT IN` operators accept a comma-separated list of values in parentheses, such as `spec.template.spec.containers.0.image#reference IN (':latest', ':arm64-latest')`. The syntax `.|` splits the path: the left side selects, and the right side is a property of what was selected. On the right side of a `.|`, and only there, `!=` is true when the property is absent: `spec.containers.*.|image != 'nginx'` selects the containers and asks that none of their images be nginx, which a container with no image satisfies. Everywhere else a path that is not present is not a match, `!=` included. String literals are quoted with single quotes, such as `'string'`. Integer and boolean literals are also supported for attributes of those types. The whole string must be query-encoded. */
|
|
19693
19591
|
where_data?: string;
|
|
19592
|
+
/** @description Which engine answers where_data and resource_type: `sql` (the default) evaluates the expression against the stored resource projection in a single query, falling back to the function engine for the expressions it cannot translate; `function` invokes the where-filter function on each candidate Unit, reading every one's configuration; `shadow` runs both, answers with `function`, and logs any disagreement. Temporary: `function` is the escape hatch for one release, after which this parameter goes away. */
|
|
19593
|
+
where_data_engine?: string;
|
|
19694
19594
|
/** @description Where expression to match Triggers. Matched triggers are invoked on each unit to filter by validation results. Use with triggers_passed to control whether passing or failing units are returned (default: failing). */
|
|
19695
19595
|
where_trigger?: string;
|
|
19696
19596
|
/** @description Filter UUID (with From=Trigger). The filter's matching triggers are invoked on units to filter by validation results. Can be combined with where_trigger. */
|
|
@@ -24176,7 +24076,7 @@ interface operations {
|
|
|
24176
24076
|
* An example conjunction is:
|
|
24177
24077
|
* `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
|
|
24178
24078
|
*
|
|
24179
|
-
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
24079
|
+
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
24180
24080
|
*
|
|
24181
24081
|
* Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Unapplied units can be found using `LastReleasedRevisionNum = 0`. Units with unapplied changes can be found with `HeadRevisionNum > LastReleasedRevisionNum`.
|
|
24182
24082
|
*
|
|
@@ -24238,8 +24138,10 @@ interface operations {
|
|
|
24238
24138
|
select?: string;
|
|
24239
24139
|
/** @description Resource type: Resource type to match for the desired ToolchainType, for example apps/v1/Deployment */
|
|
24240
24140
|
resource_type?: string;
|
|
24241
|
-
/** @description Where data: The specified string is an expression for the purpose of evaluating whether the configuration data matches the filter. It supports conjunctions using `AND` of relational expressions of the form *path* *operator* *literal*. The path specifications are dot-separated, for both map fields and array indices, as in `spec.template.spec.containers.0.image = 'ghcr.io/headlamp-k8s/headlamp:latest' AND spec.replicas > 1`. Path expressions support `*` for wildcard array or map segments and `?key=value` syntax for associative matches of array elements containing objects with a `key` attribute. Strings support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `LIKE`, `ILIKE`, `~~`, `!~~`, `~`, `!~`, `~*`, `!~*`, `IN`, `NOT IN`. String pattern operators: `LIKE` and `~~` for pattern matching with `%` and `_` wildcards, `ILIKE` for case-insensitive pattern matching, `!~~` for NOT LIKE. String regex operators: `~` for regex matching, `~*` for case-insensitive regex, `!~` and `!~*` for regex not matching (case-sensitive and insensitive). Integers support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `IN`, `NOT IN`. Boolean values support equality and inequality only. The `IN` and `NOT IN` operators accept a comma-separated list of values in parentheses, such as `spec.template.spec.containers.0.image#reference IN (':latest', ':arm64-latest')`. The syntax `.|`
|
|
24141
|
+
/** @description Where data: The specified string is an expression for the purpose of evaluating whether the configuration data matches the filter. It supports conjunctions using `AND` of relational expressions of the form *path* *operator* *literal*. The path specifications are dot-separated, for both map fields and array indices, as in `spec.template.spec.containers.0.image = 'ghcr.io/headlamp-k8s/headlamp:latest' AND spec.replicas > 1`. Path expressions support `*` for wildcard array or map segments and `?key=value` syntax for associative matches of array elements containing objects with a `key` attribute. Strings support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `LIKE`, `ILIKE`, `~~`, `!~~`, `~`, `!~`, `~*`, `!~*`, `IN`, `NOT IN`. String pattern operators: `LIKE` and `~~` for pattern matching with `%` and `_` wildcards, `ILIKE` for case-insensitive pattern matching, `!~~` for NOT LIKE. String regex operators: `~` for regex matching, `~*` for case-insensitive regex, `!~` and `!~*` for regex not matching (case-sensitive and insensitive). Integers support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `IN`, `NOT IN`. Boolean values support equality and inequality only. The `IN` and `NOT IN` operators accept a comma-separated list of values in parentheses, such as `spec.template.spec.containers.0.image#reference IN (':latest', ':arm64-latest')`. The syntax `.|` splits the path: the left side selects, and the right side is a property of what was selected. On the right side of a `.|`, and only there, `!=` is true when the property is absent: `spec.containers.*.|image != 'nginx'` selects the containers and asks that none of their images be nginx, which a container with no image satisfies. Everywhere else a path that is not present is not a match, `!=` included. String literals are quoted with single quotes, such as `'string'`. Integer and boolean literals are also supported for attributes of those types. The whole string must be query-encoded. */
|
|
24242
24142
|
where_data?: string;
|
|
24143
|
+
/** @description Which engine answers where_data and resource_type: `sql` (the default) evaluates the expression against the stored resource projection in a single query, falling back to the function engine for the expressions it cannot translate; `function` invokes the where-filter function on each candidate Unit, reading every one's configuration; `shadow` runs both, answers with `function`, and logs any disagreement. Temporary: `function` is the escape hatch for one release, after which this parameter goes away. */
|
|
24144
|
+
where_data_engine?: string;
|
|
24243
24145
|
/** @description Where expression to match Triggers. Matched triggers are invoked on each unit to filter by validation results. Use with triggers_passed to control whether passing or failing units are returned (default: failing). */
|
|
24244
24146
|
where_trigger?: string;
|
|
24245
24147
|
/** @description Filter UUID (with From=Trigger). The filter's matching triggers are invoked on units to filter by validation results. Can be combined with where_trigger. */
|
|
@@ -25457,85 +25359,6 @@ interface operations {
|
|
|
25457
25359
|
};
|
|
25458
25360
|
};
|
|
25459
25361
|
};
|
|
25460
|
-
GetUnitExtended: {
|
|
25461
|
-
parameters: {
|
|
25462
|
-
query?: never;
|
|
25463
|
-
header?: never;
|
|
25464
|
-
path: {
|
|
25465
|
-
/** @description Unique identifier for a space_id */
|
|
25466
|
-
space_id: string;
|
|
25467
|
-
/** @description Unique identifier for a unit_id */
|
|
25468
|
-
unit_id: string;
|
|
25469
|
-
};
|
|
25470
|
-
cookie?: never;
|
|
25471
|
-
};
|
|
25472
|
-
requestBody?: never;
|
|
25473
|
-
responses: {
|
|
25474
|
-
/** @description OK */
|
|
25475
|
-
200: {
|
|
25476
|
-
headers: {
|
|
25477
|
-
[name: string]: unknown;
|
|
25478
|
-
};
|
|
25479
|
-
content: {
|
|
25480
|
-
"application/json": components["schemas"]["UnitExtended"];
|
|
25481
|
-
};
|
|
25482
|
-
};
|
|
25483
|
-
/** @description Unit request is invalid (Bad Request). */
|
|
25484
|
-
400: {
|
|
25485
|
-
headers: {
|
|
25486
|
-
[name: string]: unknown;
|
|
25487
|
-
};
|
|
25488
|
-
content: {
|
|
25489
|
-
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
25490
|
-
};
|
|
25491
|
-
};
|
|
25492
|
-
/** @description Unauthorized access. */
|
|
25493
|
-
401: {
|
|
25494
|
-
headers: {
|
|
25495
|
-
[name: string]: unknown;
|
|
25496
|
-
};
|
|
25497
|
-
content: {
|
|
25498
|
-
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
25499
|
-
};
|
|
25500
|
-
};
|
|
25501
|
-
/** @description Forbidden access. */
|
|
25502
|
-
403: {
|
|
25503
|
-
headers: {
|
|
25504
|
-
[name: string]: unknown;
|
|
25505
|
-
};
|
|
25506
|
-
content: {
|
|
25507
|
-
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
25508
|
-
};
|
|
25509
|
-
};
|
|
25510
|
-
/** @description Unit not found. */
|
|
25511
|
-
404: {
|
|
25512
|
-
headers: {
|
|
25513
|
-
[name: string]: unknown;
|
|
25514
|
-
};
|
|
25515
|
-
content: {
|
|
25516
|
-
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
25517
|
-
};
|
|
25518
|
-
};
|
|
25519
|
-
/** @description Something went wrong while processing Unit. */
|
|
25520
|
-
500: {
|
|
25521
|
-
headers: {
|
|
25522
|
-
[name: string]: unknown;
|
|
25523
|
-
};
|
|
25524
|
-
content: {
|
|
25525
|
-
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
25526
|
-
};
|
|
25527
|
-
};
|
|
25528
|
-
/** @description Unexpected error. */
|
|
25529
|
-
default: {
|
|
25530
|
-
headers: {
|
|
25531
|
-
[name: string]: unknown;
|
|
25532
|
-
};
|
|
25533
|
-
content: {
|
|
25534
|
-
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
25535
|
-
};
|
|
25536
|
-
};
|
|
25537
|
-
};
|
|
25538
|
-
};
|
|
25539
25362
|
SetUnitGuard: {
|
|
25540
25363
|
parameters: {
|
|
25541
25364
|
query?: never;
|
|
@@ -26437,7 +26260,7 @@ interface operations {
|
|
|
26437
26260
|
* An example conjunction is:
|
|
26438
26261
|
* `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
|
|
26439
26262
|
*
|
|
26440
|
-
* Supported attributes for filtering on Revision: ApplyGates, ApplyWarnings, ApprovedBy, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, OrganizationID, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationWarnings.
|
|
26263
|
+
* Supported attributes for filtering on Revision: ApplyGates, ApplyWarnings, ApprovedBy, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, NeededPaths, OrganizationID, ProvidedPaths, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationPassed, ValidationWarnings, Values.
|
|
26441
26264
|
*
|
|
26442
26265
|
* To list a tagged Revision use `Tags ? '<tag-id>'`.
|
|
26443
26266
|
*
|
|
@@ -26506,7 +26329,7 @@ interface operations {
|
|
|
26506
26329
|
*
|
|
26507
26330
|
* Field names are case-sensitive and PascalCase, as in the JSON encoding. Sort direction defaults to ASC when the 'DIRECTION:' prefix is omitted.
|
|
26508
26331
|
*
|
|
26509
|
-
* Supported attributes for ordering Revision: ApplyGates, ApplyWarnings, ApprovedBy, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, OrganizationID, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationWarnings.
|
|
26332
|
+
* Supported attributes for ordering Revision: ApplyGates, ApplyWarnings, ApprovedBy, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, NeededPaths, OrganizationID, ProvidedPaths, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationPassed, ValidationWarnings, Values.
|
|
26510
26333
|
*
|
|
26511
26334
|
* Example: 'DESC:CreatedAt' or 'DisplayName,DESC:CreatedAt'.
|
|
26512
26335
|
*
|
|
@@ -26625,7 +26448,7 @@ interface operations {
|
|
|
26625
26448
|
*
|
|
26626
26449
|
* Field names are case-sensitive and PascalCase, as in the JSON encoding. Sort direction defaults to ASC when the 'DIRECTION:' prefix is omitted.
|
|
26627
26450
|
*
|
|
26628
|
-
* Supported attributes for ordering Revision: ApplyGates, ApplyWarnings, ApprovedBy, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, OrganizationID, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationWarnings.
|
|
26451
|
+
* Supported attributes for ordering Revision: ApplyGates, ApplyWarnings, ApprovedBy, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, NeededPaths, OrganizationID, ProvidedPaths, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationPassed, ValidationWarnings, Values.
|
|
26629
26452
|
*
|
|
26630
26453
|
* Example: 'DESC:CreatedAt' or 'DisplayName,DESC:CreatedAt'.
|
|
26631
26454
|
*
|
|
@@ -30352,7 +30175,7 @@ interface operations {
|
|
|
30352
30175
|
* An example conjunction is:
|
|
30353
30176
|
* `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
|
|
30354
30177
|
*
|
|
30355
|
-
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
30178
|
+
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
30356
30179
|
*
|
|
30357
30180
|
* Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Unapplied units can be found using `LastReleasedRevisionNum = 0`. Units with unapplied changes can be found with `HeadRevisionNum > LastReleasedRevisionNum`.
|
|
30358
30181
|
*
|
|
@@ -30414,8 +30237,10 @@ interface operations {
|
|
|
30414
30237
|
select?: string;
|
|
30415
30238
|
/** @description Resource type: Resource type to match for the desired ToolchainType, for example apps/v1/Deployment */
|
|
30416
30239
|
resource_type?: string;
|
|
30417
|
-
/** @description Where data: The specified string is an expression for the purpose of evaluating whether the configuration data matches the filter. It supports conjunctions using `AND` of relational expressions of the form *path* *operator* *literal*. The path specifications are dot-separated, for both map fields and array indices, as in `spec.template.spec.containers.0.image = 'ghcr.io/headlamp-k8s/headlamp:latest' AND spec.replicas > 1`. Path expressions support `*` for wildcard array or map segments and `?key=value` syntax for associative matches of array elements containing objects with a `key` attribute. Strings support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `LIKE`, `ILIKE`, `~~`, `!~~`, `~`, `!~`, `~*`, `!~*`, `IN`, `NOT IN`. String pattern operators: `LIKE` and `~~` for pattern matching with `%` and `_` wildcards, `ILIKE` for case-insensitive pattern matching, `!~~` for NOT LIKE. String regex operators: `~` for regex matching, `~*` for case-insensitive regex, `!~` and `!~*` for regex not matching (case-sensitive and insensitive). Integers support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `IN`, `NOT IN`. Boolean values support equality and inequality only. The `IN` and `NOT IN` operators accept a comma-separated list of values in parentheses, such as `spec.template.spec.containers.0.image#reference IN (':latest', ':arm64-latest')`. The syntax `.|`
|
|
30240
|
+
/** @description Where data: The specified string is an expression for the purpose of evaluating whether the configuration data matches the filter. It supports conjunctions using `AND` of relational expressions of the form *path* *operator* *literal*. The path specifications are dot-separated, for both map fields and array indices, as in `spec.template.spec.containers.0.image = 'ghcr.io/headlamp-k8s/headlamp:latest' AND spec.replicas > 1`. Path expressions support `*` for wildcard array or map segments and `?key=value` syntax for associative matches of array elements containing objects with a `key` attribute. Strings support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `LIKE`, `ILIKE`, `~~`, `!~~`, `~`, `!~`, `~*`, `!~*`, `IN`, `NOT IN`. String pattern operators: `LIKE` and `~~` for pattern matching with `%` and `_` wildcards, `ILIKE` for case-insensitive pattern matching, `!~~` for NOT LIKE. String regex operators: `~` for regex matching, `~*` for case-insensitive regex, `!~` and `!~*` for regex not matching (case-sensitive and insensitive). Integers support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `IN`, `NOT IN`. Boolean values support equality and inequality only. The `IN` and `NOT IN` operators accept a comma-separated list of values in parentheses, such as `spec.template.spec.containers.0.image#reference IN (':latest', ':arm64-latest')`. The syntax `.|` splits the path: the left side selects, and the right side is a property of what was selected. On the right side of a `.|`, and only there, `!=` is true when the property is absent: `spec.containers.*.|image != 'nginx'` selects the containers and asks that none of their images be nginx, which a container with no image satisfies. Everywhere else a path that is not present is not a match, `!=` included. String literals are quoted with single quotes, such as `'string'`. Integer and boolean literals are also supported for attributes of those types. The whole string must be query-encoded. */
|
|
30418
30241
|
where_data?: string;
|
|
30242
|
+
/** @description Which engine answers where_data and resource_type: `sql` (the default) evaluates the expression against the stored resource projection in a single query, falling back to the function engine for the expressions it cannot translate; `function` invokes the where-filter function on each candidate Unit, reading every one's configuration; `shadow` runs both, answers with `function`, and logs any disagreement. Temporary: `function` is the escape hatch for one release, after which this parameter goes away. */
|
|
30243
|
+
where_data_engine?: string;
|
|
30419
30244
|
/** @description Where expression to match Triggers. Matched triggers are invoked on each unit to filter by validation results. Use with triggers_passed to control whether passing or failing units are returned (default: failing). */
|
|
30420
30245
|
where_trigger?: string;
|
|
30421
30246
|
/** @description Filter UUID (with From=Trigger). The filter's matching triggers are invoked on units to filter by validation results. Can be combined with where_trigger. */
|
|
@@ -30534,7 +30359,7 @@ interface operations {
|
|
|
30534
30359
|
* An example conjunction is:
|
|
30535
30360
|
* `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
|
|
30536
30361
|
*
|
|
30537
|
-
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
30362
|
+
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
30538
30363
|
*
|
|
30539
30364
|
* Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Unapplied units can be found using `LastReleasedRevisionNum = 0`. Units with unapplied changes can be found with `HeadRevisionNum > LastReleasedRevisionNum`.
|
|
30540
30365
|
*
|
|
@@ -30876,7 +30701,7 @@ interface operations {
|
|
|
30876
30701
|
* An example conjunction is:
|
|
30877
30702
|
* `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
|
|
30878
30703
|
*
|
|
30879
|
-
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
30704
|
+
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
30880
30705
|
*
|
|
30881
30706
|
* Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Unapplied units can be found using `LastReleasedRevisionNum = 0`. Units with unapplied changes can be found with `HeadRevisionNum > LastReleasedRevisionNum`.
|
|
30882
30707
|
*
|
|
@@ -31071,7 +30896,7 @@ interface operations {
|
|
|
31071
30896
|
* An example conjunction is:
|
|
31072
30897
|
* `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
|
|
31073
30898
|
*
|
|
31074
|
-
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
30899
|
+
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
31075
30900
|
*
|
|
31076
30901
|
* Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Unapplied units can be found using `LastReleasedRevisionNum = 0`. Units with unapplied changes can be found with `HeadRevisionNum > LastReleasedRevisionNum`.
|
|
31077
30902
|
*
|
|
@@ -31393,7 +31218,7 @@ interface operations {
|
|
|
31393
31218
|
* An example conjunction is:
|
|
31394
31219
|
* `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
|
|
31395
31220
|
*
|
|
31396
|
-
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
31221
|
+
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
31397
31222
|
*
|
|
31398
31223
|
* Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Unapplied units can be found using `LastReleasedRevisionNum = 0`. Units with unapplied changes can be found with `HeadRevisionNum > LastReleasedRevisionNum`.
|
|
31399
31224
|
*
|
|
@@ -31572,7 +31397,7 @@ interface operations {
|
|
|
31572
31397
|
* An example conjunction is:
|
|
31573
31398
|
* `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
|
|
31574
31399
|
*
|
|
31575
|
-
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
31400
|
+
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
31576
31401
|
*
|
|
31577
31402
|
* Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Unapplied units can be found using `LastReleasedRevisionNum = 0`. Units with unapplied changes can be found with `HeadRevisionNum > LastReleasedRevisionNum`.
|
|
31578
31403
|
*
|
|
@@ -31758,7 +31583,7 @@ interface operations {
|
|
|
31758
31583
|
* An example conjunction is:
|
|
31759
31584
|
* `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
|
|
31760
31585
|
*
|
|
31761
|
-
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
31586
|
+
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
31762
31587
|
*
|
|
31763
31588
|
* Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Unapplied units can be found using `LastReleasedRevisionNum = 0`. Units with unapplied changes can be found with `HeadRevisionNum > LastReleasedRevisionNum`.
|
|
31764
31589
|
*
|
|
@@ -32086,7 +31911,7 @@ interface operations {
|
|
|
32086
31911
|
* An example conjunction is:
|
|
32087
31912
|
* `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
|
|
32088
31913
|
*
|
|
32089
|
-
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
31914
|
+
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
32090
31915
|
*
|
|
32091
31916
|
* Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Unapplied units can be found using `LastReleasedRevisionNum = 0`. Units with unapplied changes can be found with `HeadRevisionNum > LastReleasedRevisionNum`.
|
|
32092
31917
|
*
|
|
@@ -32148,8 +31973,10 @@ interface operations {
|
|
|
32148
31973
|
select?: string;
|
|
32149
31974
|
/** @description Resource type: Resource type to match for the desired ToolchainType, for example apps/v1/Deployment */
|
|
32150
31975
|
resource_type?: string;
|
|
32151
|
-
/** @description Where data: The specified string is an expression for the purpose of evaluating whether the configuration data matches the filter. It supports conjunctions using `AND` of relational expressions of the form *path* *operator* *literal*. The path specifications are dot-separated, for both map fields and array indices, as in `spec.template.spec.containers.0.image = 'ghcr.io/headlamp-k8s/headlamp:latest' AND spec.replicas > 1`. Path expressions support `*` for wildcard array or map segments and `?key=value` syntax for associative matches of array elements containing objects with a `key` attribute. Strings support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `LIKE`, `ILIKE`, `~~`, `!~~`, `~`, `!~`, `~*`, `!~*`, `IN`, `NOT IN`. String pattern operators: `LIKE` and `~~` for pattern matching with `%` and `_` wildcards, `ILIKE` for case-insensitive pattern matching, `!~~` for NOT LIKE. String regex operators: `~` for regex matching, `~*` for case-insensitive regex, `!~` and `!~*` for regex not matching (case-sensitive and insensitive). Integers support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `IN`, `NOT IN`. Boolean values support equality and inequality only. The `IN` and `NOT IN` operators accept a comma-separated list of values in parentheses, such as `spec.template.spec.containers.0.image#reference IN (':latest', ':arm64-latest')`. The syntax `.|`
|
|
31976
|
+
/** @description Where data: The specified string is an expression for the purpose of evaluating whether the configuration data matches the filter. It supports conjunctions using `AND` of relational expressions of the form *path* *operator* *literal*. The path specifications are dot-separated, for both map fields and array indices, as in `spec.template.spec.containers.0.image = 'ghcr.io/headlamp-k8s/headlamp:latest' AND spec.replicas > 1`. Path expressions support `*` for wildcard array or map segments and `?key=value` syntax for associative matches of array elements containing objects with a `key` attribute. Strings support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `LIKE`, `ILIKE`, `~~`, `!~~`, `~`, `!~`, `~*`, `!~*`, `IN`, `NOT IN`. String pattern operators: `LIKE` and `~~` for pattern matching with `%` and `_` wildcards, `ILIKE` for case-insensitive pattern matching, `!~~` for NOT LIKE. String regex operators: `~` for regex matching, `~*` for case-insensitive regex, `!~` and `!~*` for regex not matching (case-sensitive and insensitive). Integers support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `IN`, `NOT IN`. Boolean values support equality and inequality only. The `IN` and `NOT IN` operators accept a comma-separated list of values in parentheses, such as `spec.template.spec.containers.0.image#reference IN (':latest', ':arm64-latest')`. The syntax `.|` splits the path: the left side selects, and the right side is a property of what was selected. On the right side of a `.|`, and only there, `!=` is true when the property is absent: `spec.containers.*.|image != 'nginx'` selects the containers and asks that none of their images be nginx, which a container with no image satisfies. Everywhere else a path that is not present is not a match, `!=` included. String literals are quoted with single quotes, such as `'string'`. Integer and boolean literals are also supported for attributes of those types. The whole string must be query-encoded. */
|
|
32152
31977
|
where_data?: string;
|
|
31978
|
+
/** @description Which engine answers where_data and resource_type: `sql` (the default) evaluates the expression against the stored resource projection in a single query, falling back to the function engine for the expressions it cannot translate; `function` invokes the where-filter function on each candidate Unit, reading every one's configuration; `shadow` runs both, answers with `function`, and logs any disagreement. Temporary: `function` is the escape hatch for one release, after which this parameter goes away. */
|
|
31979
|
+
where_data_engine?: string;
|
|
32153
31980
|
/** @description Where expression to match Triggers. Matched triggers are invoked on each unit to filter by validation results. Use with triggers_passed to control whether passing or failing units are returned (default: failing). */
|
|
32154
31981
|
where_trigger?: string;
|
|
32155
31982
|
/** @description Filter UUID (with From=Trigger). The filter's matching triggers are invoked on units to filter by validation results. Can be combined with where_trigger. */
|
|
@@ -32443,7 +32270,7 @@ interface operations {
|
|
|
32443
32270
|
* An example conjunction is:
|
|
32444
32271
|
* `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
|
|
32445
32272
|
*
|
|
32446
|
-
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
32273
|
+
* Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ApprovedBy, BridgeWorkerID, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, Labels, LastActionAt, LastChangeDescription, LastReleasedRevisionNum, NeededPaths, OrganizationID, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, TargetOptions, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationWarnings, Values.
|
|
32447
32274
|
*
|
|
32448
32275
|
* Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Unapplied units can be found using `LastReleasedRevisionNum = 0`. Units with unapplied changes can be found with `HeadRevisionNum > LastReleasedRevisionNum`.
|
|
32449
32276
|
*
|
|
@@ -32505,8 +32332,10 @@ interface operations {
|
|
|
32505
32332
|
select?: string;
|
|
32506
32333
|
/** @description Resource type: Resource type to match for the desired ToolchainType, for example apps/v1/Deployment */
|
|
32507
32334
|
resource_type?: string;
|
|
32508
|
-
/** @description Where data: The specified string is an expression for the purpose of evaluating whether the configuration data matches the filter. It supports conjunctions using `AND` of relational expressions of the form *path* *operator* *literal*. The path specifications are dot-separated, for both map fields and array indices, as in `spec.template.spec.containers.0.image = 'ghcr.io/headlamp-k8s/headlamp:latest' AND spec.replicas > 1`. Path expressions support `*` for wildcard array or map segments and `?key=value` syntax for associative matches of array elements containing objects with a `key` attribute. Strings support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `LIKE`, `ILIKE`, `~~`, `!~~`, `~`, `!~`, `~*`, `!~*`, `IN`, `NOT IN`. String pattern operators: `LIKE` and `~~` for pattern matching with `%` and `_` wildcards, `ILIKE` for case-insensitive pattern matching, `!~~` for NOT LIKE. String regex operators: `~` for regex matching, `~*` for case-insensitive regex, `!~` and `!~*` for regex not matching (case-sensitive and insensitive). Integers support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `IN`, `NOT IN`. Boolean values support equality and inequality only. The `IN` and `NOT IN` operators accept a comma-separated list of values in parentheses, such as `spec.template.spec.containers.0.image#reference IN (':latest', ':arm64-latest')`. The syntax `.|`
|
|
32335
|
+
/** @description Where data: The specified string is an expression for the purpose of evaluating whether the configuration data matches the filter. It supports conjunctions using `AND` of relational expressions of the form *path* *operator* *literal*. The path specifications are dot-separated, for both map fields and array indices, as in `spec.template.spec.containers.0.image = 'ghcr.io/headlamp-k8s/headlamp:latest' AND spec.replicas > 1`. Path expressions support `*` for wildcard array or map segments and `?key=value` syntax for associative matches of array elements containing objects with a `key` attribute. Strings support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `LIKE`, `ILIKE`, `~~`, `!~~`, `~`, `!~`, `~*`, `!~*`, `IN`, `NOT IN`. String pattern operators: `LIKE` and `~~` for pattern matching with `%` and `_` wildcards, `ILIKE` for case-insensitive pattern matching, `!~~` for NOT LIKE. String regex operators: `~` for regex matching, `~*` for case-insensitive regex, `!~` and `!~*` for regex not matching (case-sensitive and insensitive). Integers support the following operators: `<`, `>`, `<=`, `>=`, `=`, `!=`, `IN`, `NOT IN`. Boolean values support equality and inequality only. The `IN` and `NOT IN` operators accept a comma-separated list of values in parentheses, such as `spec.template.spec.containers.0.image#reference IN (':latest', ':arm64-latest')`. The syntax `.|` splits the path: the left side selects, and the right side is a property of what was selected. On the right side of a `.|`, and only there, `!=` is true when the property is absent: `spec.containers.*.|image != 'nginx'` selects the containers and asks that none of their images be nginx, which a container with no image satisfies. Everywhere else a path that is not present is not a match, `!=` included. String literals are quoted with single quotes, such as `'string'`. Integer and boolean literals are also supported for attributes of those types. The whole string must be query-encoded. */
|
|
32509
32336
|
where_data?: string;
|
|
32337
|
+
/** @description Which engine answers where_data and resource_type: `sql` (the default) evaluates the expression against the stored resource projection in a single query, falling back to the function engine for the expressions it cannot translate; `function` invokes the where-filter function on each candidate Unit, reading every one's configuration; `shadow` runs both, answers with `function`, and logs any disagreement. Temporary: `function` is the escape hatch for one release, after which this parameter goes away. */
|
|
32338
|
+
where_data_engine?: string;
|
|
32510
32339
|
/** @description Where expression to match Triggers. Matched triggers are invoked on each unit to filter by validation results. Use with triggers_passed to control whether passing or failing units are returned (default: failing). */
|
|
32511
32340
|
where_trigger?: string;
|
|
32512
32341
|
/** @description Filter UUID (with From=Trigger). The filter's matching triggers are invoked on units to filter by validation results. Can be combined with where_trigger. */
|