@homeflare/distilled-openbao 0.2.0
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/LICENSE +201 -0
- package/README.md +78 -0
- package/dist/credentials.d.ts +32 -0
- package/dist/credentials.d.ts.map +1 -0
- package/dist/credentials.js +66 -0
- package/dist/credentials.js.map +1 -0
- package/dist/credentials.test.d.ts +2 -0
- package/dist/credentials.test.d.ts.map +1 -0
- package/dist/credentials.test.js +29 -0
- package/dist/credentials.test.js.map +1 -0
- package/dist/errors.d.ts +57 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +37 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +30 -0
- package/dist/index.js.map +1 -0
- package/dist/protocol.d.ts +18 -0
- package/dist/protocol.d.ts.map +1 -0
- package/dist/protocol.js +96 -0
- package/dist/protocol.js.map +1 -0
- package/dist/protocol.test.d.ts +2 -0
- package/dist/protocol.test.d.ts.map +1 -0
- package/dist/protocol.test.js +78 -0
- package/dist/protocol.test.js.map +1 -0
- package/dist/retry.d.ts +60 -0
- package/dist/retry.d.ts.map +1 -0
- package/dist/retry.js +53 -0
- package/dist/retry.js.map +1 -0
- package/dist/services/alias.d.ts +73 -0
- package/dist/services/alias.d.ts.map +1 -0
- package/dist/services/alias.js +91 -0
- package/dist/services/alias.js.map +1 -0
- package/dist/services/approle.d.ts +918 -0
- package/dist/services/approle.d.ts.map +1 -0
- package/dist/services/approle.js +1206 -0
- package/dist/services/approle.js.map +1 -0
- package/dist/services/auditing.d.ts +97 -0
- package/dist/services/auditing.d.ts.map +1 -0
- package/dist/services/auditing.js +158 -0
- package/dist/services/auditing.js.map +1 -0
- package/dist/services/auth.d.ts +160 -0
- package/dist/services/auth.d.ts.map +1 -0
- package/dist/services/auth.js +169 -0
- package/dist/services/auth.js.map +1 -0
- package/dist/services/collect.d.ts +35 -0
- package/dist/services/collect.d.ts.map +1 -0
- package/dist/services/collect.js +46 -0
- package/dist/services/collect.js.map +1 -0
- package/dist/services/configure.d.ts +35 -0
- package/dist/services/configure.d.ts.map +1 -0
- package/dist/services/configure.js +43 -0
- package/dist/services/configure.js.map +1 -0
- package/dist/services/cors.d.ts +54 -0
- package/dist/services/cors.d.ts.map +1 -0
- package/dist/services/cors.js +65 -0
- package/dist/services/cors.js.map +1 -0
- package/dist/services/cubbyhole.d.ts +40 -0
- package/dist/services/cubbyhole.d.ts.map +1 -0
- package/dist/services/cubbyhole.js +56 -0
- package/dist/services/cubbyhole.js.map +1 -0
- package/dist/services/database.d.ts +278 -0
- package/dist/services/database.d.ts.map +1 -0
- package/dist/services/database.js +384 -0
- package/dist/services/database.js.map +1 -0
- package/dist/services/decode.d.ts +18 -0
- package/dist/services/decode.d.ts.map +1 -0
- package/dist/services/decode.js +24 -0
- package/dist/services/decode.js.map +1 -0
- package/dist/services/entity.d.ts +257 -0
- package/dist/services/entity.d.ts.map +1 -0
- package/dist/services/entity.js +313 -0
- package/dist/services/entity.js.map +1 -0
- package/dist/services/generate.d.ts +136 -0
- package/dist/services/generate.d.ts.map +1 -0
- package/dist/services/generate.js +188 -0
- package/dist/services/generate.js.map +1 -0
- package/dist/services/group.d.ts +244 -0
- package/dist/services/group.d.ts.map +1 -0
- package/dist/services/group.js +277 -0
- package/dist/services/group.js.map +1 -0
- package/dist/services/ha.d.ts +17 -0
- package/dist/services/ha.d.ts.map +1 -0
- package/dist/services/ha.js +24 -0
- package/dist/services/ha.js.map +1 -0
- package/dist/services/index.d.ts +54 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +55 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/initialize.d.ts +34 -0
- package/dist/services/initialize.d.ts.map +1 -0
- package/dist/services/initialize.js +31 -0
- package/dist/services/initialize.js.map +1 -0
- package/dist/services/internal.d.ts +131 -0
- package/dist/services/internal.d.ts.map +1 -0
- package/dist/services/internal.js +199 -0
- package/dist/services/internal.js.map +1 -0
- package/dist/services/jwt.d.ts +684 -0
- package/dist/services/jwt.d.ts.map +1 -0
- package/dist/services/jwt.js +801 -0
- package/dist/services/jwt.js.map +1 -0
- package/dist/services/kubernetes.d.ts +166 -0
- package/dist/services/kubernetes.d.ts.map +1 -0
- package/dist/services/kubernetes.js +187 -0
- package/dist/services/kubernetes.js.map +1 -0
- package/dist/services/kv.d.ts +519 -0
- package/dist/services/kv.d.ts.map +1 -0
- package/dist/services/kv.js +655 -0
- package/dist/services/kv.js.map +1 -0
- package/dist/services/leader.d.ts +21 -0
- package/dist/services/leader.d.ts.map +1 -0
- package/dist/services/leader.js +29 -0
- package/dist/services/leader.js.map +1 -0
- package/dist/services/leases.d.ts +185 -0
- package/dist/services/leases.d.ts.map +1 -0
- package/dist/services/leases.js +238 -0
- package/dist/services/leases.js.map +1 -0
- package/dist/services/locked.d.ts +27 -0
- package/dist/services/locked.d.ts.map +1 -0
- package/dist/services/locked.js +42 -0
- package/dist/services/locked.js.map +1 -0
- package/dist/services/loggers.d.ts +69 -0
- package/dist/services/loggers.d.ts.map +1 -0
- package/dist/services/loggers.js +100 -0
- package/dist/services/loggers.js.map +1 -0
- package/dist/services/mfa.d.ts +386 -0
- package/dist/services/mfa.d.ts.map +1 -0
- package/dist/services/mfa.js +553 -0
- package/dist/services/mfa.js.map +1 -0
- package/dist/services/misc.d.ts +103 -0
- package/dist/services/misc.d.ts.map +1 -0
- package/dist/services/misc.js +120 -0
- package/dist/services/misc.js.map +1 -0
- package/dist/services/mounts.d.ts +173 -0
- package/dist/services/mounts.d.ts.map +1 -0
- package/dist/services/mounts.js +168 -0
- package/dist/services/mounts.js.map +1 -0
- package/dist/services/namespaces.d.ts +257 -0
- package/dist/services/namespaces.d.ts.map +1 -0
- package/dist/services/namespaces.js +320 -0
- package/dist/services/namespaces.js.map +1 -0
- package/dist/services/oidc.d.ts +509 -0
- package/dist/services/oidc.d.ts.map +1 -0
- package/dist/services/oidc.js +718 -0
- package/dist/services/oidc.js.map +1 -0
- package/dist/services/persona.d.ts +73 -0
- package/dist/services/persona.d.ts.map +1 -0
- package/dist/services/persona.js +91 -0
- package/dist/services/persona.js.map +1 -0
- package/dist/services/pki.d.ts +5783 -0
- package/dist/services/pki.d.ts.map +1 -0
- package/dist/services/pki.js +4995 -0
- package/dist/services/pki.js.map +1 -0
- package/dist/services/plugins.d.ts +203 -0
- package/dist/services/plugins.d.ts.map +1 -0
- package/dist/services/plugins.js +237 -0
- package/dist/services/plugins.js.map +1 -0
- package/dist/services/policies.d.ts +250 -0
- package/dist/services/policies.d.ts.map +1 -0
- package/dist/services/policies.js +312 -0
- package/dist/services/policies.js.map +1 -0
- package/dist/services/pprof.d.ts +104 -0
- package/dist/services/pprof.d.ts.map +1 -0
- package/dist/services/pprof.js +161 -0
- package/dist/services/pprof.js.map +1 -0
- package/dist/services/query.d.ts +65 -0
- package/dist/services/query.d.ts.map +1 -0
- package/dist/services/query.js +66 -0
- package/dist/services/query.js.map +1 -0
- package/dist/services/rate.d.ts +102 -0
- package/dist/services/rate.d.ts.map +1 -0
- package/dist/services/rate.js +129 -0
- package/dist/services/rate.js.map +1 -0
- package/dist/services/raw.d.ts +85 -0
- package/dist/services/raw.d.ts.map +1 -0
- package/dist/services/raw.js +116 -0
- package/dist/services/raw.js.map +1 -0
- package/dist/services/read.d.ts +87 -0
- package/dist/services/read.d.ts.map +1 -0
- package/dist/services/read.js +123 -0
- package/dist/services/read.js.map +1 -0
- package/dist/services/rekey.d.ts +184 -0
- package/dist/services/rekey.d.ts.map +1 -0
- package/dist/services/rekey.js +243 -0
- package/dist/services/rekey.js.map +1 -0
- package/dist/services/reload.d.ts +15 -0
- package/dist/services/reload.d.ts.map +1 -0
- package/dist/services/reload.js +27 -0
- package/dist/services/reload.js.map +1 -0
- package/dist/services/remount.d.ts +18 -0
- package/dist/services/remount.d.ts.map +1 -0
- package/dist/services/remount.js +30 -0
- package/dist/services/remount.js.map +1 -0
- package/dist/services/root.d.ts +134 -0
- package/dist/services/root.d.ts.map +1 -0
- package/dist/services/root.js +180 -0
- package/dist/services/root.js.map +1 -0
- package/dist/services/rotate.d.ts +367 -0
- package/dist/services/rotate.d.ts.map +1 -0
- package/dist/services/rotate.js +473 -0
- package/dist/services/rotate.js.map +1 -0
- package/dist/services/seal.d.ts +29 -0
- package/dist/services/seal.d.ts.map +1 -0
- package/dist/services/seal.js +37 -0
- package/dist/services/seal.js.map +1 -0
- package/dist/services/ssh.d.ts +491 -0
- package/dist/services/ssh.d.ts.map +1 -0
- package/dist/services/ssh.js +582 -0
- package/dist/services/ssh.js.map +1 -0
- package/dist/services/status.d.ts +17 -0
- package/dist/services/status.d.ts.map +1 -0
- package/dist/services/status.js +25 -0
- package/dist/services/status.js.map +1 -0
- package/dist/services/step.d.ts +14 -0
- package/dist/services/step.d.ts.map +1 -0
- package/dist/services/step.js +21 -0
- package/dist/services/step.js.map +1 -0
- package/dist/services/system.d.ts +33 -0
- package/dist/services/system.d.ts.map +1 -0
- package/dist/services/system.js +47 -0
- package/dist/services/system.js.map +1 -0
- package/dist/services/token.d.ts +408 -0
- package/dist/services/token.d.ts.map +1 -0
- package/dist/services/token.js +415 -0
- package/dist/services/token.js.map +1 -0
- package/dist/services/ui.d.ts +70 -0
- package/dist/services/ui.d.ts.map +1 -0
- package/dist/services/ui.js +95 -0
- package/dist/services/ui.js.map +1 -0
- package/dist/services/update.d.ts +25 -0
- package/dist/services/update.d.ts.map +1 -0
- package/dist/services/update.js +36 -0
- package/dist/services/update.js.map +1 -0
- package/dist/services/userpass.d.ts +151 -0
- package/dist/services/userpass.d.ts.map +1 -0
- package/dist/services/userpass.js +177 -0
- package/dist/services/userpass.js.map +1 -0
- package/dist/services/version.d.ts +22 -0
- package/dist/services/version.d.ts.map +1 -0
- package/dist/services/version.js +28 -0
- package/dist/services/version.js.map +1 -0
- package/dist/services/workflows.d.ts +122 -0
- package/dist/services/workflows.d.ts.map +1 -0
- package/dist/services/workflows.js +149 -0
- package/dist/services/workflows.js.map +1 -0
- package/dist/traits.d.ts +11 -0
- package/dist/traits.d.ts.map +1 -0
- package/dist/traits.js +12 -0
- package/dist/traits.js.map +1 -0
- package/package.json +75 -0
- package/src/credentials.test.ts +36 -0
- package/src/credentials.ts +100 -0
- package/src/errors.ts +73 -0
- package/src/index.ts +33 -0
- package/src/protocol.test.ts +123 -0
- package/src/protocol.ts +120 -0
- package/src/retry.ts +84 -0
- package/src/services/alias.ts +208 -0
- package/src/services/approle.ts +2750 -0
- package/src/services/auditing.ts +318 -0
- package/src/services/auth.ts +416 -0
- package/src/services/collect.ts +103 -0
- package/src/services/configure.ts +94 -0
- package/src/services/cors.ts +155 -0
- package/src/services/cubbyhole.ts +117 -0
- package/src/services/database.ts +854 -0
- package/src/services/decode.ts +49 -0
- package/src/services/entity.ts +744 -0
- package/src/services/generate.ts +409 -0
- package/src/services/group.ts +677 -0
- package/src/services/ha.ts +52 -0
- package/src/services/index.ts +54 -0
- package/src/services/initialize.ts +76 -0
- package/src/services/internal.ts +425 -0
- package/src/services/jwt.ts +1838 -0
- package/src/services/kubernetes.ts +446 -0
- package/src/services/kv.ts +1480 -0
- package/src/services/leader.ts +57 -0
- package/src/services/leases.ts +532 -0
- package/src/services/locked.ts +86 -0
- package/src/services/loggers.ts +215 -0
- package/src/services/mfa.ts +1193 -0
- package/src/services/misc.ts +286 -0
- package/src/services/mounts.ts +428 -0
- package/src/services/namespaces.ts +707 -0
- package/src/services/oidc.ts +1613 -0
- package/src/services/persona.ts +210 -0
- package/src/services/pki.ts +13320 -0
- package/src/services/plugins.ts +549 -0
- package/src/services/policies.ts +689 -0
- package/src/services/pprof.ts +351 -0
- package/src/services/query.ts +170 -0
- package/src/services/rate.ts +303 -0
- package/src/services/raw.ts +244 -0
- package/src/services/read.ts +266 -0
- package/src/services/rekey.ts +540 -0
- package/src/services/reload.ts +51 -0
- package/src/services/remount.ts +58 -0
- package/src/services/root.ts +393 -0
- package/src/services/rotate.ts +1088 -0
- package/src/services/seal.ts +75 -0
- package/src/services/ssh.ts +1351 -0
- package/src/services/status.ts +51 -0
- package/src/services/step.ts +43 -0
- package/src/services/system.ts +98 -0
- package/src/services/token.ts +1046 -0
- package/src/services/ui.ts +207 -0
- package/src/services/update.ts +73 -0
- package/src/services/userpass.ts +410 -0
- package/src/services/version.ts +60 -0
- package/src/services/workflows.ts +327 -0
- package/src/traits.ts +45 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as API from "@distilled.cloud/core/api";
|
|
3
|
+
import { type OpenBaoOpError, type OpenBaoOpContext } from "../protocol.ts";
|
|
4
|
+
export type { OpenBaoOpError, OpenBaoOpContext };
|
|
5
|
+
export interface PprofBlockingRequest {
|
|
6
|
+
}
|
|
7
|
+
export declare const PprofBlockingRequest: S.Schema<PprofBlockingRequest>;
|
|
8
|
+
export interface PprofBlockingResponse {
|
|
9
|
+
}
|
|
10
|
+
export declare const PprofBlockingResponse: S.Schema<PprofBlockingResponse>;
|
|
11
|
+
export interface PprofCommandLineRequest {
|
|
12
|
+
}
|
|
13
|
+
export declare const PprofCommandLineRequest: S.Schema<PprofCommandLineRequest>;
|
|
14
|
+
export interface PprofCommandLineResponse {
|
|
15
|
+
}
|
|
16
|
+
export declare const PprofCommandLineResponse: S.Schema<PprofCommandLineResponse>;
|
|
17
|
+
export interface PprofCpuProfileRequest {
|
|
18
|
+
}
|
|
19
|
+
export declare const PprofCpuProfileRequest: S.Schema<PprofCpuProfileRequest>;
|
|
20
|
+
export interface PprofCpuProfileResponse {
|
|
21
|
+
}
|
|
22
|
+
export declare const PprofCpuProfileResponse: S.Schema<PprofCpuProfileResponse>;
|
|
23
|
+
export interface PprofExecutionTraceRequest {
|
|
24
|
+
}
|
|
25
|
+
export declare const PprofExecutionTraceRequest: S.Schema<PprofExecutionTraceRequest>;
|
|
26
|
+
export interface PprofExecutionTraceResponse {
|
|
27
|
+
}
|
|
28
|
+
export declare const PprofExecutionTraceResponse: S.Schema<PprofExecutionTraceResponse>;
|
|
29
|
+
export interface PprofGoroutinesRequest {
|
|
30
|
+
}
|
|
31
|
+
export declare const PprofGoroutinesRequest: S.Schema<PprofGoroutinesRequest>;
|
|
32
|
+
export interface PprofGoroutinesResponse {
|
|
33
|
+
}
|
|
34
|
+
export declare const PprofGoroutinesResponse: S.Schema<PprofGoroutinesResponse>;
|
|
35
|
+
export interface PprofIndexRequest {
|
|
36
|
+
}
|
|
37
|
+
export declare const PprofIndexRequest: S.Schema<PprofIndexRequest>;
|
|
38
|
+
export interface PprofIndexResponse {
|
|
39
|
+
}
|
|
40
|
+
export declare const PprofIndexResponse: S.Schema<PprofIndexResponse>;
|
|
41
|
+
export interface PprofMemoryAllocationsRequest {
|
|
42
|
+
}
|
|
43
|
+
export declare const PprofMemoryAllocationsRequest: S.Schema<PprofMemoryAllocationsRequest>;
|
|
44
|
+
export interface PprofMemoryAllocationsResponse {
|
|
45
|
+
}
|
|
46
|
+
export declare const PprofMemoryAllocationsResponse: S.Schema<PprofMemoryAllocationsResponse>;
|
|
47
|
+
export interface PprofMemoryAllocationsLiveRequest {
|
|
48
|
+
}
|
|
49
|
+
export declare const PprofMemoryAllocationsLiveRequest: S.Schema<PprofMemoryAllocationsLiveRequest>;
|
|
50
|
+
export interface PprofMemoryAllocationsLiveResponse {
|
|
51
|
+
}
|
|
52
|
+
export declare const PprofMemoryAllocationsLiveResponse: S.Schema<PprofMemoryAllocationsLiveResponse>;
|
|
53
|
+
export interface PprofMutexesRequest {
|
|
54
|
+
}
|
|
55
|
+
export declare const PprofMutexesRequest: S.Schema<PprofMutexesRequest>;
|
|
56
|
+
export interface PprofMutexesResponse {
|
|
57
|
+
}
|
|
58
|
+
export declare const PprofMutexesResponse: S.Schema<PprofMutexesResponse>;
|
|
59
|
+
export interface PprofSymbolsRequest {
|
|
60
|
+
}
|
|
61
|
+
export declare const PprofSymbolsRequest: S.Schema<PprofSymbolsRequest>;
|
|
62
|
+
export interface PprofSymbolsResponse {
|
|
63
|
+
}
|
|
64
|
+
export declare const PprofSymbolsResponse: S.Schema<PprofSymbolsResponse>;
|
|
65
|
+
export interface PprofThreadCreationsRequest {
|
|
66
|
+
}
|
|
67
|
+
export declare const PprofThreadCreationsRequest: S.Schema<PprofThreadCreationsRequest>;
|
|
68
|
+
export interface PprofThreadCreationsResponse {
|
|
69
|
+
}
|
|
70
|
+
export declare const PprofThreadCreationsResponse: S.Schema<PprofThreadCreationsResponse>;
|
|
71
|
+
export type PprofBlockingError = OpenBaoOpError;
|
|
72
|
+
/** Returns stack traces that led to blocking on synchronization primitives Returns stack traces that led to blocking on synchronization primitives */
|
|
73
|
+
export declare const pprofBlocking: API.OperationMethod<PprofBlockingRequest, PprofBlockingResponse, PprofBlockingError, OpenBaoOpContext>;
|
|
74
|
+
export type PprofCommandLineError = OpenBaoOpError;
|
|
75
|
+
/** Returns the running program's command line. Returns the running program's command line, with arguments separated by NUL bytes. */
|
|
76
|
+
export declare const pprofCommandLine: API.OperationMethod<PprofCommandLineRequest, PprofCommandLineResponse, PprofCommandLineError, OpenBaoOpContext>;
|
|
77
|
+
export type PprofCpuProfileError = OpenBaoOpError;
|
|
78
|
+
/** Returns a pprof-formatted cpu profile payload. Returns a pprof-formatted cpu profile payload. Profiling lasts for duration specified in seconds GET parameter, or for 30 seconds if not specified. */
|
|
79
|
+
export declare const pprofCpuProfile: API.OperationMethod<PprofCpuProfileRequest, PprofCpuProfileResponse, PprofCpuProfileError, OpenBaoOpContext>;
|
|
80
|
+
export type PprofExecutionTraceError = OpenBaoOpError;
|
|
81
|
+
/** Returns the execution trace in binary form. Returns the execution trace in binary form. Tracing lasts for duration specified in seconds GET parameter, or for 1 second if not specified. */
|
|
82
|
+
export declare const pprofExecutionTrace: API.OperationMethod<PprofExecutionTraceRequest, PprofExecutionTraceResponse, PprofExecutionTraceError, OpenBaoOpContext>;
|
|
83
|
+
export type PprofGoroutinesError = OpenBaoOpError;
|
|
84
|
+
/** Returns stack traces of all current goroutines. Returns stack traces of all current goroutines. */
|
|
85
|
+
export declare const pprofGoroutines: API.OperationMethod<PprofGoroutinesRequest, PprofGoroutinesResponse, PprofGoroutinesError, OpenBaoOpContext>;
|
|
86
|
+
export type PprofIndexError = OpenBaoOpError;
|
|
87
|
+
/** Returns an HTML page listing the available profiles. Returns an HTML page listing the available profiles. This should be mainly accessed via browsers or applications that can render pages. */
|
|
88
|
+
export declare const pprofIndex: API.OperationMethod<PprofIndexRequest, PprofIndexResponse, PprofIndexError, OpenBaoOpContext>;
|
|
89
|
+
export type PprofMemoryAllocationsError = OpenBaoOpError;
|
|
90
|
+
/** Returns a sampling of all past memory allocations. Returns a sampling of all past memory allocations. */
|
|
91
|
+
export declare const pprofMemoryAllocations: API.OperationMethod<PprofMemoryAllocationsRequest, PprofMemoryAllocationsResponse, PprofMemoryAllocationsError, OpenBaoOpContext>;
|
|
92
|
+
export type PprofMemoryAllocationsLiveError = OpenBaoOpError;
|
|
93
|
+
/** Returns a sampling of memory allocations of live object. Returns a sampling of memory allocations of live object. */
|
|
94
|
+
export declare const pprofMemoryAllocationsLive: API.OperationMethod<PprofMemoryAllocationsLiveRequest, PprofMemoryAllocationsLiveResponse, PprofMemoryAllocationsLiveError, OpenBaoOpContext>;
|
|
95
|
+
export type PprofMutexesError = OpenBaoOpError;
|
|
96
|
+
/** Returns stack traces of holders of contended mutexes Returns stack traces of holders of contended mutexes */
|
|
97
|
+
export declare const pprofMutexes: API.OperationMethod<PprofMutexesRequest, PprofMutexesResponse, PprofMutexesError, OpenBaoOpContext>;
|
|
98
|
+
export type PprofSymbolsError = OpenBaoOpError;
|
|
99
|
+
/** Returns the program counters listed in the request. Returns the program counters listed in the request. */
|
|
100
|
+
export declare const pprofSymbols: API.OperationMethod<PprofSymbolsRequest, PprofSymbolsResponse, PprofSymbolsError, OpenBaoOpContext>;
|
|
101
|
+
export type PprofThreadCreationsError = OpenBaoOpError;
|
|
102
|
+
/** Returns stack traces that led to the creation of new OS threads Returns stack traces that led to the creation of new OS threads */
|
|
103
|
+
export declare const pprofThreadCreations: API.OperationMethod<PprofThreadCreationsRequest, PprofThreadCreationsResponse, PprofThreadCreationsError, OpenBaoOpContext>;
|
|
104
|
+
//# sourceMappingURL=pprof.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pprof.d.ts","sourceRoot":"","sources":["../../src/services/pprof.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAEjD,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,CAAC;AAEjD,MAAM,WAAW,oBAAoB;CAAG;AACxC,eAAO,MAAM,oBAAoB,EAMpB,CAAC,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC;AAE5C,MAAM,WAAW,qBAAqB;CAAG;AACzC,eAAO,MAAM,qBAAqB,EAIrB,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;AAE7C,MAAM,WAAW,uBAAuB;CAAG;AAC3C,eAAO,MAAM,uBAAuB,EAMvB,CAAC,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;AAE/C,MAAM,WAAW,wBAAwB;CAAG;AAC5C,eAAO,MAAM,wBAAwB,EAIxB,CAAC,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAAC;AAEhD,MAAM,WAAW,sBAAsB;CAAG;AAC1C,eAAO,MAAM,sBAAsB,EAMtB,CAAC,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC;AAE9C,MAAM,WAAW,uBAAuB;CAAG;AAC3C,eAAO,MAAM,uBAAuB,EAIvB,CAAC,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;AAE/C,MAAM,WAAW,0BAA0B;CAAG;AAC9C,eAAO,MAAM,0BAA0B,EAM1B,CAAC,C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gB,CAOf,CAAC"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-openbao, generated — see fetch-specs.ts). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import * as T from "../traits.js";
|
|
5
|
+
import { OpenBaoProtocol, } from "../protocol.js";
|
|
6
|
+
import * as Retry from "../retry.js";
|
|
7
|
+
export const PprofBlockingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/sys/pprof/block", code: 200 }))).annotate({
|
|
8
|
+
identifier: "PprofBlockingRequest",
|
|
9
|
+
});
|
|
10
|
+
export const PprofBlockingResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
11
|
+
identifier: "PprofBlockingResponse",
|
|
12
|
+
});
|
|
13
|
+
export const PprofCommandLineRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/sys/pprof/cmdline", code: 200 }))).annotate({
|
|
14
|
+
identifier: "PprofCommandLineRequest",
|
|
15
|
+
});
|
|
16
|
+
export const PprofCommandLineResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
17
|
+
identifier: "PprofCommandLineResponse",
|
|
18
|
+
});
|
|
19
|
+
export const PprofCpuProfileRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/sys/pprof/profile", code: 200 }))).annotate({
|
|
20
|
+
identifier: "PprofCpuProfileRequest",
|
|
21
|
+
});
|
|
22
|
+
export const PprofCpuProfileResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
23
|
+
identifier: "PprofCpuProfileResponse",
|
|
24
|
+
});
|
|
25
|
+
export const PprofExecutionTraceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/sys/pprof/trace", code: 200 }))).annotate({
|
|
26
|
+
identifier: "PprofExecutionTraceRequest",
|
|
27
|
+
});
|
|
28
|
+
export const PprofExecutionTraceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
29
|
+
identifier: "PprofExecutionTraceResponse",
|
|
30
|
+
});
|
|
31
|
+
export const PprofGoroutinesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/sys/pprof/goroutine", code: 200 }))).annotate({
|
|
32
|
+
identifier: "PprofGoroutinesRequest",
|
|
33
|
+
});
|
|
34
|
+
export const PprofGoroutinesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
35
|
+
identifier: "PprofGoroutinesResponse",
|
|
36
|
+
});
|
|
37
|
+
export const PprofIndexRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/sys/pprof", code: 200 }))).annotate({
|
|
38
|
+
identifier: "PprofIndexRequest",
|
|
39
|
+
});
|
|
40
|
+
export const PprofIndexResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
41
|
+
identifier: "PprofIndexResponse",
|
|
42
|
+
});
|
|
43
|
+
export const PprofMemoryAllocationsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/sys/pprof/allocs", code: 200 }))).annotate({
|
|
44
|
+
identifier: "PprofMemoryAllocationsRequest",
|
|
45
|
+
});
|
|
46
|
+
export const PprofMemoryAllocationsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
47
|
+
identifier: "PprofMemoryAllocationsResponse",
|
|
48
|
+
});
|
|
49
|
+
export const PprofMemoryAllocationsLiveRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/sys/pprof/heap", code: 200 }))).annotate({
|
|
50
|
+
identifier: "PprofMemoryAllocationsLiveRequest",
|
|
51
|
+
});
|
|
52
|
+
export const PprofMemoryAllocationsLiveResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
53
|
+
identifier: "PprofMemoryAllocationsLiveResponse",
|
|
54
|
+
});
|
|
55
|
+
export const PprofMutexesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/sys/pprof/mutex", code: 200 }))).annotate({
|
|
56
|
+
identifier: "PprofMutexesRequest",
|
|
57
|
+
});
|
|
58
|
+
export const PprofMutexesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
59
|
+
identifier: "PprofMutexesResponse",
|
|
60
|
+
});
|
|
61
|
+
export const PprofSymbolsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/sys/pprof/symbol", code: 200 }))).annotate({
|
|
62
|
+
identifier: "PprofSymbolsRequest",
|
|
63
|
+
});
|
|
64
|
+
export const PprofSymbolsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
65
|
+
identifier: "PprofSymbolsResponse",
|
|
66
|
+
});
|
|
67
|
+
export const PprofThreadCreationsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/sys/pprof/threadcreate", code: 200 }))).annotate({
|
|
68
|
+
identifier: "PprofThreadCreationsRequest",
|
|
69
|
+
});
|
|
70
|
+
export const PprofThreadCreationsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
71
|
+
identifier: "PprofThreadCreationsResponse",
|
|
72
|
+
});
|
|
73
|
+
/** Returns stack traces that led to blocking on synchronization primitives Returns stack traces that led to blocking on synchronization primitives */
|
|
74
|
+
export const pprofBlocking = /*@__PURE__*/ API.make(() => ({
|
|
75
|
+
input: PprofBlockingRequest,
|
|
76
|
+
output: PprofBlockingResponse,
|
|
77
|
+
errors: [],
|
|
78
|
+
protocol: OpenBaoProtocol,
|
|
79
|
+
retry: Retry.Retry,
|
|
80
|
+
}));
|
|
81
|
+
/** Returns the running program's command line. Returns the running program's command line, with arguments separated by NUL bytes. */
|
|
82
|
+
export const pprofCommandLine = /*@__PURE__*/ API.make(() => ({
|
|
83
|
+
input: PprofCommandLineRequest,
|
|
84
|
+
output: PprofCommandLineResponse,
|
|
85
|
+
errors: [],
|
|
86
|
+
protocol: OpenBaoProtocol,
|
|
87
|
+
retry: Retry.Retry,
|
|
88
|
+
}));
|
|
89
|
+
/** Returns a pprof-formatted cpu profile payload. Returns a pprof-formatted cpu profile payload. Profiling lasts for duration specified in seconds GET parameter, or for 30 seconds if not specified. */
|
|
90
|
+
export const pprofCpuProfile = /*@__PURE__*/ API.make(() => ({
|
|
91
|
+
input: PprofCpuProfileRequest,
|
|
92
|
+
output: PprofCpuProfileResponse,
|
|
93
|
+
errors: [],
|
|
94
|
+
protocol: OpenBaoProtocol,
|
|
95
|
+
retry: Retry.Retry,
|
|
96
|
+
}));
|
|
97
|
+
/** Returns the execution trace in binary form. Returns the execution trace in binary form. Tracing lasts for duration specified in seconds GET parameter, or for 1 second if not specified. */
|
|
98
|
+
export const pprofExecutionTrace = /*@__PURE__*/ API.make(() => ({
|
|
99
|
+
input: PprofExecutionTraceRequest,
|
|
100
|
+
output: PprofExecutionTraceResponse,
|
|
101
|
+
errors: [],
|
|
102
|
+
protocol: OpenBaoProtocol,
|
|
103
|
+
retry: Retry.Retry,
|
|
104
|
+
}));
|
|
105
|
+
/** Returns stack traces of all current goroutines. Returns stack traces of all current goroutines. */
|
|
106
|
+
export const pprofGoroutines = /*@__PURE__*/ API.make(() => ({
|
|
107
|
+
input: PprofGoroutinesRequest,
|
|
108
|
+
output: PprofGoroutinesResponse,
|
|
109
|
+
errors: [],
|
|
110
|
+
protocol: OpenBaoProtocol,
|
|
111
|
+
retry: Retry.Retry,
|
|
112
|
+
}));
|
|
113
|
+
/** Returns an HTML page listing the available profiles. Returns an HTML page listing the available profiles. This should be mainly accessed via browsers or applications that can render pages. */
|
|
114
|
+
export const pprofIndex = /*@__PURE__*/ API.make(() => ({
|
|
115
|
+
input: PprofIndexRequest,
|
|
116
|
+
output: PprofIndexResponse,
|
|
117
|
+
errors: [],
|
|
118
|
+
protocol: OpenBaoProtocol,
|
|
119
|
+
retry: Retry.Retry,
|
|
120
|
+
}));
|
|
121
|
+
/** Returns a sampling of all past memory allocations. Returns a sampling of all past memory allocations. */
|
|
122
|
+
export const pprofMemoryAllocations = /*@__PURE__*/ API.make(() => ({
|
|
123
|
+
input: PprofMemoryAllocationsRequest,
|
|
124
|
+
output: PprofMemoryAllocationsResponse,
|
|
125
|
+
errors: [],
|
|
126
|
+
protocol: OpenBaoProtocol,
|
|
127
|
+
retry: Retry.Retry,
|
|
128
|
+
}));
|
|
129
|
+
/** Returns a sampling of memory allocations of live object. Returns a sampling of memory allocations of live object. */
|
|
130
|
+
export const pprofMemoryAllocationsLive = /*@__PURE__*/ API.make(() => ({
|
|
131
|
+
input: PprofMemoryAllocationsLiveRequest,
|
|
132
|
+
output: PprofMemoryAllocationsLiveResponse,
|
|
133
|
+
errors: [],
|
|
134
|
+
protocol: OpenBaoProtocol,
|
|
135
|
+
retry: Retry.Retry,
|
|
136
|
+
}));
|
|
137
|
+
/** Returns stack traces of holders of contended mutexes Returns stack traces of holders of contended mutexes */
|
|
138
|
+
export const pprofMutexes = /*@__PURE__*/ API.make(() => ({
|
|
139
|
+
input: PprofMutexesRequest,
|
|
140
|
+
output: PprofMutexesResponse,
|
|
141
|
+
errors: [],
|
|
142
|
+
protocol: OpenBaoProtocol,
|
|
143
|
+
retry: Retry.Retry,
|
|
144
|
+
}));
|
|
145
|
+
/** Returns the program counters listed in the request. Returns the program counters listed in the request. */
|
|
146
|
+
export const pprofSymbols = /*@__PURE__*/ API.make(() => ({
|
|
147
|
+
input: PprofSymbolsRequest,
|
|
148
|
+
output: PprofSymbolsResponse,
|
|
149
|
+
errors: [],
|
|
150
|
+
protocol: OpenBaoProtocol,
|
|
151
|
+
retry: Retry.Retry,
|
|
152
|
+
}));
|
|
153
|
+
/** Returns stack traces that led to the creation of new OS threads Returns stack traces that led to the creation of new OS threads */
|
|
154
|
+
export const pprofThreadCreations = /*@__PURE__*/ API.make(() => ({
|
|
155
|
+
input: PprofThreadCreationsRequest,
|
|
156
|
+
output: PprofThreadCreationsResponse,
|
|
157
|
+
errors: [],
|
|
158
|
+
protocol: OpenBaoProtocol,
|
|
159
|
+
retry: Retry.Retry,
|
|
160
|
+
}));
|
|
161
|
+
//# sourceMappingURL=pprof.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pprof.js","sourceRoot":"","sources":["../../src/services/pprof.ts"],"names":[],"mappings":"AAAA,wIAAwI;AACxI,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EACL,eAAe,GAGhB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AAKrC,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAC/D,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CACf,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,kBAAkB,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAC9D,CACF,CAAC,QAAQ,CAAC;IACT,UAAU,EAAE,sBAAsB;CACnC,CAA0C,CAAC;AAG5C,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAChE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CACb,CAAC,QAAQ,CAAC;IACT,UAAU,EAAE,uBAAuB;CACpC,CAA2C,CAAC;AAG7C,MAAM,CAAC,MAAM,uBAAuB,GAAG,aAAa,CAAC,CA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MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC;AAGJ,gHAAgH;AAChH,MAAM,CAAC,MAAM,YAAY,GAKrB,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,mBAAmB;IAC1B,MAAM,EAAE,oBAAoB;IAC5B,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC;AAGJ,8GAA8G;AAC9G,MAAM,CAAC,MAAM,YAAY,GAKrB,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,mBAAmB;IAC1B,MAAM,EAAE,oBAAoB;IAC5B,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC;AAGJ,sIAAsI;AACtI,MAAM,CAAC,MAAM,oBAAoB,GAK7B,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,2BAA2B;IAClC,MAAM,EAAE,4BAA4B;IACpC,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as API from "@distilled.cloud/core/api";
|
|
3
|
+
import { type OpenBaoOpError, type OpenBaoOpContext } from "../protocol.ts";
|
|
4
|
+
export type { OpenBaoOpError, OpenBaoOpContext };
|
|
5
|
+
/** Use 'paths' instead. */
|
|
6
|
+
export type QueryTokenAccessorCapabilitiesRequestPathList = Array<string>;
|
|
7
|
+
export declare const QueryTokenAccessorCapabilitiesRequestPathList: S.Schema<QueryTokenAccessorCapabilitiesRequestPathList>;
|
|
8
|
+
/** Paths on which capabilities are being queried. */
|
|
9
|
+
export type QueryTokenAccessorCapabilitiesRequestPathsList = Array<string>;
|
|
10
|
+
export declare const QueryTokenAccessorCapabilitiesRequestPathsList: S.Schema<QueryTokenAccessorCapabilitiesRequestPathsList>;
|
|
11
|
+
export interface QueryTokenAccessorCapabilitiesRequest {
|
|
12
|
+
/** Accessor of the token for which capabilities are being queried. */
|
|
13
|
+
accessor?: string;
|
|
14
|
+
/** Use 'paths' instead. */
|
|
15
|
+
path?: QueryTokenAccessorCapabilitiesRequestPathList;
|
|
16
|
+
/** Paths on which capabilities are being queried. */
|
|
17
|
+
paths?: QueryTokenAccessorCapabilitiesRequestPathsList;
|
|
18
|
+
}
|
|
19
|
+
export declare const QueryTokenAccessorCapabilitiesRequest: S.Schema<QueryTokenAccessorCapabilitiesRequest>;
|
|
20
|
+
export interface QueryTokenAccessorCapabilitiesResponse {
|
|
21
|
+
}
|
|
22
|
+
export declare const QueryTokenAccessorCapabilitiesResponse: S.Schema<QueryTokenAccessorCapabilitiesResponse>;
|
|
23
|
+
/** Use 'paths' instead. */
|
|
24
|
+
export type QueryTokenCapabilitiesRequestPathList = Array<string>;
|
|
25
|
+
export declare const QueryTokenCapabilitiesRequestPathList: S.Schema<QueryTokenCapabilitiesRequestPathList>;
|
|
26
|
+
/** Paths on which capabilities are being queried. */
|
|
27
|
+
export type QueryTokenCapabilitiesRequestPathsList = Array<string>;
|
|
28
|
+
export declare const QueryTokenCapabilitiesRequestPathsList: S.Schema<QueryTokenCapabilitiesRequestPathsList>;
|
|
29
|
+
export interface QueryTokenCapabilitiesRequest {
|
|
30
|
+
/** Use 'paths' instead. */
|
|
31
|
+
path?: QueryTokenCapabilitiesRequestPathList;
|
|
32
|
+
/** Paths on which capabilities are being queried. */
|
|
33
|
+
paths?: QueryTokenCapabilitiesRequestPathsList;
|
|
34
|
+
/** Token for which capabilities are being queried. */
|
|
35
|
+
token?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare const QueryTokenCapabilitiesRequest: S.Schema<QueryTokenCapabilitiesRequest>;
|
|
38
|
+
export interface QueryTokenCapabilitiesResponse {
|
|
39
|
+
}
|
|
40
|
+
export declare const QueryTokenCapabilitiesResponse: S.Schema<QueryTokenCapabilitiesResponse>;
|
|
41
|
+
/** Use 'paths' instead. */
|
|
42
|
+
export type QueryTokenSelfCapabilitiesRequestPathList = Array<string>;
|
|
43
|
+
export declare const QueryTokenSelfCapabilitiesRequestPathList: S.Schema<QueryTokenSelfCapabilitiesRequestPathList>;
|
|
44
|
+
/** Paths on which capabilities are being queried. */
|
|
45
|
+
export type QueryTokenSelfCapabilitiesRequestPathsList = Array<string>;
|
|
46
|
+
export declare const QueryTokenSelfCapabilitiesRequestPathsList: S.Schema<QueryTokenSelfCapabilitiesRequestPathsList>;
|
|
47
|
+
export interface QueryTokenSelfCapabilitiesRequest {
|
|
48
|
+
/** Use 'paths' instead. */
|
|
49
|
+
path?: QueryTokenSelfCapabilitiesRequestPathList;
|
|
50
|
+
/** Paths on which capabilities are being queried. */
|
|
51
|
+
paths?: QueryTokenSelfCapabilitiesRequestPathsList;
|
|
52
|
+
/** Token for which capabilities are being queried. */
|
|
53
|
+
token?: string;
|
|
54
|
+
}
|
|
55
|
+
export declare const QueryTokenSelfCapabilitiesRequest: S.Schema<QueryTokenSelfCapabilitiesRequest>;
|
|
56
|
+
export interface QueryTokenSelfCapabilitiesResponse {
|
|
57
|
+
}
|
|
58
|
+
export declare const QueryTokenSelfCapabilitiesResponse: S.Schema<QueryTokenSelfCapabilitiesResponse>;
|
|
59
|
+
export type QueryTokenAccessorCapabilitiesError = OpenBaoOpError;
|
|
60
|
+
export declare const queryTokenAccessorCapabilities: API.OperationMethod<QueryTokenAccessorCapabilitiesRequest, QueryTokenAccessorCapabilitiesResponse, QueryTokenAccessorCapabilitiesError, OpenBaoOpContext>;
|
|
61
|
+
export type QueryTokenCapabilitiesError = OpenBaoOpError;
|
|
62
|
+
export declare const queryTokenCapabilities: API.OperationMethod<QueryTokenCapabilitiesRequest, QueryTokenCapabilitiesResponse, QueryTokenCapabilitiesError, OpenBaoOpContext>;
|
|
63
|
+
export type QueryTokenSelfCapabilitiesError = OpenBaoOpError;
|
|
64
|
+
export declare const queryTokenSelfCapabilities: API.OperationMethod<QueryTokenSelfCapabilitiesRequest, QueryTokenSelfCapabilitiesResponse, QueryTokenSelfCapabilitiesError, OpenBaoOpContext>;
|
|
65
|
+
//# sourceMappingURL=query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../src/services/query.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAEjD,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,CAAC;AAEjD,2BAA2B;AAC3B,MAAM,MAAM,6CAA6C,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAC1E,eAAO,MAAM,6CAA6C,EAG5C,CAAC,CAAC,MAAM,CAAC,6CAA6C,CAAC,CAAC;AAEtE,qDAAqD;AACrD,MAAM,MAAM,8CAA8C,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAC3E,eAAO,MAAM,8CAA8C,EAG7C,CAAC,CAAC,MAAM,CAAC,8CAA8C,CAAC,CAAC;AAEvE,MAAM,WAAW,qCAAqC;IACpD,sEAAsE;IACtE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2BAA2B;IAC3B,IAAI,CAAC,EAAE,6CAA6C,CAAC;IACrD,qDAAqD;IACrD,KAAK,CAAC,EAAE,8CAA8C,CAAC;CACxD;AACD,eAAO,MAAM,qCAAqC,EAWrC,CAAC,CAA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C,CAAC;IACjD,qDAAqD;IACrD,KAAK,CAAC,EAAE,0CAA0C,CAAC;IACnD,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AACD,eAAO,MAAM,iCAAiC,EAQjC,CAAC,CAAC,MAAM,CAAC,iCAAiC,CAAC,CAAC;AAEzD,MAAM,WAAW,kCAAkC;CAAG;AACtD,eAAO,MAAM,kCAAkC,EAIlC,CAAC,CAAC,MAAM,CAAC,kCAAkC,CAAC,CAAC;AAE1D,MAAM,MAAM,mCAAmC,GAAG,cAAc,CAAC;AACjE,eAAO,MAAM,8BAA8B,EAAE,GAAG,CAAC,eAAe,CAC9D,qCAAqC,EACrC,sCAAsC,EACtC,mCAAmC,EACnC,gBAAgB,CAOf,CAAC;AAEJ,MAAM,MAAM,2BAA2B,GAAG,cAAc,CAAC;AACzD,eAAO,MAAM,sBAAsB,EAAE,GAAG,CAAC,eAAe,CACtD,6BAA6B,EAC7B,8BAA8B,EAC9B,2BAA2B,EAC3B,gBAAgB,CAOf,CAAC;AAEJ,MAAM,MAAM,+BAA+B,GAAG,cAAc,CAAC;AAC7D,eAAO,MAAM,0BAA0B,EAAE,GAAG,CAAC,eAAe,CAC1D,iCAAiC,EACjC,kCAAkC,EAClC,+BAA+B,EAC/B,gBAAgB,CAOf,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-openbao, generated — see fetch-specs.ts). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import * as T from "../traits.js";
|
|
5
|
+
import { OpenBaoProtocol, } from "../protocol.js";
|
|
6
|
+
import * as Retry from "../retry.js";
|
|
7
|
+
export const QueryTokenAccessorCapabilitiesRequestPathList =
|
|
8
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
9
|
+
export const QueryTokenAccessorCapabilitiesRequestPathsList =
|
|
10
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
11
|
+
export const QueryTokenAccessorCapabilitiesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
12
|
+
accessor: S.optional(S.String),
|
|
13
|
+
path: S.optional(QueryTokenAccessorCapabilitiesRequestPathList),
|
|
14
|
+
paths: S.optional(QueryTokenAccessorCapabilitiesRequestPathsList),
|
|
15
|
+
}).pipe(T.Http({ method: "POST", uri: "/sys/capabilities-accessor", code: 200 }))).annotate({
|
|
16
|
+
identifier: "QueryTokenAccessorCapabilitiesRequest",
|
|
17
|
+
});
|
|
18
|
+
export const QueryTokenAccessorCapabilitiesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
19
|
+
identifier: "QueryTokenAccessorCapabilitiesResponse",
|
|
20
|
+
});
|
|
21
|
+
export const QueryTokenCapabilitiesRequestPathList = /*@__PURE__*/ S.Array(S.String);
|
|
22
|
+
export const QueryTokenCapabilitiesRequestPathsList = /*@__PURE__*/ S.Array(S.String);
|
|
23
|
+
export const QueryTokenCapabilitiesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
24
|
+
path: S.optional(QueryTokenCapabilitiesRequestPathList),
|
|
25
|
+
paths: S.optional(QueryTokenCapabilitiesRequestPathsList),
|
|
26
|
+
token: S.optional(S.String),
|
|
27
|
+
}).pipe(T.Http({ method: "POST", uri: "/sys/capabilities", code: 200 }))).annotate({
|
|
28
|
+
identifier: "QueryTokenCapabilitiesRequest",
|
|
29
|
+
});
|
|
30
|
+
export const QueryTokenCapabilitiesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
31
|
+
identifier: "QueryTokenCapabilitiesResponse",
|
|
32
|
+
});
|
|
33
|
+
export const QueryTokenSelfCapabilitiesRequestPathList = /*@__PURE__*/ S.Array(S.String);
|
|
34
|
+
export const QueryTokenSelfCapabilitiesRequestPathsList = /*@__PURE__*/ S.Array(S.String);
|
|
35
|
+
export const QueryTokenSelfCapabilitiesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
36
|
+
path: S.optional(QueryTokenSelfCapabilitiesRequestPathList),
|
|
37
|
+
paths: S.optional(QueryTokenSelfCapabilitiesRequestPathsList),
|
|
38
|
+
token: S.optional(S.String),
|
|
39
|
+
}).pipe(T.Http({ method: "POST", uri: "/sys/capabilities-self", code: 200 }))).annotate({
|
|
40
|
+
identifier: "QueryTokenSelfCapabilitiesRequest",
|
|
41
|
+
});
|
|
42
|
+
export const QueryTokenSelfCapabilitiesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
43
|
+
identifier: "QueryTokenSelfCapabilitiesResponse",
|
|
44
|
+
});
|
|
45
|
+
export const queryTokenAccessorCapabilities = /*@__PURE__*/ API.make(() => ({
|
|
46
|
+
input: QueryTokenAccessorCapabilitiesRequest,
|
|
47
|
+
output: QueryTokenAccessorCapabilitiesResponse,
|
|
48
|
+
errors: [],
|
|
49
|
+
protocol: OpenBaoProtocol,
|
|
50
|
+
retry: Retry.Retry,
|
|
51
|
+
}));
|
|
52
|
+
export const queryTokenCapabilities = /*@__PURE__*/ API.make(() => ({
|
|
53
|
+
input: QueryTokenCapabilitiesRequest,
|
|
54
|
+
output: QueryTokenCapabilitiesResponse,
|
|
55
|
+
errors: [],
|
|
56
|
+
protocol: OpenBaoProtocol,
|
|
57
|
+
retry: Retry.Retry,
|
|
58
|
+
}));
|
|
59
|
+
export const queryTokenSelfCapabilities = /*@__PURE__*/ API.make(() => ({
|
|
60
|
+
input: QueryTokenSelfCapabilitiesRequest,
|
|
61
|
+
output: QueryTokenSelfCapabilitiesResponse,
|
|
62
|
+
errors: [],
|
|
63
|
+
protocol: OpenBaoProtocol,
|
|
64
|
+
retry: Retry.Retry,
|
|
65
|
+
}));
|
|
66
|
+
//# sourceMappingURL=query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../src/services/query.ts"],"names":[],"mappings":"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AAM,EAAE,kCAAkC;IAC1C,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as API from "@distilled.cloud/core/api";
|
|
3
|
+
import { type OpenBaoOpError, type OpenBaoOpContext } from "../protocol.ts";
|
|
4
|
+
export type { OpenBaoOpError, OpenBaoOpContext };
|
|
5
|
+
export interface DeleteRateLimitQuotasRequest {
|
|
6
|
+
/** Name of the quota rule. */
|
|
7
|
+
name: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const DeleteRateLimitQuotasRequest: S.Schema<DeleteRateLimitQuotasRequest>;
|
|
10
|
+
export interface DeleteRateLimitQuotasResponse {
|
|
11
|
+
}
|
|
12
|
+
export declare const DeleteRateLimitQuotasResponse: S.Schema<DeleteRateLimitQuotasResponse>;
|
|
13
|
+
export type ListRateLimitQuotasRequestList = "true";
|
|
14
|
+
export declare const ListRateLimitQuotasRequestList: any;
|
|
15
|
+
export interface ListRateLimitQuotasRequest {
|
|
16
|
+
/** Must be set to `true` */
|
|
17
|
+
list: ListRateLimitQuotasRequestList | (string & {});
|
|
18
|
+
}
|
|
19
|
+
export declare const ListRateLimitQuotasRequest: S.Schema<ListRateLimitQuotasRequest>;
|
|
20
|
+
export type RateLimitQuotasListResponseKeysList = Array<string>;
|
|
21
|
+
export declare const RateLimitQuotasListResponseKeysList: S.Schema<RateLimitQuotasListResponseKeysList>;
|
|
22
|
+
export interface RateLimitQuotasListResponse {
|
|
23
|
+
keys?: RateLimitQuotasListResponseKeysList;
|
|
24
|
+
}
|
|
25
|
+
export declare const RateLimitQuotasListResponse: S.Schema<RateLimitQuotasListResponse>;
|
|
26
|
+
/** Specifies the list of exempt paths from all rate limit quotas. If empty no paths will be exempt. */
|
|
27
|
+
export type RateLimitQuotasConfigureRequestRateLimitExemptPathsList = Array<string>;
|
|
28
|
+
export declare const RateLimitQuotasConfigureRequestRateLimitExemptPathsList: S.Schema<RateLimitQuotasConfigureRequestRateLimitExemptPathsList>;
|
|
29
|
+
export interface RateLimitQuotasConfigureRequest {
|
|
30
|
+
/** If set, starts audit logging of requests that get rejected due to rate limit quota rule violations. */
|
|
31
|
+
enable_rate_limit_audit_logging?: boolean;
|
|
32
|
+
/** If set, additional rate limit quota HTTP headers will be added to responses. */
|
|
33
|
+
enable_rate_limit_response_headers?: boolean;
|
|
34
|
+
/** Specifies the list of exempt paths from all rate limit quotas. If empty no paths will be exempt. */
|
|
35
|
+
rate_limit_exempt_paths?: RateLimitQuotasConfigureRequestRateLimitExemptPathsList;
|
|
36
|
+
}
|
|
37
|
+
export declare const RateLimitQuotasConfigureRequest: S.Schema<RateLimitQuotasConfigureRequest>;
|
|
38
|
+
export interface RateLimitQuotasConfigureResponse {
|
|
39
|
+
}
|
|
40
|
+
export declare const RateLimitQuotasConfigureResponse: S.Schema<RateLimitQuotasConfigureResponse>;
|
|
41
|
+
export interface RateLimitQuotasReadConfigurationRequest {
|
|
42
|
+
}
|
|
43
|
+
export declare const RateLimitQuotasReadConfigurationRequest: S.Schema<RateLimitQuotasReadConfigurationRequest>;
|
|
44
|
+
export type RateLimitQuotasReadConfigurationResponseRateLimitExemptPathsList = Array<string>;
|
|
45
|
+
export declare const RateLimitQuotasReadConfigurationResponseRateLimitExemptPathsList: S.Schema<RateLimitQuotasReadConfigurationResponseRateLimitExemptPathsList>;
|
|
46
|
+
export interface RateLimitQuotasReadConfigurationResponse {
|
|
47
|
+
enable_rate_limit_audit_logging?: boolean;
|
|
48
|
+
enable_rate_limit_response_headers?: boolean;
|
|
49
|
+
rate_limit_exempt_paths?: RateLimitQuotasReadConfigurationResponseRateLimitExemptPathsList;
|
|
50
|
+
}
|
|
51
|
+
export declare const RateLimitQuotasReadConfigurationResponse: S.Schema<RateLimitQuotasReadConfigurationResponse>;
|
|
52
|
+
export interface RateLimitQuotasWriteRequest {
|
|
53
|
+
/** Name of the quota rule. */
|
|
54
|
+
name: string;
|
|
55
|
+
/** If set, when a client reaches a rate limit threshold, the client will be prohibited from any further requests until after the 'block_interval' has elapsed. */
|
|
56
|
+
block_interval?: number;
|
|
57
|
+
/** If set to true, child namespaces will use this quota, unless another more specific quota exists. Can only be set on namespace quotas. A quota on the root namespace will by default be inheritable. */
|
|
58
|
+
inheritable?: boolean;
|
|
59
|
+
/** The duration to enforce rate limiting for (default '1s'). */
|
|
60
|
+
interval?: number;
|
|
61
|
+
/** Path of the mount or namespace to apply the quota. A blank path configures a global quota. For example namespace1/ adds a quota to a full namespace, namespace1/auth/userpass adds a quota to userpass in namespace1. */
|
|
62
|
+
path?: string;
|
|
63
|
+
/** The maximum number of requests in a given interval to be allowed by the quota rule. The 'rate' must be positive. */
|
|
64
|
+
rate?: number;
|
|
65
|
+
/** Login role to apply this quota to. Note that when set, path must be configured to a valid auth method with a concept of roles. */
|
|
66
|
+
role?: string;
|
|
67
|
+
/** Type of the quota rule. */
|
|
68
|
+
type?: string;
|
|
69
|
+
}
|
|
70
|
+
export declare const RateLimitQuotasWriteRequest: S.Schema<RateLimitQuotasWriteRequest>;
|
|
71
|
+
export interface RateLimitQuotasWriteResponse {
|
|
72
|
+
}
|
|
73
|
+
export declare const RateLimitQuotasWriteResponse: S.Schema<RateLimitQuotasWriteResponse>;
|
|
74
|
+
export interface ReadRateLimitQuotasRequest {
|
|
75
|
+
/** Name of the quota rule. */
|
|
76
|
+
name: string;
|
|
77
|
+
}
|
|
78
|
+
export declare const ReadRateLimitQuotasRequest: S.Schema<ReadRateLimitQuotasRequest>;
|
|
79
|
+
export interface RateLimitQuotasReadResponse {
|
|
80
|
+
block_interval?: number;
|
|
81
|
+
inheritable?: boolean;
|
|
82
|
+
interval?: number;
|
|
83
|
+
name?: string;
|
|
84
|
+
path?: string;
|
|
85
|
+
rate?: number;
|
|
86
|
+
role?: string;
|
|
87
|
+
type?: string;
|
|
88
|
+
}
|
|
89
|
+
export declare const RateLimitQuotasReadResponse: S.Schema<RateLimitQuotasReadResponse>;
|
|
90
|
+
export type DeleteRateLimitQuotasError = OpenBaoOpError;
|
|
91
|
+
export declare const deleteRateLimitQuotas: API.OperationMethod<DeleteRateLimitQuotasRequest, DeleteRateLimitQuotasResponse, DeleteRateLimitQuotasError, OpenBaoOpContext>;
|
|
92
|
+
export type ListRateLimitQuotasError = OpenBaoOpError;
|
|
93
|
+
export declare const listRateLimitQuotas: API.OperationMethod<ListRateLimitQuotasRequest, RateLimitQuotasListResponse, ListRateLimitQuotasError, OpenBaoOpContext>;
|
|
94
|
+
export type RateLimitQuotasConfigureError = OpenBaoOpError;
|
|
95
|
+
export declare const rateLimitQuotasConfigure: API.OperationMethod<RateLimitQuotasConfigureRequest, RateLimitQuotasConfigureResponse, RateLimitQuotasConfigureError, OpenBaoOpContext>;
|
|
96
|
+
export type RateLimitQuotasReadConfigurationError = OpenBaoOpError;
|
|
97
|
+
export declare const rateLimitQuotasReadConfiguration: API.OperationMethod<RateLimitQuotasReadConfigurationRequest, RateLimitQuotasReadConfigurationResponse, RateLimitQuotasReadConfigurationError, OpenBaoOpContext>;
|
|
98
|
+
export type RateLimitQuotasWriteError = OpenBaoOpError;
|
|
99
|
+
export declare const rateLimitQuotasWrite: API.OperationMethod<RateLimitQuotasWriteRequest, RateLimitQuotasWriteResponse, RateLimitQuotasWriteError, OpenBaoOpContext>;
|
|
100
|
+
export type ReadRateLimitQuotasError = OpenBaoOpError;
|
|
101
|
+
export declare const readRateLimitQuotas: API.OperationMethod<ReadRateLimitQuotasRequest, RateLimitQuotasReadResponse, ReadRateLimitQuotasError, OpenBaoOpContext>;
|
|
102
|
+
//# sourceMappingURL=rate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["../../src/services/rate.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,O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