@otterscale/api 0.1.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.
@@ -0,0 +1,142 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
2
+ // @generated from file resource/v1/resource.proto (package otterscale.resource.v1, edition 2023)
3
+ /* eslint-disable */
4
+
5
+ import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_feature } from "../../feature_pb";
7
+ import { file_google_protobuf_empty, file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
8
+
9
+ /**
10
+ * Describes the file resource/v1/resource.proto.
11
+ */
12
+ export const file_resource_v1_resource = /*@__PURE__*/
13
+ fileDesc("ChpyZXNvdXJjZS92MS9yZXNvdXJjZS5wcm90bxIWb3R0ZXJzY2FsZS5yZXNvdXJjZS52MSKFAQoLQVBJUmVzb3VyY2USDQoFZ3JvdXAYASABKAkSDwoHdmVyc2lvbhgCIAEoCRIQCghyZXNvdXJjZRgDIAEoCRIMCgRraW5kGAQgASgJEhIKCm5hbWVzcGFjZWQYBSABKAgSDQoFdmVyYnMYBiADKAkSEwoLc2hvcnRfbmFtZXMYByADKAkiIwoQRGlzY292ZXJ5UmVxdWVzdBIPCgdjbHVzdGVyGAEgASgJIk8KEURpc2NvdmVyeVJlc3BvbnNlEjoKDWFwaV9yZXNvdXJjZXMYASADKAsyIy5vdHRlcnNjYWxlLnJlc291cmNlLnYxLkFQSVJlc291cmNlIk4KDVNjaGVtYVJlcXVlc3QSDwoHY2x1c3RlchgBIAEoCRINCgVncm91cBgCIAEoCRIPCgd2ZXJzaW9uGAMgASgJEgwKBGtpbmQYBCABKAkiMwoIUmVzb3VyY2USJwoGb2JqZWN0GAEgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdCK0AQoLTGlzdFJlcXVlc3QSDwoHY2x1c3RlchgBIAEoCRINCgVncm91cBgCIAEoCRIP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XRjaFJlcXVlc3QaIi5vdHRlcnNjYWxlLnJlc291cmNlLnYxLldhdGNoRXZlbnQiF4rf1R0SChByZXNvdXJjZS1lbmFibGVkMAFCMlowZ2l0aHViLmNvbS9vdHRlcnNjYWxlL2FwaS9yZXNvdXJjZS92MTtyZXNvdXJjZXYxYghlZGl0aW9uc3DoBw", [file_feature, file_google_protobuf_empty, file_google_protobuf_struct]);
14
+
15
+ /**
16
+ * Describes the message otterscale.resource.v1.APIResource.
17
+ * Use `create(APIResourceSchema)` to create a new message.
18
+ */
19
+ export const APIResourceSchema = /*@__PURE__*/
20
+ messageDesc(file_resource_v1_resource, 0);
21
+
22
+ /**
23
+ * Describes the message otterscale.resource.v1.DiscoveryRequest.
24
+ * Use `create(DiscoveryRequestSchema)` to create a new message.
25
+ */
26
+ export const DiscoveryRequestSchema = /*@__PURE__*/
27
+ messageDesc(file_resource_v1_resource, 1);
28
+
29
+ /**
30
+ * Describes the message otterscale.resource.v1.DiscoveryResponse.
31
+ * Use `create(DiscoveryResponseSchema)` to create a new message.
32
+ */
33
+ export const DiscoveryResponseSchema = /*@__PURE__*/
34
+ messageDesc(file_resource_v1_resource, 2);
35
+
36
+ /**
37
+ * Describes the message otterscale.resource.v1.SchemaRequest.
38
+ * Use `create(SchemaRequestSchema)` to create a new message.
39
+ */
40
+ export const SchemaRequestSchema = /*@__PURE__*/
41
+ messageDesc(file_resource_v1_resource, 3);
42
+
43
+ /**
44
+ * Describes the message otterscale.resource.v1.Resource.
45
+ * Use `create(ResourceSchema)` to create a new message.
46
+ */
47
+ export const ResourceSchema = /*@__PURE__*/
48
+ messageDesc(file_resource_v1_resource, 4);
49
+
50
+ /**
51
+ * Describes the message otterscale.resource.v1.ListRequest.
52
+ * Use `create(ListRequestSchema)` to create a new message.
53
+ */
54
+ export const ListRequestSchema = /*@__PURE__*/
55
+ messageDesc(file_resource_v1_resource, 5);
56
+
57
+ /**
58
+ * Describes the message otterscale.resource.v1.ListResponse.
59
+ * Use `create(ListResponseSchema)` to create a new message.
60
+ */
61
+ export const ListResponseSchema = /*@__PURE__*/
62
+ messageDesc(file_resource_v1_resource, 6);
63
+
64
+ /**
65
+ * Describes the message otterscale.resource.v1.GetRequest.
66
+ * Use `create(GetRequestSchema)` to create a new message.
67
+ */
68
+ export const GetRequestSchema = /*@__PURE__*/
69
+ messageDesc(file_resource_v1_resource, 7);
70
+
71
+ /**
72
+ * Describes the message otterscale.resource.v1.DescribeRequest.
73
+ * Use `create(DescribeRequestSchema)` to create a new message.
74
+ */
75
+ export const DescribeRequestSchema = /*@__PURE__*/
76
+ messageDesc(file_resource_v1_resource, 8);
77
+
78
+ /**
79
+ * Describes the message otterscale.resource.v1.DescribeResponse.
80
+ * Use `create(DescribeResponseSchema)` to create a new message.
81
+ */
82
+ export const DescribeResponseSchema = /*@__PURE__*/
83
+ messageDesc(file_resource_v1_resource, 9);
84
+
85
+ /**
86
+ * Describes the message otterscale.resource.v1.CreateRequest.
87
+ * Use `create(CreateRequestSchema)` to create a new message.
88
+ */
89
+ export const CreateRequestSchema = /*@__PURE__*/
90
+ messageDesc(file_resource_v1_resource, 10);
91
+
92
+ /**
93
+ * Describes the message otterscale.resource.v1.ApplyRequest.
94
+ * Use `create(ApplyRequestSchema)` to create a new message.
95
+ */
96
+ export const ApplyRequestSchema = /*@__PURE__*/
97
+ messageDesc(file_resource_v1_resource, 11);
98
+
99
+ /**
100
+ * Describes the message otterscale.resource.v1.DeleteRequest.
101
+ * Use `create(DeleteRequestSchema)` to create a new message.
102
+ */
103
+ export const DeleteRequestSchema = /*@__PURE__*/
104
+ messageDesc(file_resource_v1_resource, 12);
105
+
106
+ /**
107
+ * Describes the message otterscale.resource.v1.WatchRequest.
108
+ * Use `create(WatchRequestSchema)` to create a new message.
109
+ */
110
+ export const WatchRequestSchema = /*@__PURE__*/
111
+ messageDesc(file_resource_v1_resource, 13);
112
+
113
+ /**
114
+ * Describes the message otterscale.resource.v1.WatchEvent.
115
+ * Use `create(WatchEventSchema)` to create a new message.
116
+ */
117
+ export const WatchEventSchema = /*@__PURE__*/
118
+ messageDesc(file_resource_v1_resource, 14);
119
+
120
+ /**
121
+ * Describes the enum otterscale.resource.v1.WatchEvent.Type.
122
+ */
123
+ export const WatchEvent_TypeSchema = /*@__PURE__*/
124
+ enumDesc(file_resource_v1_resource, 14, 0);
125
+
126
+ /**
127
+ * Type defines the possible types of events from Kubernetes watch.
128
+ *
129
+ * @generated from enum otterscale.resource.v1.WatchEvent.Type
130
+ */
131
+ export const WatchEvent_Type = /*@__PURE__*/
132
+ tsEnum(WatchEvent_TypeSchema);
133
+
134
+ /**
135
+ * ResourceService provides a generic interface to manage any Kubernetes resources,
136
+ * including native objects (Pods, Deployments) and Custom Resource Definitions (CRDs).
137
+ *
138
+ * @generated from service otterscale.resource.v1.ResourceService
139
+ */
140
+ export const ResourceService = /*@__PURE__*/
141
+ serviceDesc(file_resource_v1_resource, 0);
142
+