Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
Signed-off-by: Kosuke Morimoto <[email protected]>
  • Loading branch information
kmrmt committed Nov 17, 2023
1 parent cf42f5c commit a907be2
Show file tree
Hide file tree
Showing 31 changed files with 783 additions and 1,488 deletions.
1,917 changes: 656 additions & 1,261 deletions apis/docs/v1/docs.md

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions apis/proto/buf.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
#
# Copyright (C) 2019-2023 vdaas.org vald team <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# You may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
version: v1
breaking:
use:
Expand Down
2 changes: 1 addition & 1 deletion apis/proto/v1/agent/core/agent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ syntax = "proto3";

package core.v1;

import "v1/payload/payload.proto";
import "google/api/annotations.proto";
import "v1/payload/payload.proto";

option go_package = "github.com/vdaas/vald/apis/grpc/v1/agent/core;core";
option java_multiple_files = true;
Expand Down
2 changes: 1 addition & 1 deletion apis/proto/v1/discoverer/discoverer.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ syntax = "proto3";

package discoverer.v1;

import "v1/payload/payload.proto";
import "google/api/annotations.proto";
import "v1/payload/payload.proto";

option go_package = "github.com/vdaas/vald/apis/grpc/v1/discoverer";
option java_multiple_files = true;
Expand Down
2 changes: 1 addition & 1 deletion apis/proto/v1/filter/egress/egress_filter.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ syntax = "proto3";

package filter.egress.v1;

import "v1/payload/payload.proto";
import "google/api/annotations.proto";
import "v1/payload/payload.proto";

option go_package = "github.com/vdaas/vald/apis/grpc/v1/filter/egress";
option java_multiple_files = true;
Expand Down
2 changes: 1 addition & 1 deletion apis/proto/v1/filter/ingress/ingress_filter.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ syntax = "proto3";

package filter.ingress.v1;

import "v1/payload/payload.proto";
import "google/api/annotations.proto";
import "v1/payload/payload.proto";

option go_package = "github.com/vdaas/vald/apis/grpc/v1/filter/ingress";
option java_multiple_files = true;
Expand Down
2 changes: 1 addition & 1 deletion apis/proto/v1/manager/index/index_manager.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ syntax = "proto3";

package manager.index.v1;

import "v1/payload/payload.proto";
import "google/api/annotations.proto";
import "v1/payload/payload.proto";

option go_package = "github.com/vdaas/vald/apis/grpc/v1/manager/index";
option java_multiple_files = true;
Expand Down
2 changes: 1 addition & 1 deletion apis/proto/v1/vald/filter.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ syntax = "proto3";

package vald.v1;

import "v1/payload/payload.proto";
import "google/api/annotations.proto";
import "v1/payload/payload.proto";

option go_package = "github.com/vdaas/vald/apis/grpc/v1/vald";
option java_multiple_files = true;
Expand Down
2 changes: 1 addition & 1 deletion apis/proto/v1/vald/insert.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ syntax = "proto3";

package vald.v1;

import "v1/payload/payload.proto";
import "google/api/annotations.proto";
import "v1/payload/payload.proto";

option go_package = "github.com/vdaas/vald/apis/grpc/v1/vald";
option java_multiple_files = true;
Expand Down
2 changes: 1 addition & 1 deletion apis/proto/v1/vald/object.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ syntax = "proto3";

package vald.v1;

import "v1/payload/payload.proto";
import "google/api/annotations.proto";
import "v1/payload/payload.proto";

option go_package = "github.com/vdaas/vald/apis/grpc/v1/vald";
option java_multiple_files = true;
Expand Down
2 changes: 1 addition & 1 deletion apis/proto/v1/vald/remove.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ syntax = "proto3";

package vald.v1;

import "v1/payload/payload.proto";
import "google/api/annotations.proto";
import "v1/payload/payload.proto";

option go_package = "github.com/vdaas/vald/apis/grpc/v1/vald";
option java_multiple_files = true;
Expand Down
2 changes: 1 addition & 1 deletion apis/proto/v1/vald/search.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ syntax = "proto3";

package vald.v1;

import "v1/payload/payload.proto";
import "google/api/annotations.proto";
import "v1/payload/payload.proto";

option go_package = "github.com/vdaas/vald/apis/grpc/v1/vald";
option java_multiple_files = true;
Expand Down
2 changes: 1 addition & 1 deletion apis/proto/v1/vald/update.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ syntax = "proto3";

package vald.v1;

import "v1/payload/payload.proto";
import "google/api/annotations.proto";
import "v1/payload/payload.proto";

option go_package = "github.com/vdaas/vald/apis/grpc/v1/vald";
option java_multiple_files = true;
Expand Down
2 changes: 1 addition & 1 deletion apis/proto/v1/vald/upsert.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ syntax = "proto3";

package vald.v1;

import "v1/payload/payload.proto";
import "google/api/annotations.proto";
import "v1/payload/payload.proto";

option go_package = "github.com/vdaas/vald/apis/grpc/v1/vald";
option java_multiple_files = true;
Expand Down
24 changes: 6 additions & 18 deletions apis/swagger/v1/agent/core/agent.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@
"name": "Agent"
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"consumes": ["application/json"],
"produces": ["application/json"],
"paths": {
"/index/create": {
"get": {
Expand Down Expand Up @@ -44,9 +40,7 @@
"format": "int64"
}
],
"tags": [
"Agent"
]
"tags": ["Agent"]
}
},
"/index/createandsave": {
Expand Down Expand Up @@ -77,9 +71,7 @@
"format": "int64"
}
],
"tags": [
"Agent"
]
"tags": ["Agent"]
}
},
"/index/info": {
Expand All @@ -100,9 +92,7 @@
}
}
},
"tags": [
"Agent"
]
"tags": ["Agent"]
}
},
"/index/save": {
Expand All @@ -123,9 +113,7 @@
}
}
},
"tags": [
"Agent"
]
"tags": ["Agent"]
}
}
},
Expand Down
8 changes: 2 additions & 6 deletions apis/swagger/v1/agent/sidecar/sidecar.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
"title": "v1/agent/sidecar/sidecar.proto",
"version": "version not set"
},
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"consumes": ["application/json"],
"produces": ["application/json"],
"paths": {},
"definitions": {
"protobufAny": {
Expand Down
16 changes: 4 additions & 12 deletions apis/swagger/v1/discoverer/discoverer.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@
"name": "Discoverer"
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"consumes": ["application/json"],
"produces": ["application/json"],
"paths": {
"/discover/nodes": {
"post": {
Expand Down Expand Up @@ -45,9 +41,7 @@
}
}
],
"tags": [
"Discoverer"
]
"tags": ["Discoverer"]
}
},
"/discover/pods": {
Expand Down Expand Up @@ -79,9 +73,7 @@
}
}
],
"tags": [
"Discoverer"
]
"tags": ["Discoverer"]
}
}
},
Expand Down
16 changes: 4 additions & 12 deletions apis/swagger/v1/filter/egress/egress_filter.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@
"name": "Filter"
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"consumes": ["application/json"],
"produces": ["application/json"],
"paths": {
"/filter/egress/distance": {
"post": {
Expand Down Expand Up @@ -45,9 +41,7 @@
}
}
],
"tags": [
"Filter"
]
"tags": ["Filter"]
}
},
"/filter/egress/vector": {
Expand Down Expand Up @@ -79,9 +73,7 @@
}
}
],
"tags": [
"Filter"
]
"tags": ["Filter"]
}
}
},
Expand Down
16 changes: 4 additions & 12 deletions apis/swagger/v1/filter/ingress/ingress_filter.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@
"name": "Filter"
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"consumes": ["application/json"],
"produces": ["application/json"],
"paths": {
"/filter/ingress/object": {
"post": {
Expand Down Expand Up @@ -45,9 +41,7 @@
}
}
],
"tags": [
"Filter"
]
"tags": ["Filter"]
}
},
"/filter/ingress/vector": {
Expand Down Expand Up @@ -79,9 +73,7 @@
}
}
],
"tags": [
"Filter"
]
"tags": ["Filter"]
}
}
},
Expand Down
12 changes: 3 additions & 9 deletions apis/swagger/v1/manager/index/index_manager.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@
"name": "Index"
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"consumes": ["application/json"],
"produces": ["application/json"],
"paths": {
"/index/info": {
"get": {
Expand All @@ -34,9 +30,7 @@
}
}
},
"tags": [
"Index"
]
"tags": ["Index"]
}
}
},
Expand Down
8 changes: 2 additions & 6 deletions apis/swagger/v1/payload/payload.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
"title": "v1/payload/payload.proto",
"version": "version not set"
},
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"consumes": ["application/json"],
"produces": ["application/json"],
"paths": {},
"definitions": {
"protobufAny": {
Expand Down
8 changes: 2 additions & 6 deletions apis/swagger/v1/rpc/errdetails/error_details.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
"title": "v1/rpc/errdetails/error_details.proto",
"version": "version not set"
},
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"consumes": ["application/json"],
"produces": ["application/json"],
"paths": {},
"definitions": {
"protobufAny": {
Expand Down
Loading

0 comments on commit a907be2

Please sign in to comment.