diff --git a/.gitfiles b/.gitfiles index 5a40e89646..698d68b350 100644 --- a/.gitfiles +++ b/.gitfiles @@ -13,6 +13,77 @@ # See the License for the specific language governing permissions and # limitations under the License. # +apis/docs/v1/docs.md +apis/grpc/v1/agent/core/agent.pb.go +apis/grpc/v1/agent/core/agent_vtproto.pb.go +apis/grpc/v1/agent/sidecar/sidecar.pb.go +apis/grpc/v1/agent/sidecar/sidecar_vtproto.pb.go +apis/grpc/v1/discoverer/discoverer.pb.go +apis/grpc/v1/discoverer/discoverer_vtproto.pb.go +apis/grpc/v1/filter/egress/egress_filter.pb.go +apis/grpc/v1/filter/egress/egress_filter_vtproto.pb.go +apis/grpc/v1/filter/ingress/ingress_filter.pb.go +apis/grpc/v1/filter/ingress/ingress_filter_vtproto.pb.go +apis/grpc/v1/meta/meta.pb.go +apis/grpc/v1/meta/meta_vtproto.pb.go +apis/grpc/v1/mirror/mirror.pb.go +apis/grpc/v1/mirror/mirror_vtproto.pb.go +apis/grpc/v1/payload/payload.pb.go +apis/grpc/v1/payload/payload.pb.json.go +apis/grpc/v1/payload/payload_vtproto.pb.go +apis/grpc/v1/rpc/errdetails/error_details.pb.go +apis/grpc/v1/rpc/errdetails/error_details.pb.json.go +apis/grpc/v1/rpc/errdetails/error_details_vtproto.pb.go +apis/grpc/v1/rpc/stats/stats.pb.go +apis/grpc/v1/rpc/stats/stats_vtproto.pb.go +apis/grpc/v1/tikv/errorpb.pb.go +apis/grpc/v1/tikv/errorpb.pb.json.go +apis/grpc/v1/tikv/errorpb_vtproto.pb.go +apis/grpc/v1/tikv/kvrpcpb.pb.go +apis/grpc/v1/tikv/kvrpcpb.pb.json.go +apis/grpc/v1/tikv/kvrpcpb_vtproto.pb.go +apis/grpc/v1/tikv/tikvpb.pb.go +apis/grpc/v1/tikv/tikvpb_vtproto.pb.go +apis/grpc/v1/vald/filter.pb.go +apis/grpc/v1/vald/filter_vtproto.pb.go +apis/grpc/v1/vald/flush.pb.go +apis/grpc/v1/vald/flush_vtproto.pb.go +apis/grpc/v1/vald/index.pb.go +apis/grpc/v1/vald/index_vtproto.pb.go +apis/grpc/v1/vald/insert.pb.go +apis/grpc/v1/vald/insert_vtproto.pb.go +apis/grpc/v1/vald/object.pb.go +apis/grpc/v1/vald/object_vtproto.pb.go +apis/grpc/v1/vald/remove.pb.go +apis/grpc/v1/vald/remove_vtproto.pb.go +apis/grpc/v1/vald/search.pb.go +apis/grpc/v1/vald/search_vtproto.pb.go +apis/grpc/v1/vald/update.pb.go +apis/grpc/v1/vald/update_vtproto.pb.go +apis/grpc/v1/vald/upsert.pb.go +apis/grpc/v1/vald/upsert_vtproto.pb.go +apis/swagger/v1/agent/core/agent.swagger.json +apis/swagger/v1/agent/sidecar/sidecar.swagger.json +apis/swagger/v1/discoverer/discoverer.swagger.json +apis/swagger/v1/filter/egress/egress_filter.swagger.json +apis/swagger/v1/filter/ingress/ingress_filter.swagger.json +apis/swagger/v1/meta/meta.swagger.json +apis/swagger/v1/mirror/mirror.swagger.json +apis/swagger/v1/payload/payload.swagger.json +apis/swagger/v1/rpc/errdetails/error_details.swagger.json +apis/swagger/v1/rpc/stats/stats.swagger.json +apis/swagger/v1/tikv/errorpb.swagger.json +apis/swagger/v1/tikv/kvrpcpb.swagger.json +apis/swagger/v1/tikv/tikvpb.swagger.json +apis/swagger/v1/vald/filter.swagger.json +apis/swagger/v1/vald/flush.swagger.json +apis/swagger/v1/vald/index.swagger.json +apis/swagger/v1/vald/insert.swagger.json +apis/swagger/v1/vald/object.swagger.json +apis/swagger/v1/vald/remove.swagger.json +apis/swagger/v1/vald/search.swagger.json +apis/swagger/v1/vald/update.swagger.json +apis/swagger/v1/vald/upsert.swagger.json .all-contributorsrc .coderabbit.yaml .commit_template @@ -155,88 +226,33 @@ Makefile.d/build.mk Makefile.d/dependencies.mk Makefile.d/docker.mk Makefile.d/e2e.mk +Makefile.d/format.mk Makefile.d/functions.mk +Makefile.d/generate.mk Makefile.d/git.mk Makefile.d/helm.mk Makefile.d/k0s.mk Makefile.d/k3d.mk Makefile.d/k8s.mk Makefile.d/kind.mk +Makefile.d/lint.mk Makefile.d/minikube.mk Makefile.d/proto.mk Makefile.d/test.mk Makefile.d/tls.mk Makefile.d/tools.mk +Makefile.d/version.mk README.md SECURITY.md apis/docs/buf.gen.doc.yaml apis/docs/buf.gen.payload.yaml apis/docs/buf.gen.tmpl.yaml apis/docs/v1/doc.tmpl -apis/docs/v1/docs.md -apis/docs/v1/filter.md -apis/docs/v1/flush.md -apis/docs/v1/index.md -apis/docs/v1/insert.md -apis/docs/v1/mirror.md -apis/docs/v1/object.md apis/docs/v1/payload.md.tmpl apis/docs/v1/payload.tmpl -apis/docs/v1/remove.md -apis/docs/v1/search.md -apis/docs/v1/update.md -apis/docs/v1/upsert.md apis/grpc/v1/agent/core/agent.go -apis/grpc/v1/agent/core/agent.pb.go -apis/grpc/v1/agent/core/agent_vtproto.pb.go -apis/grpc/v1/agent/sidecar/sidecar.pb.go -apis/grpc/v1/agent/sidecar/sidecar_vtproto.pb.go -apis/grpc/v1/discoverer/discoverer.pb.go -apis/grpc/v1/discoverer/discoverer_vtproto.pb.go -apis/grpc/v1/filter/egress/egress_filter.pb.go -apis/grpc/v1/filter/egress/egress_filter_vtproto.pb.go -apis/grpc/v1/filter/ingress/ingress_filter.pb.go -apis/grpc/v1/filter/ingress/ingress_filter_vtproto.pb.go -apis/grpc/v1/meta/meta.pb.go -apis/grpc/v1/meta/meta_vtproto.pb.go apis/grpc/v1/mirror/mirror.go -apis/grpc/v1/mirror/mirror.pb.go -apis/grpc/v1/mirror/mirror_vtproto.pb.go apis/grpc/v1/payload/interface.go -apis/grpc/v1/payload/payload.pb.go -apis/grpc/v1/payload/payload.pb.json.go -apis/grpc/v1/payload/payload_vtproto.pb.go -apis/grpc/v1/rpc/errdetails/error_details.pb.go -apis/grpc/v1/rpc/errdetails/error_details.pb.json.go -apis/grpc/v1/rpc/errdetails/error_details_vtproto.pb.go -apis/grpc/v1/rpc/stats/stats.pb.go -apis/grpc/v1/rpc/stats/stats_vtproto.pb.go -apis/grpc/v1/tikv/errorpb.pb.go -apis/grpc/v1/tikv/errorpb.pb.json.go -apis/grpc/v1/tikv/errorpb_vtproto.pb.go -apis/grpc/v1/tikv/kvrpcpb.pb.go -apis/grpc/v1/tikv/kvrpcpb.pb.json.go -apis/grpc/v1/tikv/kvrpcpb_vtproto.pb.go -apis/grpc/v1/tikv/tikvpb.pb.go -apis/grpc/v1/tikv/tikvpb_vtproto.pb.go -apis/grpc/v1/vald/filter.pb.go -apis/grpc/v1/vald/filter_vtproto.pb.go -apis/grpc/v1/vald/flush.pb.go -apis/grpc/v1/vald/flush_vtproto.pb.go -apis/grpc/v1/vald/index.pb.go -apis/grpc/v1/vald/index_vtproto.pb.go -apis/grpc/v1/vald/insert.pb.go -apis/grpc/v1/vald/insert_vtproto.pb.go -apis/grpc/v1/vald/object.pb.go -apis/grpc/v1/vald/object_vtproto.pb.go -apis/grpc/v1/vald/remove.pb.go -apis/grpc/v1/vald/remove_vtproto.pb.go -apis/grpc/v1/vald/search.pb.go -apis/grpc/v1/vald/search_vtproto.pb.go -apis/grpc/v1/vald/update.pb.go -apis/grpc/v1/vald/update_vtproto.pb.go -apis/grpc/v1/vald/upsert.pb.go -apis/grpc/v1/vald/upsert_vtproto.pb.go apis/grpc/v1/vald/vald.go apis/proto/v1/agent/core/agent.proto apis/proto/v1/agent/sidecar/sidecar.proto @@ -262,28 +278,6 @@ apis/proto/v1/vald/remove.proto apis/proto/v1/vald/search.proto apis/proto/v1/vald/update.proto apis/proto/v1/vald/upsert.proto -apis/swagger/v1/agent/core/agent.swagger.json -apis/swagger/v1/agent/sidecar/sidecar.swagger.json -apis/swagger/v1/discoverer/discoverer.swagger.json -apis/swagger/v1/filter/egress/egress_filter.swagger.json -apis/swagger/v1/filter/ingress/ingress_filter.swagger.json -apis/swagger/v1/meta/meta.swagger.json -apis/swagger/v1/mirror/mirror.swagger.json -apis/swagger/v1/payload/payload.swagger.json -apis/swagger/v1/rpc/errdetails/error_details.swagger.json -apis/swagger/v1/rpc/stats/stats.swagger.json -apis/swagger/v1/tikv/errorpb.swagger.json -apis/swagger/v1/tikv/kvrpcpb.swagger.json -apis/swagger/v1/tikv/tikvpb.swagger.json -apis/swagger/v1/vald/filter.swagger.json -apis/swagger/v1/vald/flush.swagger.json -apis/swagger/v1/vald/index.swagger.json -apis/swagger/v1/vald/insert.swagger.json -apis/swagger/v1/vald/object.swagger.json -apis/swagger/v1/vald/remove.swagger.json -apis/swagger/v1/vald/search.swagger.json -apis/swagger/v1/vald/update.swagger.json -apis/swagger/v1/vald/upsert.swagger.json assets/docs/guides/observability-configuration/architecture.png assets/docs/guides/operations/grafana-example.png assets/docs/guides/read-replica-and-rotator/architecture.png @@ -1685,9 +1679,19 @@ internal/worker/worker.go internal/worker/worker_option.go internal/worker/worker_option_test.go internal/worker/worker_test.go +k8s/agent/clusterrole.yaml +k8s/agent/clusterrolebinding.yaml +k8s/agent/daemonset.yaml +k8s/agent/deployment.yaml +k8s/agent/faiss/configmap.yaml +k8s/agent/hpa.yaml +k8s/agent/networkpolicy.yaml k8s/agent/ngt/configmap.yaml k8s/agent/pdb.yaml k8s/agent/priorityclass.yaml +k8s/agent/serviceaccount.yaml +k8s/agent/sidecar/configmap.yaml +k8s/agent/sidecar/svc.yaml k8s/agent/statefulset.yaml k8s/agent/svc.yaml k8s/debug/kind/config.yaml @@ -1695,7 +1699,10 @@ k8s/debug/kind/e2e.yaml k8s/discoverer/clusterrole.yaml k8s/discoverer/clusterrolebinding.yaml k8s/discoverer/configmap.yaml +k8s/discoverer/daemonset.yaml k8s/discoverer/deployment.yaml +k8s/discoverer/hpa.yaml +k8s/discoverer/networkpolicy.yaml k8s/discoverer/pdb.yaml k8s/discoverer/priorityclass.yaml k8s/discoverer/serviceaccount.yaml @@ -1703,29 +1710,57 @@ k8s/discoverer/svc.yaml k8s/external/minio/deployment.yaml k8s/external/minio/mb-job.yaml k8s/external/minio/svc.yaml +k8s/gateway/gateway/filter/configmap.yaml +k8s/gateway/gateway/filter/daemonset.yaml +k8s/gateway/gateway/filter/deployment.yaml +k8s/gateway/gateway/filter/hpa.yaml +k8s/gateway/gateway/filter/networkpolicy.yaml +k8s/gateway/gateway/filter/pdb.yaml +k8s/gateway/gateway/filter/priorityclass.yaml +k8s/gateway/gateway/filter/serviceaccount.yaml +k8s/gateway/gateway/filter/svc.yaml k8s/gateway/gateway/ing.yaml k8s/gateway/gateway/lb/configmap.yaml +k8s/gateway/gateway/lb/daemonset.yaml k8s/gateway/gateway/lb/deployment.yaml +k8s/gateway/gateway/lb/hpa.yaml +k8s/gateway/gateway/lb/networkpolicy.yaml k8s/gateway/gateway/lb/pdb.yaml k8s/gateway/gateway/lb/priorityclass.yaml +k8s/gateway/gateway/lb/serviceaccount.yaml k8s/gateway/gateway/lb/svc.yaml k8s/gateway/gateway/mirror/clusterrole.yaml k8s/gateway/gateway/mirror/clusterrolebinding.yaml k8s/gateway/gateway/mirror/configmap.yaml +k8s/gateway/gateway/mirror/daemonset.yaml k8s/gateway/gateway/mirror/deployment.yaml k8s/gateway/gateway/mirror/hpa.yaml +k8s/gateway/gateway/mirror/networkpolicy.yaml k8s/gateway/gateway/mirror/pdb.yaml k8s/gateway/gateway/mirror/priorityclass.yaml k8s/gateway/gateway/mirror/serviceaccount.yaml k8s/gateway/gateway/mirror/svc.yaml k8s/index/job/correction/configmap.yaml k8s/index/job/correction/cronjob.yaml +k8s/index/job/correction/networkpolicy.yaml +k8s/index/job/correction/serviceaccount.yaml k8s/index/job/creation/configmap.yaml k8s/index/job/creation/cronjob.yaml +k8s/index/job/creation/networkpolicy.yaml +k8s/index/job/creation/serviceaccount.yaml k8s/index/job/deletion/configmap.yaml k8s/index/job/deletion/cronjob.yaml +k8s/index/job/deletion/networkpolicy.yaml +k8s/index/job/deletion/serviceaccount.yaml +k8s/index/job/readreplica/rotate/clusterrole.yaml +k8s/index/job/readreplica/rotate/clusterrolebinding.yaml +k8s/index/job/readreplica/rotate/configmap.yaml +k8s/index/job/readreplica/rotate/networkpolicy.yaml +k8s/index/job/readreplica/rotate/serviceaccount.yaml k8s/index/job/save/configmap.yaml k8s/index/job/save/cronjob.yaml +k8s/index/job/save/networkpolicy.yaml +k8s/index/job/save/serviceaccount.yaml k8s/index/operator/clusterrole.yaml k8s/index/operator/clusterrolebinding.yaml k8s/index/operator/configmap.yaml @@ -1733,9 +1768,12 @@ k8s/index/operator/deployment.yaml k8s/index/operator/priorityclass.yaml k8s/index/operator/serviceaccount.yaml k8s/manager/index/configmap.yaml +k8s/manager/index/daemonset.yaml k8s/manager/index/deployment.yaml +k8s/manager/index/networkpolicy.yaml k8s/manager/index/pdb.yaml k8s/manager/index/priorityclass.yaml +k8s/manager/index/serviceaccount.yaml k8s/manager/index/svc.yaml k8s/metrics/grafana/configmap.yaml k8s/metrics/grafana/dashboards/00-vald-cluster-overview.yaml @@ -1794,7 +1832,6 @@ k8s/operator/helm/operator.yaml k8s/operator/helm/serviceaccount.yaml k8s/operator/helm/svc.yaml k8s/readreplica/configmap.yaml -k8s/tests/v2/e2e/job.yaml k8s/tools/benchmark/job/clusterrole.yaml k8s/tools/benchmark/job/clusterrolebinding.yaml k8s/tools/benchmark/job/serviceaccount.yaml @@ -1907,7 +1944,6 @@ pkg/agent/internal/kvs/doc.go pkg/agent/internal/kvs/kvs.go pkg/agent/internal/kvs/kvs_test.go pkg/agent/internal/kvs/option.go -pkg/agent/internal/kvs/option_test.go pkg/agent/internal/memstore/data_manager.go pkg/agent/internal/memstore/data_manager_test.go pkg/agent/internal/memstore/doc.go @@ -2272,9 +2308,12 @@ pkg/tools/benchmark/operator/usecase/benchmarkd.go pkg/tools/benchmark/operator/usecase/benchmarkd_test.go pkg/tools/benchmark/operator/usecase/doc.go renovate.json +rust/.cargo/config.toml rust/Cargo.lock rust/Cargo.toml rust/bin/agent/Cargo.toml +rust/bin/agent/build.rs +rust/bin/agent/src/glibc_compat.c rust/bin/agent/src/handler.rs rust/bin/agent/src/handler/common.rs rust/bin/agent/src/handler/index.rs @@ -2464,7 +2503,9 @@ versions/K3S_VERSION versions/KIND_VERSION versions/KUBECTL_VERSION versions/KUBELINTER_VERSION +versions/LLVM_VERSION versions/NGT_VERSION +versions/NINJA_VERSION versions/OPERATOR_SDK_VERSION versions/OTEL_OPERATOR_VERSION versions/PROMETHEUS_STACK_VERSION @@ -2481,6 +2522,7 @@ versions/actions/8398A7_ACTION_SLACK versions/actions/ACTIONS_CACHE versions/actions/ACTIONS_CHECKOUT versions/actions/ACTIONS_DOWNLOAD_ARTIFACT +versions/actions/ACTIONS_GITHUB_SCRIPT versions/actions/ACTIONS_LABELER versions/actions/ACTIONS_SETUP_GO versions/actions/ACTIONS_SETUP_NODE @@ -2499,6 +2541,7 @@ versions/actions/GITHUB_CODEQL_ACTION_INIT versions/actions/GITHUB_CODEQL_ACTION_UPLOAD_SARIF versions/actions/GITHUB_ISSUE_METRICS versions/actions/MACHINE_LEARNING_APPS_ACTIONS_CHATOPS +versions/actions/OVEN_SH_SETUP_BUN versions/actions/PETER_EVANS_CREATE_ISSUE_FROM_FILE versions/actions/PETER_EVANS_CREATE_PULL_REQUEST versions/actions/REVIEWDOG_ACTION_HADOLINT diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index e7992ffc45..84acb9f017 100755 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -23,10 +23,10 @@ assignees: "" - Vald Version: v1.7.17 -- Go Version: v1.26.1 -- Rust Version: v1.94.1 -- Docker Version: v29.3.1 -- Kubernetes Version: v1.35.3 -- Helm Version: v4.1.3 -- NGT Version: v2.7.2 -- Faiss Version: v1.14.1 +- Go Version: v1.26.4 +- Rust Version: v1.96.0 +- Docker Version: v29.5.3 +- Kubernetes Version: v1.36.1 +- Helm Version: v4.2.0 +- NGT Version: v2.7.4 +- Faiss Version: v1.14.2 diff --git a/.github/ISSUE_TEMPLATE/security_issue_report.md b/.github/ISSUE_TEMPLATE/security_issue_report.md index 88f4e103be..fad223f187 100644 --- a/.github/ISSUE_TEMPLATE/security_issue_report.md +++ b/.github/ISSUE_TEMPLATE/security_issue_report.md @@ -17,10 +17,10 @@ assignees: "" - Vald Version: v1.7.17 -- Go Version: v1.26.1 -- Rust Version: v1.94.1 -- Docker Version: v29.3.1 -- Kubernetes Version: v1.35.3 -- Helm Version: v4.1.3 -- NGT Version: v2.7.2 -- Faiss Version: v1.14.1 +- Go Version: v1.26.4 +- Rust Version: v1.96.0 +- Docker Version: v29.5.3 +- Kubernetes Version: v1.36.1 +- Helm Version: v4.2.0 +- NGT Version: v2.7.4 +- Faiss Version: v1.14.2 diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 9840227468..cb76a661bc 100755 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -17,13 +17,13 @@ - Vald Version: v1.7.17 -- Go Version: v1.26.1 -- Rust Version: v1.94.1 -- Docker Version: v29.3.1 -- Kubernetes Version: v1.35.3 -- Helm Version: v4.1.3 -- NGT Version: v2.7.2 -- Faiss Version: v1.14.1 +- Go Version: v1.26.4 +- Rust Version: v1.96.0 +- Docker Version: v29.5.3 +- Kubernetes Version: v1.36.1 +- Helm Version: v4.2.0 +- NGT Version: v2.7.4 +- Faiss Version: v1.14.2 ### Checklist diff --git a/.github/actions/create-docker-manifest/action.yaml b/.github/actions/create-docker-manifest/action.yaml index 34740d2cf3..05a35c4b31 100644 --- a/.github/actions/create-docker-manifest/action.yaml +++ b/.github/actions/create-docker-manifest/action.yaml @@ -45,13 +45,31 @@ runs: shell: bash id: create_manifest run: | - for tag in ${PRIMARY_TAG} ${EXTRA_TAGS}; do + push_manifest() { make \ TARGET="${TARGET}" \ - TAG="${tag}" \ + TAG="${1}" \ ARCHS="${ARCHS}" \ docker/create/manifest \ docker/create/manifest/alter + } + # The manifest create/push hits docker.io, which intermittently goes + # unreachable ("Client.Timeout exceeded"). Retry to ride out the blip. + for tag in ${PRIMARY_TAG} ${EXTRA_TAGS}; do + attempt=1 + max_attempts=5 + while true; do + if push_manifest "${tag}"; then + break + fi + if [ "${attempt}" -ge "${max_attempts}" ]; then + echo "::error::docker manifest push for ${TARGET}:${tag} failed after ${max_attempts} attempts" + exit 1 + fi + echo "::warning::docker manifest push for ${TARGET}:${tag} attempt ${attempt} failed (likely transient registry timeout); retrying in 30s" + attempt=$((attempt + 1)) + sleep 30 + done done env: TARGET: ${{ inputs.target }} @@ -62,12 +80,30 @@ runs: shell: bash id: inspect_image run: | - for tag in ${PRIMARY_TAG} ${EXTRA_TAGS}; do + inspect_image() { make \ TARGET="${TARGET}" \ - TAG="${tag}" \ + TAG="${1}" \ docker/inspect/image \ docker/inspect/image/alter + } + # Inspect reads the just-pushed manifest from docker.io; retry over the + # same transient registry-timeout window. + for tag in ${PRIMARY_TAG} ${EXTRA_TAGS}; do + attempt=1 + max_attempts=5 + while true; do + if inspect_image "${tag}"; then + break + fi + if [ "${attempt}" -ge "${max_attempts}" ]; then + echo "::error::docker inspect for ${TARGET}:${tag} failed after ${max_attempts} attempts" + exit 1 + fi + echo "::warning::docker inspect for ${TARGET}:${tag} attempt ${attempt} failed (likely transient registry timeout); retrying in 30s" + attempt=$((attempt + 1)) + sleep 30 + done done env: TARGET: ${{ inputs.target }} diff --git a/.github/actions/docker-build/action.yaml b/.github/actions/docker-build/action.yaml index 6f864ab71a..7316976493 100644 --- a/.github/actions/docker-build/action.yaml +++ b/.github/actions/docker-build/action.yaml @@ -63,18 +63,39 @@ runs: extra_args="${extra_args} -t ${IMAGE_NAME}:${tag}-${ARCH} -t ${ALTER_IMAGE_NAME}:${tag}-${ARCH}" done - make \ - REMOTE="true" \ - DOCKER="docker" \ - BUILDKIT_INLINE_CACHE=0 \ - DOCKER_OPTS="--platform ${PLATFORM} --builder ${BUILDER} ${LABEL_OPTS} \ - --label org.opencontainers.image.version=${PRIMARY_TAG}-${ARCH} \ - --label org.opencontainers.image.title=${TARGET} \ - --label org.opencontainers.image.created=\"$(date --rfc-3339=ns)\" \ - --label org.opencontainers.image.licenses=\"Apache 2.0\"" \ - EXTRA_ARGS="${extra_args}" \ - TAG="${PRIMARY_TAG}-${ARCH}" \ - docker/build/${TARGET} + build() { + make \ + REMOTE="true" \ + DOCKER="docker" \ + BUILDKIT_INLINE_CACHE=0 \ + DOCKER_OPTS="--platform ${PLATFORM} --builder ${BUILDER} ${LABEL_OPTS} \ + --label org.opencontainers.image.version=${PRIMARY_TAG}-${ARCH} \ + --label org.opencontainers.image.title=${TARGET} \ + --label org.opencontainers.image.created=\"$(date --rfc-3339=ns)\" \ + --label org.opencontainers.image.licenses=\"Apache 2.0\"" \ + EXTRA_ARGS="${extra_args}" \ + TAG="${PRIMARY_TAG}-${ARCH}" \ + docker/build/${TARGET} + } + + # Retry to ride out transient docker.io registry handshake timeouts + # ("Get https://registry-1.docker.io/v2/: net/http: ... Client.Timeout") + # that intermittently fail the pull/login/push. buildkit layer caching + # makes each retry cheap (only the uncached/failed work re-runs). + attempt=1 + max_attempts=3 + while true; do + if build; then + break + fi + if [ "${attempt}" -ge "${max_attempts}" ]; then + echo "::error::docker/build/${TARGET} failed after ${max_attempts} attempts" + exit 1 + fi + echo "::warning::docker/build/${TARGET} attempt ${attempt} failed (likely a transient registry timeout); retrying in 30s" + attempt=$((attempt + 1)) + sleep 30 + done env: TARGET: ${{ inputs.target }} DOCKER_BUILDKIT: "1" diff --git a/.github/actions/e2e-profile/action.yaml b/.github/actions/e2e-profile/action.yaml index 727d541aae..8ad2656591 100644 --- a/.github/actions/e2e-profile/action.yaml +++ b/.github/actions/e2e-profile/action.yaml @@ -41,11 +41,11 @@ runs: --output profiles/${svc}-${t}.pb done done - - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + - uses: actions/upload-artifact@v7 with: name: profiles path: profiles/* - - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 + - uses: actions/cache@v5 id: cache with: path: ./profiles-main @@ -92,7 +92,7 @@ runs: fi done done - - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + - uses: actions/upload-artifact@v7 with: name: graphs path: graphs/* diff --git a/.github/actions/notify-slack/action.yaml b/.github/actions/notify-slack/action.yaml index e84bb63638..f151ad08d4 100644 --- a/.github/actions/notify-slack/action.yaml +++ b/.github/actions/notify-slack/action.yaml @@ -32,10 +32,10 @@ inputs: runs: using: "composite" steps: - - uses: technote-space/workflow-conclusion-action@45ce8e0eb155657ab8ccf346ade734257fd196a5 # v3.0.3 + - uses: technote-space/workflow-conclusion-action@v3 with: GITHUB_TOKEN: ${{ inputs.token }} - - uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0 + - uses: 8398a7/action-slack@v3 with: author_name: ${{ inputs.author_name }} status: ${{ inputs.status != '' && inputs.status || env.WORKFLOW_CONCLUSION }} diff --git a/.github/actions/scan-docker-image/action.yaml b/.github/actions/scan-docker-image/action.yaml index bcc943d16f..46f2512173 100644 --- a/.github/actions/scan-docker-image/action.yaml +++ b/.github/actions/scan-docker-image/action.yaml @@ -45,6 +45,6 @@ runs: severity: ${{ inputs.severity }} timeout: 30m - name: Upload Trivy scan results to Security tab - uses: github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1 + uses: github/codeql-action/upload-sarif@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2 with: sarif_file: "trivy-results.sarif" diff --git a/.github/actions/setup-go/action.yaml b/.github/actions/setup-go/action.yaml index 614c19ef76..8aaa43fc74 100644 --- a/.github/actions/setup-go/action.yaml +++ b/.github/actions/setup-go/action.yaml @@ -43,7 +43,7 @@ runs: fi - name: Setup Go (if not installed or version mismatch) if: steps.check_go.outputs.go_installed == 'false' || steps.check_go.outputs.installed_version != steps.go_version.outputs.version - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 + uses: actions/setup-go@v6 with: go-version: ${{ steps.go_version.outputs.version }} - name: Verify Go version diff --git a/.github/actions/setup-helm/action.yaml b/.github/actions/setup-helm/action.yaml index 8a74356f9b..7484e10628 100644 --- a/.github/actions/setup-helm/action.yaml +++ b/.github/actions/setup-helm/action.yaml @@ -43,7 +43,7 @@ runs: fi - name: Setup Helm (if not installed or version mismatch) if: steps.check_helm.outputs.helm_installed == 'false' || steps.check_helm.outputs.installed_version != steps.helm_version.outputs.version - uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0 + uses: azure/setup-helm@v5 with: version: ${{ steps.helm_version.outputs.version }} - name: Verify Helm version diff --git a/.github/workflows/_detect-ci-container.yaml b/.github/workflows/_detect-ci-container.yaml index 812ec8cc0c..9ce4ef1ce7 100644 --- a/.github/workflows/_detect-ci-container.yaml +++ b/.github/workflows/_detect-ci-container.yaml @@ -48,7 +48,7 @@ jobs: outputs: TAG: ${{ steps.get_tag_name.outputs.TAG }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Determine Docker image tag diff --git a/.github/workflows/_docker-image-scan.yaml b/.github/workflows/_docker-image-scan.yaml index bb5f717646..3b28b635a4 100644 --- a/.github/workflows/_docker-image-scan.yaml +++ b/.github/workflows/_docker-image-scan.yaml @@ -28,7 +28,7 @@ jobs: contents: read runs-on: ubuntu-latest steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config diff --git a/.github/workflows/_docker-image.yaml b/.github/workflows/_docker-image.yaml index 442a1abfe7..52f9e181ea 100644 --- a/.github/workflows/_docker-image.yaml +++ b/.github/workflows/_docker-image.yaml @@ -49,7 +49,7 @@ jobs: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -86,7 +86,7 @@ jobs: else echo ref=${{ github.sha }} >> $GITHUB_OUTPUT fi - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false ref: ${{ steps.ref.outputs.ref }} @@ -144,7 +144,7 @@ jobs: include: ${{ fromJson(needs.prepare.outputs.matrix) }} runs-on: ${{ matrix.runs-on }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false ref: ${{ needs.prepare.outputs.ref }} @@ -152,19 +152,35 @@ jobs: run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} - name: Login to DockerHub - uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 - with: - username: ${{ secrets.DOCKERHUB_USER }} - password: ${{ secrets.DOCKERHUB_PASS }} + shell: bash + env: + DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} + DOCKERHUB_PASS: ${{ secrets.DOCKERHUB_PASS }} + run: | + # docker/login-action has no retry, and the registry-1.docker.io + # handshake intermittently goes unreachable for sustained windows + # ("Client.Timeout exceeded"), failing the whole build job. Retry long + # enough (≈5 min) to ride out a typical Docker Hub blip. + n=1 + max=15 + until printf '%s' "${DOCKERHUB_PASS}" | docker login -u "${DOCKERHUB_USER}" --password-stdin; do + if [ "${n}" -ge "${max}" ]; then + echo "::error::docker login (DockerHub) failed after ${max} attempts" + exit 1 + fi + echo "::warning::docker login (DockerHub) attempt ${n} failed (transient registry timeout); retrying in 20s" + n=$((n + 1)) + sleep 20 + done - name: Login to GitHub Container Registry - uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ secrets.PACKAGE_USER }} password: ${{ secrets.PACKAGE_TOKEN }} - name: Setup Docker Buildx id: buildx - uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0 + uses: docker/setup-buildx-action@v4 with: version: latest platforms: linux/${{ matrix.arch }} @@ -194,24 +210,40 @@ jobs: runs-on: ubuntu-latest needs: [build, prepare] steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false ref: ${{ needs.prepare.outputs.ref }} - name: Login to DockerHub - uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 - with: - username: ${{ secrets.DOCKERHUB_USER }} - password: ${{ secrets.DOCKERHUB_PASS }} + shell: bash + env: + DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} + DOCKERHUB_PASS: ${{ secrets.DOCKERHUB_PASS }} + run: | + # docker/login-action has no retry, and the registry-1.docker.io + # handshake intermittently goes unreachable for sustained windows + # ("Client.Timeout exceeded"), failing the whole build job. Retry long + # enough (≈5 min) to ride out a typical Docker Hub blip. + n=1 + max=15 + until printf '%s' "${DOCKERHUB_PASS}" | docker login -u "${DOCKERHUB_USER}" --password-stdin; do + if [ "${n}" -ge "${max}" ]; then + echo "::error::docker login (DockerHub) failed after ${max} attempts" + exit 1 + fi + echo "::warning::docker login (DockerHub) attempt ${n} failed (transient registry timeout); retrying in 20s" + n=$((n + 1)) + sleep 20 + done - name: Login to GitHub Container Registry - uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ secrets.PACKAGE_USER }} password: ${{ secrets.PACKAGE_TOKEN }} - name: Setup Docker Buildx id: buildx - uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0 + uses: docker/setup-buildx-action@v4 with: version: latest driver-opts: | @@ -235,7 +267,7 @@ jobs: needs: [merge] if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/notify-slack diff --git a/.github/workflows/_release-pr.yaml b/.github/workflows/_release-pr.yaml index a3f1a164a6..85b78debf8 100644 --- a/.github/workflows/_release-pr.yaml +++ b/.github/workflows/_release-pr.yaml @@ -43,7 +43,7 @@ jobs: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -70,7 +70,7 @@ jobs: PREPARE_RELEASE_BRANCH_NAME: prepare/${{ inputs.release_branch_name }} RELEASE_TAG: ${{ inputs.release_tag }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false fetch-depth: 0 @@ -78,7 +78,7 @@ jobs: - name: Set Git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} - - uses: crazy-max/ghaction-import-gpg@2dc316deee8e90f13e1a351ab510b4d5bc0c82cd # v7.0.0 + - uses: crazy-max/ghaction-import-gpg@v7 with: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} git_user_signingkey: true diff --git a/.github/workflows/backport.yaml b/.github/workflows/backport.yaml index a11ea63dc8..5c67162fcd 100644 --- a/.github/workflows/backport.yaml +++ b/.github/workflows/backport.yaml @@ -31,7 +31,7 @@ jobs: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -42,7 +42,7 @@ jobs: runs-on: ubuntu-slim needs: [dump-contexts-to-log] steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false fetch-depth: 0 @@ -50,7 +50,7 @@ jobs: - name: Set Git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} - - uses: crazy-max/ghaction-import-gpg@2dc316deee8e90f13e1a351ab510b4d5bc0c82cd # v7.0.0 + - uses: crazy-max/ghaction-import-gpg@v7 with: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} git_user_signingkey: true diff --git a/.github/workflows/build-binaries.yaml b/.github/workflows/build-binaries.yaml index 582ef85fe3..69e10396e9 100644 --- a/.github/workflows/build-binaries.yaml +++ b/.github/workflows/build-binaries.yaml @@ -25,7 +25,7 @@ jobs: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -45,7 +45,7 @@ jobs: username: ${{ secrets.PACKAGE_USER }} password: ${{ secrets.PACKAGE_TOKEN }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false fetch-depth: 10 @@ -56,7 +56,7 @@ jobs: run: | make binary/build/zip - name: Upload artifact - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + uses: actions/upload-artifact@v7 with: name: artifacts-linux path: ./artifacts/ @@ -69,7 +69,7 @@ jobs: needs: - build-linux steps: - - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 + - uses: actions/download-artifact@v8 with: name: artifacts-linux path: tmp/linux diff --git a/.github/workflows/build-protobuf.yaml b/.github/workflows/build-protobuf.yaml index cdd33ba90d..93410d5992 100644 --- a/.github/workflows/build-protobuf.yaml +++ b/.github/workflows/build-protobuf.yaml @@ -34,7 +34,7 @@ jobs: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -54,7 +54,7 @@ jobs: username: ${{ secrets.PACKAGE_USER }} password: ${{ secrets.PACKAGE_TOKEN }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config diff --git a/.github/workflows/chatops-help.yaml b/.github/workflows/chatops-help.yaml index 97795db478..a0bbbe6ef3 100644 --- a/.github/workflows/chatops-help.yaml +++ b/.github/workflows/chatops-help.yaml @@ -24,7 +24,7 @@ jobs: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context diff --git a/.github/workflows/chatops.yaml b/.github/workflows/chatops.yaml index 494dc6d6f8..6206fb11e9 100644 --- a/.github/workflows/chatops.yaml +++ b/.github/workflows/chatops.yaml @@ -45,7 +45,7 @@ jobs: if: ${{ !contains(fromJSON('["cloudflare-workers-and-pages", "coderabbitai", "vdaas-ci", "all-contributors"]'), github.event.comment.user.login) }} runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -152,7 +152,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.DISPATCH_TOKEN }} BRANCH: ${{ steps.check_comments_rebase.outputs.BRANCH_NAME }} - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 if: steps.check_comments_rebase.outputs.BOOL_TRIGGERED == 'true' && steps.check_permissions.outputs.EXECUTABLE == 'true' with: persist-credentials: false @@ -228,7 +228,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.DISPATCH_TOKEN }} PR_AUTHOR: ${{ github.event.issue.user.login }} - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 if: steps.check_comments_gen_test.outputs.BOOL_TRIGGERED == 'true' && steps.check_permissions.outputs.EXECUTABLE == 'true' with: persist-credentials: false @@ -236,7 +236,7 @@ jobs: - name: set git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} - - uses: crazy-max/ghaction-import-gpg@2dc316deee8e90f13e1a351ab510b4d5bc0c82cd # v7.0.0 + - uses: crazy-max/ghaction-import-gpg@v7 if: steps.check_comments_gen_test.outputs.BOOL_TRIGGERED == 'true' && steps.check_permissions.outputs.EXECUTABLE == 'true' with: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} @@ -337,7 +337,7 @@ jobs: $API_URL env: GITHUB_TOKEN: ${{ secrets.DISPATCH_TOKEN }} - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 if: steps.check_comments_format.outputs.BOOL_TRIGGERED == 'true' && steps.check_permissions.outputs.EXECUTABLE == 'true' with: persist-credentials: false @@ -346,7 +346,7 @@ jobs: - name: set git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} - - uses: crazy-max/ghaction-import-gpg@2dc316deee8e90f13e1a351ab510b4d5bc0c82cd # v7.0.0 + - uses: crazy-max/ghaction-import-gpg@v7 if: steps.check_comments_format.outputs.BOOL_TRIGGERED == 'true' && steps.check_permissions.outputs.EXECUTABLE == 'true' with: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} diff --git a/.github/workflows/check-conflict.yaml b/.github/workflows/check-conflict.yaml index ec46e47c8e..e604cd4036 100644 --- a/.github/workflows/check-conflict.yaml +++ b/.github/workflows/check-conflict.yaml @@ -23,7 +23,7 @@ jobs: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -34,7 +34,7 @@ jobs: if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false }} runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 22a3199421..9051fe79c2 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,7 +42,7 @@ jobs: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -80,7 +80,7 @@ jobs: password: ${{ secrets.PACKAGE_TOKEN }} steps: - name: Checkout repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false # We must fetch at least the immediate parents so that if this is @@ -90,15 +90,15 @@ jobs: run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} - name: Initialize CodeQL - uses: github/codeql-action/init@38697555549f1db7851b81482ff19f1fa5c4fedc # v4.34.1 + uses: github/codeql-action/init@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2 with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} config-file: ./.github/codeql/codeql-config.yaml - name: Autobuild if: matrix.language == 'go' - uses: github/codeql-action/autobuild@38697555549f1db7851b81482ff19f1fa5c4fedc # v4.34.1 + uses: github/codeql-action/autobuild@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@38697555549f1db7851b81482ff19f1fa5c4fedc # v4.34.1 + uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index aca9f9f614..4a812d8591 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -32,7 +32,7 @@ on: workflow_dispatch: {} jobs: dump-contexts-to-log: - timeout-minutes: 30 + timeout-minutes: 60 permissions: contents: read runs-on: ubuntu-slim @@ -46,7 +46,7 @@ jobs: contents: read uses: ./.github/workflows/_detect-ci-container.yaml coverage: - timeout-minutes: 30 + timeout-minutes: 60 permissions: contents: read runs-on: ubuntu-latest diff --git a/.github/workflows/detect-internal-config-changes.yaml b/.github/workflows/detect-internal-config-changes.yaml index 5105ebd198..09df6d3966 100644 --- a/.github/workflows/detect-internal-config-changes.yaml +++ b/.github/workflows/detect-internal-config-changes.yaml @@ -26,7 +26,7 @@ jobs: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context diff --git a/.github/workflows/dockers-binfmt-image.yaml b/.github/workflows/dockers-binfmt-image.yaml index e49b959dae..6f7f9e3f75 100644 --- a/.github/workflows/dockers-binfmt-image.yaml +++ b/.github/workflows/dockers-binfmt-image.yaml @@ -46,18 +46,12 @@ on: - v*.*.*-* pull_request: paths: - - "!**/*_mock.go" - - "!**/*_test.go" - .github/actions/docker-build/action.yaml - .github/actions/prepare-docker-build/action.yaml - .github/workflows/_docker-image.yaml - .github/workflows/dockers-binfmt-image.yaml - - apis/proto/** - dockers/binfmt/Dockerfile - - go.mod - - go.sum - hack/docker/gen/main.go - - versions/GO_VERSION pull_request_target: types: - opened @@ -65,15 +59,9 @@ on: - synchronize - labeled paths: - - "!**/*_mock.go" - - "!**/*_test.go" - .github/actions/docker-build/action.yaml - .github/actions/prepare-docker-build/action.yaml - .github/workflows/_docker-image.yaml - .github/workflows/dockers-binfmt-image.yaml - - apis/proto/** - dockers/binfmt/Dockerfile - - go.mod - - go.sum - hack/docker/gen/main.go - - versions/GO_VERSION diff --git a/.github/workflows/dockers-buildbase-image.yaml b/.github/workflows/dockers-buildbase-image.yaml index 42c1aea523..f07aec4ad1 100644 --- a/.github/workflows/dockers-buildbase-image.yaml +++ b/.github/workflows/dockers-buildbase-image.yaml @@ -46,18 +46,12 @@ on: - v*.*.*-* pull_request: paths: - - "!**/*_mock.go" - - "!**/*_test.go" - .github/actions/docker-build/action.yaml - .github/actions/prepare-docker-build/action.yaml - .github/workflows/_docker-image.yaml - .github/workflows/dockers-buildbase-image.yaml - - apis/proto/** - dockers/buildbase/Dockerfile - - go.mod - - go.sum - hack/docker/gen/main.go - - versions/GO_VERSION pull_request_target: types: - opened @@ -65,15 +59,9 @@ on: - synchronize - labeled paths: - - "!**/*_mock.go" - - "!**/*_test.go" - .github/actions/docker-build/action.yaml - .github/actions/prepare-docker-build/action.yaml - .github/workflows/_docker-image.yaml - .github/workflows/dockers-buildbase-image.yaml - - apis/proto/** - dockers/buildbase/Dockerfile - - go.mod - - go.sum - hack/docker/gen/main.go - - versions/GO_VERSION diff --git a/.github/workflows/dockers-buildkit-image.yaml b/.github/workflows/dockers-buildkit-image.yaml index ed244aa50c..b7431f326e 100644 --- a/.github/workflows/dockers-buildkit-image.yaml +++ b/.github/workflows/dockers-buildkit-image.yaml @@ -46,18 +46,12 @@ on: - v*.*.*-* pull_request: paths: - - "!**/*_mock.go" - - "!**/*_test.go" - .github/actions/docker-build/action.yaml - .github/actions/prepare-docker-build/action.yaml - .github/workflows/_docker-image.yaml - .github/workflows/dockers-buildkit-image.yaml - - apis/proto/** - dockers/buildkit/Dockerfile - - go.mod - - go.sum - hack/docker/gen/main.go - - versions/GO_VERSION pull_request_target: types: - opened @@ -65,15 +59,9 @@ on: - synchronize - labeled paths: - - "!**/*_mock.go" - - "!**/*_test.go" - .github/actions/docker-build/action.yaml - .github/actions/prepare-docker-build/action.yaml - .github/workflows/_docker-image.yaml - .github/workflows/dockers-buildkit-image.yaml - - apis/proto/** - dockers/buildkit/Dockerfile - - go.mod - - go.sum - hack/docker/gen/main.go - - versions/GO_VERSION diff --git a/.github/workflows/dockers-buildkit-syft-scanner-image.yaml b/.github/workflows/dockers-buildkit-syft-scanner-image.yaml index e86fca5eaa..dc9d342fb5 100644 --- a/.github/workflows/dockers-buildkit-syft-scanner-image.yaml +++ b/.github/workflows/dockers-buildkit-syft-scanner-image.yaml @@ -46,18 +46,12 @@ on: - v*.*.*-* pull_request: paths: - - "!**/*_mock.go" - - "!**/*_test.go" - .github/actions/docker-build/action.yaml - .github/actions/prepare-docker-build/action.yaml - .github/workflows/_docker-image.yaml - .github/workflows/dockers-buildkit-syft-scanner-image.yaml - - apis/proto/** - dockers/buildkit/syft/scanner/Dockerfile - - go.mod - - go.sum - hack/docker/gen/main.go - - versions/GO_VERSION pull_request_target: types: - opened @@ -65,15 +59,9 @@ on: - synchronize - labeled paths: - - "!**/*_mock.go" - - "!**/*_test.go" - .github/actions/docker-build/action.yaml - .github/actions/prepare-docker-build/action.yaml - .github/workflows/_docker-image.yaml - .github/workflows/dockers-buildkit-syft-scanner-image.yaml - - apis/proto/** - dockers/buildkit/syft/scanner/Dockerfile - - go.mod - - go.sum - hack/docker/gen/main.go - - versions/GO_VERSION diff --git a/.github/workflows/dockers-image-scan.yaml b/.github/workflows/dockers-image-scan.yaml index 7ada9273f6..d26a3afe3c 100644 --- a/.github/workflows/dockers-image-scan.yaml +++ b/.github/workflows/dockers-image-scan.yaml @@ -27,7 +27,7 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context diff --git a/.github/workflows/dockers-release-branch-image.yaml b/.github/workflows/dockers-release-branch-image.yaml index b900f7ce45..1e5a5d4470 100644 --- a/.github/workflows/dockers-release-branch-image.yaml +++ b/.github/workflows/dockers-release-branch-image.yaml @@ -27,7 +27,7 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context diff --git a/.github/workflows/e2e-code-bench-agent.yaml b/.github/workflows/e2e-code-bench-agent.yaml index 505ffc21eb..517fbcd607 100644 --- a/.github/workflows/e2e-code-bench-agent.yaml +++ b/.github/workflows/e2e-code-bench-agent.yaml @@ -51,7 +51,7 @@ jobs: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -73,7 +73,7 @@ jobs: password: ${{ secrets.PACKAGE_TOKEN }} options: "--add-host host.docker.internal:host-gateway" steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config @@ -84,7 +84,7 @@ jobs: make hack/benchmark/assets/dataset/${{ env.DATASET }} DATASET_ARGS=${{ env.DATASET_ARGS }} make bench/agent/sequential/grpc - name: Upload artifact - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + uses: actions/upload-artifact@v7 with: name: agent-sequential-grpc path: | @@ -108,7 +108,7 @@ jobs: password: ${{ secrets.PACKAGE_TOKEN }} options: "--add-host host.docker.internal:host-gateway" steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config @@ -119,7 +119,7 @@ jobs: make hack/benchmark/assets/dataset/${{ env.DATASET }} DATASET_ARGS=${{ env.DATASET_ARGS }} make bench/agent/stream - name: Upload artifact - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + uses: actions/upload-artifact@v7 with: name: agent-stream path: | diff --git a/.github/workflows/e2e-max-dim.yaml b/.github/workflows/e2e-max-dim.yaml index 9e99d394b6..a5a1b08bfb 100644 --- a/.github/workflows/e2e-max-dim.yaml +++ b/.github/workflows/e2e-max-dim.yaml @@ -31,7 +31,7 @@ jobs: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -54,7 +54,7 @@ jobs: password: ${{ secrets.PACKAGE_TOKEN }} options: "--add-host host.docker.internal:host-gateway" steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config @@ -130,7 +130,7 @@ jobs: runs-on: ubuntu-slim if: startsWith( github.ref, 'refs/tags/') steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/notify-slack diff --git a/.github/workflows/e2e-profiling.yaml b/.github/workflows/e2e-profiling.yaml index 2b0a31519f..ee7bfd6135 100644 --- a/.github/workflows/e2e-profiling.yaml +++ b/.github/workflows/e2e-profiling.yaml @@ -112,11 +112,11 @@ jobs: --output profiles/${svc}-${t}.pb done done - - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + - uses: actions/upload-artifact@v7 with: name: profiles path: profiles/* - - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 + - uses: actions/cache@v5 id: cache with: path: ./profiles-main @@ -162,7 +162,7 @@ jobs: fi done done - - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + - uses: actions/upload-artifact@v7 with: name: graphs path: graphs/* diff --git a/.github/workflows/e2e.v2.yaml b/.github/workflows/e2e.v2.yaml index 38f663e8fb..e7ffb22117 100644 --- a/.github/workflows/e2e.v2.yaml +++ b/.github/workflows/e2e.v2.yaml @@ -34,7 +34,7 @@ jobs: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -51,7 +51,7 @@ jobs: outputs: result: ${{ steps.build-matrix.outputs.result }} steps: - - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0 + - uses: actions/github-script@v9 id: build-matrix with: result-encoding: string @@ -129,7 +129,7 @@ jobs: password: ${{ secrets.PACKAGE_TOKEN }} options: "--add-host host.docker.internal:host-gateway" steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config @@ -274,7 +274,7 @@ jobs: - e2e runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/notify-slack diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index b5730bfa14..b8f58b74e4 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -33,7 +33,7 @@ jobs: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -56,7 +56,7 @@ jobs: password: ${{ secrets.PACKAGE_TOKEN }} options: "--add-host host.docker.internal:host-gateway" steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config @@ -104,7 +104,7 @@ jobs: password: ${{ secrets.PACKAGE_TOKEN }} options: "--add-host host.docker.internal:host-gateway" steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config @@ -175,7 +175,7 @@ jobs: password: ${{ secrets.PACKAGE_TOKEN }} options: "--add-host host.docker.internal:host-gateway" steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config @@ -227,7 +227,7 @@ jobs: password: ${{ secrets.PACKAGE_TOKEN }} options: "--add-host host.docker.internal:host-gateway" steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config @@ -275,7 +275,7 @@ jobs: password: ${{ secrets.PACKAGE_TOKEN }} options: "--add-host host.docker.internal:host-gateway" steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config @@ -319,7 +319,7 @@ jobs: password: ${{ secrets.PACKAGE_TOKEN }} options: "--add-host host.docker.internal:host-gateway" steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config @@ -360,7 +360,7 @@ jobs: password: ${{ secrets.PACKAGE_TOKEN }} options: "--add-host host.docker.internal:host-gateway" steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config @@ -418,7 +418,7 @@ jobs: password: ${{ secrets.PACKAGE_TOKEN }} options: "--add-host host.docker.internal:host-gateway" steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config @@ -485,7 +485,7 @@ jobs: - e2e-stream-crud-with-readreplica runs-on: ubuntu-latest steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/notify-slack diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index 62c14ec3e9..70206b000a 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -50,7 +50,7 @@ jobs: username: ${{ secrets.PACKAGE_USER }} password: ${{ secrets.PACKAGE_TOKEN }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false fetch-depth: 0 @@ -98,7 +98,7 @@ jobs: fi - name: Create PR if: ${{ steps.check_diff.outputs.HAS_GIT_DIFF == 'true' }} - uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0 + uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 with: author: "${{ secrets.DISPATCH_USER }} " token: ${{ secrets.DISPATCH_TOKEN }} @@ -123,7 +123,7 @@ jobs: username: ${{ secrets.PACKAGE_USER }} password: ${{ secrets.PACKAGE_TOKEN }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/fossa.yaml b/.github/workflows/fossa.yaml index 8b08e89709..57db0d4254 100644 --- a/.github/workflows/fossa.yaml +++ b/.github/workflows/fossa.yaml @@ -29,7 +29,7 @@ jobs: if: github.ref == 'refs/heads/main' || github.event.action == 'labeled' && github.event.label.name == 'actions/fossa' runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -51,15 +51,15 @@ jobs: username: ${{ secrets.PACKAGE_USER }} password: ${{ secrets.PACKAGE_TOKEN }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} - - name: "Install fossa-cli" + - name: Install FOSSA CLI run: | - curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash + make fossa/install - name: "Run for main branch" if: github.ref == 'refs/heads/main' run: | diff --git a/.github/workflows/github-actions-workflow-linter.yaml b/.github/workflows/github-actions-workflow-linter.yaml index 0221a41c5c..4f98005ce4 100644 --- a/.github/workflows/github-actions-workflow-linter.yaml +++ b/.github/workflows/github-actions-workflow-linter.yaml @@ -42,7 +42,7 @@ jobs: persist-credentials: false - name: Set up Go - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 + uses: actions/setup-go@v6 with: go-version-file: versions/GO_VERSION cache: true diff --git a/.github/workflows/helm-lint.yaml b/.github/workflows/helm-lint.yaml index 5da6c410d1..44c7fa2507 100644 --- a/.github/workflows/helm-lint.yaml +++ b/.github/workflows/helm-lint.yaml @@ -33,7 +33,7 @@ jobs: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -55,7 +55,7 @@ jobs: password: ${{ secrets.PACKAGE_TOKEN }} steps: - name: Check out code. - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: set git config @@ -66,7 +66,7 @@ jobs: make helm/schema/vald - name: Run lint for charts/vald run: | - helm lint charts/vald + make helm/lint/vald lint-vald-helm-operator-chart: timeout-minutes: 30 permissions: @@ -81,7 +81,7 @@ jobs: password: ${{ secrets.PACKAGE_TOKEN }} steps: - name: Check out code. - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: set git config @@ -92,7 +92,7 @@ jobs: make helm/schema/vald-helm-operator - name: Run lint for charts/vald-helm-operator run: | - helm lint charts/vald-helm-operator + make helm/lint/vald-helm-operator lint-values-schema: timeout-minutes: 30 permissions: @@ -108,7 +108,7 @@ jobs: options: "--add-host=host.docker.internal:host-gateway" steps: - name: Check out code. - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: set git config diff --git a/.github/workflows/helm.yaml b/.github/workflows/helm.yaml index 8910286850..a3074b7d42 100644 --- a/.github/workflows/helm.yaml +++ b/.github/workflows/helm.yaml @@ -28,7 +28,7 @@ jobs: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -50,7 +50,7 @@ jobs: password: ${{ secrets.PACKAGE_TOKEN }} options: "--add-host host.docker.internal:host-gateway" steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false fetch-depth: 0 @@ -74,7 +74,7 @@ jobs: git checkout . git checkout gh-pages mv -f vald-*.tgz charts/ - helm repo index --url https://vald.vdaas.org/charts charts/ + make helm/repo/index git add charts git commit -S --signoff -m ":robot: Automatically update Helm charts" @@ -97,7 +97,7 @@ jobs: username: ${{ secrets.PACKAGE_USER }} password: ${{ secrets.PACKAGE_TOKEN }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config diff --git a/.github/workflows/issue-metrics.yaml b/.github/workflows/issue-metrics.yaml index 25b3ef1d4c..3180a5aa53 100644 --- a/.github/workflows/issue-metrics.yaml +++ b/.github/workflows/issue-metrics.yaml @@ -53,7 +53,7 @@ jobs: env: TIME_WINDOW: ${{ github.event.inputs.time_window }} - name: Run issue-metrics tool - uses: github/issue-metrics@7bee6e691468e996f6701b0638a5238b1490014e # v4.2.1 + uses: github/issue-metrics@v4 env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} SEARCH_QUERY: "repo:vdaas/vald is:pr created:${{ env.last_month }}" diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml index fb52a84e23..a03789cd00 100644 --- a/.github/workflows/labeler.yaml +++ b/.github/workflows/labeler.yaml @@ -45,7 +45,7 @@ jobs: - name: Set Git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} - - uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1 + - uses: actions/labeler@v6 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" configuration-path: ".github/labeler.yaml" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a1ead43282..79e536ed43 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -30,7 +30,7 @@ jobs: ${{ github.event.pull_request.merged == true && startsWith(github.event.pull_request.title, ':bookmark: :robot: Release') }} runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -42,7 +42,7 @@ jobs: - dump-contexts-to-log runs-on: ubuntu-latest steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false fetch-depth: 0 @@ -70,7 +70,7 @@ jobs: git push origin ${VERSION} echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT - name: Create release - uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1 + uses: softprops/action-gh-release@v3 env: GITHUB_TOKEN: ${{ secrets.DISPATCH_TOKEN }} with: diff --git a/.github/workflows/reviewdog-hadolint.yaml b/.github/workflows/reviewdog-hadolint.yaml index 9ce9220035..a94341b24f 100644 --- a/.github/workflows/reviewdog-hadolint.yaml +++ b/.github/workflows/reviewdog-hadolint.yaml @@ -28,6 +28,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false + fetch-depth: 0 - uses: ./.github/actions/dump-context hadolint: timeout-minutes: 30 @@ -40,6 +41,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false + fetch-depth: 0 - name: Set Git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} diff --git a/.github/workflows/reviewdog-k8s.yaml b/.github/workflows/reviewdog-k8s.yaml index d36b8ce93e..57d5640274 100644 --- a/.github/workflows/reviewdog-k8s.yaml +++ b/.github/workflows/reviewdog-k8s.yaml @@ -38,6 +38,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false + fetch-depth: 0 - uses: ./.github/actions/dump-context detect-ci-container: permissions: @@ -60,6 +61,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false + fetch-depth: 0 - name: Set Git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} @@ -88,6 +90,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false + fetch-depth: 0 - name: Set Git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} @@ -115,6 +118,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false + fetch-depth: 0 - name: Set Git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} diff --git a/.github/workflows/reviewdog-markdown.yaml b/.github/workflows/reviewdog-markdown.yaml index aff6ad4f2c..2908ad2b28 100644 --- a/.github/workflows/reviewdog-markdown.yaml +++ b/.github/workflows/reviewdog-markdown.yaml @@ -29,6 +29,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false + fetch-depth: 0 - uses: ./.github/actions/dump-context languagetool-apis-charts: timeout-minutes: 30 @@ -41,6 +42,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false + fetch-depth: 0 - name: Set Git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} @@ -65,6 +67,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false + fetch-depth: 0 - name: Set Git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} @@ -76,7 +79,7 @@ jobs: patterns: "**/*.md **/*.md.gotmpl !**/CHANGELOG.md !apis/** !charts/**" level: warning language: en-US - disabled_rules: "DOUBLE_PUNCTUATION,WORD_CONTAINS_UNDERSCORE,ARROWS,CURRENCY,DASH_RULE,EN_QUOTES,UPPERCASE_SENTENCE_START" + disabled_rules: "DOUBLE_PUNCTUATION,WORD_CONTAINS_UNDERSCORE,ARROWS,CURRENCY,DASH_RULE,EN_QUOTES,UPPERCASE_SENTENCE_START,LC_AFTER_PERIOD" disabled_categories: "TYPOS,TYPOGRAPHY,STYLE" textlint: timeout-minutes: 30 @@ -89,6 +92,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false + fetch-depth: 0 - name: Set Git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} diff --git a/.github/workflows/reviewdog.yaml b/.github/workflows/reviewdog.yaml index bfa76a5502..ed96732508 100644 --- a/.github/workflows/reviewdog.yaml +++ b/.github/workflows/reviewdog.yaml @@ -20,21 +20,22 @@ on: - "**.go" jobs: dump-contexts-to-log: - timeout-minutes: 30 + timeout-minutes: 60 permissions: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false + fetch-depth: 0 - uses: ./.github/actions/dump-context detect-ci-container: permissions: contents: read uses: ./.github/workflows/_detect-ci-container.yaml golangci-lint: - timeout-minutes: 30 + timeout-minutes: 60 permissions: contents: read pull-requests: write @@ -47,9 +48,10 @@ jobs: username: ${{ secrets.PACKAGE_USER }} password: ${{ secrets.PACKAGE_TOKEN }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false + fetch-depth: 0 - name: Set Git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} @@ -62,7 +64,7 @@ jobs: REPORTER: github-pr-review LEVEL: warning go-build: - timeout-minutes: 30 + timeout-minutes: 60 permissions: contents: read name: runner / go build @@ -74,9 +76,10 @@ jobs: username: ${{ secrets.PACKAGE_USER }} password: ${{ secrets.PACKAGE_TOKEN }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false + fetch-depth: 0 - name: Set Git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} diff --git a/.github/workflows/test-hack.yaml b/.github/workflows/test-hack.yaml index 9a3de2e0a9..975c6540bb 100644 --- a/.github/workflows/test-hack.yaml +++ b/.github/workflows/test-hack.yaml @@ -48,7 +48,7 @@ jobs: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -72,7 +72,7 @@ jobs: run: working-directory: ${{ env.GOPATH }}/${{ env.PROJECT_ROOT_DIR }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false path: ${{ env.PROJECT_ROOT_DIR }} diff --git a/.github/workflows/unit-test-rust.yaml b/.github/workflows/unit-test-rust.yaml index ee859170fe..3d0c7dbda7 100644 --- a/.github/workflows/unit-test-rust.yaml +++ b/.github/workflows/unit-test-rust.yaml @@ -34,7 +34,7 @@ jobs: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -55,7 +55,7 @@ jobs: username: ${{ secrets.PACKAGE_USER }} password: ${{ secrets.PACKAGE_TOKEN }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config diff --git a/.github/workflows/unit-test.yaml b/.github/workflows/unit-test.yaml index cc38e1810e..ce76f44b5f 100644 --- a/.github/workflows/unit-test.yaml +++ b/.github/workflows/unit-test.yaml @@ -39,12 +39,12 @@ on: - "Makefile.d/test.mk" jobs: dump-contexts-to-log: - timeout-minutes: 30 + timeout-minutes: 60 permissions: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -53,7 +53,7 @@ jobs: contents: read uses: ./.github/workflows/_detect-ci-container.yaml test-cmd: - timeout-minutes: 30 + timeout-minutes: 60 permissions: contents: read name: Run tests for cmd packages @@ -65,7 +65,7 @@ jobs: username: ${{ secrets.PACKAGE_USER }} password: ${{ secrets.PACKAGE_TOKEN }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config @@ -78,7 +78,7 @@ jobs: run: | tparse -notests -smallscreen -sort cover -format markdown -file "${GITHUB_WORKSPACE}/test-cmd-gotestfmt-result.json" test-internal: - timeout-minutes: 30 + timeout-minutes: 60 permissions: contents: read name: Run tests for internal packages @@ -90,7 +90,7 @@ jobs: username: ${{ secrets.PACKAGE_USER }} password: ${{ secrets.PACKAGE_TOKEN }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config @@ -103,7 +103,7 @@ jobs: run: | tparse -notests -smallscreen -sort cover -format markdown -file "${GITHUB_WORKSPACE}/test-internal-gotestfmt-result.json" test-pkg: - timeout-minutes: 30 + timeout-minutes: 60 permissions: contents: read name: Run tests for pkg packages @@ -115,7 +115,7 @@ jobs: username: ${{ secrets.PACKAGE_USER }} password: ${{ secrets.PACKAGE_TOKEN }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set Git config diff --git a/.github/workflows/update-deps.yaml b/.github/workflows/update-deps.yaml index a591d61874..9b7b28a06a 100644 --- a/.github/workflows/update-deps.yaml +++ b/.github/workflows/update-deps.yaml @@ -25,7 +25,7 @@ jobs: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context @@ -45,14 +45,14 @@ jobs: username: ${{ secrets.PACKAGE_USER }} password: ${{ secrets.PACKAGE_TOKEN }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false token: ${{ secrets.DISPATCH_TOKEN }} - name: Set Git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} - - uses: crazy-max/ghaction-import-gpg@2dc316deee8e90f13e1a351ab510b4d5bc0c82cd # v7.0.0 + - uses: crazy-max/ghaction-import-gpg@v7 with: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} git_user_signingkey: true @@ -93,7 +93,7 @@ jobs: fi - name: Create PR if: ${{ steps.check_diff.outputs.HAS_GIT_DIFF == 'true' }} - uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0 + uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 with: author: "${{ secrets.DISPATCH_USER }} " token: ${{ secrets.DISPATCH_TOKEN }} diff --git a/.github/workflows/update-protobuf.yaml b/.github/workflows/update-protobuf.yaml index 8667ab1a1e..aea2c0f492 100644 --- a/.github/workflows/update-protobuf.yaml +++ b/.github/workflows/update-protobuf.yaml @@ -29,7 +29,7 @@ jobs: contents: read runs-on: ubuntu-slim steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - uses: ./.github/actions/dump-context diff --git a/.gitignore b/.gitignore index c27a1e02b0..9e2d79ec2f 100644 --- a/.gitignore +++ b/.gitignore @@ -84,3 +84,8 @@ rust/target/ !rust/libs /gen +.codegraph/ +graphify-out/ +.claude/ +CLAUDE.md +.mcp.json diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 91ea935bce..a19a710679 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,11 +19,11 @@ We appreciate your help! ## Contributing Issue -We use [Github Issues](https://github.com/vdaas/vald/issues) to track issues within this repository. -If you can determine the problem you are facing is a bug or issue, you can easily submit the issues. +We use [GitHub Issues](https://github.com/vdaas/vald/issues) to track issues within this repository. +If you can determine the problem you are facing is a bug or issue, you can submit the issue. -If you are unsure whether you have found a bug or security-related issues, please consider asking in the [Vald Slack](https://join.slack.com/t/vald-community/shared_invite/zt-db2ky9o4-R_9p2sVp8xRwztVa8gfnPA) first. -If the behavior you are seeing is confirmed as a bug or issue, it can easily be re-raised in the issue tracker. +When unsure whether you have found a bug or security-related issue, please consider asking in the [Vald Slack](https://join.slack.com/t/vald-community/shared_invite/zt-db2ky9o4-R_9p2sVp8xRwztVa8gfnPA) first. +If the behavior you are seeing is confirmed as a bug or issue, it can be re-raised in the issue tracker. ### Bug Report @@ -35,7 +35,7 @@ Please try to write as detailed as possible in your bug report. When filing an issue, make sure to answer these five questions: -1. What version of Vald are you using (vald docker image version)? +1. What version of Vald are you using (Vald Docker image version)? 2. What operating system and processor architecture are you using? 3. What did you do? 4. What did you expect to see? @@ -49,7 +49,7 @@ The Vald is being developed based on the design-driven process.
The significant change to the library or the architecture should be discussed first. We may ask for detailed documentation before your proposal is accepted.
-Your proposal will be reviewed, discussed, and decided whether it is accepted or declined. +Your proposal will be reviewed, discussed, and accepted or declined. Please submit the proposal [here](https://github.com/vdaas/vald/issues/new?assignees=&labels=type%2Ffeature%2C+priority%2Flow%2C+team%2Fcore&template=feature_request.md&title=) @@ -91,7 +91,7 @@ Follow these steps to make a contribution to any of our open source repositories 2. Set your name and email (these should match the information on your submitted CLA) ```bash - git config --global user.name "Firstname Lastname" + git config --global user.name "Your Name" git config --global user.email "your_email@example.com" ``` @@ -104,9 +104,9 @@ Follow these steps to make a contribution to any of our open source repositories 5. Push to the forked branch (git push origin my-new-feature) 6. Create new Pull Request -Each pull request and commit should be small enough to contain only one purpose. +Each pull request and commit should be small enough to address a single purpose. -Your pull request is much more likely to be accepted if: +Your pull request has a higher chance of being accepted if: - Your pull request includes tests @@ -116,14 +116,14 @@ Your pull request is much more likely to be accepted if: ### How to contribute unit test code -To contribute unit test code, the steps are almost the same as [contribute source code](#how-to-contribute-source-code), but there are some extra steps when implementing a test function which is not implemented before: +To contribute unit test code, the steps are almost the same as [contribute source code](#how-to-contribute-source-code), but there are some extra steps when adding a test function that has not been added before: 1. Execute `make gotests/gen` command under Vald repository -1. Move the test function which you would like to implement above the placeholder `// NOT IMPLEMENTED BELOW` -1. Uncomment and implement the test function +1. Move the test function which you would like to write above the placeholder `// NOT IMPLEMENTED BELOW` +1. Remove the comment markers and write the test function -Vald implmentes unit test code to ensure the quality of Vald. -Each implementation file comes with its unit test file, with `*_test.go` postfix. +Vald implements unit test code to ensure the quality of Vald. +Each implementation file comes with its unit test file, with `*_test.go` suffix. In Vald, unit test files are looks like: ```go @@ -186,10 +186,10 @@ Name your branches with prefixes: `[type]/[area]/[description]` | Field | Explanation | Naming Rule | | :---------- | :------------------------------------ | :------------------------------------------------------------------------------------------------------------------------ | -| type | The PR type | The type of PR can be feature, bug, refactoring, benchmark, security, documentation, dependencies, ci, test, or etc... | +| type | The PR type | Accepted PR types: feature, bug, refactoring, benchmark, security, documentation, dependencies, ci, test, etc. | | area | Area of context | The area of PR can be gateway, agent, agent-sidecar, lb-gateway, or etc... | | description | Summarized description of your branch | The description must be hyphenated. Please use [a-zA-Z0-9] and hyphen as characters, and do not use any other characters. | -(\*) If you changed multiple areas, please list each area with "-". +(\*) If you changed more than one area, please list each area with `-`. -For example, when you add a new feature for internal/servers, the name of the branch will be `feature/internal/add-newfeature-for-servers`. +For example, when you add a new feature for internal/servers, the name of the branch will be `feature/internal/add-new-feature-for-servers`. diff --git a/Makefile b/Makefile index 0ef4045061..9342581153 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ # SHELL = bash +.DEFAULT_GOAL := all ORG ?= vdaas NAME = vald REPO = $(ORG)/$(NAME) @@ -70,19 +71,20 @@ TEMP_DIR := $(eval TEMP_DIR := $(shell mktemp -d))$(TEMP_DIR) USR_LOCAL = /usr/local BINDIR = $(USR_LOCAL)/bin LIB_PATH = $(USR_LOCAL)/lib -$(LIB_PATH): - mkdir -p $(LIB_PATH) +INCLUDE_PATH = $(USR_LOCAL)/include +$(BINDIR) $(LIB_PATH) $(INCLUDE_PATH): + mkdir -p $@ BUN_INSTALL ?= $(USR_LOCAL) -BUN_GLOBAL_BIN ?= $(eval BUN_GLOBAL_BIN := $(shell bun pm bin -g))$(BUN_GLOBAL_BIN) +BUN_GLOBAL_BIN ?= $(eval BUN_GLOBAL_BIN := $(shell command -v bun >/dev/null 2>&1 && bun pm bin -g 2>/dev/null || echo ""))$(BUN_GLOBAL_BIN) GOPRIVATE := $(GOPKG),$(GOPKG)/apis,$(GOPKG)-client-go -GOPROXY := "https://proxy.golang.org,direct" -GOPATH ?= $(eval GOPATH := $(shell go env GOPATH))$(GOPATH) -GOARCH ?= $(eval GOARCH := $(shell go env GOARCH))$(GOARCH) -GOBIN ?= $(eval GOBIN := $(or $(shell go env GOBIN),$(GOPATH)/bin))$(GOBIN) -GOCACHE ?= $(eval GOCACHE := $(shell go env GOCACHE))$(GOCACHE) -GOOS ?= $(eval GOOS := $(shell go env GOOS))$(GOOS) +GOPROXY ?= https://proxy.golang.org,direct +GOPATH ?= $(eval GOPATH := $(shell go env GOPATH 2>/dev/null))$(GOPATH) +GOARCH ?= $(eval GOARCH := $(shell go env GOARCH 2>/dev/null))$(GOARCH) +GOBIN ?= $(eval GOBIN := $(or $(shell go env GOBIN 2>/dev/null),$(GOPATH)/bin))$(GOBIN) +GOCACHE ?= $(eval GOCACHE := $(shell go env GOCACHE 2>/dev/null))$(GOCACHE) +GOOS ?= $(eval GOOS := $(shell go env GOOS 2>/dev/null))$(GOOS) GOEXPERIMENT := "greenteagc,cgocheck2,newinliner,synchashtriemap,jsonv2" GO_CLEAN_DEPS := true GOTEST_TIMEOUT = 30m @@ -96,9 +98,9 @@ CARGO_HOME ?= $(RUST_HOME)/cargo BUF_VERSION := $(eval BUF_VERSION := $(shell cat versions/BUF_VERSION))$(BUF_VERSION) BUSYBOX_VERSION := $(eval BUSYBOX_VERSION := $(shell cat versions/BUSYBOX_VERSION))$(BUSYBOX_VERSION) CMAKE_VERSION := $(eval CMAKE_VERSION := $(shell cat versions/CMAKE_VERSION))$(CMAKE_VERSION) +CSI_DRIVER_HOST_PATH_VERSION := $(eval CSI_DRIVER_HOST_PATH_VERSION := $(shell cat versions/CSI_DRIVER_HOST_PATH_VERSION))$(CSI_DRIVER_HOST_PATH_VERSION) DOCKER_VERSION := $(eval DOCKER_VERSION := $(shell cat versions/DOCKER_VERSION))$(DOCKER_VERSION) FAISS_VERSION := $(eval FAISS_VERSION := $(shell cat versions/FAISS_VERSION))$(FAISS_VERSION) -USEARCH_VERSION := $(eval USEARCH_VERSION := $(shell cat versions/USEARCH_VERSION))$(USEARCH_VERSION) GOLANGCILINT_VERSION := $(eval GOLANGCILINT_VERSION := $(shell cat versions/GOLANGCILINT_VERSION))$(GOLANGCILINT_VERSION) GO_VERSION := $(eval GO_VERSION := $(shell cat versions/GO_VERSION))$(GO_VERSION) GRAFANA_VERSION := $(eval GRAFANA_VERSION := $(shell cat versions/GRAFANA_VERSION))$(GRAFANA_VERSION) @@ -111,18 +113,20 @@ K3S_VERSION := $(eval K3S_VERSION := $(shell cat versions/K3S_VERSION))$(K3S_VER KIND_VERSION := $(eval KIND_VERSION := $(shell cat versions/KIND_VERSION))$(KIND_VERSION) KUBECTL_VERSION := $(eval KUBECTL_VERSION := $(shell cat versions/KUBECTL_VERSION))$(KUBECTL_VERSION) KUBELINTER_VERSION := $(eval KUBELINTER_VERSION := $(shell cat versions/KUBELINTER_VERSION))$(KUBELINTER_VERSION) +LLVM_VERSION := $(eval LLVM_VERSION := $(shell cat versions/LLVM_VERSION))$(LLVM_VERSION) NGT_VERSION := $(eval NGT_VERSION := $(shell cat versions/NGT_VERSION))$(NGT_VERSION) +NINJA_VERSION := $(eval NINJA_VERSION := $(shell cat versions/NINJA_VERSION))$(NINJA_VERSION) OPERATOR_SDK_VERSION := $(eval OPERATOR_SDK_VERSION := $(shell cat versions/OPERATOR_SDK_VERSION))$(OPERATOR_SDK_VERSION) OTEL_OPERATOR_VERSION := $(eval OTEL_OPERATOR_VERSION := $(shell cat versions/OTEL_OPERATOR_VERSION))$(OTEL_OPERATOR_VERSION) PROMETHEUS_STACK_VERSION := $(eval PROMETHEUS_STACK_VERSION := $(shell cat versions/PROMETHEUS_STACK_VERSION))$(PROMETHEUS_STACK_VERSION) PROTOBUF_VERSION := $(eval PROTOBUF_VERSION := $(shell cat versions/PROTOBUF_VERSION))$(PROTOBUF_VERSION) REVIEWDOG_VERSION := $(eval REVIEWDOG_VERSION := $(shell cat versions/REVIEWDOG_VERSION))$(REVIEWDOG_VERSION) RUST_VERSION := $(eval RUST_VERSION := $(shell cat versions/RUST_VERSION))$(RUST_VERSION) +SNAPSHOTTER_VERSION := $(eval SNAPSHOTTER_VERSION := $(shell cat versions/SNAPSHOTTER_VERSION))$(SNAPSHOTTER_VERSION) TELEPRESENCE_VERSION := $(eval TELEPRESENCE_VERSION := $(shell cat versions/TELEPRESENCE_VERSION))$(TELEPRESENCE_VERSION) +USEARCH_VERSION := $(eval USEARCH_VERSION := $(shell cat versions/USEARCH_VERSION))$(USEARCH_VERSION) YQ_VERSION := $(eval YQ_VERSION := $(shell cat versions/YQ_VERSION))$(YQ_VERSION) ZLIB_VERSION := $(eval ZLIB_VERSION := $(shell cat versions/ZLIB_VERSION))$(ZLIB_VERSION) -SNAPSHOTTER_VERSION := $(eval SNAPSHOTTER_VERSION := $(shell cat versions/SNAPSHOTTER_VERSION))$(SNAPSHOTTER_VERSION) -CSI_DRIVER_HOST_PATH_VERSION := $(eval CSI_DRIVER_HOST_PATH_VERSION := $(shell cat versions/CSI_DRIVER_HOST_PATH_VERSION))$(CSI_DRIVER_HOST_PATH_VERSION) OTEL_OPERATOR_RELEASE_NAME ?= opentelemetry-operator PROMETHEUS_RELEASE_NAME ?= prometheus @@ -150,15 +154,15 @@ endif GIT_COMMIT := $(eval GIT_COMMIT := $(shell git rev-list -1 HEAD))$(GIT_COMMIT) ROOTDIR = $(eval ROOTDIR := $(or $(shell git rev-parse --show-toplevel), $(PWD)))$(ROOTDIR) -MAKELISTS := Makefile $(shell find $(ROOTDIR)/Makefile.d -type f -regex ".*\.mk") -PROTODIRS := $(eval PROTODIRS := $(shell find $(ROOTDIR)/apis/proto -type d | sed -e "s%apis/proto/%%g" | grep -v "apis/proto"))$(PROTODIRS) +MAKELISTS := Makefile $(shell cat $(ROOTDIR)/.gitfiles | grep '^Makefile\.d/.*\.mk$$' | sed -e 's%^%$(ROOTDIR)/%') +PROTODIRS := $(eval PROTODIRS := $(shell cat $(ROOTDIR)/.gitfiles | grep '^apis/proto/.*\.proto$$' | xargs -n1 dirname | sort -u | sed -e "s%^apis/proto/%%g" | grep -v '^$$'))$(PROTODIRS) BENCH_DATASET_BASE_DIR = hack/benchmark/assets BENCH_DATASET_MD5_DIR_NAME = checksum BENCH_DATASET_HDF5_DIR_NAME = dataset BENCH_DATASET_MD5_DIR = $(BENCH_DATASET_BASE_DIR)/$(BENCH_DATASET_MD5_DIR_NAME) BENCH_DATASET_HDF5_DIR = $(BENCH_DATASET_BASE_DIR)/$(BENCH_DATASET_HDF5_DIR_NAME) -PROTOS := $(eval PROTOS := $(shell find $(ROOTDIR)/apis/proto -type f -regex ".*\.proto"))$(PROTOS) +PROTOS := $(eval PROTOS := $(shell cat $(ROOTDIR)/.gitfiles | grep '^apis/proto/.*\.proto$$' | sed -e 's%^%$(ROOTDIR)/%'))$(PROTOS) PROTOS_V1 := $(eval PROTOS_V1 := $(filter apis/proto/v1/%.proto,$(PROTOS)))$(PROTOS_V1) PBGOS = $(PROTOS:apis/proto/%.proto=apis/grpc/%.pb.go) SWAGGERS = $(PROTOS:apis/proto/%.proto=apis/swagger/%.swagger.json) @@ -168,48 +172,107 @@ PROTO_VALD_API_DOCS := $(PROTO_VALD_APIS:$(ROOTDIR)/apis/proto/v1/vald/%.proto=$ PROTO_MIRROR_APIS := $(eval PROTO_MIRROR_APIS := $(filter $(ROOTDIR)/apis/proto/v1/mirror/%.proto,$(PROTOS)))$(PROTO_MIRROR_APIS) PROTO_MIRROR_API_DOCS := $(PROTO_MIRROR_APIS:$(ROOTDIR)/apis/proto/v1/mirror/%.proto=$(ROOTDIR)/apis/docs/v1/%.md) -LDFLAGS = -static -fPIC -pthread -std=gnu++23 -lstdc++ -lm -z relro -z now -flto=auto -ffat-lto-objects -march=native -mtune=native -fno-plt -O3 -ffast-math -fvisibility=hidden -ffp-contract=fast -fomit-frame-pointer -fmerge-all-constants -funroll-loops -falign-functions=32 -ffunction-sections -fdata-sections -Wl,--whole-archive -lpthread -Wl,--no-whole-archive +select-binary = $(firstword $(wildcard $(BINDIR)/$(1)) $(wildcard /usr/local/bin/$(1)) $(wildcard /usr/bin/$(1)) $(shell which $(1) 2>/dev/null)) + +CC = $(or $(call select-binary,clang),$(call select-binary,gcc),cc) +CXX = $(or $(call select-binary,clang++),$(call select-binary,g++),c++) +AR = $(or $(call select-binary,llvm-ar),$(call select-binary,ar),ar) +NM = $(or $(call select-binary,llvm-nm),$(call select-binary,nm),nm) +RANLIB = $(or $(call select-binary,llvm-ranlib),$(call select-binary,ranlib),ranlib) +LLD = $(or $(call select-binary,ld.lld),$(call select-binary,lld),ld) +NINJA = $(or $(call select-binary,ninja),ninja) + +export CC CXX AR NM RANLIB LDFLAGS CFLAGS CXXFLAGS SUDO -NGT_LDFLAGS = -fopenmp -lopenblas -llapack -lgfortran +# +# Common flags +# +CFLAGS_BASE = -fPIC + +OPT_CFLAGS = \ + -O3 \ + -fno-plt \ + -ffast-math \ + -ffp-contract=fast \ + -fmerge-all-constants \ + -funroll-loops \ + -falign-functions=32 \ + -ffunction-sections \ + -fdata-sections + +ARCH_CFLAGS_amd64 = \ + -march=x86-64-v3 + +ARCH_CFLAGS_arm64 = \ + -march=armv8.2-a+sve \ + -mtune=neoverse-v1 + +# +# Linker flags only +# +LDFLAGS_BASE = \ + -L$(LIB_PATH) \ + -fuse-ld=$(LLD) \ + -pthread \ + -Wl,-z,relro \ + -Wl,-z,now \ + -Wl,--gc-sections + +# Optional/common libs +LDLIBS_BASE = \ + -lm + +LDFLAGS = $(LDFLAGS_BASE) $(LDLIBS_BASE) +LIBOMP_A = $(firstword $(wildcard $(LIB_PATH)/libomp.a) $(wildcard /usr/lib/llvm-*/lib/libomp.a) $(wildcard /usr/lib/x86_64-linux-gnu/libomp.a) $(wildcard /usr/lib/aarch64-linux-gnu/libomp.a)) +LIBOMP_SO = $(firstword $(wildcard /usr/lib/llvm-*/lib/libomp.so) $(wildcard /usr/lib/x86_64-linux-gnu/libomp.so) $(wildcard /usr/lib/aarch64-linux-gnu/libomp.so)) +LIBOMP = $(or $(LIBOMP_A),$(LIBOMP_SO)) +NGT_LDFLAGS = -L$(LIB_PATH) $(if $(LIBOMP),-L$(dir $(LIBOMP))) -lomp -lopenblas -llapack -lgfortran -pthread FAISS_LDFLAGS = $(NGT_LDFLAGS) -HDF5_LDFLAGS = -lhdf5 -lhdf5_hl -lsz -laec -lz -ldl -lm +HDF5_LDFLAGS = $(LDFLAGS) -lhdf5 -lhdf5_hl -lz -ldl CGO_LDFLAGS = $(FAISS_LDFLAGS) $(HDF5_LDFLAGS) -# TEST_LDFLAGS without -static to avoid conflicts with CGO and glibc dynamic linking requirements -TEST_LDFLAGS_BASE = -fPIC -pthread -std=gnu++23 -lstdc++ -lm -z relro -z now -flto=auto -ffat-lto-objects -march=native -mtune=native -fno-plt -O3 -ffast-math -fvisibility=hidden -ffp-contract=fast -fomit-frame-pointer -fmerge-all-constants -funroll-loops -falign-functions=32 -ffunction-sections -fdata-sections -TEST_LDFLAGS = $(TEST_LDFLAGS_BASE) $(CGO_LDFLAGS) +TEST_LDFLAGS = $(LDFLAGS) $(CGO_LDFLAGS) + +GO_LDFLAGS = -s -w -extld '$(CXX)' +GO_STATIC_LDFLAGS = $(GO_LDFLAGS) -linkmode=external -extldflags '-static' ifeq ($(GOARCH),amd64) -CFLAGS ?= -mno-avx512f -mno-avx512dq -mno-avx512cd -mno-avx512bw -mno-avx512vl -CXXFLAGS ?= $(CFLAGS) +CFLAGS = $(CFLAGS_BASE) $(OPT_CFLAGS) $(ARCH_CFLAGS_amd64) +CXXFLAGS = $(CFLAGS) -std=gnu++23 + ifeq ($(GOOS),darwin) -EXTLDFLAGS ?= -m64 +EXTLDFLAGS ?= -m64 -L$(LIB_PATH) -stdlib=libc++ else -EXTLDFLAGS ?= -m64 -Wl,--no-keep-memory +EXTLDFLAGS ?= -m64 -L$(LIB_PATH) -lstdc++ endif + else ifeq ($(GOARCH),arm64) -CFLAGS ?= + ifeq ($(GOOS),darwin) -HDF5_LDFLAGS = -lhdf5 -lhdf5_hl -lz -ldl -lm -CFLAGS = -I $(shell brew --prefix hdf5)/include +CFLAGS = -I$(shell brew --prefix hdf5)/include CGO_CFLAGS ?= $(CFLAGS) -CGO_LDFLAGS = -L $(shell brew --prefix hdf5)/lib -L $(shell brew --prefix zlib)/lib $(HDF5_LDFLAGS) -EXTLDFLAGS ?= -march=armv8-a +CGO_LDFLAGS = -L$(shell brew --prefix hdf5)/lib -L$(shell brew --prefix zlib)/lib $(HDF5_LDFLAGS) +EXTLDFLAGS ?= -L$(LIB_PATH) -stdlib=libc++ +CXXFLAGS ?= $(CFLAGS) +CXXFLAGS += -std=gnu++23 else -EXTLDFLAGS ?= -march=armv8-a -Wl,--no-keep-memory +CFLAGS = $(CFLAGS_BASE) $(OPT_CFLAGS) $(ARCH_CFLAGS_arm64) +CXXFLAGS = $(CFLAGS) -std=gnu++23 +EXTLDFLAGS ?= -L$(LIB_PATH) -lstdc++ endif -CXXFLAGS ?= $(CFLAGS) + else -CFLAGS ?= -CXXFLAGS ?= $(CFLAGS) +CFLAGS = $(CFLAGS_BASE) $(OPT_CFLAGS) +CXXFLAGS = $(CFLAGS) -std=gnu++23 + ifeq ($(GOOS),darwin) -EXTLDFLAGS ?= +EXTLDFLAGS ?= -L$(LIB_PATH) -stdlib=libc++ else -EXTLDFLAGS ?= -Wl,--no-keep-memory +EXTLDFLAGS ?= -L$(LIB_PATH) -lstdc++ endif endif -BENCH_DATASET_MD5S := $(eval BENCH_DATASET_MD5S := $(shell find $(BENCH_DATASET_MD5_DIR) -type f -regex ".*\.md5"))$(BENCH_DATASET_MD5S) -BENCH_DATASETS = $(BENCH_DATASET_MD5S:$(BENCH_DATASET_MD5_DIR)/%.md5=$(BENCH_DATASET_HDF5_DIR)/%.hdf5) +BENCH_DATASET_MD5S := $(eval BENCH_DATASET_MD5S := $(shell cat $(ROOTDIR)/.gitfiles | grep '^$(BENCH_DATASET_MD5_DIR)/.*\.md5$$' | sed -e 's%^%$(ROOTDIR)/%'))$(BENCH_DATASET_MD5S) +BENCH_DATASETS = $(patsubst $(ROOTDIR)/$(BENCH_DATASET_MD5_DIR)/%.md5,$(BENCH_DATASET_HDF5_DIR)/%.hdf5,$(BENCH_DATASET_MD5S)) BENCH_LARGE_DATASET_BASE_DIR = $(BENCH_DATASET_BASE_DIR)/large/dataset @@ -269,79 +332,54 @@ PROTO_PATHS = \ # - internal/compress/zstd # - internal/db/storage/blob/s3/sdk/s3 # - internal/db/rdb/mysql/dbr -# - internal/test/comparator -# - internal/test/mock -GO_SOURCES = $(eval GO_SOURCES := $(shell find \ - $(ROOTDIR)/cmd \ - $(ROOTDIR)/hack \ - $(ROOTDIR)/internal \ - $(ROOTDIR)/pkg \ - -not -path '$(ROOTDIR)/cmd/cli/*' \ - -not -path '$(ROOTDIR)/internal/core/algorithm/ngt/*' \ - -not -path '$(ROOTDIR)/internal/core/algorithm/faiss/*' \ - -not -path '$(ROOTDIR)/internal/compress/gob/*' \ - -not -path '$(ROOTDIR)/internal/compress/gzip/*' \ - -not -path '$(ROOTDIR)/internal/compress/lz4/*' \ - -not -path '$(ROOTDIR)/internal/compress/zstd/*' \ - -not -path '$(ROOTDIR)/internal/db/storage/blob/s3/sdk/s3/*' \ - -not -path '$(ROOTDIR)/internal/db/rdb/mysql/dbr/*' \ - -not -path '$(ROOTDIR)/internal/test/comparator/*' \ - -not -path '$(ROOTDIR)/internal/test/mock/*' \ - -not -path '$(ROOTDIR)/hack/benchmark/internal/client/ngtd/*' \ - -not -path '$(ROOTDIR)/hack/benchmark/internal/starter/agent/*' \ - -not -path '$(ROOTDIR)/hack/benchmark/internal/starter/external/*' \ - -not -path '$(ROOTDIR)/hack/benchmark/internal/starter/gateway/*' \ - -not -path '$(ROOTDIR)/hack/gorules/*' \ - -not -path '$(ROOTDIR)/hack/license/*' \ - -not -path '$(ROOTDIR)/hack/docker/*' \ - -not -path '$(ROOTDIR)/hack/swagger/*' \ - -not -path '$(ROOTDIR)/hack/tools/*' \ - -not -path '$(ROOTDIR)/tests/*' \ - -type f \ - -name '*.go' \ - -not -regex '.*options?\.go' \ - -not -name '*_test.go' \ - -not -name '*_mock.go' \ - -not -name 'doc.go'))$(GO_SOURCES) -GO_OPTION_SOURCES = $(eval GO_OPTION_SOURCES := $(shell find \ - $(ROOTDIR)/cmd \ - $(ROOTDIR)/hack \ - $(ROOTDIR)/internal \ - $(ROOTDIR)/pkg \ - -not -path '$(ROOTDIR)/cmd/cli/*' \ - -not -path '$(ROOTDIR)/internal/core/algorithm/ngt/*' \ - -not -path '$(ROOTDIR)/internal/core/algorithm/faiss/*' \ - -not -path '$(ROOTDIR)/internal/compress/gob/*' \ - -not -path '$(ROOTDIR)/internal/compress/gzip/*' \ - -not -path '$(ROOTDIR)/internal/compress/lz4/*' \ - -not -path '$(ROOTDIR)/internal/compress/zstd/*' \ - -not -path '$(ROOTDIR)/internal/db/storage/blob/s3/sdk/s3/*' \ - -not -path '$(ROOTDIR)/internal/db/rdb/mysql/dbr/*' \ - -not -path '$(ROOTDIR)/internal/test/comparator/*' \ - -not -path '$(ROOTDIR)/internal/test/mock/*' \ - -not -path '$(ROOTDIR)/hack/benchmark/internal/client/ngtd/*' \ - -not -path '$(ROOTDIR)/hack/benchmark/internal/starter/agent/*' \ - -not -path '$(ROOTDIR)/hack/benchmark/internal/starter/external/*' \ - -not -path '$(ROOTDIR)/hack/benchmark/internal/starter/gateway/*' \ - -not -path '$(ROOTDIR)/hack/gorules/*' \ - -not -path '$(ROOTDIR)/hack/license/*' \ - -not -path '$(ROOTDIR)/hack/docker/*' \ - -not -path '$(ROOTDIR)/hack/swagger/*' \ - -not -path '$(ROOTDIR)/hack/tools/*' \ - -not -path '$(ROOTDIR)/tests/*' \ - -type f \ - -regex '.*options?\.go' \ - -not -name '*_test.go' \ - -not -name '*_mock.go' \ - -not -name 'doc.go'))$(GO_OPTION_SOURCES) - -GO_SOURCES_INTERNAL = $(eval GO_SOURCES_INTERNAL := $(shell find \ - $(ROOTDIR)/internal \ - -type f \ - -name '*.go' \ - -not -name '*_test.go' \ - -not -name '*_mock.go' \ - -not -name 'doc.go'))$(GO_SOURCES_INTERNAL) +space := $() $() +comma := , + +# Directories to exclude from Go sources +GO_EXCLUDE_DIRS = \ + cmd/cli \ + internal/core/algorithm/ngt \ + internal/core/algorithm/faiss \ + internal/compress/gob \ + internal/compress/gzip \ + internal/compress/lz4 \ + internal/compress/zstd \ + internal/db/storage/blob/s3/sdk/s3 \ + internal/db/rdb/mysql/dbr \ + internal/test/comparator \ + internal/test/mock \ + hack/benchmark/internal/client/ngtd \ + hack/benchmark/internal/starter/agent \ + hack/benchmark/internal/starter/external \ + hack/benchmark/internal/starter/gateway \ + hack/gorules \ + hack/license \ + hack/docker \ + hack/swagger \ + hack/tools \ + tests + +GO_EXCLUDE_PATTERN = ^($(subst $(space),|,$(GO_EXCLUDE_DIRS)))/ + +GO_SOURCES = $(eval GO_SOURCES := $(shell cat $(ROOTDIR)/.gitfiles | \ + grep -E '^(cmd|hack|internal|pkg)/' | \ + grep -v -E '$(GO_EXCLUDE_PATTERN)' | \ + grep '\.go$$' | \ + grep -v -E 'options?\.go$$|_test\.go$$|_mock\.go$$|doc\.go$$' \ + ))$(GO_SOURCES) + +GO_OPTION_SOURCES = $(eval GO_OPTION_SOURCES := $(shell cat $(ROOTDIR)/.gitfiles | \ + grep -E '^(cmd|hack|internal|pkg)/' | \ + grep -v -E '$(GO_EXCLUDE_PATTERN)' | \ + grep -E 'options?\.go$$' | \ + grep -v -E '_test\.go$$|_mock\.go$$|doc\.go$$' \ + ))$(GO_OPTION_SOURCES) + +GO_SOURCES_INTERNAL = $(eval GO_SOURCES_INTERNAL := $(shell cat $(ROOTDIR)/.gitfiles | \ + grep '^internal/' | \ + grep '\.go$$' | \ + grep -v -E '_test\.go$$|_mock\.go$$|doc\.go$$' \ + ))$(GO_SOURCES_INTERNAL) GO_TEST_SOURCES = $(GO_SOURCES:%.go=%_test.go) GO_OPTION_TEST_SOURCES = $(GO_OPTION_SOURCES:%.go=%_test.go) @@ -371,13 +409,7 @@ HELM_VALUES ?= $(ROOTDIR)/charts/vald/values/dev.yaml HELM_EXTRA_OPTIONS ?= # extra options to pass to textlint -TEXTLINT_EXTRA_OPTIONS ?= # extra options to pass to cspell -CSPELL_EXTRA_OPTIONS ?= - -COMMA := , -SHELL = bash - E2E_CONFIG_DIR ?= $(ROOTDIR)/tests/v2/e2e/assets E2E_CONFIG_NAME ?= unary_crud.yaml E2E_CONFIG ?= $(E2E_CONFIG_DIR)/$(E2E_CONFIG_NAME) @@ -412,8 +444,37 @@ E2E_UPSERT_FROM ?= 0 E2E_GET_OBJECT_FROM ?= 0 E2E_REMOVE_FROM ?= 0 +JAEGER_OPERATOR_WAIT_DURATION := 0 + TEST_RESULT_DIR ?= /tmp +CERT_DIR ?= $(ROOTDIR)/internal/test/data/tls +DOMAIN ?= $(NAME).$(ORG).org +EMAIL ?= $(NAME)@$(ORG).org +STREET_ADDR ?= 1-3 Kioicho, Tokyo Garden Terrace Kioicho Tower, Chiyoda-ku, Tokyo 102-8282, Japan +CA_CN ?= $(DOMAIN) Root CA +CA_DAYS ?= 3650 +END_ENTITY_DAYS ?= 825 +CA_KEY := $(CERT_DIR)/ca.key +CA_CRT := $(CERT_DIR)/ca.crt +CA_PEM := $(CERT_DIR)/ca.pem +CA_SRL := $(CERT_DIR)/ca.srl + +SERVER_KEY := $(CERT_DIR)/server.key +SERVER_CSR := $(CERT_DIR)/server.csr +SERVER_CRT := $(CERT_DIR)/server.crt + +CLIENT_KEY := $(CERT_DIR)/client.key +CLIENT_CSR := $(CERT_DIR)/client.csr +CLIENT_CRT := $(CERT_DIR)/client.crt + +INVALID_CA := $(CERT_DIR)/invalid-ca.pem +INVALID_SERVER_CRT := $(CERT_DIR)/invalid-server.crt + +TEXTLINT_EXTRA_OPTIONS ?= + +CSPELL_EXTRA_OPTIONS ?= + include Makefile.d/functions.mk .PHONY: maintainer @@ -424,15 +485,35 @@ maintainer: .PHONY: help ## print all available commands help: - @awk '/^[a-zA-Z_0-9%:\\\/-]+:/ { \ - helpMessage = match(lastLine, /^## (.*)/); \ - if (helpMessage) { \ - helpCommand = $$1; \ - helpMessage = substr(lastLine, RSTART + 3, RLENGTH); \ - gsub("\\\\", "", helpCommand); \ - gsub(":+$$", "", helpCommand); \ - printf " \x1b[32;01m%-38s\x1b[0m %s\n", helpCommand, helpMessage; \ - } \ + @awk 'BEGIN { \ + while (getline < ".gitfiles" > 0) if ($$0 !~ /^#/) files[$$0] = 1 \ + } \ + /^[a-zA-Z_0-9%:\\/-]+:/ { \ + if (match(lastLine, /^## (.*)/)) { \ + cmd = $$1; sub(/:+$$/, "", cmd); gsub(/\\\\/, "", cmd); \ + msg = substr(lastLine, RSTART + 3, RLENGTH); \ + if (index(cmd, "%") > 0 && match(msg, /\(([^)]+%[^)]*)\)/)) { \ + pat = substr(msg, RSTART + 1, RLENGTH - 2); \ + msg = substr(msg, 1, RSTART - 1) substr(msg, RSTART + RLENGTH); \ + sub(/^[ \t]+|[ \t]+$$/, "", msg); \ + pre = substr(pat, 1, index(pat, "%") - 1); \ + suf = substr(pat, index(pat, "%") + 1); \ + split("", o); \ + for (f in files) { \ + if (index(f, pre) == 1) { \ + r = substr(f, length(pre) + 1); \ + if (suf == "") { sub(/\/.*/, "", r); if (r != "") o[r] = 1 } \ + else if (index(r, suf) > 0) { sub(suf ".*", "", r); if (index(r, "/") == 0 && r != "") o[r] = 1 } \ + } \ + } \ + n = 0; split("", a); for (v in o) a[++n] = v; \ + for (i=1; i<=n; i++) for (j=i+1; j<=n; j++) if (a[i]>a[j]) { t=a[i]; a[i]=a[j]; a[j]=t } \ + s = ""; \ + for (i=1; i<=n; i++) s = s (s==""?"":", ") a[i]; \ + if (s != "") msg = msg " (Available: " s ")"; \ + } \ + printf " \x1b[32;01m%-38s\x1b[0m %s\n", cmd, msg; \ + } \ } \ { lastLine = $$0 }' $(MAKELISTS) | sort -u @printf "\n" @@ -440,7 +521,12 @@ help: .PHONY: perm ## set correct permissions for dirs and files perm: - find $(ROOTDIR) -type d -not -path "$(ROOTDIR)/.git*" -exec chmod 755 {} \; + @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ + grep -vE '^\s*#' "$(ROOTDIR)/.gitfiles" \ + | xargs -n1 dirname | sort -u \ + | sed -e 's%^%$(ROOTDIR)/%' \ + | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" chmod 755 "{}"; \ + fi @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ grep -vE '^\s*#' "$(ROOTDIR)/.gitfiles" | grep -v gitignore \ | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" chmod 644 "{}"; \ @@ -514,34 +600,6 @@ files: mv $(TEMP_DIR)/.gitfiles.tmp $(ROOTDIR)/.gitfiles; \ fi -.PHONY: license -## add license to files -license: - $(call gen-license,$(ROOTDIR),$(MAINTAINER)) - -.PHONY: dockerfile -## generate dockerfiles -dockerfile: - $(call gen-dockerfile,$(ROOTDIR),$(MAINTAINER)) - -.PHONY: dashboard -## generate dashboards -dashboard: k8s/metrics/grafana/dashboards/00-vald-cluster-overview.yaml - -# To cache the generated dashboards, making a generated file target -k8s/metrics/grafana/dashboards/00-vald-cluster-overview.yaml: $(shell find hack/grafana/gen -type f) versions/GRAFANA_VERSION - $(call gen-dashboard,$(ROOTDIR),$(MAINTAINER)) - -.PHONY: workflow -## generate workflows -workflow: - $(call gen-dockerfile,$(ROOTDIR),$(MAINTAINER)) - -.PHONY: deadlink-checker -## generate deadlink-checker -deadlink-checker: - $(call gen-deadlink-checker,$(ROOTDIR),$(MAINTAINER),$(DEADLINK_CHECK_PATH),$(DEADLINK_IGNORE_PATH),$(DEADLINK_CHECK_FORMAT)) - .PHONY: init ## initialize development environment init: \ @@ -572,489 +630,24 @@ update: - @$(MAKE) rust/deps - @$(MAKE) format -.PHONY: format -## format go codes -format: - - @$(MAKE) format/proto - - @$(MAKE) format/json - - @$(MAKE) format/md - - @$(MAKE) remove/empty/file - - @$(MAKE) replace/busybox - - @$(MAKE) license - - @$(MAKE) dockerfile - - @$(MAKE) format/go - - @$(MAKE) format/go/test - - @$(MAKE) format/yaml - - @$(MAKE) format/make - - @$(MAKE) format/rust - -.PHONY: format/diff -## format diff -format/diff: - @$(MAKE) format/go/diff - @$(MAKE) format/yaml/diff - -.PHONY: remove/empty/file -## removes empty file such as just includes \r \n space tab -remove/empty/file: \ - files - @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ - grep -vE '^\s*#' "$(ROOTDIR)/.gitfiles" | grep -v gitkeep \ - | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" -n1 sh -c ' \ - if [ -f "{}" ] && [ -z "$$(tr -d '\''[:space:]'\'' < "{}")" ]; then rm "{}"; fi'; \ - fi - -.PHONY: format/go -## run golines, gofumpt, goimports for all go files -format/go: \ - crlfmt/install \ - strictgoimports/install \ - golangci-lint/install \ - files - @echo "Formatting Go files..." - @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ - grep -e "\.go$$" "$(ROOTDIR)/.gitfiles" | grep -v "_test\.go$$" \ - | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" bash -c ' \ - echo "Formatting Go file {}" && \ - $(GOBIN)/strictgoimports -w {} && \ - $(GOBIN)/crlfmt -w -diff=false {} && \ - $(BINDIR)/golangci-lint fmt --config $(ROOTDIR)/.golangci.json {}'; \ - fi - go fix $(ROOTDIR)/... - @echo "Go formatting complete." - -.PHONY: format/go/test -## run golines, gofumpt, goimports for go test files -format/go/test: \ - crlfmt/install \ - strictgoimports/install \ - golangci-lint/install \ - files - @echo "Formatting Go Test files..." - @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ - grep -e "_test\.go$$" "$(ROOTDIR)/.gitfiles" \ - | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" bash -c ' \ - echo "Formatting Go Test file {}" && \ - $(GOBIN)/strictgoimports -w {} && \ - $(GOBIN)/crlfmt -w -diff=false {} && \ - $(BINDIR)/golangci-lint fmt --config $(ROOTDIR)/.golangci.json {}'; \ - fi - @echo "Go test file formatting complete." - -.PHONY: format/go/diff -## run golines, gofumpt, goimports for go diff files -format/go/diff: \ - crlfmt/install \ - strictgoimports/install \ - golangci-lint/install \ - files - @echo "Formatting Go Diff files..." - @git diff --name-only --diff-filter=ACM HEAD | grep -e ".go$$" | xargs -I {} -P$(CORES) bash -c ' \ - echo "Formatting Go file {}" && \ - $(GOBIN)/strictgoimports -w {} && \ - $(GOBIN)/crlfmt -w -diff=false {} && \ - $(BINDIR)/golangci-lint fmt --config $(ROOTDIR)/.golangci.json {}' - @echo "Go file formatting complete." - -.PHONY: format/rust -## format rust codes -format/rust: \ - rustfmt/install \ - files - @echo "Formatting Rust files..." - @cd $(ROOTDIR)/rust && $(CARGO_HOME)/bin/cargo fmt - @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ - grep -e "\.rs$$" "$(ROOTDIR)/.gitfiles" \ - | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" bash -c ' \ - echo "Formatting Rust file {}" && \ - $(CARGO_HOME)/bin/rustfmt --edition 2024 --style-edition 2024 {}'; \ - fi - @echo "Rust formatting complete." - -.PHONY: format/yaml -## format yaml file -format/yaml: - - @$(MAKE) prettier/install - - @$(MAKE) yamlfmt/install - - @$(MAKE) clean/yaml - - @$(MAKE) files - @echo "Formatting YAML files..." - - @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ - grep -E '\.ya?ml\b' "$(ROOTDIR)/.gitfiles" | grep -Ev '(templates|s3)' \ - | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" bash -c ' \ - echo "Formatting YAML file {}" && \ - yamlfmt {} && \ - bunx prettier --write {}'; \ - fi - @echo "YAML file formatting complete." - -.PHONY: clean/yaml -## cleanup empty yaml file -clean/yaml: - - @$(MAKE) files - - @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ - grep -E '\.ya?ml\b' "$(ROOTDIR)/.gitfiles" | grep -Ev '(templates|s3)' \ - | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" bash -c ' \ - if ! grep -qEv "^(\\s*#|---|\\s*)$$" "{}"; then \ - echo "Deleting {}"; rm -rf "{}"; \ - fi'; \ - fi - -.PHONY: format/yaml/diff -format/yaml/diff: - - @$(MAKE) prettier/install - - @$(MAKE) yamlfmt/install - - @$(MAKE) clean/yaml - - @$(MAKE) files - @echo "Formatting YAML files..." - - @git diff --name-only --diff-filter=ACM HEAD | grep -E '\.ya?ml\b' | grep -Ev '(templates|s3)' | xargs -I {} -P$(CORES) bash -c ' \ - echo "Formatting YAML file {}" && \ - yamlfmt {} && \ - bunx prettier --write {}' - @echo "YAML file formatting complete." - -.PHONY: format/make -format/make: \ - mbake/install \ - files - @echo "Formatting Makefile and Makefile.d/*.mk files..." - - @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ - grep "Makefile" "$(ROOTDIR)/.gitfiles" \ - | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" bash -c ' \ - echo "Formatting Makefile file {}" && mbake format {} '; \ - fi - @echo "Makefile formatting complete." - -.PHONY: format/md -format/md: \ - prettier/install - @echo "Formatting Makrdown files..." - - @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ - grep -E '\.md\b' "$(ROOTDIR)/.gitfiles" \ - | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" bash -c ' \ - echo "Formatting Markdown file {}" && \ - bunx prettier --write {}'; \ - fi - @echo "Markdown file formatting complete." - -.PHONY: format/json -format/json: \ - prettier/install - @echo "Formatting JSON files..." - - @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ - grep -E '\.json\b' "$(ROOTDIR)/.gitfiles" \ - | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" bash -c ' \ - echo "Formatting JSON file {}" && \ - bunx prettier --write {}'; \ - fi - @echo "JSON file formatting complete." - -.PHONY: format/proto -format/proto: \ - buf/install - buf format -w - -.PHONY: deps -## resolve dependencies -deps: \ - proto/deps \ - deps/install - -.PHONY: deps/install -## install dependencies -deps/install: \ - crlfmt/install \ - golines/install \ - gofumpt/install \ - strictgoimports/install \ - goimports/install \ - prettier/install \ - go/deps \ - go/example/deps \ - rust/deps - -.PHONY: version -## print vald version -version: \ - version/vald - -.PHONY: version/vald -## print vald version -version/vald: - @echo $(VERSION) - -.PHONY: version/go -## print go version -version/go: - @echo $(GO_VERSION) - -.PHONY: version/rust -## print rust version -version/rust: - @echo $(RUST_VERSION) - -.PHONY: version/ngt -## print NGT version -version/ngt: - @echo $(NGT_VERSION) - -.PHONY: version/faiss -## print Faiss version -version/faiss: - @echo $(FAISS_VERSION) - -.PHONY: version/usearch -## print usearch version -version/usearch: - @echo $(USEARCH_VERSION) - -.PHONY: version/docker -## print Kubernetes version -version/docker: - @echo $(DOCKER_VERSION) - -.PHONY: version/k8s -## print Kubernetes version -version/k8s: - @echo $(KUBECTL_VERSION) - -.PHONY: version/kind -version/kind: - @echo $(KIND_VERSION) - -.PHONY: version/helm -version/helm: - @echo $(HELM_VERSION) - -.PHONY: version/yq -version/yq: - @echo $(YQ_VERSION) - -.PHONY: version/telepresence -version/telepresence: - @echo $(TELEPRESENCE_VERSION) - -.PHONY: ngt/install -## install NGT -ngt/install: $(USR_LOCAL)/include/NGT/Capi.h -$(USR_LOCAL)/include/NGT/Capi.h: - git clone --depth 1 --branch v$(NGT_VERSION) https://github.com/NGT-labs/NGT $(TEMP_DIR)/NGT-$(NGT_VERSION) - cd $(TEMP_DIR)/NGT-$(NGT_VERSION) && \ - cmake -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_POLICY_VERSION_MINIMUM=$(CMAKE_VERSION) \ - -DBUILD_SHARED_LIBS=OFF \ - -DBUILD_STATIC_EXECS=ON \ - -DBUILD_TESTING=OFF \ - -DNGT_LARGE_DATASET=ON \ - -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \ - -DCMAKE_C_FLAGS="$(CFLAGS) -flto=auto -ffat-lto-objects" \ - -DCMAKE_CXX_FLAGS="$(CXXFLAGS) -flto=auto -ffat-lto-objects" \ - -DCMAKE_INSTALL_PREFIX=$(USR_LOCAL) \ - $(NGT_EXTRA_CMAKE_FLAGS) \ - -B $(TEMP_DIR)/NGT-$(NGT_VERSION)/build $(TEMP_DIR)/NGT-$(NGT_VERSION) - make -C $(TEMP_DIR)/NGT-$(NGT_VERSION)/build -j$(CORES) ngt - make -C $(TEMP_DIR)/NGT-$(NGT_VERSION)/build install - cd $(ROOTDIR) - rm -rf $(TEMP_DIR)/NGT-$(NGT_VERSION) - ldconfig - -.PHONY: faiss/install -## install Faiss -faiss/install: $(LIB_PATH)/libfaiss.a -$(LIB_PATH)/libfaiss.a: - curl -fsSL https://github.com/facebookresearch/faiss/archive/v$(FAISS_VERSION).tar.gz -o $(TEMP_DIR)/v$(FAISS_VERSION).tar.gz - tar zxf $(TEMP_DIR)/v$(FAISS_VERSION).tar.gz -C $(TEMP_DIR)/ - cd $(TEMP_DIR)/faiss-$(FAISS_VERSION) && \ - cmake -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_POLICY_VERSION_MINIMUM=$(CMAKE_VERSION) \ - -DBUILD_SHARED_LIBS=OFF \ - -DBUILD_STATIC_EXECS=ON \ - -DBUILD_TESTING=OFF \ - -DFAISS_ENABLE_PYTHON=OFF \ - -DFAISS_ENABLE_GPU=OFF \ - -DBLA_VENDOR=OpenBLAS \ - -DCMAKE_C_FLAGS="$(LDFLAGS)" \ - -DCMAKE_EXE_LINKER_FLAGS="$(FAISS_LDFLAGS)" \ - -DCMAKE_INSTALL_PREFIX=$(USR_LOCAL) \ - -B $(TEMP_DIR)/faiss-$(FAISS_VERSION)/build $(TEMP_DIR)/faiss-$(FAISS_VERSION) - make -C $(TEMP_DIR)/faiss-$(FAISS_VERSION)/build -j$(CORES) faiss - make -C $(TEMP_DIR)/faiss-$(FAISS_VERSION)/build install - cd $(ROOTDIR) - rm -rf $(TEMP_DIR)/v$(FAISS_VERSION).tar.gz $(TEMP_DIR)/faiss-$(FAISS_VERSION) - ldconfig - -.PHONY: usearch/install -## install usearch -usearch/install: $(USR_LOCAL)/include/usearch.h -$(USR_LOCAL)/include/usearch.h: - git clone --depth 1 --recursive --branch v$(USEARCH_VERSION) https://github.com/unum-cloud/usearch $(TEMP_DIR)/usearch-$(USEARCH_VERSION) - cd $(TEMP_DIR)/usearch-$(USEARCH_VERSION) && \ - cmake -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_POLICY_VERSION_MINIMUM=$(CMAKE_VERSION) \ - -DBUILD_SHARED_LIBS=OFF \ - -DBUILD_TESTING=OFF \ - -DUSEARCH_BUILD_LIB_C=ON \ - -DUSEARCH_USE_FP16LIB=ON \ - -DUSEARCH_USE_OPENMP=ON \ - -DUSEARCH_USE_SIMSIMD=ON \ - -DUSEARCH_USE_JEMALLOC=ON \ - -DCMAKE_C_FLAGS="$(CFLAGS)" \ - -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \ - -DCMAKE_INSTALL_PREFIX=$(USR_LOCAL) \ - -DCMAKE_INSTALL_LIBDIR=$(LIB_PATH) \ - -B $(TEMP_DIR)/usearch-$(USEARCH_VERSION)/build $(TEMP_DIR)/usearch-$(USEARCH_VERSION) - cmake --build $(TEMP_DIR)/usearch-$(USEARCH_VERSION)/build -j$(CORES) - cmake --install $(TEMP_DIR)/usearch-$(USEARCH_VERSION)/build --prefix=$(USR_LOCAL) - cd $(ROOTDIR) - cp $(TEMP_DIR)/usearch-$(USEARCH_VERSION)/build/libusearch_static_c.a $(LIB_PATH)/libusearch_c.a - cp $(TEMP_DIR)/usearch-$(USEARCH_VERSION)/build/libusearch_static_c.a $(LIB_PATH)/libusearch_static_c.a - cp $(TEMP_DIR)/usearch-$(USEARCH_VERSION)/build/libusearch_c.so $(LIB_PATH)/libusearch_c.so - cp $(TEMP_DIR)/usearch-$(USEARCH_VERSION)/c/usearch.h $(USR_LOCAL)/include/usearch.h - rm -rf $(TEMP_DIR)/usearch-$(USEARCH_VERSION) - ldconfig - -.PHONY: cmake/install -## install CMAKE -cmake/install: - git clone --depth 1 --branch v$(CMAKE_VERSION) https://github.com/Kitware/CMake.git $(TEMP_DIR)/CMAKE-$(CMAKE_VERSION) - cd $(TEMP_DIR)/CMAKE-$(CMAKE_VERSION) && \ - cmake -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=OFF \ - -DBUILD_TESTING=OFF \ - -DCMAKE_C_FLAGS="$(CFLAGS)" \ - -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \ - -DCMAKE_INSTALL_PREFIX=$(USR_LOCAL) \ - -B $(TEMP_DIR)/CMAKE-$(CMAKE_VERSION)/build $(TEMP_DIR)/CMAKE-$(CMAKE_VERSION) - make -C $(TEMP_DIR)/CMAKE-$(CMAKE_VERSION)/build -j$(CORES) cmake - make -C $(TEMP_DIR)/CMAKE-$(CMAKE_VERSION)/build install - cd $(ROOTDIR) - rm -rf $(TEMP_DIR)/CMAKE-$(CMAKE_VERSION) - ldconfig - -.PHONY: lint -## run lints -lint: \ - docs/lint \ - files/lint \ - vet \ - go/lint \ - workflow/lint - -.PHONY: go/lint -go/lint: - $(call go-lint) - -.PHONY: vet -## run go vet -vet: - $(call go-vet) - -.PHONY: docs/lint -## run lint for document -docs/lint: \ - docs/cspell \ - docs/textlint - -.PHONY: files/lint -## run lint for document -files/lint: \ - files/cspell \ - files/textlint - -.PHONY: workflow/lint workflow/fix actionlint/lint ghalint/lint -## run lint for workflow files -workflow/lint: - @echo "Please run make workflow/fix beforehand" - @echo "Linting workflow files..." - @printf '%s\0' \ - "actionlint/lint" \ - "ghalint/lint" \ - | xargs -0 -I{} -P$(CORES) $(MAKE) --no-print-directory {} - @echo "Workflow linting completed." - -## run lint for workflow files -workflow/fix: - @$(MAKE) --no-print-directory pinact/lint - @$(MAKE) --no-print-directory ghatm/lint - -ACTIONLINT_IGNORES = \ - -ignore 'when a reusable workflow is called with "uses", "timeout-minutes" is not available' \ - -ignore 'property "tag" is not defined in object type' \ - -ignore 'input "file" is not defined in action "codecov/codecov-action@v5"' \ - -ignore 'label "ubuntu-slim" is unknown.' # TODO: remove this line after https://github.com/rhysd/actionlint/issues/587 is merged - -actionlint/lint: actionlint/install - @$(GOBIN)/actionlint -shellcheck= $(ACTIONLINT_IGNORES) - -ghalint/lint: \ - ghalint/install - @$(GOBIN)/ghalint run .github/workflows - -pinact/lint: \ - pinact/install - @GITHUB_TOKEN=$(shell gh auth token 2>/dev/null || :) $(GOBIN)/pinact run - -ghatm/lint: \ - ghatm/install - @$(GOBIN)/ghatm set - -.PHONY: docs/textlint -## run textlint for document -docs/textlint: \ - textlint/install - textlint $(ROOTDIR)/docs/**/*.md $(TEXTLINT_EXTRA_OPTIONS) - -.PHONY: files/textlint -## run textlint for document -files/textlint: \ - files \ - textlint/install - @if [ -f "$(ROOTDIR)/.gitfiles" ]; then textlint "$(ROOTDIR)/.gitfiles" $(TEXTLINT_EXTRA_OPTIONS); fi - -.PHONY: docs/cspell -## run cspell for document -docs/cspell: \ - cspell/install - cspell $(ROOTDIR)/docs/**/*.md --show-suggestions $(CSPELL_EXTRA_OPTIONS) - -.PHONY: files/cspell -## run cspell for document -files/cspell: \ - files \ - cspell/install - @if [ -f "$(ROOTDIR)/.gitfiles" ]; then cspell "$(ROOTDIR)/.gitfiles" --show-suggestions $(CSPELL_EXTRA_OPTIONS); fi - -.PHONY: changelog/update -## update changelog -changelog/update: - echo "# CHANGELOG" > $(TEMP_DIR)/CHANGELOG.md - echo "" >> $(TEMP_DIR)/CHANGELOG.md - $(MAKE) -s changelog/next/print >> $(TEMP_DIR)/CHANGELOG.md - echo "" >> $(TEMP_DIR)/CHANGELOG.md - tail -n +2 $(ROOTDIR)/CHANGELOG.md >> $(TEMP_DIR)/CHANGELOG.md - mv -f $(TEMP_DIR)/CHANGELOG.md $(ROOTDIR)/CHANGELOG.md - -.PHONY: changelog/next/print -## print next changelog entry -changelog/next/print: - @cat $(ROOTDIR)/hack/CHANGELOG.template.md | \ - sed -e 's/{{ version }}/$(VERSION)/g' - @echo "$$BODY" - include Makefile.d/actions.mk include Makefile.d/bench.mk include Makefile.d/build.mk include Makefile.d/dependencies.mk include Makefile.d/docker.mk include Makefile.d/e2e.mk +include Makefile.d/format.mk +include Makefile.d/generate.mk include Makefile.d/git.mk include Makefile.d/helm.mk include Makefile.d/k3d.mk include Makefile.d/k0s.mk include Makefile.d/k8s.mk include Makefile.d/kind.mk +include Makefile.d/lint.mk include Makefile.d/minikube.mk include Makefile.d/proto.mk include Makefile.d/test.mk include Makefile.d/tools.mk include Makefile.d/tls.mk +include Makefile.d/version.mk \ No newline at end of file diff --git a/Makefile.d/actions.mk b/Makefile.d/actions.mk index cb37b9f6a9..192816414e 100644 --- a/Makefile.d/actions.mk +++ b/Makefile.d/actions.mk @@ -14,7 +14,11 @@ # limitations under the License. # -ACTIONS_LIST := $(eval ACTIONS_LIST := $(shell grep --include=\*.{yml,yaml} -rohE 'uses: .+' .github/ | awk '!/\.github/ && !seen[$$0]++ {sub(/@.*/, "", $$0); print substr($$0, 7)}'))$(ACTIONS_LIST) +ACTIONS_LIST := $(eval ACTIONS_LIST := $(shell grep \ + --include=\*.{yml,yaml} \ + -rohE 'uses: .+' .github/ | \ + awk '!/\.github/ && !seen[$$0]++ {sub(/@.*/, "", $$0); print substr($$0, 7)}' \ + ))$(ACTIONS_LIST) .PHONY: list/actions ## show variation of external actions @@ -24,4 +28,4 @@ list/actions: .PHONY: update/actions ## update github actions version update/actions: - $(call update-github-actions, $(ACTIONS_LIST)) + $(call update-github-actions, $(ACTIONS_LIST)) \ No newline at end of file diff --git a/Makefile.d/bench.mk b/Makefile.d/bench.mk index a7aebeefcb..4c377ff26f 100644 --- a/Makefile.d/bench.mk +++ b/Makefile.d/bench.mk @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + $(BENCH_DATASETS): $(BENCH_DATASET_MD5S) $(BENCH_DATASET_HDF5_DIR) @$(call green, "downloading datasets for benchmark...") curl -fsSL -o $@ https://ann-benchmarks.com/$(patsubst $(BENCH_DATASET_HDF5_DIR)/%.hdf5,%.hdf5,$@) @@ -142,23 +143,8 @@ bench/core/ngt/sequential: \ ## run pprof of benchmark for NGT core sequential methods pprof/core/ngt/sequential.bin: \ hack/benchmark/core/ngt/ngt_bench_test.go - mkdir -p $(dir $@) - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test \ - -mod=readonly \ - -count=1 \ - -timeout=1h \ - -bench=NGTSequential \ - -benchmem \ - -o $@ \ - -cpuprofile $(patsubst %.bin,%.cpu.out,$@) \ - -memprofile $(patsubst %.bin,%.mem.out,$@) \ - -trace $(patsubst %.bin,%.trace.out,$@) \ - $< \ - -dataset=$(DATASET_ARGS) + $(call go-bench,NGTSequential,$@,$< \ + -dataset=$(DATASET_ARGS)) .PHONY: bench/core/ngt/parallel ## run benchmark for NGT core parallel methods @@ -170,23 +156,8 @@ bench/core/ngt/parallel: \ ## run pprof of benchmark for NGT core parallel methods pprof/core/ngt/parallel.bin: \ hack/benchmark/core/ngt/ngt_bench_test.go - mkdir -p $(dir $@) - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test \ - -mod=readonly \ - -count=1 \ - -timeout=1h \ - -bench=NGTParallel \ - -benchmem \ - -o $@ \ - -cpuprofile $(patsubst %.bin,%.cpu.out,$@) \ - -memprofile $(patsubst %.bin,%.mem.out,$@) \ - -trace $(patsubst %.bin,%.trace.out,$@) \ - $< \ - -dataset=$(DATASET_ARGS) + $(call go-bench,NGTParallel,$@,$< \ + -dataset=$(DATASET_ARGS)) .PHONY: bench/agent ## run benchmarks for vald agent @@ -205,23 +176,8 @@ bench/agent/stream: \ pprof/agent/stream.bin: \ hack/benchmark/e2e/agent/core/ngt/ngt_bench_test.go \ ngt/install - mkdir -p $(dir $@) - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test \ - -mod=readonly \ - -count=1 \ - -timeout=1h \ - -bench=gRPC_Stream \ - -benchmem \ - -o $@ \ - -cpuprofile $(patsubst %.bin,%.cpu.out,$@) \ - -memprofile $(patsubst %.bin,%.mem.out,$@) \ - -trace $(patsubst %.bin,%.trace.out,$@) \ - $< \ - -dataset=$(DATASET_ARGS) + $(call go-bench,gRPC_Stream,$@,$< \ + -dataset=$(DATASET_ARGS)) .PHONY: bench/agent/sequential/grpc ## run benchmark for agent gRPC sequential @@ -232,23 +188,8 @@ bench/agent/sequential/grpc: \ pprof/agent/sequential/grpc.bin: \ hack/benchmark/e2e/agent/core/ngt/ngt_bench_test.go \ ngt/install - mkdir -p $(dir $@) - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test \ - -mod=readonly \ - -count=1 \ - -timeout=1h \ - -bench=gRPC_Sequential \ - -benchmem \ - -o $@ \ - -cpuprofile $(patsubst %.bin,%.cpu.out,$@) \ - -memprofile $(patsubst %.bin,%.mem.out,$@) \ - -trace $(patsubst %.bin,%.trace.out,$@) \ - $< \ - -dataset=$(DATASET_ARGS) + $(call go-bench,gRPC_Sequential,$@,$< \ + -dataset=$(DATASET_ARGS)) .PHONY: bench/gateway ## run benchmarks for gateway @@ -263,23 +204,8 @@ bench/gateway/sequential: \ pprof/gateway/sequential.bin: \ hack/benchmark/e2e/gateway/vald/vald_bench_test.go \ ngt/install - mkdir -p $(dir $@) - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test \ - -mod=readonly \ - -count=1 \ - -timeout=1h \ - -bench=Sequential \ - -benchmem \ - -o $@ \ - -cpuprofile $(patsubst %.bin,%.cpu.out,$@) \ - -memprofile $(patsubst %.bin,%.mem.out,$@) \ - -trace $(patsubst %.bin,%.trace.out,$@) \ - $< \ - -dataset=$(DATASET_ARGS) + $(call go-bench,Sequential,$@,$< \ + -dataset=$(DATASET_ARGS)) .PHONY: profile ## execute profile @@ -313,10 +239,7 @@ metrics/agent: \ metrics/agent/core/ngt: $(ROOTDIR)/metrics.gob $(ROOTDIR)/metrics.gob: - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ + $(GO_TEST_ENV) \ go test \ -mod=readonly \ -v --timeout=1h \ @@ -328,9 +251,7 @@ $(ROOTDIR)/metrics.gob: metrics/chart: $(ROOTDIR)/assets/image/metrics.svg $(ROOTDIR)/assets/image/metrics.svg: $(ROOTDIR)/metrics.gob - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ + $(GO_ENV_VARS) \ go run \ $(ROOTDIR)/hack/tools/metrics/main.go \ -title "Recall-QPS" \ @@ -351,4 +272,4 @@ bench/kill: | grep -v "rg go" \ | grep -v "grep go" \ | awk '{print $1}' \ - | xargs -P$(CORES) kill -9 + | xargs -P$(CORES) kill -9 \ No newline at end of file diff --git a/Makefile.d/build.mk b/Makefile.d/build.mk index e13856491e..3694c7a00e 100644 --- a/Makefile.d/build.mk +++ b/Makefile.d/build.mk @@ -64,74 +64,84 @@ cmd/agent/core/faiss/faiss: \ $(call go-build,agent/core/faiss,-linkmode 'external',$(LDFLAGS) $(FAISS_LDFLAGS), cgo,FAISS-$(FAISS_VERSION),$@) cmd/agent/sidecar/sidecar: - $(eval CGO_ENABLED = 0) - $(call go-build,agent/sidecar,,-static,,,$@) + $(eval CGO_ENABLED = 1) + $(call go-build,agent/sidecar,-linkmode 'external',$(LDFLAGS) $(EXTLDFLAGS), cgo,,$@) cmd/discoverer/k8s/discoverer: - $(eval CGO_ENABLED = 0) - $(call go-build,discoverer/k8s,,-static,,,$@) + $(eval CGO_ENABLED = 1) + $(call go-build,discoverer/k8s,-linkmode 'external',$(LDFLAGS) $(EXTLDFLAGS), cgo,,$@) cmd/gateway/lb/lb: - $(eval CGO_ENABLED = 0) - $(call go-build,gateway/lb,,-static,,,$@) + $(eval CGO_ENABLED = 1) + $(call go-build,gateway/lb,-linkmode 'external',$(LDFLAGS) $(EXTLDFLAGS), cgo,,$@) cmd/gateway/filter/filter: - $(eval CGO_ENABLED = 0) - $(call go-build,gateway/filter,,-static,,,$@) + $(eval CGO_ENABLED = 1) + $(call go-build,gateway/filter,-linkmode 'external',$(LDFLAGS) $(EXTLDFLAGS), cgo,,$@) cmd/gateway/mirror/mirror: - $(eval CGO_ENABLED = 0) - $(call go-build,gateway/mirror,,-static,,,$@) + $(eval CGO_ENABLED = 1) + $(call go-build,gateway/mirror,-linkmode 'external',$(LDFLAGS) $(EXTLDFLAGS), cgo,,$@) cmd/manager/index/index: - $(eval CGO_ENABLED = 0) - $(call go-build,manager/index,,-static,,,$@) + $(eval CGO_ENABLED = 1) + $(call go-build,manager/index,-linkmode 'external',$(LDFLAGS) $(EXTLDFLAGS), cgo,,$@) cmd/index/job/correction/index-correction: - $(eval CGO_ENABLED = 0) - $(call go-build,index/job/correction,,-static,,,$@) + $(eval CGO_ENABLED = 1) + $(call go-build,index/job/correction,-linkmode 'external',$(LDFLAGS) $(EXTLDFLAGS), cgo,,$@) cmd/index/job/creation/index-creation: - $(eval CGO_ENABLED = 0) - $(call go-build,index/job/creation,,-static,,,$@) + $(eval CGO_ENABLED = 1) + $(call go-build,index/job/creation,-linkmode 'external',$(LDFLAGS) $(EXTLDFLAGS), cgo,,$@) cmd/index/job/deletion/index-deletion: - $(eval CGO_ENABLED = 0) - $(call go-build,index/job/deletion,,-static,,,$@) + $(eval CGO_ENABLED = 1) + $(call go-build,index/job/deletion,-linkmode 'external',$(LDFLAGS) $(EXTLDFLAGS), cgo,,$@) cmd/index/job/exportation/index-exportation: - $(eval CGO_ENABLED = 0) - $(call go-build,index/job/exportation,,-static,,,$@) + $(eval CGO_ENABLED = 1) + $(call go-build,index/job/exportation,-linkmode 'external',$(LDFLAGS) $(EXTLDFLAGS), cgo,,$@) cmd/index/job/save/index-save: - $(eval CGO_ENABLED = 0) - $(call go-build,index/job/save,,-static,,,$@) + $(eval CGO_ENABLED = 1) + $(call go-build,index/job/save,-linkmode 'external',$(LDFLAGS) $(EXTLDFLAGS), cgo,,$@) cmd/index/job/readreplica/rotate/readreplica-rotate: - $(eval CGO_ENABLED = 0) - $(call go-build,index/job/readreplica/rotate,,-static,,,$@) + $(eval CGO_ENABLED = 1) + $(call go-build,index/job/readreplica/rotate,-linkmode 'external',$(LDFLAGS) $(EXTLDFLAGS), cgo,,$@) cmd/index/operator/index-operator: - $(eval CGO_ENABLED = 0) - $(call go-build,index/operator,,-static,,,$@) + $(eval CGO_ENABLED = 1) + $(call go-build,index/operator,-linkmode 'external',$(LDFLAGS) $(EXTLDFLAGS), cgo,,$@) cmd/tools/benchmark/job/job: $(eval CGO_ENABLED = 1) - $(call go-build,tools/benchmark/job,-linkmode 'external',$(LDFLAGS) $(HDF5_LDFLAGS), cgo,$(HDF5_VERSION),$@) + $(call go-build,tools/benchmark/job,-linkmode 'external',$(HDF5_LDFLAGS), cgo,$(HDF5_VERSION),$@) cmd/tools/benchmark/operator/operator: - $(eval CGO_ENABLED = 0) - $(call go-build,tools/benchmark/operator,,-static,,,$@) + $(eval CGO_ENABLED = 1) + $(call go-build,tools/benchmark/operator,-linkmode 'external',$(LDFLAGS) $(EXTLDFLAGS), cgo,,$@) example/client/client: $(eval CGO_ENABLED = 1) - $(call go-example-build,example/client,-linkmode 'external',$(LDFLAGS) $(HDF5_LDFLAGS), cgo,$(HDF5_VERSION),$@) + $(call go-example-build,example/client,-linkmode 'external',$(HDF5_LDFLAGS), cgo,$(HDF5_VERSION),$@) rust/target/release/agent: - pushd rust && cargo build -p agent --release && popd + pushd rust && \ + $(CC_ENV_VARS) \ + OPENSSL_STATIC=1 \ + PKG_CONFIG_ALL_STATIC=1 \ + cargo build -p agent --release && \ + popd rust/target/debug/agent: - pushd rust && cargo build -p agent && popd + pushd rust && \ + $(CC_ENV_VARS) \ + OPENSSL_STATIC=1 \ + PKG_CONFIG_ALL_STATIC=1 \ + cargo build -p agent && \ + popd tests/v2/e2e/e2e: $(eval CGO_ENABLED = 1) @@ -159,74 +169,26 @@ binary/build/zip: \ artifacts/vald-mirror-gateway-$(GOOS)-$(GOARCH).zip \ artifacts/vald-readreplica-rotate-$(GOOS)-$(GOARCH).zip -artifacts/vald-agent-ngt-$(GOOS)-$(GOARCH).zip: cmd/agent/core/ngt/ngt - $(call mkdir, $(dir $@)) - zip --junk-paths $@ $< - -artifacts/vald-agent-faiss-$(GOOS)-$(GOARCH).zip: cmd/agent/core/faiss/faiss - $(call mkdir, $(dir $@)) - zip --junk-paths $@ $< - -artifacts/vald-agent-sidecar-$(GOOS)-$(GOARCH).zip: cmd/agent/sidecar/sidecar - $(call mkdir, $(dir $@)) - zip --junk-paths $@ $< - -artifacts/vald-discoverer-k8s-$(GOOS)-$(GOARCH).zip: cmd/discoverer/k8s/discoverer - $(call mkdir, $(dir $@)) - zip --junk-paths $@ $< - -artifacts/vald-lb-gateway-$(GOOS)-$(GOARCH).zip: cmd/gateway/lb/lb - $(call mkdir, $(dir $@)) - zip --junk-paths $@ $< - -artifacts/vald-filter-gateway-$(GOOS)-$(GOARCH).zip: cmd/gateway/filter/filter - $(call mkdir, $(dir $@)) - zip --junk-paths $@ $< - -artifacts/vald-manager-index-$(GOOS)-$(GOARCH).zip: cmd/manager/index/index - $(call mkdir, $(dir $@)) - zip --junk-paths $@ $< - -artifacts/vald-benchmark-job-$(GOOS)-$(GOARCH).zip: cmd/tools/benchmark/job/job - $(call mkdir, $(dir $@)) - zip --junk-paths $@ $< - -artifacts/vald-benchmark-operator-$(GOOS)-$(GOARCH).zip: cmd/tools/benchmark/operator/operator - $(call mkdir, $(dir $@)) - zip --junk-paths $@ $< - -artifacts/vald-mirror-gateway-$(GOOS)-$(GOARCH).zip: cmd/gateway/mirror/mirror - $(call mkdir, $(dir $@)) - zip --junk-paths $@ $< - -artifacts/vald-index-correction-$(GOOS)-$(GOARCH).zip: cmd/index/job/correction/index-correction - $(call mkdir, $(dir $@)) - zip --junk-paths $@ $< - -artifacts/vald-index-creation-$(GOOS)-$(GOARCH).zip: cmd/index/job/creation/index-creation - $(call mkdir, $(dir $@)) - zip --junk-paths $@ $< - -artifacts/vald-index-deletion-$(GOOS)-$(GOARCH).zip: cmd/index/job/deletion/index-deletion - $(call mkdir, $(dir $@)) - zip --junk-paths $@ $< - -artifacts/vald-index-exportation-$(GOOS)-$(GOARCH).zip: cmd/index/job/exportation/index-exportation - $(call mkdir, $(dir $@)) - zip --junk-paths $@ $< - -artifacts/vald-index-save-$(GOOS)-$(GOARCH).zip: cmd/index/job/save/index-save - $(call mkdir, $(dir $@)) - zip --junk-paths $@ $< - -artifacts/vald-readreplica-rotate-$(GOOS)-$(GOARCH).zip: cmd/index/job/readreplica/rotate/readreplica-rotate - $(call mkdir, $(dir $@)) - zip --junk-paths $@ $< - -artifacts/vald-index-operator-$(GOOS)-$(GOARCH).zip: cmd/index/operator/index-operator - $(call mkdir, $(dir $@)) - zip --junk-paths $@ $< - -artifacts/vald-example-client-$(GOOS)-$(GOARCH).zip: example/client/client - $(call mkdir, $(dir $@)) - zip --junk-paths $@ $< +artifacts/%.zip: + $(call mkdir, $(dir $@)) + @case "$*" in \ + "vald-agent-ngt-$(GOOS)-$(GOARCH)" ) binary="cmd/agent/core/ngt/ngt" ;; \ + "vald-agent-faiss-$(GOOS)-$(GOARCH)" ) binary="cmd/agent/core/faiss/faiss" ;; \ + "vald-agent-sidecar-$(GOOS)-$(GOARCH)" ) binary="cmd/agent/sidecar/sidecar" ;; \ + "vald-discoverer-k8s-$(GOOS)-$(GOARCH)" ) binary="cmd/discoverer/k8s/discoverer" ;; \ + "vald-lb-gateway-$(GOOS)-$(GOARCH)" ) binary="cmd/gateway/lb/lb" ;; \ + "vald-filter-gateway-$(GOOS)-$(GOARCH)" ) binary="cmd/gateway/filter/filter" ;; \ + "vald-manager-index-$(GOOS)-$(GOARCH)" ) binary="cmd/manager/index/index" ;; \ + "vald-benchmark-job-$(GOOS)-$(GOARCH)" ) binary="cmd/tools/benchmark/job/job" ;; \ + "vald-benchmark-operator-$(GOOS)-$(GOARCH)" ) binary="cmd/tools/benchmark/operator/operator" ;; \ + "vald-mirror-gateway-$(GOOS)-$(GOARCH)" ) binary="cmd/gateway/mirror/mirror" ;; \ + "vald-index-correction-$(GOOS)-$(GOARCH)" ) binary="cmd/index/job/correction/index-correction" ;; \ + "vald-index-creation-$(GOOS)-$(GOARCH)" ) binary="cmd/index/job/creation/index-creation" ;; \ + "vald-index-deletion-$(GOOS)-$(GOARCH)" ) binary="cmd/index/job/deletion/index-deletion" ;; \ + "vald-index-exportation-$(GOOS)-$(GOARCH)" ) binary="cmd/index/job/exportation/index-exportation" ;; \ + "vald-index-save-$(GOOS)-$(GOARCH)" ) binary="cmd/index/job/save/index-save" ;; \ + "vald-readreplica-rotate-$(GOOS)-$(GOARCH)" ) binary="cmd/index/job/readreplica/rotate/readreplica-rotate" ;; \ + "vald-index-operator-$(GOOS)-$(GOARCH)" ) binary="cmd/index/operator/index-operator" ;; \ + "vald-example-client-$(GOOS)-$(GOARCH)" ) binary="example/client/client" ;; \ + esac; \ + zip --junk-paths $@ $$binary \ No newline at end of file diff --git a/Makefile.d/dependencies.mk b/Makefile.d/dependencies.mk index c1cd935369..b3768d0fa5 100644 --- a/Makefile.d/dependencies.mk +++ b/Makefile.d/dependencies.mk @@ -33,18 +33,21 @@ update/libs: \ update/k3d \ update/k3s \ update/kind \ - update/kube-linter \ update/kubectl \ + update/kube-linter \ + update/llvm \ update/ngt \ + update/ninja \ + update/openmp \ update/prometheus-stack \ update/protobuf \ update/reviewdog \ update/rust \ + update/snapshotter \ update/telepresence \ update/vald \ update/yq \ update/zlib \ - update/snapshotter \ update/csi-driver-host-path # update/usearch \ @@ -83,7 +86,7 @@ go/deps: sed -i "s/#.*//" $(ROOTDIR)/go.mod GOTOOLCHAIN=go$(GO_VERSION) GOPRIVATE=$(GOPRIVATE) go mod tidy GOTOOLCHAIN=go$(GO_VERSION) go get -u all 2>/dev/null || true - GOTOOLCHAIN=go$(GO_VERSION) go get -u ./... 2>/dev/null || true + GOTOOLCHAIN=go$(GO_VERSION) go get -u $(ROOTDIR)/... 2>/dev/null || true .PHONY: go/example/deps ## install Go package dependencies @@ -99,7 +102,7 @@ go/example/deps: cd $(ROOTDIR)/example/client \ && GOTOOLCHAIN=go$(GO_VERSION) GOPRIVATE=$(GOPRIVATE) go mod tidy \ && GOTOOLCHAIN=go$(GO_VERSION) go get -u all 2>/dev/null || true \ - && GOTOOLCHAIN=go$(GO_VERSION) go get -u ./... 2>/dev/null || true \ + && GOTOOLCHAIN=go$(GO_VERSION) go get -u $(ROOTDIR)/... 2>/dev/null || true \ && cd - .PHONY: rust/deps @@ -151,96 +154,109 @@ update/go: ## update golangci-lint version update/golangci-lint: curl -fsSL https://api.github.com/repos/golangci/golangci-lint/releases/latest | \ - grep -Po '"tag_name": "\K.*?(?=")' > $(ROOTDIR)/versions/GOLANGCILINT_VERSION + grep -Po '"tag_name": "\K.*?(?=")' \ + > $(ROOTDIR)/versions/GOLANGCILINT_VERSION .PHONY: update/rust ## update rust version update/rust: curl -fsSL https://releases.rs | \ - grep -Po 'Stable: \K[\d.]+' | \ - head -n 1 > $(ROOTDIR)/versions/RUST_VERSION + grep -Po 'Stable: \K[\d.]+' | \ + head -n 1 > $(ROOTDIR)/versions/RUST_VERSION $(eval RUST_VERSION := $(shell $(MAKE) -s version/rust)) - sed -i "17s/channel = \"[0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?.*\"/channel = \"$(RUST_VERSION)\"/g" $(ROOTDIR)/rust/rust-toolchain.toml + sed -i "17s/channel = \"[0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?.*\"/channel = \"$(RUST_VERSION)\"/g" \ + $(ROOTDIR)/rust/rust-toolchain.toml .PHONY: update/docker ## update docker version update/docker: curl -fsSL https://api.github.com/repos/moby/moby/releases/latest | \ - grep -Po '"tag_name": "\K.*?(?=")' | \ - sed 's/docker-//g' > $(ROOTDIR)/versions/DOCKER_VERSION + grep -Po '"tag_name": "\K.*?(?=")' | \ + sed 's/docker-//g' \ + > $(ROOTDIR)/versions/DOCKER_VERSION .PHONY: update/helm ## update helm version update/helm: curl -fsSL https://api.github.com/repos/helm/helm/releases/latest | \ - grep -Po '"tag_name": "\K.*?(?=")' > $(ROOTDIR)/versions/HELM_VERSION + grep -Po '"tag_name": "\K.*?(?=")' \ + > $(ROOTDIR)/versions/HELM_VERSION .PHONY: update/helm-operator ## update helm-operator version update/helm-operator: curl -fsSL https://quay.io/api/v1/repository/operator-framework/helm-operator | \ - jq -r '.tags'| \ - grep name | \ - grep -v master | \ - grep -v latest | \ - grep -v rc | \ - head -1 | \ - sed -e 's/.*\"name\":\ \"\(.*\)\",/\1/g' > $(ROOTDIR)/versions/OPERATOR_SDK_VERSION + jq -r '.tags' | \ + grep name | \ + grep -v master | \ + grep -v latest | \ + grep -v rc | \ + head -1 | \ + sed -e 's/.*\"name\":\ \"\(.*\)\",/\1/g' \ + > $(ROOTDIR)/versions/OPERATOR_SDK_VERSION .PHONY: update/helm-docs ## update helm-docs version update/helm-docs: curl -fsSL https://api.github.com/repos/norwoodj/helm-docs/releases/latest | \ - grep -Po '"tag_name": "\K.*?(?=")' | \ - sed 's/v//g' > $(ROOTDIR)/versions/HELM_DOCS_VERSION + grep -Po '"tag_name": "\K.*?(?=")' | \ + sed 's/v//g' \ + > $(ROOTDIR)/versions/HELM_DOCS_VERSION .PHONY: update/protobuf ## update protobuf version update/protobuf: curl -fsSL https://api.github.com/repos/protocolbuffers/protobuf/releases/latest | \ - grep -Po '"tag_name": "\K.*?(?=")' | \ - sed 's/v//g' > $(ROOTDIR)/versions/PROTOBUF_VERSION + grep -Po '"tag_name": "\K.*?(?=")' | \ + sed 's/v//g' \ + > $(ROOTDIR)/versions/PROTOBUF_VERSION .PHONY: update/buf ## update buf version update/buf: curl -fsSL https://api.github.com/repos/bufbuild/buf/releases/latest | \ - grep -Po '"tag_name": "\K.*?(?=")' > $(ROOTDIR)/versions/BUF_VERSION + grep -Po '"tag_name": "\K.*?(?=")' \ + > $(ROOTDIR)/versions/BUF_VERSION .PHONY: update/busybox ## update busybox version update/busybox: curl -fsSL "https://hub.docker.com/v2/repositories/library/busybox/tags/?page_size=100" | \ - jq -r '.results[].name' | \ - grep -E '^[0-9]+\.[0-9]+\.[0-9]+$$' | \ - sort -V | \ - tail -n 1 > $(ROOTDIR)/versions/BUSYBOX_VERSION + jq -r '.results[].name' | \ + grep -E '^[0-9]+\.[0-9]+\.[0-9]+$$' | \ + sort -V | \ + tail -n 1 \ + > $(ROOTDIR)/versions/BUSYBOX_VERSION .PHONY: update/kind ## update kind (kubernetes in docker) version update/kind: curl -fsSL https://api.github.com/repos/kubernetes-sigs/kind/releases/latest | \ - grep -Po '"tag_name": "\K.*?(?=")' | \ - sed 's/v//g' > $(ROOTDIR)/versions/KIND_VERSION + grep -Po '"tag_name": "\K.*?(?=")' | \ + sed 's/v//g' \ + > $(ROOTDIR)/versions/KIND_VERSION .PHONY: update/kubectl ## update kubectl (kubernetes cli) version update/kubectl: - curl -fsSL https://dl.k8s.io/release/stable.txt > $(ROOTDIR)/versions/KUBECTL_VERSION + curl -fsSL https://dl.k8s.io/release/stable.txt \ + > $(ROOTDIR)/versions/KUBECTL_VERSION .PHONY: update/prometheus-stack ## update prometheus version update/prometheus-stack: curl -fsSL https://artifacthub.io/api/v1/packages/helm/prometheus-community/kube-prometheus-stack | \ - jq .version | \ - sed 's/"//g' > $(ROOTDIR)/versions/PROMETHEUS_STACK_VERSION + jq .version | \ + sed 's/"//g' \ + > $(ROOTDIR)/versions/PROMETHEUS_STACK_VERSION .PHONY: update/jaeger-operator ## update jaeger-operator version update/jaeger-operator: curl -fsSL https://artifacthub.io/api/v1/packages/helm/jaegertracing/jaeger-operator | \ - jq .version | \ - sed 's/"//g' > $(ROOTDIR)/versions/JAEGER_OPERATOR_VERSION + jq .version | \ + sed 's/"//g' \ + > $(ROOTDIR)/versions/JAEGER_OPERATOR_VERSION .PHONY: update/kube-linter ## update kube-linter version @@ -254,6 +270,16 @@ update/kube-linter: # curl -fsSL https://api.github.com/repos/open-telemetry/opentelemetry-operator/releases/latest | \ # grep -Po '"tag_name": "\K.*?(?=")' > $(ROOTDIR)/versions/OTEL_OPERATOR_VERSION +.PHONY: update/llvm +## update llvm version +update/llvm: + curl -fsSL https://api.github.com/repos/llvm/llvm-project/releases/latest | \ + grep -Po '"tag_name": "\Kllvmorg-\K.*?(?=")' > $(ROOTDIR)/versions/LLVM_VERSION + +.PHONY: update/openmp +## update llvm openmp version +update/openmp: update/llvm + .PHONY: update/ngt ## update NGT-labs/NGT version update/ngt: @@ -277,10 +303,17 @@ update/usearch: .PHONY: update/cmake ## update CMAKE version update/cmake: - curl -fsSL https://api.github.com/repos/Kitware/CMAKE/releases/latest | \ + curl -fsSL https://api.github.com/repos/Kitware/CMake/releases/latest | \ grep -Po '"tag_name": "\K.*?(?=")' | \ sed 's/v//g' > $(ROOTDIR)/versions/CMAKE_VERSION +.PHONY: update/ninja +## update NINJA version +update/ninja: + curl -fsSL https://api.github.com/repos/ninja-build/ninja/releases/latest | \ + grep -Po '"tag_name": "\K.*?(?=")' | \ + sed 's/v//g' > $(ROOTDIR)/versions/NINJA_VERSION + .PHONY: update/reviewdog ## update reviewdog version update/reviewdog: @@ -335,43 +368,30 @@ update/csi-driver-host-path: .PHONY: update/template ## update PULL_REQUEST_TEMPLATE and ISSUE_TEMPLATE update/template: - $(eval VALD_VERSION := $(shell $(MAKE) -s version/vald)) - $(eval GO_VERSION := $(shell $(MAKE) -s version/go)) - $(eval RUST_VERSION := $(shell $(MAKE) -s version/rust)) - $(eval DOCKER_VERSION := $(shell $(MAKE) -s version/docker)) - $(eval KUBECTL_VERSION := $(shell $(MAKE) -s version/k8s)) - $(eval HELM_VERSION := $(shell $(MAKE) -s version/helm)) - $(eval NGT_VERSION := $(shell $(MAKE) -s version/ngt)) - $(eval FAISS_VERSION := $(shell $(MAKE) -s version/faiss)) - - sed -i -e "s/^- Vald Version: .*$$/- Vald Version: $(VALD_VERSION)/" $(ROOTDIR)/.github/ISSUE_TEMPLATE/bug_report.md - sed -i -e "s/^- Vald Version: .*$$/- Vald Version: $(VALD_VERSION)/" $(ROOTDIR)/.github/ISSUE_TEMPLATE/security_issue_report.md - sed -i -e "s/^- Vald Version: .*$$/- Vald Version: $(VALD_VERSION)/" $(ROOTDIR)/.github/PULL_REQUEST_TEMPLATE.md - - sed -i -e "s/^- Go Version: .*$$/- Go Version: v$(GO_VERSION)/" $(ROOTDIR)/.github/ISSUE_TEMPLATE/bug_report.md - sed -i -e "s/^- Go Version: .*$$/- Go Version: v$(GO_VERSION)/" $(ROOTDIR)/.github/ISSUE_TEMPLATE/security_issue_report.md - sed -i -e "s/^- Go Version: .*$$/- Go Version: v$(GO_VERSION)/" $(ROOTDIR)/.github/PULL_REQUEST_TEMPLATE.md - - sed -i -e "s/^- Rust Version: .*$$/- Rust Version: v$(RUST_VERSION)/" $(ROOTDIR)/.github/ISSUE_TEMPLATE/bug_report.md - sed -i -e "s/^- Rust Version: .*$$/- Rust Version: v$(RUST_VERSION)/" $(ROOTDIR)/.github/ISSUE_TEMPLATE/security_issue_report.md - sed -i -e "s/^- Rust Version: .*$$/- Rust Version: v$(RUST_VERSION)/" $(ROOTDIR)/.github/PULL_REQUEST_TEMPLATE.md - - sed -i -e "s/^- Docker Version: .*$$/- Docker Version: $(DOCKER_VERSION)/" $(ROOTDIR)/.github/ISSUE_TEMPLATE/bug_report.md - sed -i -e "s/^- Docker Version: .*$$/- Docker Version: $(DOCKER_VERSION)/" $(ROOTDIR)/.github/ISSUE_TEMPLATE/security_issue_report.md - sed -i -e "s/^- Docker Version: .*$$/- Docker Version: $(DOCKER_VERSION)/" $(ROOTDIR)/.github/PULL_REQUEST_TEMPLATE.md - - sed -i -e "s/^- Kubernetes Version: .*$$/- Kubernetes Version: $(KUBECTL_VERSION)/" $(ROOTDIR)/.github/ISSUE_TEMPLATE/bug_report.md - sed -i -e "s/^- Kubernetes Version: .*$$/- Kubernetes Version: $(KUBECTL_VERSION)/" $(ROOTDIR)/.github/ISSUE_TEMPLATE/security_issue_report.md - sed -i -e "s/^- Kubernetes Version: .*$$/- Kubernetes Version: $(KUBECTL_VERSION)/" $(ROOTDIR)/.github/PULL_REQUEST_TEMPLATE.md - - sed -i -e "s/^- Helm Version: .*$$/- Helm Version: $(HELM_VERSION)/" $(ROOTDIR)/.github/ISSUE_TEMPLATE/bug_report.md - sed -i -e "s/^- Helm Version: .*$$/- Helm Version: $(HELM_VERSION)/" $(ROOTDIR)/.github/ISSUE_TEMPLATE/security_issue_report.md - sed -i -e "s/^- Helm Version: .*$$/- Helm Version: $(HELM_VERSION)/" $(ROOTDIR)/.github/PULL_REQUEST_TEMPLATE.md - - sed -i -e "s/^- NGT Version: .*$$/- NGT Version: v$(NGT_VERSION)/" $(ROOTDIR)/.github/ISSUE_TEMPLATE/bug_report.md - sed -i -e "s/^- NGT Version: .*$$/- NGT Version: v$(NGT_VERSION)/" $(ROOTDIR)/.github/ISSUE_TEMPLATE/security_issue_report.md - sed -i -e "s/^- NGT Version: .*$$/- NGT Version: v$(NGT_VERSION)/" $(ROOTDIR)/.github/PULL_REQUEST_TEMPLATE.md - - sed -i -e "s/^- Faiss Version: .*$$/- Faiss Version: v$(FAISS_VERSION)/" $(ROOTDIR)/.github/ISSUE_TEMPLATE/bug_report.md - sed -i -e "s/^- Faiss Version: .*$$/- Faiss Version: v$(FAISS_VERSION)/" $(ROOTDIR)/.github/ISSUE_TEMPLATE/security_issue_report.md - sed -i -e "s/^- Faiss Version: .*$$/- Faiss Version: v$(FAISS_VERSION)/" $(ROOTDIR)/.github/PULL_REQUEST_TEMPLATE.md + $(call update-template,Vald,$(shell $(MAKE) -s version/vald)) + $(call update-template,Go,v$(shell $(MAKE) -s version/go)) + $(call update-template,Rust,v$(shell $(MAKE) -s version/rust)) + $(call update-template,Docker,$(shell $(MAKE) -s version/docker)) + $(call update-template,Kubernetes,$(shell $(MAKE) -s version/k8s)) + $(call update-template,Helm,$(shell $(MAKE) -s version/helm)) + $(call update-template,NGT,v$(shell $(MAKE) -s version/ngt)) + $(call update-template,Faiss,v$(shell $(MAKE) -s version/faiss)) + +.PHONY: deps +## resolve dependencies +deps: \ + proto/deps \ + deps/install + +.PHONY: deps/install +## install dependencies +deps/install: \ + crlfmt/install \ + golines/install \ + gofumpt/install \ + strictgoimports/install \ + goimports/install \ + prettier/install \ + go/deps \ + go/example/deps \ + rust/deps \ No newline at end of file diff --git a/Makefile.d/docker.mk b/Makefile.d/docker.mk index 00782a098f..0fd2e45524 100644 --- a/Makefile.d/docker.mk +++ b/Makefile.d/docker.mk @@ -44,9 +44,9 @@ docker/build: \ docker/build/readreplica-rotate \ docker/build/e2e -.PHONY: docker/xpanes/build +.PHONY: docker/xpanes/build docker/build/xpanes ## build all docker images using xpanes -docker/xpanes/build: +docker/xpanes/build docker/build/xpanes: @xpanes -s -c "make -f $(ROOTDIR)/Makefile {}" \ docker/build/agent \ docker/build/agent-faiss \ @@ -104,16 +104,15 @@ docker/build/image: ifeq ($(REMOTE),true) @echo "starting remote build for $(IMAGE):$(TAG)" DOCKER_BUILDKIT=1 $(DOCKER) buildx build \ - $(DOCKER_OPTS) \ --cache-to type=gha,scope=$(TAG)-buildcache,mode=max \ --cache-to type=registry,ref=$(GHCRORG)/$(IMAGE):$(TAG)-buildcache,mode=max \ --cache-from type=gha,scope=$(TAG)-buildcache \ --cache-from type=registry,ref=$(GHCRORG)/$(IMAGE):$(TAG)-buildcache \ - --build-arg BUILDKIT_INLINE_CACHE=$(BUILDKIT_INLINE_CACHE) \ - --build-arg GO_VERSION=$(GO_VERSION) \ - --build-arg RUST_VERSION=$(RUST_VERSION) \ - --build-arg MAINTAINER=$(MAINTAINER) \ - --attest type=sbom,generator=$(DEFAULT_BUILDKIT_SYFT_SCANNER_IMAGE) \ + $(DOCKER_OPTS) \ + $(DOCKER_BUILD_ARGS) \ + --allow "network.host" \ + --network=host \ + --attest type=sbom,generator=$(DEFAULT_BUILDKIT_SYFT_SCANNER_IMAGE),format=spdx-json \ --provenance=mode=max \ -t $(CRORG)/$(IMAGE):$(TAG) \ -t $(GHCRORG)/$(IMAGE):$(TAG) \ @@ -123,16 +122,13 @@ ifeq ($(REMOTE),true) else @echo "starting local build for $(IMAGE):$(TAG)" DOCKER_BUILDKIT=1 $(DOCKER) build \ - $(DOCKER_OPTS) \ - --network host \ - --build-arg BUILDKIT_INLINE_CACHE=$(BUILDKIT_INLINE_CACHE) \ - --build-arg GO_VERSION=$(GO_VERSION) \ - --build-arg RUST_VERSION=$(RUST_VERSION) \ - --build-arg MAINTAINER=$(MAINTAINER) \ - $(EXTRA_ARGS) \ - -t $(CRORG)/$(IMAGE):$(TAG) \ - -t $(GHCRORG)/$(IMAGE):$(TAG) \ - -f $(DOCKERFILE) $(ROOTDIR) + $(DOCKER_OPTS) \ + --network host \ + $(DOCKER_BUILD_ARGS) \ + $(EXTRA_ARGS) \ + -t $(CRORG)/$(IMAGE):$(TAG) \ + -t $(GHCRORG)/$(IMAGE):$(TAG) \ + -f $(DOCKERFILE) $(ROOTDIR) endif .PHONY: docker/create/manifest @@ -165,9 +161,10 @@ docker/name/agent-ngt: .PHONY: docker/build/agent-ngt ## build agent-ngt image docker/build/agent-ngt: - @make DOCKERFILE="$(ROOTDIR)/dockers/agent/core/ngt/Dockerfile" \ - IMAGE=$(AGENT_NGT_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/agent/core/ngt/Dockerfile" \ + IMAGE=$(AGENT_NGT_IMAGE) \ + docker/build/image .PHONY: docker/name/agent-faiss ## print agent-faiss image name @@ -177,9 +174,10 @@ docker/name/agent-faiss: .PHONY: docker/build/agent-faiss ## build agent-faiss image docker/build/agent-faiss: - @make DOCKERFILE="$(ROOTDIR)/dockers/agent/core/faiss/Dockerfile" \ - IMAGE=$(AGENT_FAISS_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/agent/core/faiss/Dockerfile" \ + IMAGE=$(AGENT_FAISS_IMAGE) \ + docker/build/image .PHONY: docker/name/agent-sidecar ## print agent-sidecar image name @@ -189,9 +187,10 @@ docker/name/agent-sidecar: .PHONY: docker/build/agent-sidecar ## build agent-sidecar image docker/build/agent-sidecar: - @make DOCKERFILE="$(ROOTDIR)/dockers/agent/sidecar/Dockerfile" \ - IMAGE=$(AGENT_SIDECAR_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/agent/sidecar/Dockerfile" \ + IMAGE=$(AGENT_SIDECAR_IMAGE) \ + docker/build/image .PHONY: docker/name/agent ## print agent image name @@ -199,10 +198,12 @@ docker/name/agent: @echo "$(ORG)/$(AGENT_IMAGE)" .PHONY: docker/build/agent +## build agent image docker/build/agent: - @make DOCKERFILE="$(ROOTDIR)/dockers/agent/core/agent/Dockerfile" \ - IMAGE=$(AGENT_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/agent/core/agent/Dockerfile" \ + IMAGE=$(AGENT_IMAGE) \ + docker/build/image .PHONY: docker/name/discoverer-k8s ## print discoverer-k8s image name @@ -212,9 +213,10 @@ docker/name/discoverer-k8s: .PHONY: docker/build/discoverer-k8s ## build discoverer-k8s image docker/build/discoverer-k8s: - @make DOCKERFILE="$(ROOTDIR)/dockers/discoverer/k8s/Dockerfile" \ - IMAGE=$(DISCOVERER_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/discoverer/k8s/Dockerfile" \ + IMAGE=$(DISCOVERER_IMAGE) \ + docker/build/image .PHONY: docker/name/gateway-lb ## print gateway-lb image name @@ -224,9 +226,10 @@ docker/name/gateway-lb: .PHONY: docker/build/gateway-lb ## build gateway-lb image docker/build/gateway-lb: - @make DOCKERFILE="$(ROOTDIR)/dockers/gateway/lb/Dockerfile" \ - IMAGE=$(LB_GATEWAY_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/gateway/lb/Dockerfile" \ + IMAGE=$(LB_GATEWAY_IMAGE) \ + docker/build/image .PHONY: docker/name/gateway-filter ## print gateway-filter image name @@ -236,9 +239,10 @@ docker/name/gateway-filter: .PHONY: docker/build/gateway-filter ## build gateway-filter image docker/build/gateway-filter: - @make DOCKERFILE="$(ROOTDIR)/dockers/gateway/filter/Dockerfile" \ - IMAGE=$(FILTER_GATEWAY_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/gateway/filter/Dockerfile" \ + IMAGE=$(FILTER_GATEWAY_IMAGE) \ + docker/build/image .PHONY: docker/name/gateway-mirror ## print gateway-mirror image name @@ -248,9 +252,10 @@ docker/name/gateway-mirror: .PHONY: docker/build/gateway-mirror ## build gateway-mirror image docker/build/gateway-mirror: - @make DOCKERFILE="$(ROOTDIR)/dockers/gateway/mirror/Dockerfile" \ - IMAGE=$(MIRROR_GATEWAY_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/gateway/mirror/Dockerfile" \ + IMAGE=$(MIRROR_GATEWAY_IMAGE) \ + docker/build/image .PHONY: docker/name/manager-index ## print manager-index image name @@ -260,9 +265,10 @@ docker/name/manager-index: .PHONY: docker/build/manager-index ## build manager-index image docker/build/manager-index: - @make DOCKERFILE="$(ROOTDIR)/dockers/manager/index/Dockerfile" \ - IMAGE=$(MANAGER_INDEX_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/manager/index/Dockerfile" \ + IMAGE=$(MANAGER_INDEX_IMAGE) \ + docker/build/image .PHONY: docker/name/buildbase ## print buildbase image name @@ -272,9 +278,10 @@ docker/name/buildbase: .PHONY: docker/build/buildbase ## build buildbase image docker/build/buildbase: - @make DOCKERFILE="$(ROOTDIR)/dockers/buildbase/Dockerfile" \ - IMAGE=$(BUILDBASE_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/buildbase/Dockerfile" \ + IMAGE=$(BUILDBASE_IMAGE) \ + docker/build/image .PHONY: docker/name/buildkit ## print buildkit image name @@ -284,9 +291,10 @@ docker/name/buildkit: .PHONY: docker/build/buildkit ## build buildkit image docker/build/buildkit: - @make DOCKERFILE="$(ROOTDIR)/dockers/buildkit/Dockerfile" \ - IMAGE=$(BUILDKIT_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/buildkit/Dockerfile" \ + IMAGE=$(BUILDKIT_IMAGE) \ + docker/build/image .PHONY: docker/name/binfmt ## print binfmt image name @@ -296,9 +304,10 @@ docker/name/binfmt: .PHONY: docker/build/binfmt ## build binfmt image docker/build/binfmt: - @make DOCKERFILE="$(ROOTDIR)/dockers/binfmt/Dockerfile" \ - IMAGE=$(BINFMT_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/binfmt/Dockerfile" \ + IMAGE=$(BINFMT_IMAGE) \ + docker/build/image .PHONY: docker/name/buildkit-syft-scanner ## print buildkit-syft-scanner image name @@ -308,10 +317,11 @@ docker/name/buildkit-syft-scanner: .PHONY: docker/build/buildkit-syft-scanner ## build buildkit-syft-scanner image docker/build/buildkit-syft-scanner: - @make DOCKERFILE="$(ROOTDIR)/dockers/buildkit/syft/scanner/Dockerfile" \ - IMAGE=$(BUILDKIT_SYFT_SCANNER_IMAGE) \ - DEFAULT_BUILDKIT_SYFT_SCANNER_IMAGE="docker/buildkit-syft-scanner:edge" \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/buildkit/syft/scanner/Dockerfile" \ + IMAGE=$(BUILDKIT_SYFT_SCANNER_IMAGE) \ + DEFAULT_BUILDKIT_SYFT_SCANNER_IMAGE="docker/buildkit-syft-scanner:edge" \ + docker/build/image .PHONY: docker/name/dev-container ## print dev-container image name @@ -321,9 +331,10 @@ docker/name/dev-container: .PHONY: docker/build/dev-container ## build dev-container image docker/build/dev-container: - @make DOCKERFILE="$(ROOTDIR)/dockers/dev/Dockerfile" \ - IMAGE=$(DEV_CONTAINER_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/dev/Dockerfile" \ + IMAGE=$(DEV_CONTAINER_IMAGE) \ + docker/build/image .PHONY: docker/build/helm-operator ## build helm-operator image @@ -337,10 +348,11 @@ docker/name/helm-operator: .PHONY: docker/build/operator/helm ## build helm-operator image docker/build/operator/helm: - @make DOCKERFILE="$(ROOTDIR)/dockers/operator/helm/Dockerfile" \ - IMAGE=$(HELM_OPERATOR_IMAGE) \ - EXTRA_ARGS="--build-arg OPERATOR_SDK_VERSION=$(OPERATOR_SDK_VERSION) --build-arg UPX_OPTIONS=$(UPX_OPTIONS) $(EXTRA_ARGS)" \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/operator/helm/Dockerfile" \ + IMAGE=$(HELM_OPERATOR_IMAGE) \ + EXTRA_ARGS="--build-arg OPERATOR_SDK_VERSION=$(OPERATOR_SDK_VERSION) --build-arg UPX_OPTIONS=$(UPX_OPTIONS) $(EXTRA_ARGS)" \ + docker/build/image .PHONY: docker/name/index-correction ## print index-correction image name @@ -350,9 +362,10 @@ docker/name/index-correction: .PHONY: docker/build/index-correction ## build index-correction image docker/build/index-correction: - @make DOCKERFILE="$(ROOTDIR)/dockers/index/job/correction/Dockerfile" \ - IMAGE=$(INDEX_CORRECTION_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/index/job/correction/Dockerfile" \ + IMAGE=$(INDEX_CORRECTION_IMAGE) \ + docker/build/image .PHONY: docker/name/index-creation ## print index-creation image name @@ -362,9 +375,10 @@ docker/name/index-creation: .PHONY: docker/build/index-creation ## build index-creation image docker/build/index-creation: - @make DOCKERFILE="$(ROOTDIR)/dockers/index/job/creation/Dockerfile" \ - IMAGE=$(INDEX_CREATION_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/index/job/creation/Dockerfile" \ + IMAGE=$(INDEX_CREATION_IMAGE) \ + docker/build/image .PHONY: docker/name/index-save ## print index-save image name @@ -374,9 +388,10 @@ docker/name/index-save: .PHONY: docker/build/index-save ## build index-save image docker/build/index-save: - @make DOCKERFILE="$(ROOTDIR)/dockers/index/job/save/Dockerfile" \ - IMAGE=$(INDEX_SAVE_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/index/job/save/Dockerfile" \ + IMAGE=$(INDEX_SAVE_IMAGE) \ + docker/build/image .PHONY: docker/name/index-deletion ## print index-deletion image name @@ -386,9 +401,10 @@ docker/name/index-deletion: .PHONY: docker/build/index-deletion ## build index-deletion image docker/build/index-deletion: - @make DOCKERFILE="$(ROOTDIR)/dockers/index/job/deletion/Dockerfile" \ - IMAGE=$(INDEX_DELETION_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/index/job/deletion/Dockerfile" \ + IMAGE=$(INDEX_DELETION_IMAGE) \ + docker/build/image .PHONY: docker/name/index-exportation ## print index-exportation image name @@ -398,9 +414,10 @@ docker/name/index-exportation: .PHONY: docker/build/index-exportation ## build index-exportation image docker/build/index-exportation: - @make DOCKERFILE="$(ROOTDIR)/dockers/index/job/exportation/Dockerfile" \ - IMAGE=$(INDEX_EXPORTATION_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/index/job/exportation/Dockerfile" \ + IMAGE=$(INDEX_EXPORTATION_IMAGE) \ + docker/build/image .PHONY: docker/name/index-operator ## print index-operator image name @@ -410,9 +427,10 @@ docker/name/index-operator: .PHONY: docker/build/index-operator ## build index-operator image docker/build/index-operator: - @make DOCKERFILE="$(ROOTDIR)/dockers/index/operator/Dockerfile" \ - IMAGE=$(INDEX_OPERATOR_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/index/operator/Dockerfile" \ + IMAGE=$(INDEX_OPERATOR_IMAGE) \ + docker/build/image .PHONY: docker/name/readreplica-rotate ## print readreplica-rotate image name @@ -422,9 +440,10 @@ docker/name/readreplica-rotate: .PHONY: docker/build/readreplica-rotate ## build readreplica-rotate image docker/build/readreplica-rotate: - @make DOCKERFILE="$(ROOTDIR)/dockers/index/job/readreplica/rotate/Dockerfile" \ - IMAGE=$(READREPLICA_ROTATE_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/index/job/readreplica/rotate/Dockerfile" \ + IMAGE=$(READREPLICA_ROTATE_IMAGE) \ + docker/build/image .PHONY: docker/name/benchmark-job ## print benchmark-job image name @@ -434,10 +453,11 @@ docker/name/benchmark-job: .PHONY: docker/build/benchmark-job ## build benchmark job docker/build/benchmark-job: - @make DOCKERFILE="$(ROOTDIR)/dockers/tools/benchmark/job/Dockerfile" \ - IMAGE=$(BENCHMARK_JOB_IMAGE) \ - DOCKER_OPTS="$${DOCKER_OPTS:+$${DOCKER_OPTS}} --build-arg ZLIB_VERSION=$(ZLIB_VERSION) --build-arg HDF5_VERSION=$(HDF5_VERSION)" \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/tools/benchmark/job/Dockerfile" \ + IMAGE=$(BENCHMARK_JOB_IMAGE) \ + DOCKER_OPTS="$${DOCKER_OPTS:+$${DOCKER_OPTS}} --build-arg ZLIB_VERSION=$(ZLIB_VERSION) --build-arg HDF5_VERSION=$(HDF5_VERSION)" \ + docker/build/image .PHONY: docker/name/benchmark-operator ## print benchmark-operator image name @@ -447,9 +467,10 @@ docker/name/benchmark-operator: .PHONY: docker/build/benchmark-operator ## build benchmark operator docker/build/benchmark-operator: - @make DOCKERFILE="$(ROOTDIR)/dockers/tools/benchmark/operator/Dockerfile" \ - IMAGE=$(BENCHMARK_OPERATOR_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/tools/benchmark/operator/Dockerfile" \ + IMAGE=$(BENCHMARK_OPERATOR_IMAGE) \ + docker/build/image .PHONY: docker/name/example-client ## print example-client image name @@ -459,10 +480,11 @@ docker/name/example-client: .PHONY: docker/build/example-client ## build example client docker image docker/build/example-client: - @make DOCKERFILE="$(ROOTDIR)/dockers/example/client/Dockerfile" \ - IMAGE=$(EXAMPLE_CLIENT_IMAGE) \ - DOCKER_OPTS="$${DOCKER_OPTS:+$${DOCKER_OPTS}} --build-arg ZLIB_VERSION=$(ZLIB_VERSION) --build-arg HDF5_VERSION=$(HDF5_VERSION)" \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/example/client/Dockerfile" \ + IMAGE=$(EXAMPLE_CLIENT_IMAGE) \ + DOCKER_OPTS="$${DOCKER_OPTS:+$${DOCKER_OPTS}} --build-arg ZLIB_VERSION=$(ZLIB_VERSION) --build-arg HDF5_VERSION=$(HDF5_VERSION)" \ + docker/build/image .PHONY: docker/name/e2e ## print e2e image name @@ -472,6 +494,7 @@ docker/name/e2e: .PHONY: docker/build/e2e ## build e2e docker image docker/build/e2e: - @make DOCKERFILE="$(ROOTDIR)/dockers/tests/v2/e2e/Dockerfile" \ - IMAGE=$(E2E_IMAGE) \ - docker/build/image + @$(MAKE) \ + DOCKERFILE="$(ROOTDIR)/dockers/tests/v2/e2e/Dockerfile" \ + IMAGE=$(E2E_IMAGE) \ + docker/build/image \ No newline at end of file diff --git a/Makefile.d/e2e.mk b/Makefile.d/e2e.mk index 69d5337f92..92806bcd9f 100644 --- a/Makefile.d/e2e.mk +++ b/Makefile.d/e2e.mk @@ -108,114 +108,28 @@ e2e/sidecar: ## run GitHub Actions E2E test (Stream CRUD) e2e/actions/run/stream/crud: \ hack/benchmark/assets/dataset/$(E2E_DATASET_NAME) \ - k3d/restart - kubectl wait -n kube-system --for=condition=Available deployment/metrics-server --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - sleep 2 - kubectl wait -n kube-system --for=condition=Ready pod -l k8s-app=metrics-server --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - kubectl wait -n kube-system --for=condition=ContainersReady pod -l k8s-app=metrics-server --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - $(MAKE) k8s/vald/deploy \ - HELM_VALUES=$(ROOTDIR)/.github/helm/values/values-lb.yaml - sleep 3 - kubectl wait --for=condition=Ready pod -l "app=$(LB_GATEWAY_IMAGE)" --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - kubectl wait --for=condition=ContainersReady pod -l "app=$(LB_GATEWAY_IMAGE)" --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - kubectl get pods - pod_name=$$(kubectl get pods --selector="app=$(LB_GATEWAY_IMAGE)" | tail -1 | awk '{print $$1}'); \ - echo $$pod_name; \ - $(MAKE) E2E_TARGET_POD_NAME=$$pod_name e2e - $(MAKE) k8s/vald/delete - $(MAKE) k3d/delete + $(call run-github-actions-e2e,k3d/restart,k8s-app=metrics-server,k8s/vald/deploy,$(ROOTDIR)/.github/helm/values/values-lb.yaml,,app=$(LB_GATEWAY_IMAGE),$(MAKE) E2E_TARGET_POD_NAME=$$pod_name e2e,$(MAKE) k8s/vald/delete && $(MAKE) k3d/delete) .PHONY: e2e/actions/run/job ## run GitHub Actions E2E test (jobs) e2e/actions/run/job: \ hack/benchmark/assets/dataset/$(E2E_DATASET_NAME) \ - k3d/restart - kubectl wait -n kube-system --for=condition=Available deployment/metrics-server --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - sleep 2 - kubectl wait -n kube-system --for=condition=Ready pod -l k8s-app=metrics-server --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - kubectl wait -n kube-system --for=condition=ContainersReady pod -l k8s-app=metrics-server --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - $(MAKE) k8s/vald/deploy \ - HELM_VALUES=$(ROOTDIR)/.github/helm/values/values-correction.yaml - sleep 3 - kubectl wait --for=condition=Ready pod -l "app=$(LB_GATEWAY_IMAGE)" --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - kubectl wait --for=condition=ContainersReady pod -l "app=$(LB_GATEWAY_IMAGE)" --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - kubectl get pods - pod_name=$$(kubectl get pods --selector="app=$(LB_GATEWAY_IMAGE)" | tail -1 | awk '{print $$1}'); \ - echo $$pod_name; \ - $(MAKE) E2E_TARGET_POD_NAME=$$pod_name e2e/index/job/correction - $(MAKE) k8s/vald/delete - $(MAKE) k3d/delete + $(call run-github-actions-e2e,k3d/restart,k8s-app=metrics-server,k8s/vald/deploy,$(ROOTDIR)/.github/helm/values/values-correction.yaml,,app=$(LB_GATEWAY_IMAGE),$(MAKE) E2E_TARGET_POD_NAME=$$pod_name e2e/index/job/correction,$(MAKE) k8s/vald/delete && $(MAKE) k3d/delete) .PHONY: e2e/actions/run/readreplica ## run GitHub Actions E2E test (Stream CRUD with read replica ) e2e/actions/run/readreplica: \ hack/benchmark/assets/dataset/$(E2E_DATASET_NAME) \ - kind/vs/restart - kubectl wait -n kube-system --for=condition=Available deployment/metrics-server --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - sleep 2 - kubectl wait -n kube-system --for=condition=Ready pod -l app.kubernetes.io/name=metrics-server --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - kubectl wait -n kube-system --for=condition=ContainersReady pod -l app.kubernetes.io/name=metrics-server --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - - $(MAKE) k8s/vald-readreplica/deploy \ - VERSION=$(VERSION) \ - HELM_VALUES=$(ROOTDIR)/.github/helm/values/values-readreplica.yaml - sleep 3 - kubectl wait --for=condition=Ready pod -l "app=$(LB_GATEWAY_IMAGE)" --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - kubectl wait --for=condition=ContainersReady pod -l "app=$(LB_GATEWAY_IMAGE)" --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - kubectl get pods - pod_name=$$(kubectl get pods --selector="app=$(LB_GATEWAY_IMAGE)" | tail -1 | awk '{print $$1}'); \ - echo $$pod_name; \ - $(MAKE) E2E_TIMEOUT=30m E2E_CONFIG=$(ROOTDIR)/.github/e2e/readreplica.yaml e2e/v2 - # $(MAKE) E2E_TARGET_POD_NAME=$$pod_name e2e/readreplica - # $(MAKE) k8s/vald/delete - # $(MAKE) kind/vs/stop + $(call run-github-actions-e2e,kind/vs/restart,app.kubernetes.io/name=metrics-server,k8s/vald-readreplica/deploy,$(ROOTDIR)/.github/helm/values/values-readreplica.yaml,VERSION=$(VERSION),app=$(LB_GATEWAY_IMAGE),$(MAKE) E2E_TIMEOUT=30m E2E_CONFIG=$(ROOTDIR)/.github/e2e/readreplica.yaml e2e/v2,) .PHONY: e2e/actions/run/stream/crud/skip ## run GitHub Actions E2E test (Stream CRUD with SkipExistsCheck = true) e2e/actions/run/stream/crud/skip: \ hack/benchmark/assets/dataset/$(E2E_DATASET_NAME) \ - k3d/restart - kubectl wait -n kube-system --for=condition=Available deployment/metrics-server --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - sleep 2 - kubectl wait -n kube-system --for=condition=Ready pod -l k8s-app=metrics-server --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - kubectl wait -n kube-system --for=condition=ContainersReady pod -l k8s-app=metrics-server --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - $(MAKE) k8s/vald/deploy \ - HELM_VALUES=$(ROOTDIR)/.github/helm/values/values-lb.yaml - sleep 3 - kubectl wait --for=condition=Ready pod -l "app=$(LB_GATEWAY_IMAGE)" --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - kubectl wait --for=condition=ContainersReady pod -l "app=$(LB_GATEWAY_IMAGE)" --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - kubectl get pods - pod_name=$$(kubectl get pods --selector="app=$(LB_GATEWAY_IMAGE)" | tail -1 | awk '{print $$1}'); \ - echo $$pod_name; \ - $(MAKE) E2E_TARGET_POD_NAME=$$pod_name e2e/skip - $(MAKE) k8s/vald/delete - $(MAKE) k3d/delete + $(call run-github-actions-e2e,k3d/restart,k8s-app=metrics-server,k8s/vald/deploy,$(ROOTDIR)/.github/helm/values/values-lb.yaml,,app=$(LB_GATEWAY_IMAGE),$(MAKE) E2E_TARGET_POD_NAME=$$pod_name e2e/skip,$(MAKE) k8s/vald/delete && $(MAKE) k3d/delete) .PHONY: e2e/v2/actions/run/unary/crud ## run GitHub Actions E2E/V2 test (Unary CRUD) e2e/v2/actions/run/unary/crud: \ hack/benchmark/assets/dataset/$(E2E_DATASET_NAME) \ - k3d/restart - kubectl wait -n kube-system --for=condition=Available deployment/metrics-server --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - sleep 2 - kubectl wait -n kube-system --for=condition=Ready pod -l app.kubernetes.io/name=metrics-server --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - kubectl wait -n kube-system --for=condition=ContainersReady pod -l app.kubernetes.io/name=metrics-server --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - $(MAKE) k8s/vald/deploy \ - VERSION=$(VERSION) \ - HELM_VALUES=$(ROOTDIR)/.github/helm/values/values-lb.yaml - sleep 3 - kubectl wait --for=condition=Ready pod -l "app=$(LB_GATEWAY_IMAGE)" --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - kubectl wait --for=condition=ContainersReady pod -l "app=$(LB_GATEWAY_IMAGE)" --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) - kubectl get pods - $(MAKE) E2E_CONFIG="$(E2E_CONFIG_DIR)/unary_crud.yaml" \ - E2E_TIMEOUT=30m \ - E2E_PARALLELISM="4" \ - E2E_INSERT_COUNT="10000" \ - E2E_EXPECTED_INDEX="30000" \ - E2E_QPS="30" \ - E2E_SEARCH_COUNT="10" \ - E2E_UPDATE_COUNT="100" \ - E2E_BULK_SIZE="10" \ - e2e/v2 - $(MAKE) k8s/vald/delete - $(MAKE) k3d/delete + $(call run-github-actions-e2e,k3d/restart,app.kubernetes.io/name=metrics-server,k8s/vald/deploy,$(ROOTDIR)/.github/helm/values/values-lb.yaml,VERSION=$(VERSION),app=$(LB_GATEWAY_IMAGE),$(MAKE) E2E_CONFIG="$(E2E_CONFIG_DIR)/unary_crud.yaml" E2E_TIMEOUT=30m E2E_PARALLELISM="4" E2E_INSERT_COUNT="10000" E2E_EXPECTED_INDEX="30000" E2E_QPS="30" E2E_SEARCH_COUNT="10" E2E_UPDATE_COUNT="100" E2E_BULK_SIZE="10" e2e/v2,$(MAKE) k8s/vald/delete && $(MAKE) k3d/delete) \ No newline at end of file diff --git a/Makefile.d/format.mk b/Makefile.d/format.mk new file mode 100644 index 0000000000..fd726e5134 --- /dev/null +++ b/Makefile.d/format.mk @@ -0,0 +1,205 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + +.PHONY: format +## format go codes +format: + - @$(MAKE) format/proto + - @$(MAKE) format/json + - @$(MAKE) format/md + - @$(MAKE) remove/empty/file + - @$(MAKE) replace/busybox + - @$(MAKE) license + - @$(MAKE) dockerfile + - @$(MAKE) format/go + - @$(MAKE) format/go/test + - @$(MAKE) format/yaml + - @$(MAKE) format/make + - @$(MAKE) format/rust + +.PHONY: format/diff +## format diff +format/diff: + @$(MAKE) format/go/diff + @$(MAKE) format/yaml/diff + +.PHONY: remove/empty/file +## removes empty file such as just includes \r \n space tab +remove/empty/file: \ + files + @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ + grep -vE '^\s*#' "$(ROOTDIR)/.gitfiles" | grep -v gitkeep \ + | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" -n1 sh -c ' \ + if [ -f "{}" ] && [ -z "$$(tr -d '\''[:space:]'\'' < "{}")" ]; then rm "{}"; fi'; \ + fi + +.PHONY: format/go +## run golines, gofumpt, goimports for all go files +format/go: \ + crlfmt/install \ + strictgoimports/install \ + golangci-lint/install \ + files + @echo "Formatting Go files..." + @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ + grep -e "\.go$$" "$(ROOTDIR)/.gitfiles" | grep -v "_test\.go$$" \ + | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" bash -c ' \ + echo "Formatting Go file {}" && \ + $(GOBIN)/strictgoimports -w {} && \ + $(GOBIN)/crlfmt -w -diff=false {} && \ + $(BINDIR)/golangci-lint fmt --config $(ROOTDIR)/.golangci.json {}'; \ + fi + go fix $(ROOTDIR)/... + @echo "Go formatting complete." + +.PHONY: format/go/test +## run golines, gofumpt, goimports for go test files +format/go/test: \ + crlfmt/install \ + strictgoimports/install \ + golangci-lint/install \ + files + @echo "Formatting Go Test files..." + @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ + grep -e "_test\.go$$" "$(ROOTDIR)/.gitfiles" \ + | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" bash -c ' \ + echo "Formatting Go Test file {}" && \ + $(GOBIN)/strictgoimports -w {} && \ + $(GOBIN)/crlfmt -w -diff=false {} && \ + $(BINDIR)/golangci-lint fmt --config $(ROOTDIR)/.golangci.json {}'; \ + fi + @echo "Go test file formatting complete." + +.PHONY: format/go/diff +## run golines, gofumpt, goimports for go diff files +format/go/diff: \ + crlfmt/install \ + strictgoimports/install \ + golangci-lint/install \ + files + @echo "Formatting Go Diff files..." + @git diff --name-only --diff-filter=ACM HEAD | grep -e ".go$$" | xargs -I {} -P$(CORES) bash -c ' \ + echo "Formatting Go file {}" && \ + $(GOBIN)/strictgoimports -w {} && \ + $(GOBIN)/crlfmt -w -diff=false {} && \ + $(BINDIR)/golangci-lint fmt --config $(ROOTDIR)/.golangci.json {}' + @echo "Go file formatting complete." + +.PHONY: format/rust +## format rust codes +format/rust: \ + rustfmt/install \ + files + @echo "Formatting Rust files..." + @cd $(ROOTDIR)/rust && $(CARGO_HOME)/bin/cargo fmt + @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ + grep -e "\.rs$$" "$(ROOTDIR)/.gitfiles" \ + | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" bash -c ' \ + echo "Formatting Rust file {}" && \ + $(CARGO_HOME)/bin/rustfmt --edition 2024 --style-edition 2024 {}'; \ + fi + @echo "Rust formatting complete." + +.PHONY: format/yaml +## format yaml file +format/yaml: + - @$(MAKE) prettier/install + - @$(MAKE) yamlfmt/install + - @$(MAKE) clean/yaml + - @$(MAKE) files + @echo "Formatting YAML files..." + - @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ + grep -E '\.ya?ml$$' "$(ROOTDIR)/.gitfiles" | grep -Ev '(templates|s3)' \ + | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" bash -c ' \ + if [ ! -L "{}" ]; then \ + echo "Formatting YAML file {}" && \ + yamlfmt {} && \ + bunx prettier --write {}; \ + fi'; \ + fi + @echo "YAML file formatting complete." + +.PHONY: clean/yaml +## cleanup empty yaml file +clean/yaml: + - @$(MAKE) files + - @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ + grep -E '\.ya?ml$$' "$(ROOTDIR)/.gitfiles" | grep -Ev '(templates|s3)' \ + | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" -n1 sh -c ' \ + if [ -f "{}" ] && [ ! -L "{}" ] && [ -z "$$(tr -d '\''[:space:]'\'' < "{}")" ]; then rm "{}"; fi'; \ + fi + +.PHONY: format/yaml/diff +format/yaml/diff: + - @$(MAKE) prettier/install + - @$(MAKE) yamlfmt/install + - @$(MAKE) clean/yaml + - @$(MAKE) files + @echo "Formatting YAML files..." + - @git diff --name-only --diff-filter=ACM HEAD | grep -E '\.ya?ml$$' | grep -Ev '(templates|s3)' | xargs -I {} -P$(CORES) bash -c ' \ + if [ ! -L "{}" ]; then \ + echo "Formatting YAML file {}" && \ + yamlfmt {} && \ + bunx prettier --write {}; \ + fi' + @echo "YAML file formatting complete." + +.PHONY: format/make +format/make: \ + mbake/install \ + files + @echo "Formatting Makefile and Makefile.d/*.mk files..." + - @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ + grep -E '(Makefile|\.mk$$)' "$(ROOTDIR)/.gitfiles" \ + | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" bash -c ' \ + if [ ! -L "{}" ]; then \ + echo "Formatting Make file {}" && \ + mbake format {}; \ + fi'; \ + fi + @echo "Makefile formatting complete." + +.PHONY: format/md +format/md: \ + prettier/install + @echo "Formatting Markdown files..." + - @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ + grep -E '\.md$$' "$(ROOTDIR)/.gitfiles" \ + | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" bash -c ' \ + if [ ! -L "{}" ]; then \ + echo "Formatting Markdown file {}" && \ + bunx prettier --write {}; \ + fi'; \ + fi + @echo "Markdown file formatting complete." + +.PHONY: format/json +format/json: \ + prettier/install + @echo "Formatting JSON files..." + - @if [ -f "$(ROOTDIR)/.gitfiles" ]; then \ + grep -E '\.json$$' "$(ROOTDIR)/.gitfiles" \ + | xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P"$(CORES)" bash -c ' \ + if [ ! -L "{}" ]; then \ + echo "Formatting JSON file {}" && \ + bunx prettier --write {}; \ + fi'; \ + fi + @echo "JSON file formatting complete." +.PHONY: format/proto +format/proto: \ + buf/install + buf format -w \ No newline at end of file diff --git a/Makefile.d/functions.mk b/Makefile.d/functions.mk index e2f9eec571..d5336dd8a2 100644 --- a/Makefile.d/functions.mk +++ b/Makefile.d/functions.mk @@ -13,6 +13,9 @@ # See the License for the specific language governing permissions and # limitations under the License. # + +# --- Color Definitions --- + red = printf "\x1b[31m\#\# %s\x1b[0m\n" $1 green = printf "\x1b[32m\#\# %s\x1b[0m\n" $1 yellow = printf "\x1b[33m\#\# %s\x1b[0m\n" $1 @@ -20,25 +23,76 @@ blue = printf "\x1b[34m\#\# %s\x1b[0m\n" $1 pink = printf "\x1b[35m\#\# %s\x1b[0m\n" $1 cyan = printf "\x1b[36m\#\# %s\x1b[0m\n" $1 -define go-tool-install - cat $(ROOTDIR)/hack/go.tools | \ - xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P $(CORES) \ - sh -c 'if ! out=$$(go install -ldflags="-w" {} 2>&1 >/dev/null); then echo "--- Failed to install {} ---" >&2; echo "$$out" >&2; exit 255; fi'; -endef +# --- Environment Variables & Constants --- + +CC_ENV_VARS = \ + CC="$(CC)" \ + CXX="$(CXX)" \ + LLD="$(LLD)" \ + AR="$(AR)" \ + NM="$(NM)" \ + RANLIB="$(RANLIB)" + +GO_ENV_VARS = \ + $(CC_ENV_VARS) \ + GOPRIVATE=$(GOPRIVATE) \ + GOARCH=$(GOARCH) \ + GOOS=$(GOOS) \ + GO111MODULE=on \ + GO_VERSION=$(GO_VERSION) + +CGO_ENV_VARS = \ + CGO_ENABLED=$(CGO_ENABLED) \ + CGO_CFLAGS_ALLOW="$(CFLAGS_BASE)" \ + CGO_CFLAGS="$(CFLAGS) $1" \ + CGO_CXXFLAGS="$(CXXFLAGS) $1" \ + CGO_FFLAGS="$(CFLAGS) $1" \ + CGO_LDFLAGS="$2" + +DOCKER_BUILD_ARGS = \ + --build-arg BUILDKIT_INLINE_CACHE=$(BUILDKIT_INLINE_CACHE) \ + --build-arg GO_VERSION=$(GO_VERSION) \ + --build-arg RUST_VERSION=$(RUST_VERSION) \ + --build-arg MAINTAINER=$(MAINTAINER) \ + --build-arg EMAIL="$(EMAIL)" \ + --build-arg CC="$(CC)" \ + --build-arg CXX="$(CXX)" \ + --build-arg LLD="$(LLD)" \ + --build-arg AR="$(AR)" \ + --build-arg NM="$(NM)" \ + --build-arg RANLIB="$(RANLIB)" \ + --build-arg CFLAGS="$(CFLAGS)" \ + --build-arg CXXFLAGS="$(CXXFLAGS)" \ + --build-arg LDFLAGS="$(LDFLAGS)" \ + --build-arg SUDO="" + +GO_INFO_LDFLAGS = \ + -X '$(GOPKG)/internal/info.BuildCPUInfoFlags=$(CPU_INFO_FLAGS)' \ + -X '$(GOPKG)/internal/info.BuildTime=$(DATETIME)' \ + -X '$(GOPKG)/internal/info.CGOEnabled=$(if $(filter 1,$(strip $(CGO_ENABLED))),true,false)' \ + -X '$(GOPKG)/internal/info.GitCommit=$(GIT_COMMIT)' \ + -X '$(GOPKG)/internal/info.GoArch=$(GOARCH)' \ + -X '$(GOPKG)/internal/info.GoOS=$(GOOS)' \ + -X '$(GOPKG)/internal/info.GoVersion=$(GO_VERSION)' \ + -X '$(GOPKG)/internal/info.Version=$(VERSION)' + +GO_BUILD_FLAGS = -modcacherw -mod=readonly -a -trimpath +GO_TEST_BASE_FLAGS = -short -shuffle=on -race -mod=readonly -cover -timeout=$(GOTEST_TIMEOUT) +GO_TEST_FLAGS = $(GO_TEST_BASE_FLAGS) -ldflags="$(GO_STATIC_LDFLAGS)" +GO_TEST_ENV = $(GO_ENV_VARS) CGO_LDFLAGS="$(TEST_LDFLAGS)" + +# --- Filesystem Utilities --- define mkdir mkdir -p $1 endef -define profile-web - go tool pprof -http=":6061" \ - $1.bin \ - $1.cpu.out & - go tool pprof -http=":6062" \ - $1.bin \ - $1.mem.out & - go tool trace -http=":6063" \ - $1.trace.out +# --- Go Tools & Maintenance --- + +define go-tool-install + cat $(ROOTDIR)/hack/go.tools | \ + xargs $(XARGS_NO_RUN_IF_EMPTY) -I {} -P $(CORES) \ + sh -c 'if ! out=$$( $(GO_ENV_VARS) go install -ldflags="$(GO_STATIC_LDFLAGS)" {} 2>&1 >/dev/null); then echo "--- Failed to install {} ---" >&2; echo "$$out" >&2; exit 255; fi'; endef define go-lint @@ -52,366 +106,384 @@ define go-vet | grep -v "Mutex" | sort | uniq endef +define update-template + sed -i -e "s/^- $1 Version: .*$$/- $1 Version: $2/" $(ROOTDIR)/.github/ISSUE_TEMPLATE/bug_report.md + sed -i -e "s/^- $1 Version: .*$$/- $1 Version: $2/" $(ROOTDIR)/.github/ISSUE_TEMPLATE/security_issue_report.md + sed -i -e "s/^- $1 Version: .*$$/- $1 Version: $2/" $(ROOTDIR)/.github/PULL_REQUEST_TEMPLATE.md +endef + +export UPDATE_GITHUB_ACTION_SCRIPT = \ + ACTION="$$1"; \ + FILE_NAME=$$(echo $$ACTION | tr '/' '_' | tr '-' '_' | tr '[:lower:]' '[:upper:]'); \ + if [ -n "$$FILE_NAME" ]; then \ + case "$$ACTION" in \ + "aquasecurity/trivy-action" | "machine-learning-apps/actions-chatops" ) VERSION="master";; \ + * ) \ + REPO_NAME=$$(echo $$ACTION | cut -d'/' -f1-2); \ + echo "$$ACTION to $$REPO_NAME"; \ + VERSION=$$(curl -fsSL https://api.github.com/repos/$$REPO_NAME/tags?per_page=1 | \ + grep -Po '"name": "\K.*?(?=")' | \ + head -n1 | sed 's/v//g' | sed -E 's/[^0-9.]+//g'); \ + ;; \ + esac; \ + if [ -n "$$VERSION" ]; then \ + OLD_VERSION=$$(cat $(ROOTDIR)/versions/actions/$$FILE_NAME); \ + echo "updating $$ACTION version file $$FILE_NAME from $$OLD_VERSION to $$VERSION"; \ + echo $$VERSION > $(ROOTDIR)/versions/actions/$$FILE_NAME; \ + else \ + VERSION=$$(cat $(ROOTDIR)/versions/actions/$$FILE_NAME); \ + echo "No version found for $$ACTION version file $$FILE_NAME=$$VERSION"; \ + fi; \ + if [ "$$ACTION" = "cirrus-actions/rebase" ]; then \ + VERSION_PREFIX=$$VERSION; \ + cat $(ROOTDIR)/.gitfiles | grep '^\.github/' | sed -e 's%^%$(ROOTDIR)/%' | \ + xargs -I __FILE__ -P $(CORES) sed -i "s%$$ACTION@.*%$$ACTION@$$VERSION_PREFIX%g" "__FILE__"; \ + elif echo $$VERSION | grep -qE '^[0-9]'; then \ + VERSION_PREFIX=$$(echo $$VERSION | cut -c 1); \ + cat $(ROOTDIR)/.gitfiles | grep '^\.github/' | sed -e 's%^%$(ROOTDIR)/%' | \ + xargs -I __FILE__ -P $(CORES) sed -i "s%$$ACTION@.*%$$ACTION@v$$VERSION_PREFIX%g" "__FILE__"; \ + else \ + VERSION_PREFIX=$$VERSION; \ + cat $(ROOTDIR)/.gitfiles | grep '^\.github/' | sed -e 's%^%$(ROOTDIR)/%' | \ + xargs -I __FILE__ -P $(CORES) sed -i "s%$$ACTION@.*%$$ACTION@$$VERSION_PREFIX%g" "__FILE__"; \ + fi; \ + fi + +define update-github-actions + @echo "$1" | tr ' ' '\n' | grep -v '^$$' | grep -v '^security-and-quality$$' | \ + xargs -I {} -P $(CORES) bash -c 'eval "$$UPDATE_GITHUB_ACTION_SCRIPT"' _ {} +endef + +# --- Go Build & Example --- + +# go-base implements base go command helper +# Arguments: +# $1: Command (build, test, install, run) +# $2: Extra Environment Variables +# $3: Command Flags +# $4: ldflags +# $5: Tags +# $6: Output path (-o flag) +# $7: Target path (cmd path or package path) +# $8: Additional arguments +define go-base + $(GO_ENV_VARS) $2 go $(strip $1) \ + $(if $(filter build,$(strip $1)),$(GO_BUILD_FLAGS)) \ + $(if $(filter test,$(strip $1)),$(GO_TEST_BASE_FLAGS)) \ + -ldflags "$(strip -buildid= $(GO_INFO_LDFLAGS) $4)" \ + $(strip $3) \ + $(if $(strip $5),-tags "$(strip $5)") \ + $(if $(strip $6),-o $(strip $6)) \ + $(strip $7) \ + $8 +endef + define go-build - echo $(GO_SOURCES_INTERNAL) - echo $(PBGOS) - echo $(shell find $(ROOTDIR)/cmd/$1 -type f -name '*.go' -not -name '*_test.go' -not -name 'doc.go') - echo $(shell find $(ROOTDIR)/pkg/$1 -type f -name '*.go' -not -name '*_test.go' -not -name 'doc.go') - CFLAGS="$(CFLAGS)" \ - CXXFLAGS="$(CXXFLAGS)" \ - CGO_ENABLED=$(CGO_ENABLED) \ - CGO_CFLAGS_ALLOW="-flto=.*|-ffat-lto-objects" \ - CGO_CFLAGS="$(CFLAGS) -flto=auto -ffat-lto-objects" \ - CGO_CXXFLAGS="$3" \ - CGO_FFLAGS="$3" \ - CGO_LDFLAGS="$3" \ - GO111MODULE=on \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - GOPRIVATE=$(GOPRIVATE) \ - GO_VERSION=$(GO_VERSION) \ - go build \ - --ldflags "-w $2 \ - -extldflags '$3' \ - -X '$(GOPKG)/internal/info.AlgorithmInfo=$5' \ - -X '$(GOPKG)/internal/info.BuildCPUInfoFlags=$(CPU_INFO_FLAGS)' \ - -X '$(GOPKG)/internal/info.BuildTime=$(DATETIME)' \ - -X '$(GOPKG)/internal/info.CGOEnabled=$(if $(filter 1,$(strip $(CGO_ENABLED))),true,false)' \ - -X '$(GOPKG)/internal/info.GitCommit=$(GIT_COMMIT)' \ - -X '$(GOPKG)/internal/info.GoArch=$(GOARCH)' \ - -X '$(GOPKG)/internal/info.GoOS=$(GOOS)' \ - -X '$(GOPKG)/internal/info.GoVersion=$(GO_VERSION)' \ - -X '$(GOPKG)/internal/info.Version=$(VERSION)' \ - -buildid=" \ - -modcacherw \ - -mod=readonly \ - -a \ - -tags "osusergo netgo static_build$4" \ - -trimpath \ - -o $6 \ - $(ROOTDIR)/cmd/$1/main.go + $(call go-base,build, \ + $(call CGO_ENV_VARS,-DNGT_LARGE_DATASET,$3), \ + -mod=readonly, \ + $(GO_LDFLAGS) $2 -extldflags '-static $3' \ + -X '$(GOPKG)/internal/info.AlgorithmInfo=$5', \ + osusergo netgo static_build $4, \ + $6, \ + $(ROOTDIR)/cmd/$1/main.go) $6 -version endef define go-example-build - echo $(GO_SOURCES_INTERNAL) - echo $(PBGOS) - echo $(shell find $(ROOTDIR)/$1 -type f -name '*.go' -not -name '*_test.go' -not -name 'doc.go') cd $(ROOTDIR)/$1 && \ - CFLAGS="$(CFLAGS)" \ - CXXFLAGS="$(CXXFLAGS)" \ - CGO_ENABLED=$(CGO_ENABLED) \ - CGO_CFLAGS_ALLOW="-flto=.*|-ffat-lto-objects" \ - CGO_CFLAGS="$(CFLAGS) -flto=auto -ffat-lto-objects" \ - CGO_CXXFLAGS="$3" \ - CGO_FFLAGS="$3" \ - CGO_LDFLAGS="$3" \ - GO111MODULE=on \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - GOPRIVATE=$(GOPRIVATE) \ - GO_VERSION=$(GO_VERSION) \ - go build \ - --ldflags "-w $2 \ - -extldflags '$3' \ - -buildid=" \ - -modcacherw \ - -mod=readonly \ - -a \ - -tags "osusergo netgo static_build$4" \ - -trimpath \ - -o $(ROOTDIR)/$6 \ - $(ROOTDIR)/example/client/main.go + $(call go-base,build, \ + $(call CGO_ENV_VARS,-DNGT_LARGE_DATASET,$3), \ + , \ + $(GO_LDFLAGS) $2 -extldflags '-static $3', \ + osusergo netgo static_build$4, \ + $(ROOTDIR)/$6, \ + $(ROOTDIR)/example/client/main.go) endef define go-e2e-build - echo $(GO_SOURCES_INTERNAL) - echo $(PBGOS) - echo $(shell find $(ROOTDIR)/$1 -type f -name '*.go' -not -name '*_test.go' -not -name 'doc.go') - CFLAGS="$(CFLAGS)" \ - CXXFLAGS="$(CXXFLAGS)" \ - CGO_ENABLED=$(CGO_ENABLED) \ - CGO_CFLAGS_ALLOW="-flto=.*|-ffat-lto-objects" \ - CGO_CFLAGS="$(CFLAGS) -flto=auto -ffat-lto-objects" \ - CGO_CXXFLAGS="$2" \ - CGO_FFLAGS="$2" \ - CGO_LDFLAGS="$2" \ - GO111MODULE=on \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - GOPRIVATE=$(GOPRIVATE) \ - GO_VERSION=$(GO_VERSION) \ - go test \ - -c \ - -v \ - -race \ - -mod=readonly \ - -tags "e2e" \ - -ldflags "-extldflags '-static' \ - -X '$(GOPKG)/internal/info.BuildCPUInfoFlags=$(CPU_INFO_FLAGS)' \ - -X '$(GOPKG)/internal/info.BuildTime=$(DATETIME)' \ - -X '$(GOPKG)/internal/info.CGOEnabled=$(if $(filter 1,$(strip $(CGO_ENABLED))),true,false)' \ - -X '$(GOPKG)/internal/info.GitCommit=$(GIT_COMMIT)' \ - -X '$(GOPKG)/internal/info.GoArch=$(GOARCH)' \ - -X '$(GOPKG)/internal/info.GoOS=$(GOOS)' \ - -X '$(GOPKG)/internal/info.GoVersion=$(GO_VERSION)' \ - -X '$(GOPKG)/internal/info.Version=$(VERSION)'" \ - -o $(ROOTDIR)/$3 \ - $(ROOTDIR)/$1 + $(call go-base,test, \ + $(call CGO_ENV_VARS,,$2), \ + -c -v -race -mod=readonly, \ + $(GO_LDFLAGS) -linkmode=external \ + -extldflags '-static $2', \ + e2e, \ + $(ROOTDIR)/$3, \ + $(ROOTDIR)/$1) endef -define telepresence - [ -z $(SWAP_IMAGE) ] && IMAGE=$2 || IMAGE=$(SWAP_IMAGE) \ - && echo "telepresence replaces $(SWAP_DEPLOYMENT_TYPE)/$1 with $${IMAGE}:$(SWAP_TAG)" \ - && telepresence \ - --swap-deployment $1 \ - --docker-run --rm -it $${IMAGE}:$(SWAP_TAG) - ## will be available after merge this commit into telepresence head branch - ## https://github.com/telepresenceio/telepresence/commit/bb7473fbf19ed4f61796a5e32747e23de6ab03da - ## --deployment-type "$(SWAP_DEPLOYMENT_TYPE)" +# --- Go Test & Benchmark --- + +define go-test + $(call go-base,test, \ + CGO_LDFLAGS="$(TEST_LDFLAGS)", \ + , \ + $(GO_STATIC_LDFLAGS), \ + , \ + , \ + $1) +endef + +define go-test-tparse + set -euo pipefail; \ + rm -rf "$(TEST_RESULT_DIR)/$$(echo $2 | sed -e 's%/%-%g')-result.json"; \ + $(call go-base,test, \ + CGO_LDFLAGS="$(TEST_LDFLAGS)", \ + -json, \ + $(GO_STATIC_LDFLAGS), \ + , \ + , \ + $1, \ + | tee "$(TEST_RESULT_DIR)/$$(echo $2 | sed -e 's%/%-%g')-result.json" \ + | tparse -pass -notests) +endef + +define go-test-gotestfmt + set -euo pipefail; \ + rm -rf "$(TEST_RESULT_DIR)/$$(echo $2 | sed -e 's%/%-%g')-result.json"; \ + $(call go-base,test, \ + CGO_LDFLAGS="$(TEST_LDFLAGS)" GODEBUG=$(GODEBUG), \ + -json, \ + $(GO_STATIC_LDFLAGS), \ + , \ + , \ + $1, \ + | tee "$(TEST_RESULT_DIR)/$$(echo $2 | sed -e 's%/%-%g')-result.json" \ + | gotestfmt $3) +endef + +define go-bench + mkdir -p $(dir $2) + $(call go-base,test, \ + CGO_LDFLAGS="$(TEST_LDFLAGS)", \ + -mod=readonly -count=1 -timeout=1h -bench=$1 -benchmem \ + -cpuprofile $(patsubst %.bin,%.cpu.out,$2) \ + -memprofile $(patsubst %.bin,%.mem.out,$2) \ + -trace $(patsubst %.bin,%.trace.out,$2), \ + , \ + , \ + $2, \ + $3) endef +GOTESTS_GEN_SCRIPT = \ + f="{}"; \ + GOTESTS_OPTION="-all"; \ + if [[ $$f =~ \.\/pkg\/.*\/router\/.* || $$f =~ \.\/pkg\/.*\/handler\/rest\/.* ]]; then \ + echo "Skip generating go test file: $$f"; \ + exit 0; \ + elif [[ $$f =~ \.\/pkg\/.*\/usecase\/.* ]]; then \ + GOTESTS_OPTION=" -only New "; \ + elif [[ $$f =~ \.\/pkg\/.* ]]; then \ + GOTESTS_OPTION=" -exported "; \ + fi; \ + echo "Generating go test file: $$f with option $$GOTESTS_OPTION"; \ + gotests -w -template_dir $(ROOTDIR)/assets/test/templates/common $$GOTESTS_OPTION $${f/%.go/_test.go}; + +GOTESTS_OPTION_GEN_SCRIPT = \ + f="{}"; \ + GOTESTS_OPTION="-all"; \ + if [[ $$f =~ \.\/pkg\/.*\/router\/.* || $$f =~ \.\/pkg\/.*\/handler\/rest\/.* || $$f =~ \.\/pkg\/.*\/usecase\/.* ]]; then \ + echo "Skip generating go option test file: $$f"; \ + exit 0; \ + elif [[ $$f =~ \.\/pkg\/.* ]]; then \ + GOTESTS_OPTION=" -exported "; \ + fi; \ + echo "Generating go option test file: $$f with option $$GOTESTS_OPTION"; \ + gotests -w -template_dir $(ROOTDIR)/assets/test/templates/option $$GOTESTS_OPTION $${f/%.go/_test.go}; + +# This function generate only implementation tests +define gen-go-test-sources + @$(call green, "Generating go test files in parallel (cores: $(CORES))...") + @echo "$(GO_SOURCES)" | tr ' ' '\n' | \ + xargs -I {} -P$(CORES) bash -c '$(GOTESTS_GEN_SCRIPT)' +endef + +# This function generate only option tests +define gen-go-option-test-sources + @$(call green, "Generating go option test files in parallel (cores: $(CORES))...") + @echo "$(GO_OPTION_SOURCES)" | tr ' ' '\n' | \ + xargs -I {} -P$(CORES) bash -c '$(GOTESTS_OPTION_GEN_SCRIPT)' +endef + +# --- E2E Test --- + define run-v2-e2e-crud-test - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_CFLAGS="$(CGO_CFLAGS)" \ - CGO_LDFLAGS="$(CGO_LDFLAGS)" \ - E2E_ADDR="$(E2E_BIND_HOST):$(E2E_BIND_PORT)" \ - E2E_BIND_HOST="$(E2E_BIND_HOST)" \ - E2E_BIND_PORT="$(E2E_BIND_PORT)" \ - E2E_TARGET_NAMESPACE="$(E2E_TARGET_NAMESPACE)" \ - E2E_TARGET_NAME="$(E2E_TARGET_NAME)" \ - E2E_DATASET_PATH="$(ROOTDIR)/hack/benchmark/assets/dataset/$(E2E_DATASET_NAME)" \ - E2E_PARALLELISM="$(E2E_PARALLELISM)" \ - E2E_INSERT_COUNT="$(E2E_INSERT_COUNT)" \ - E2E_QPS="$(E2E_QPS)" \ - E2E_SEARCH_COUNT="$(E2E_SEARCH_COUNT)" \ - E2E_UPDATE_COUNT="$(E2E_UPDATE_COUNT)" \ - E2E_BULK_SIZE="$(E2E_BULK_SIZE)" \ - E2E_EXPECTED_INDEX="$(E2E_EXPECTED_INDEX)" \ - go test \ - -race \ - -v \ - -mod=readonly \ - $1 \ - $(ROOTDIR)/tests/v2/e2e/crud \ - -tags "e2e" \ - -timeout $(E2E_TIMEOUT) \ - -config $(E2E_CONFIG) + $(call go-base,test, \ + CGO_LDFLAGS="$(TEST_LDFLAGS)" \ + CGO_CFLAGS="$(CGO_CFLAGS)" \ + E2E_ADDR="$(E2E_BIND_HOST):$(E2E_BIND_PORT)" \ + E2E_BIND_HOST="$(E2E_BIND_HOST)" \ + E2E_BIND_PORT="$(E2E_BIND_PORT)" \ + E2E_TARGET_NAMESPACE="$(E2E_TARGET_NAMESPACE)" \ + E2E_TARGET_NAME="$(E2E_TARGET_NAME)" \ + E2E_DATASET_PATH="$(ROOTDIR)/hack/benchmark/assets/dataset/$(E2E_DATASET_NAME)" \ + E2E_PARALLELISM="$(E2E_PARALLELISM)" \ + E2E_INSERT_COUNT="$(E2E_INSERT_COUNT)" \ + E2E_QPS="$(E2E_QPS)" \ + E2E_SEARCH_COUNT="$(E2E_SEARCH_COUNT)" \ + E2E_UPDATE_COUNT="$(E2E_UPDATE_COUNT)" \ + E2E_BULK_SIZE="$(E2E_BULK_SIZE)" \ + E2E_EXPECTED_INDEX="$(E2E_EXPECTED_INDEX)", \ + -race -v -mod=readonly -timeout $(E2E_TIMEOUT) -config $(E2E_CONFIG), \ + $(GO_STATIC_LDFLAGS), \ + e2e, \ + , \ + $1 $(ROOTDIR)/tests/v2/e2e/crud) endef define run-e2e-crud-test - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test \ - -race \ - -mod=readonly \ - $1 \ - -v $(ROOTDIR)/tests/e2e/crud/crud_test.go \ - -tags "e2e" \ - -timeout $(E2E_TIMEOUT) \ - -host=$(E2E_BIND_HOST) \ - -port=$(E2E_BIND_PORT) \ - -dataset=$(ROOTDIR)/hack/benchmark/assets/dataset/$(E2E_DATASET_NAME) \ - -insert-num=$(E2E_INSERT_COUNT) \ - -correction-insert-num=$(E2E_INSERT_COUNT) \ - -insert-num=$(E2E_INSERT_COUNT) \ - -search-num=$(E2E_SEARCH_COUNT) \ - -search-by-id-num=$(E2E_SEARCH_BY_ID_COUNT) \ - -get-object-num=$(E2E_GET_OBJECT_COUNT) \ - -update-num=$(E2E_UPDATE_COUNT) \ - -upsert-num=$(E2E_UPSERT_COUNT) \ - -remove-num=$(E2E_REMOVE_COUNT) \ - -insert-from=$(E2E_INSERT_FROM) \ - -update-from=$(E2E_UPDATE_FROM) \ - -upsert-from=$(E2E_UPSERT_FROM) \ - -remove-from=$(E2E_REMOVE_FROM) \ - -search-from=$(E2E_SEARCH_FROM) \ - -search-by-id-from=$(E2E_SEARCH_BY_ID_FROM) \ - -get-object-from=$(E2E_GET_OBJECT_FROM) \ - -wait-after-insert=$(E2E_WAIT_FOR_CREATE_INDEX_DURATION) \ - -portforward=$(E2E_PORTFORWARD_ENABLED) \ - -portforward-pod-name=$(E2E_TARGET_POD_NAME) \ - -portforward-pod-port=$(E2E_TARGET_PORT) \ - -namespace=$(E2E_TARGET_NAMESPACE) \ - -kubeconfig=$(KUBECONFIG) + $(call go-base,test, \ + CGO_LDFLAGS="$(TEST_LDFLAGS)", \ + -race -mod=readonly -v -timeout $(E2E_TIMEOUT) \ + -host=$(E2E_BIND_HOST) \ + -port=$(E2E_BIND_PORT) \ + -dataset=$(ROOTDIR)/hack/benchmark/assets/dataset/$(E2E_DATASET_NAME) \ + -insert-num=$(E2E_INSERT_COUNT) \ + -correction-insert-num=$(E2E_INSERT_COUNT) \ + -search-num=$(E2E_SEARCH_COUNT) \ + -search-by-id-num=$(E2E_SEARCH_BY_ID_COUNT) \ + -get-object-num=$(E2E_GET_OBJECT_COUNT) \ + -update-num=$(E2E_UPDATE_COUNT) \ + -upsert-num=$(E2E_UPSERT_COUNT) \ + -remove-num=$(E2E_REMOVE_COUNT) \ + -insert-from=$(E2E_INSERT_FROM) \ + -update-from=$(E2E_UPDATE_FROM) \ + -upsert-from=$(E2E_UPSERT_FROM) \ + -remove-from=$(E2E_REMOVE_FROM) \ + -search-from=$(E2E_SEARCH_FROM) \ + -search-by-id-from=$(E2E_SEARCH_BY_ID_FROM) \ + -get-object-from=$(E2E_GET_OBJECT_FROM) \ + -wait-after-insert=$(E2E_WAIT_FOR_CREATE_INDEX_DURATION) \ + -portforward=$(E2E_PORTFORWARD_ENABLED) \ + -portforward-pod-name=$(E2E_TARGET_POD_NAME) \ + -portforward-pod-port=$(E2E_TARGET_PORT) \ + -namespace=$(E2E_TARGET_NAMESPACE) \ + -kubeconfig=$(KUBECONFIG), \ + $(GO_STATIC_LDFLAGS), \ + e2e, \ + , \ + $1 $(ROOTDIR)/tests/e2e/crud/crud_test.go) endef define run-e2e-crud-faiss-test - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test \ - -race \ - -mod=readonly \ - $1 \ - -v $(ROOTDIR)/tests/e2e/crud/crud_faiss_test.go \ - -tags "e2e" \ - -timeout $(E2E_TIMEOUT) \ - -host=$(E2E_BIND_HOST) \ - -port=$(E2E_BIND_PORT) \ - -dataset=$(ROOTDIR)/hack/benchmark/assets/dataset/$(E2E_DATASET_NAME).hdf5 \ - -insert-num=$(E2E_INSERT_COUNT) \ - -search-num=$(E2E_SEARCH_COUNT) \ - -update-num=$(E2E_UPDATE_COUNT) \ - -remove-num=$(E2E_REMOVE_COUNT) \ - -wait-after-insert=$(E2E_WAIT_FOR_CREATE_INDEX_DURATION) \ - -portforward=$(E2E_PORTFORWARD_ENABLED) \ - -portforward-pod-name=$(E2E_TARGET_POD_NAME) \ - -portforward-pod-port=$(E2E_TARGET_PORT) \ - -namespace=$(E2E_TARGET_NAMESPACE) + $(call go-base,test, \ + CGO_LDFLAGS="$(TEST_LDFLAGS)", \ + -race -mod=readonly -v -timeout $(E2E_TIMEOUT) \ + -host=$(E2E_BIND_HOST) \ + -port=$(E2E_BIND_PORT) \ + -dataset=$(ROOTDIR)/hack/benchmark/assets/dataset/$(E2E_DATASET_NAME).hdf5 \ + -insert-num=$(E2E_INSERT_COUNT) \ + -search-num=$(E2E_SEARCH_COUNT) \ + -update-num=$(E2E_UPDATE_COUNT) \ + -remove-num=$(E2E_REMOVE_COUNT) \ + -wait-after-insert=$(E2E_WAIT_FOR_CREATE_INDEX_DURATION) \ + -portforward=$(E2E_PORTFORWARD_ENABLED) \ + -portforward-pod-name=$(E2E_TARGET_POD_NAME) \ + -portforward-pod-port=$(E2E_TARGET_PORT) \ + -namespace=$(E2E_TARGET_NAMESPACE), \ + $(GO_STATIC_LDFLAGS), \ + e2e, \ + , \ + $1 $(ROOTDIR)/tests/e2e/crud/crud_faiss_test.go) endef define run-e2e-multi-crud-test - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test \ - -race \ - -mod=readonly \ - $1 \ - -v $(ROOTDIR)/tests/e2e/multiapis/multiapis_test.go \ - -tags "e2e" \ - -timeout $(E2E_TIMEOUT) \ - -host=$(E2E_BIND_HOST) \ - -port=$(E2E_BIND_PORT) \ - -dataset=$(ROOTDIR)/hack/benchmark/assets/dataset/$(E2E_DATASET_NAME) \ - -insert-num=$(E2E_INSERT_COUNT) \ - -search-num=$(E2E_SEARCH_COUNT) \ - -search-by-id-num=$(E2E_SEARCH_BY_ID_COUNT) \ - -get-object-num=$(E2E_GET_OBJECT_COUNT) \ - -update-num=$(E2E_UPDATE_COUNT) \ - -upsert-num=$(E2E_UPSERT_COUNT) \ - -remove-num=$(E2E_REMOVE_COUNT) \ - -wait-after-insert=$(E2E_WAIT_FOR_CREATE_INDEX_DURATION) \ - -portforward=$(E2E_PORTFORWARD_ENABLED) \ - -portforward-pod-name=$(E2E_TARGET_POD_NAME) \ - -portforward-pod-port=$(E2E_TARGET_PORT) \ - -namespace=$(E2E_TARGET_NAMESPACE) \ - -kubeconfig=$(KUBECONFIG) + $(call go-base,test, \ + CGO_LDFLAGS="$(TEST_LDFLAGS)", \ + -race -mod=readonly -v -timeout $(E2E_TIMEOUT) \ + -host=$(E2E_BIND_HOST) \ + -port=$(E2E_BIND_PORT) \ + -dataset=$(ROOTDIR)/hack/benchmark/assets/dataset/$(E2E_DATASET_NAME) \ + -insert-num=$(E2E_INSERT_COUNT) \ + -search-num=$(E2E_SEARCH_COUNT) \ + -search-by-id-num=$(E2E_SEARCH_BY_ID_COUNT) \ + -get-object-num=$(E2E_GET_OBJECT_COUNT) \ + -update-num=$(E2E_UPDATE_COUNT) \ + -upsert-num=$(E2E_UPSERT_COUNT) \ + -remove-num=$(E2E_REMOVE_COUNT) \ + -wait-after-insert=$(E2E_WAIT_FOR_CREATE_INDEX_DURATION) \ + -portforward=$(E2E_PORTFORWARD_ENABLED) \ + -portforward-pod-name=$(E2E_TARGET_POD_NAME) \ + -portforward-pod-port=$(E2E_TARGET_PORT) \ + -namespace=$(E2E_TARGET_NAMESPACE) \ + -kubeconfig=$(KUBECONFIG), \ + $(GO_STATIC_LDFLAGS), \ + e2e, \ + , \ + $1 $(ROOTDIR)/tests/e2e/multiapis/multiapis_test.go) endef define run-e2e-max-dim-test - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test \ - -race \ - -mod=readonly \ - -v $(ROOTDIR)/tests/e2e/performance/max_vector_dim_test.go \ - -tags "e2e" \ - -timeout $(E2E_TIMEOUT) \ - -file $(E2E_MAX_DIM_RESULT_FILEPATH) \ - -host=$(E2E_BIND_HOST) \ - -port=$(E2E_BIND_PORT) \ - -bit=${E2E_MAX_DIM_BIT} \ - -portforward=$(E2E_PORTFORWARD_ENABLED) \ - -portforward-pod-name=$(E2E_TARGET_POD_NAME) \ - -portforward-pod-port=$(E2E_TARGET_PORT) \ - -namespace=$(E2E_TARGET_NAMESPACE) \ - -kubeconfig=$(KUBECONFIG) + $(call go-base,test, \ + CGO_LDFLAGS="$(TEST_LDFLAGS)", \ + -race -mod=readonly -v -timeout $(E2E_TIMEOUT) \ + -file $(E2E_MAX_DIM_RESULT_FILEPATH) \ + -host=$(E2E_BIND_HOST) \ + -port=$(E2E_BIND_PORT) \ + -bit=${E2E_MAX_DIM_BIT} \ + -portforward=$(E2E_PORTFORWARD_ENABLED) \ + -portforward-pod-name=$(E2E_TARGET_POD_NAME) \ + -portforward-pod-port=$(E2E_TARGET_PORT) \ + -namespace=$(E2E_TARGET_NAMESPACE) \ + -kubeconfig=$(KUBECONFIG), \ + $(GO_STATIC_LDFLAGS), \ + e2e, \ + , \ + $(ROOTDIR)/tests/e2e/performance/max_vector_dim_test.go) endef define run-e2e-sidecar-test - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test \ - -race \ - -mod=readonly \ - $1 \ - -v $(ROOTDIR)/tests/e2e/sidecar/sidecar_test.go \ - -tags "e2e" \ - -timeout $(E2E_TIMEOUT) \ - -host=$(E2E_BIND_HOST) \ - -port=$(E2E_BIND_PORT) \ - -dataset=$(ROOTDIR)/hack/benchmark/assets/dataset/$(E2E_DATASET_NAME) \ - -insert-num=$(E2E_INSERT_COUNT) \ - -search-num=$(E2E_SEARCH_COUNT) \ - -portforward=$(E2E_PORTFORWARD_ENABLED) \ - -portforward-pod-name=$(E2E_TARGET_POD_NAME) \ - -portforward-pod-port=$(E2E_TARGET_PORT) \ - -namespace=$(E2E_TARGET_NAMESPACE) \ - -kubeconfig=$(KUBECONFIG) -endef - -# This function generate only implementation tests, with the following conditions: -# - Generate all go tests on `./cmd`, `./hack` and `./internal` packages with some exclusion (see $GO_SOURCES) -# - Skip generating go tests under './pkg/*/router/*' and './pkg/*/handler/test/*' package -# - Generate only 'New()' test on './pkg/*/usecase' -# - Generate only exported function tests on `./pkg` package -define gen-go-test-sources - @$(call green, "Generating go test files in parallel (cores: $(CORES))...") - @for f in $(GO_SOURCES); do echo "$$f"; done | \ - xargs -I {} -P$(CORES) bash -c ' \ - f="{}"; \ - GOTESTS_OPTION="-all"; \ - if [[ $$f =~ \.\/pkg\/.*\/router\/.* || $$f =~ \.\/pkg\/.*\/handler\/rest\/.* ]]; then \ - echo "Skip generating go test file: $$f"; \ - exit 0; \ - elif [[ $$f =~ \.\/pkg\/.*\/usecase\/.* ]]; then \ - GOTESTS_OPTION=" -only New "; \ - elif [[ $$f =~ \.\/pkg\/.* ]]; then \ - GOTESTS_OPTION=" -exported "; \ - fi; \ - echo "Generating go test file: $$f with option $$GOTESTS_OPTION"; \ - gotests -w -template_dir $(ROOTDIR)/assets/test/templates/common $$GOTESTS_OPTION $(patsubst %_test.go,%.go,$$f); \ - RESULT=$$?; \ - if [ ! $$RESULT -eq 0 ]; then \ - echo "Error generating test for $$f: $$RESULT"; \ - exit 1; \ - fi; \ - ' + $(call go-base,test, \ + CGO_LDFLAGS="$(TEST_LDFLAGS)", \ + -race -mod=readonly -v -timeout $(E2E_TIMEOUT) \ + -host=$(E2E_BIND_HOST) \ + -port=$(E2E_BIND_PORT) \ + -dataset=$(ROOTDIR)/hack/benchmark/assets/dataset/$(E2E_DATASET_NAME) \ + -insert-num=$(E2E_INSERT_COUNT) \ + -search-num=$(E2E_SEARCH_COUNT) \ + -portforward=$(E2E_PORTFORWARD_ENABLED) \ + -portforward-pod-name=$(E2E_TARGET_POD_NAME) \ + -portforward-pod-port=$(E2E_TARGET_PORT) \ + -namespace=$(E2E_TARGET_NAMESPACE) \ + -kubeconfig=$(KUBECONFIG), \ + $(GO_STATIC_LDFLAGS), \ + e2e, \ + , \ + $1 $(ROOTDIR)/tests/e2e/sidecar/sidecar_test.go) endef -# This function generate only option tests, with the following conditions: -# - Generate all go tests on `./cmd`, `./hack` and `./internal` packages with exclusion (see $GO_SOURCES) -# - Skip generating go tests under './pkg/*/router' and './pkg/*/handler/test' and './pkg/*/usecase' package -# - Generate only exported function tests on `./pkg` package -define gen-go-option-test-sources - @$(call green, "Generating go option test files in parallel (cores: $(CORES))...") - @for f in $(GO_OPTION_SOURCES); do echo "$$f"; done | \ - xargs -I {} -P$(CORES) bash -c ' \ - f="{}"; \ - GOTESTS_OPTION="-all"; \ - if [[ $$f =~ \.\/pkg\/.*\/router\/.* || $$f =~ \.\/pkg\/.*\/handler\/rest\/.* || $$f =~ \.\/pkg\/.*\/usecase\/.* ]]; then \ - echo "Skip generating go option test file: $$f"; \ - exit 0; \ - elif [[ $$f =~ \.\/pkg\/.* ]]; then \ - GOTESTS_OPTION=" -exported "; \ - fi; \ - echo "Generating go option test file: $$f with option $$GOTESTS_OPTION"; \ - gotests -w -template_dir $(ROOTDIR)/assets/test/templates/option $$GOTESTS_OPTION $(patsubst %_test.go,%.go,$$f); \ - RESULT=$$?; \ - if [ ! $$RESULT -eq 0 ]; then \ - echo "Error generating option test for $$f: $$RESULT"; \ - exit 1; \ - fi; \ - ' +define run-github-actions-e2e + $(MAKE) $1 + kubectl wait -n kube-system --for=condition=Available deployment/metrics-server --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) + sleep 2 + kubectl wait -n kube-system --for=condition=Ready pod -l $2 --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) + kubectl wait -n kube-system --for=condition=ContainersReady pod -l $2 --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) + $(MAKE) $3 HELM_VALUES=$4 $5 + sleep 3 + kubectl wait --for=condition=Ready pod -l "$6" --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) + kubectl wait --for=condition=ContainersReady pod -l "$6" --timeout=$(E2E_WAIT_FOR_START_TIMEOUT) + kubectl get pods + pod_name=$$(kubectl get pods --selector="$6" | tail -1 | awk '{print $$1}'); \ + echo $$pod_name; \ + $7 + $8 endef +# --- Code/Doc Generation --- + define gen-license BIN_PATH="$(TEMP_DIR)/vald-license-gen"; \ rm -rf $$BIN_PATH; \ MAINTAINER=$2 \ - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - go build -modcacherw \ - -mod=readonly \ - -a \ - -tags "osusergo netgo static_build" \ - -trimpath \ - -o $$BIN_PATH \ - $(ROOTDIR)/hack/license/gen/main.go; \ - $$BIN_PATH $1; \ + $(call go-base,build, \ + , \ + , \ + $(GO_STATIC_LDFLAGS), \ + osusergo netgo static_build, \ + $$BIN_PATH, \ + $(ROOTDIR)/hack/license/gen/main.go) \ + && $$BIN_PATH $1; \ rm -rf $$BIN_PATH endef @@ -419,17 +491,14 @@ define gen-dockerfile BIN_PATH="$(TEMP_DIR)/vald-dockerfile-gen"; \ rm -rf $$BIN_PATH; \ MAINTAINER=$2 \ - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - go build -modcacherw \ - -mod=readonly \ - -a \ - -tags "osusergo netgo static_build" \ - -trimpath \ - -o $$BIN_PATH \ - $(ROOTDIR)/hack/docker/gen/main.go; \ - $$BIN_PATH $1; \ + $(call go-base,build, \ + , \ + , \ + $(GO_STATIC_LDFLAGS), \ + osusergo netgo static_build, \ + $$BIN_PATH, \ + $(ROOTDIR)/hack/docker/gen/main.go) \ + && $$BIN_PATH $1; \ rm -rf $$BIN_PATH endef @@ -440,17 +509,14 @@ endef define gen-vald-helm-schema BIN_PATH="$(TEMP_DIR)/vald-helm-schema-gen"; \ rm -rf $$BIN_PATH; \ - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - go build -modcacherw \ - -mod=readonly \ - -a \ - -tags "osusergo netgo static_build" \ - -trimpath \ - -o $$BIN_PATH \ - $(ROOTDIR)/hack/helm/schema/gen/main.go; \ - $$BIN_PATH charts/$1.yaml > charts/$1.schema.json; \ + $(call go-base,build, \ + , \ + , \ + $(GO_STATIC_LDFLAGS), \ + osusergo netgo static_build, \ + $$BIN_PATH, \ + $(ROOTDIR)/hack/helm/schema/gen/main.go) \ + && $$BIN_PATH charts/$1.yaml > charts/$1.schema.json; \ rm -rf $$BIN_PATH endef @@ -460,77 +526,32 @@ define gen-vald-crd fi; BIN_PATH="$(TEMP_DIR)/vald-helm-crd-schema-gen"; \ rm -rf $$BIN_PATH; \ - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - go build -modcacherw \ - -mod=readonly \ - -a \ - -tags "osusergo netgo static_build" \ - -trimpath \ - -o $$BIN_PATH \ - $(ROOTDIR)/hack/helm/schema/crd/main.go; \ - $$BIN_PATH $(ROOTDIR)/charts/$3.yaml > $(TEMP_DIR)/$2-spec.yaml; \ + $(call go-base,build, \ + , \ + , \ + $(GO_STATIC_LDFLAGS), \ + osusergo netgo static_build, \ + $$BIN_PATH, \ + $(ROOTDIR)/hack/helm/schema/crd/main.go) \ + && $$BIN_PATH $(ROOTDIR)/charts/$3.yaml > $(TEMP_DIR)/$2-spec.yaml; \ rm -rf $$BIN_PATH; \ - $(BINDIR)/yq eval-all 'select(fileIndex==0).spec.versions[0].schema.openAPIV3Schema.properties.spec = select(fileIndex==1).spec | select(fileIndex==0)' \ + $(BINDIR)/yq eval-all \ + 'select(fileIndex==0).spec.versions[0].schema.openAPIV3Schema.properties.spec = select(fileIndex==1).spec | select(fileIndex==0)' \ $(TEMP_DIR)/$2.yaml $(TEMP_DIR)/$2-spec.yaml > $(ROOTDIR)/charts/$1/crds/$2.yaml endef -define update-github-actions - @set -e; for ACTION_NAME in $1; do \ - if [ -n "$$ACTION_NAME" ] && [ "$$ACTION_NAME" != "security-and-quality" ]; then \ - FILE_NAME=`echo $$ACTION_NAME | tr '/' '_' | tr '-' '_' | tr '[:lower:]' '[:upper:]'`; \ - if [ -n "$$FILE_NAME" ]; then \ - case "$$ACTION_NAME" in \ - "aquasecurity/trivy-action" | "machine-learning-apps/actions-chatops" ) VERSION="master";; \ - * ) \ - REPO_NAME=`echo $$ACTION_NAME | cut -d'/' -f1-2`; \ - echo "$$ACTION_NAME to $$REPO_NAME"; \ - VERSION=`curl -fsSL https://api.github.com/repos/$$REPO_NAME/tags?per_page=1 | grep -Po '"name": "\K.*?(?=")' | head -n1 | sed 's/v//g' | sed -E 's/[^0-9.]+//g'`; \ - ;; \ - esac; \ - if [ -n "$$VERSION" ]; then \ - OLD_VERSION=`cat $(ROOTDIR)/versions/actions/$$FILE_NAME`; \ - echo "updating $$ACTION_NAME version file $$FILE_NAME from $$OLD_VERSION to $$VERSION"; \ - echo $$VERSION > $(ROOTDIR)/versions/actions/$$FILE_NAME; \ - else \ - VERSION=`cat $(ROOTDIR)/versions/actions/$$FILE_NAME`; \ - echo "No version found for $$ACTION_NAME version file $$FILE_NAME=$$VERSION"; \ - fi; \ - if [ "$$ACTION_NAME" = "cirrus-actions/rebase" ]; then \ - VERSION_PREFIX=$$VERSION; \ - find $(ROOTDIR)/.github -type f -exec sed -i "s%$$ACTION_NAME@.*%$$ACTION_NAME@$$VERSION_PREFIX%g" {} +; \ - elif echo $$VERSION | grep -qE '^[0-9]'; then \ - VERSION_PREFIX=`echo $$VERSION | cut -c 1`; \ - find $(ROOTDIR)/.github -type f -exec sed -i "s%$$ACTION_NAME@.*%$$ACTION_NAME@v$$VERSION_PREFIX%g" {} +; \ - else \ - VERSION_PREFIX=$$VERSION; \ - find $(ROOTDIR)/.github -type f -exec sed -i "s%$$ACTION_NAME@.*%$$ACTION_NAME@$$VERSION_PREFIX%g" {} +; \ - fi; \ - else \ - echo "No action version file found for $$ACTION_NAME version file $$FILE_NAME" >&2; \ - fi \ - else \ - echo "No action found for $$ACTION_NAME" >&2; \ - fi \ - done -endef - define gen-deadlink-checker BIN_PATH="$(TEMP_DIR)/vald-deadlink-checker-gen"; \ rm -rf $$BIN_PATH; \ MAINTAINER=$2 \ - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - go build -modcacherw \ - -mod=readonly \ - -a \ - -tags "osusergo netgo static_build" \ - -trimpath \ - -o $$BIN_PATH \ - $(ROOTDIR)/hack/tools/deadlink/main.go; \ - $$BIN_PATH -path $3 -ignore-path $4 -format $5 $1; \ + $(call go-base,build, \ + , \ + , \ + $(GO_STATIC_LDFLAGS), \ + osusergo netgo static_build, \ + $$BIN_PATH, \ + $(ROOTDIR)/hack/tools/deadlink/main.go) \ + && $$BIN_PATH -path $3 -ignore-path $4 -format $5 $1; \ rm -rf $$BIN_PATH endef @@ -541,3 +562,97 @@ define gen-api-document mv $(ROOTDIR)/apis/docs/v1/doc.md $1; \ rm apis/docs/v1/*doc.md.tmpl endef + +# --- C/C++ & CMake Build/Install --- + +# cmake-install merges c-lib-install and curl-cmake-install. +# Arguments: +# $1: Source (URL or Git Repo) +# $2: Name +# $3: Extra CMake Options +# $4: Pre-install/Cleanup Command +# $5: Branch (optional, for git) +# $6: Subdir (optional) +# $7: Make target (optional) +# $8: Extra install options (optional) +define cmake-install + @$(call green, "Installing $2...") + $(SUDO) mkdir -p $(BINDIR) $(LIB_PATH) $(INCLUDE_PATH) + rm -rf $(TEMP_DIR)/$2 $(TEMP_DIR)/$2-archive + if echo "$1" | grep -qE "\.git$$" || [ -n "$(strip $5)" ]; then \ + git clone --depth 1 $$(if [ -n "$(strip $5)" ]; then echo "--branch $(strip $5)"; fi) $1 $(TEMP_DIR)/$2; \ + else \ + curl -fsSL $1 -o $(TEMP_DIR)/$2-archive; \ + mkdir -p $(TEMP_DIR)/$2; \ + if echo "$1" | grep -qE "\.zip$$"; then \ + unzip -q $(TEMP_DIR)/$2-archive -d $(TEMP_DIR)/$2; \ + MV_DIR=$$(ls -1 $(TEMP_DIR)/$2 | head -n 1); \ + if [ -d "$(TEMP_DIR)/$2/$$MV_DIR" ] && [ $$(ls -1 $(TEMP_DIR)/$2 | wc -l) -eq 1 ]; then \ + mv $(TEMP_DIR)/$2/$$MV_DIR/* $(TEMP_DIR)/$2/ 2>/dev/null || true; \ + rm -rf $(TEMP_DIR)/$2/$$MV_DIR; \ + fi; \ + else \ + tar -xf $(TEMP_DIR)/$2-archive -C $(TEMP_DIR)/$2 --strip-components 1; \ + fi; \ + fi + cd $(TEMP_DIR)/$2 && \ + cmake \ + -G Ninja \ + -DCMAKE_BUILD_TYPE=Release \ + $(if $(filter-out cmake,$2),-DCMAKE_POLICY_VERSION_MINIMUM=$(CMAKE_VERSION),) \ + -DBUILD_SHARED_LIBS=OFF \ + -DBUILD_STATIC_EXECS=ON \ + -DBUILD_TESTING=OFF \ + -DCMAKE_C_COMPILER="$(CC)" \ + -DCMAKE_C_COMPILER_AR="$(AR)" \ + -DCMAKE_C_COMPILER_RANLIB="$(RANLIB)" \ + -DCMAKE_CXX_COMPILER_AR="$(AR)" \ + -DCMAKE_CXX_COMPILER_RANLIB="$(RANLIB)" \ + -DCMAKE_CXX_COMPILER="$(CXX)" \ + -DCMAKE_ASM_COMPILER="$(CC)" \ + -DCMAKE_ASM_COMPILER_AR="$(AR)" \ + -DCMAKE_ASM_COMPILER_RANLIB="$(RANLIB)" \ + -DCMAKE_AR="$(AR)" \ + -DCMAKE_NM="$(NM)" \ + -DCMAKE_RANLIB="$(RANLIB)" \ + -DCMAKE_MAKE_PROGRAM="$(USR_LOCAL)/bin/ninja" \ + -DCMAKE_INSTALL_PREFIX="$(USR_LOCAL)" \ + -DCMAKE_INSTALL_BINDIR="bin" \ + -DCMAKE_INSTALL_LIBDIR="lib" \ + -DCMAKE_INSTALL_INCLUDEDIR="include" \ + $(if $(filter-out cmake,$2),-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON,) \ + -DCMAKE_C_FLAGS="$(CFLAGS)" \ + -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \ + -DCMAKE_EXE_LINKER_FLAGS="$(LDFLAGS)" \ + -DCMAKE_SHARED_LINKER_FLAGS="$(LDFLAGS)" \ + -DCMAKE_MODULE_LINKER_FLAGS="$(LDFLAGS)" \ + $3 \ + -B $(TEMP_DIR)/$2/build $(TEMP_DIR)/$2$6 + cmake --build $(TEMP_DIR)/$2/build --parallel $(CORES) $(if $7,--target $7,) + $4 + $(SUDO) cmake --install $(TEMP_DIR)/$2/build $8 + cd $(ROOTDIR) + rm -rf $(TEMP_DIR)/$2 $(TEMP_DIR)/$2-archive + $(SUDO) ldconfig +endef + +# --- Others --- + +define telepresence + [ -z $(SWAP_IMAGE) ] && IMAGE=$2 || IMAGE=$(SWAP_IMAGE) \ + && echo "telepresence replaces $(SWAP_DEPLOYMENT_TYPE)/$1 with $${IMAGE}:$(SWAP_TAG)" \ + && telepresence \ + --swap-deployment $1 \ + --docker-run --rm -it $${IMAGE}:$(SWAP_TAG) +endef + +define profile-web + go tool pprof -http=":6061" \ + $1.bin \ + $1.cpu.out & + go tool pprof -http=":6062" \ + $1.bin \ + $1.mem.out & + go tool trace -http=":6063" \ + $1.trace.out +endef \ No newline at end of file diff --git a/Makefile.d/generate.mk b/Makefile.d/generate.mk new file mode 100644 index 0000000000..64c3c4be4e --- /dev/null +++ b/Makefile.d/generate.mk @@ -0,0 +1,60 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + +.PHONY: license +## add license to files +license: + $(call gen-license,$(ROOTDIR),$(MAINTAINER)) + +.PHONY: dockerfile +## generate dockerfiles +dockerfile: + $(call gen-dockerfile,$(ROOTDIR),$(MAINTAINER)) + +.PHONY: dashboard +## generate dashboards +dashboard: k8s/metrics/grafana/dashboards/00-vald-cluster-overview.yaml + +# To cache the generated dashboards, making a generated file target +k8s/metrics/grafana/dashboards/00-vald-cluster-overview.yaml: $(shell cat $(ROOTDIR)/.gitfiles | grep '^hack/grafana/gen/' | sed -e 's%^%$(ROOTDIR)/%') versions/GRAFANA_VERSION + $(call gen-dashboard,$(ROOTDIR),$(MAINTAINER)) + +.PHONY: workflow +## generate workflows +workflow: + $(call gen-dockerfile,$(ROOTDIR),$(MAINTAINER)) + +.PHONY: deadlink-checker +## generate deadlink-checker +deadlink-checker: + $(call gen-deadlink-checker,$(ROOTDIR),$(MAINTAINER),$(DEADLINK_CHECK_PATH),$(DEADLINK_IGNORE_PATH),$(DEADLINK_CHECK_FORMAT)) + +.PHONY: changelog/update +## update changelog +changelog/update: + echo "# CHANGELOG" > $(TEMP_DIR)/CHANGELOG.md + echo "" >> $(TEMP_DIR)/CHANGELOG.md + $(MAKE) -s changelog/next/print >> $(TEMP_DIR)/CHANGELOG.md + echo "" >> $(TEMP_DIR)/CHANGELOG.md + tail -n +2 $(ROOTDIR)/CHANGELOG.md >> $(TEMP_DIR)/CHANGELOG.md + mv -f $(TEMP_DIR)/CHANGELOG.md $(ROOTDIR)/CHANGELOG.md + +.PHONY: changelog/next/print +## print next changelog entry +changelog/next/print: + @cat $(ROOTDIR)/hack/CHANGELOG.template.md | \ + sed -e 's/{{ version }}/$(VERSION)/g' + @echo "$$BODY" \ No newline at end of file diff --git a/Makefile.d/git.mk b/Makefile.d/git.mk index 51c0b5e1a8..a35273313f 100644 --- a/Makefile.d/git.mk +++ b/Makefile.d/git.mk @@ -23,4 +23,4 @@ git/config/init: ## add configs for registering pre-defined git hooks git/hooks/init: ln -sf $(ROOTDIR)/hack/git/hooks/pre-commit $(ROOTDIR)/.git/hooks/pre-commit - chmod a+x $(ROOTDIR)/.git/hooks/pre-commit + chmod a+x $(ROOTDIR)/.git/hooks/pre-commit \ No newline at end of file diff --git a/Makefile.d/helm.mk b/Makefile.d/helm.mk index d98aac7cc0..21bf9628d2 100644 --- a/Makefile.d/helm.mk +++ b/Makefile.d/helm.mk @@ -40,76 +40,49 @@ $(BINDIR)/helm-docs: && tar -xzvf "$(TEMP_DIR)/$${TAR_NAME}" \ && mv helm-docs $(BINDIR)/helm-docs -.PHONY: helm/package/vald -## packaging Helm chart for Vald -helm/package/vald: - helm package $(ROOTDIR)/charts/vald +.PHONY: helm/lint/% +## run lint for Helm chart (charts/%) +helm/lint/%: + helm lint $(ROOTDIR)/charts/$* + +.PHONY: helm/repo/add + +.PHONY: helm/package/% +## packaging Helm chart (charts/%) +helm/package/%: + helm package $(ROOTDIR)/charts/$* -.PHONY: helm/package/vald-helm-operator -## packaging Helm chart for vald-helm-operator helm/package/vald-helm-operator: \ helm/schema/crd/vald \ helm/schema/crd/vald-helm-operator - helm package $(ROOTDIR)/charts/vald-helm-operator -.PHONY: helm/package/vald-benchmark-operator -## packaging Helm chart for vald-helm-operator helm/package/vald-benchmark-operator: \ helm/schema/crd/vald-benchmark-job \ helm/schema/crd/vald-benchmark-scenario \ helm/schema/crd/vald-benchmark-operator - helm package $(ROOTDIR)/charts/vald-benchmark-operator - -.PHONY: helm/package/vald-readreplica -## packaging Helm chart for vald-readreplica -helm/package/vald-readreplica: - helm package $(ROOTDIR)/charts/vald-readreplica -.PHONY: helm/repo/add ## add Helm chart repository helm/repo/add: helm repo add vald https://vald.vdaas.org/charts -.PHONY: helm/docs/vald -helm/docs/vald: $(ROOTDIR)/charts/vald/README.md - -# force to rebuild -.PHONY: $(ROOTDIR)/charts/vald/README.md -$(ROOTDIR)/charts/vald/README.md: \ - $(ROOTDIR)/charts/vald/README.md.gotmpl \ - $(ROOTDIR)/charts/vald/values.yaml - helm-docs - -.PHONY: helm/docs/vald-helm-operator -helm/docs/vald-helm-operator: $(ROOTDIR)/charts/vald-helm-operator/README.md - -# force to rebuild -.PHONY: $(ROOTDIR)/charts/vald-helm-operator/README.md -$(ROOTDIR)/charts/vald-helm-operator/README.md: \ - $(ROOTDIR)/charts/vald-helm-operator/README.md.gotmpl \ - $(ROOTDIR)/charts/vald-helm-operator/values.yaml - helm-docs - -.PHONY: helm/docs/vald-readreplica -helm/docs/vald-readreplica: $(ROOTDIR)/charts/vald-readreplica/README.md - -.PHONY: helm/docs/vald-benchmark-operator -helm/docs/vald-benchmark-operator: $(ROOTDIR)/charts/vald-benchmark-operator/README.md +.PHONY: helm/repo/index +## index Helm chart repository +helm/repo/index: + helm repo index --url https://vald.vdaas.org/charts charts/ -.PHONY: $(ROOTDIR)/charts/vald-benchmark-operator/README.md -$(ROOTDIR)/charts/vald-benchmark-operator/README.md: \ - $(ROOTDIR)/charts/vald-benchmark-operator/README.md.gotmpl \ - $(ROOTDIR)/charts/vald-benchmark-operator/values.yaml - helm-docs +.PHONY: helm/docs/% +## generate docs for Helm Chart (charts/%) +helm/docs/%: $(ROOTDIR)/charts/%/README.md + @echo "generated docs for $*" -# force to rebuild -.PHONY: $(ROOTDIR)/charts/vald-readreplica/README.md -$(ROOTDIR)/charts/vald-readreplica/README.md: \ - $(ROOTDIR)/charts/vald-readreplica/README.md.gotmpl \ - $(ROOTDIR)/charts/vald-readreplica/values.yaml +.PHONY: $(ROOTDIR)/charts/%/README.md +$(ROOTDIR)/charts/%/README.md: \ + $(ROOTDIR)/charts/%/README.md.gotmpl \ + $(ROOTDIR)/charts/%/values.yaml helm-docs .PHONY: helm/schema/all +## generate json schemas for all Helm Charts helm/schema/all: \ helm/schema/vald \ helm/schema/vald-helm-operator \ @@ -200,4 +173,4 @@ helm/schema/crd/vald-benchmark-scenario: \ ## generate OpenAPI v3 schema for ValdBenchmarkOperatorRelease helm/schema/crd/vald-benchmark-operator: \ yq/install - $(call gen-vald-crd,vald-benchmark-operator,valdbenchmarkoperatorrelease,vald-benchmark-operator/values) + $(call gen-vald-crd,vald-benchmark-operator,valdbenchmarkoperatorrelease,vald-benchmark-operator/values) \ No newline at end of file diff --git a/Makefile.d/k0s.mk b/Makefile.d/k0s.mk index 4657e85d42..b0b839b5dd 100644 --- a/Makefile.d/k0s.mk +++ b/Makefile.d/k0s.mk @@ -47,15 +47,21 @@ k0s/start: .PHONY: k0s/vs/start ## start k0s cluster with volume snapshot k0s/vs/start: k0s/start - kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/$(SNAPSHOTTER_VERSION)/client/config/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml - kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/$(SNAPSHOTTER_VERSION)/client/config/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml - kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/$(SNAPSHOTTER_VERSION)/client/config/crd/snapshot.storage.k8s.io_volumesnapshots.yaml - kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/$(SNAPSHOTTER_VERSION)/deploy/kubernetes/snapshot-controller/rbac-snapshot-controller.yaml - kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/$(SNAPSHOTTER_VERSION)/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml + kubectl apply -f \ + https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/$(SNAPSHOTTER_VERSION)/client/config/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml + kubectl apply -f \ + https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/$(SNAPSHOTTER_VERSION)/client/config/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml + kubectl apply -f \ + https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/$(SNAPSHOTTER_VERSION)/client/config/crd/snapshot.storage.k8s.io_volumesnapshots.yaml + kubectl apply -f \ + https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/$(SNAPSHOTTER_VERSION)/deploy/kubernetes/snapshot-controller/rbac-snapshot-controller.yaml + kubectl apply -f \ + https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/$(SNAPSHOTTER_VERSION)/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml mkdir -p $(TEMP_DIR)/csi-driver-hostpath \ - && curl -fsSL https://github.com/kubernetes-csi/csi-driver-host-path/archive/refs/tags/$(CSI_DRIVER_HOST_PATH_VERSION).tar.gz | tar zxf - -C $(TEMP_DIR)/csi-driver-hostpath --strip-components 1 \ + && curl -fsSL https://github.com/kubernetes-csi/csi-driver-host-path/archive/refs/tags/$(CSI_DRIVER_HOST_PATH_VERSION).tar.gz | \ + tar zxf - -C $(TEMP_DIR)/csi-driver-hostpath --strip-components 1 \ && cd $(TEMP_DIR)/csi-driver-hostpath \ && deploy/kubernetes-latest/deploy.sh \ && kubectl apply -f examples/csi-storageclass.yaml \ && kubectl apply -f examples/csi-pvc.yaml \ - && rm -rf $(TEMP_DIR)/csi-driver-hostpath + && rm -rf $(TEMP_DIR)/csi-driver-hostpath \ No newline at end of file diff --git a/Makefile.d/k3d.mk b/Makefile.d/k3d.mk index 3e7558eb5d..264ad58faa 100644 --- a/Makefile.d/k3d.mk +++ b/Makefile.d/k3d.mk @@ -84,4 +84,4 @@ k3d/restart: \ .PHONY: k3d/delete ## stop k3d (kubernetes in docker) cluster k3d/delete: - -$(K3D_COMMAND) cluster delete $(K3D_CLUSTER_NAME) + -$(K3D_COMMAND) cluster delete $(K3D_CLUSTER_NAME) \ No newline at end of file diff --git a/Makefile.d/k8s.mk b/Makefile.d/k8s.mk index 7f0ecb41c9..e8d19fc133 100644 --- a/Makefile.d/k8s.mk +++ b/Makefile.d/k8s.mk @@ -14,7 +14,6 @@ # limitations under the License. # -JAEGER_OPERATOR_WAIT_DURATION := 0 MIRROR01_NAMESPACE = vald-01 MIRROR02_NAMESPACE = vald-02 MIRROR03_NAMESPACE = vald-03 @@ -160,21 +159,8 @@ k8s/vald/deploy: k8s/vald/manifests .PHONY: k8s/vald/delete ## delete vald sample cluster from k8s k8s/vald/delete: k8s/vald/manifests - kubectl delete -f $(TEMP_DIR)/vald/templates/gateway/mirror || true - kubectl delete -f $(TEMP_DIR)/vald/templates/index/operator || true - kubectl delete -f $(TEMP_DIR)/vald/templates/index/job/readreplica/rotate || true - kubectl delete -f $(TEMP_DIR)/vald/templates/index/job/save || true - kubectl delete -f $(TEMP_DIR)/vald/templates/index/job/creation || true - kubectl delete -f $(TEMP_DIR)/vald/templates/index/job/correction || true - kubectl delete -f $(TEMP_DIR)/vald/templates/index/job/creation || true - kubectl delete -f $(TEMP_DIR)/vald/templates/index/job/save || true - kubectl delete -f $(TEMP_DIR)/vald/templates/gateway || true - kubectl delete -f $(TEMP_DIR)/vald/templates/gateway/lb || true - kubectl delete -f $(TEMP_DIR)/vald/templates/manager/index || true - kubectl delete -f $(TEMP_DIR)/vald/templates/discoverer || true - kubectl delete -f $(TEMP_DIR)/vald/templates/agent/readreplica || true - kubectl delete -f $(TEMP_DIR)/vald/templates/agent/ngt || true - kubectl delete -f $(TEMP_DIR)/vald/templates/agent || true + @echo "gateway/mirror index/operator index/job/readreplica/rotate index/job/save index/job/creation index/job/correction gateway gateway/lb manager/index discoverer agent/readreplica agent/ngt agent" | tr ' ' '\n' | \ + xargs -I {} -P $(CORES) bash -c 'kubectl delete -f $(TEMP_DIR)/vald/templates/{} || true' kubectl delete -f $(TEMP_DIR)/vald/crds || true .PHONY: k8s/multi/vald/deploy @@ -539,7 +525,7 @@ k8s/monitoring/delete: \ .PHONY: k8s/e2e/deploy ## deploy e2e job k8s/e2e/deploy: - kubectl create configmap e2e-config --from-file=./tests/v2/e2e/assets + kubectl create configmap e2e-config --from-file=$(ROOTDIR)/tests/v2/e2e/assets kubectl apply -f k8s/tests/v2/e2e/job.yaml .PHONY: k8s/e2e/delete @@ -592,4 +578,4 @@ $(BINDIR)/kube-linter: mkdir -p $(BINDIR) cd $(TEMP_DIR) \ && curl -fsSL https://github.com/stackrox/kube-linter/releases/download/$(KUBELINTER_VERSION)/kube-linter-$(OS) -o $(BINDIR)/kube-linter \ - && chmod a+x $(BINDIR)/kube-linter + && chmod a+x $(BINDIR)/kube-linter \ No newline at end of file diff --git a/Makefile.d/kind.mk b/Makefile.d/kind.mk index bab8d940a1..b2d357bd7f 100644 --- a/Makefile.d/kind.mk +++ b/Makefile.d/kind.mk @@ -110,4 +110,4 @@ kind/vs/login: ## restart kind (kubernetes in docker) cluster with volume snapshot kind/vs/restart: \ kind/vs/stop \ - kind/vs/start + kind/vs/start \ No newline at end of file diff --git a/Makefile.d/lint.mk b/Makefile.d/lint.mk new file mode 100644 index 0000000000..5110c5e7e4 --- /dev/null +++ b/Makefile.d/lint.mk @@ -0,0 +1,117 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + +.PHONY: lint +## run lints +lint: \ + docs/lint \ + files/lint \ + vet \ + go/lint \ + workflow/lint + +.PHONY: go/lint +## run golangci-lint +go/lint: + $(call go-lint) + +.PHONY: vet +## run go vet +vet: + $(call go-vet) + +.PHONY: docs/lint +## run lint for document +docs/lint: \ + docs/cspell \ + docs/textlint + +.PHONY: files/lint +## run lint for document +files/lint: \ + files/cspell \ + files/textlint + +.PHONY: workflow/lint workflow/fix actionlint/lint ghalint/lint +## run lint for workflow files +workflow/lint: + @echo "Please run make workflow/fix beforehand" + @echo "Linting workflow files..." + @printf '%s\0' \ + "actionlint/lint" \ + "ghalint/lint" \ + | xargs -0 -I{} -P$(CORES) $(MAKE) --no-print-directory {} + @echo "Workflow linting completed." + +## run lint for workflow files +workflow/fix: + @$(MAKE) --no-print-directory pinact/lint + @$(MAKE) --no-print-directory ghatm/lint + +ACTIONLINT_IGNORES = \ + -ignore 'when a reusable workflow is called with "uses", "timeout-minutes" is not available' \ + -ignore 'property "tag" is not defined in object type' \ + -ignore 'input "file" is not defined in action "codecov/codecov-action@v5"' \ + -ignore 'label "ubuntu-slim" is unknown.' # TODO: remove this line after https://github.com/rhysd/actionlint/issues/587 is merged + +.PHONY: actionlint/lint +## run actionlint +actionlint/lint: actionlint/install + @$(GOBIN)/actionlint -shellcheck= $(ACTIONLINT_IGNORES) + +.PHONY: ghalint/lint +## run ghalint +ghalint/lint: \ + ghalint/install + @$(GOBIN)/ghalint run .github/workflows + +.PHONY: pinact/lint +## run pinact +pinact/lint: \ + pinact/install + @GITHUB_TOKEN=$(shell gh auth token 2>/dev/null || :) $(GOBIN)/pinact run + +.PHONY: ghatm/lint +## run ghatm +ghatm/lint: \ + ghatm/install + @$(GOBIN)/ghatm set + +.PHONY: docs/textlint +## run textlint for document +docs/textlint: \ + textlint/install + textlint $(ROOTDIR)/docs/**/*.md $(TEXTLINT_EXTRA_OPTIONS) + +.PHONY: files/textlint +## run textlint for document +files/textlint: \ + files \ + textlint/install + @if [ -f "$(ROOTDIR)/.gitfiles" ]; then textlint "$(ROOTDIR)/.gitfiles" $(TEXTLINT_EXTRA_OPTIONS); fi + +.PHONY: docs/cspell +## run cspell for document +docs/cspell: \ + cspell/install + cspell $(ROOTDIR)/docs/**/*.md --show-suggestions $(CSPELL_EXTRA_OPTIONS) + +.PHONY: files/cspell +## run cspell for document +files/cspell: \ + files \ + cspell/install + @if [ -f "$(ROOTDIR)/.gitfiles" ]; then cspell "$(ROOTDIR)/.gitfiles" --show-suggestions $(CSPELL_EXTRA_OPTIONS); fi \ No newline at end of file diff --git a/Makefile.d/minikube.mk b/Makefile.d/minikube.mk index c61167fd6b..0fe6ea8905 100644 --- a/Makefile.d/minikube.mk +++ b/Makefile.d/minikube.mk @@ -46,4 +46,4 @@ minikube/delete: ## restart minikube minikube/restart: \ minikube/delete \ - minikube/start + minikube/start \ No newline at end of file diff --git a/Makefile.d/proto.mk b/Makefile.d/proto.mk index dfea7e68a7..0028200db6 100644 --- a/Makefile.d/proto.mk +++ b/Makefile.d/proto.mk @@ -23,8 +23,8 @@ proto/all: \ .PHONY: proto/clean ## clean proto artifacts proto/clean: - find $(ROOTDIR)/apis/grpc -name "*.pb.go" | xargs -P$(CORES) rm -f - find $(ROOTDIR)/apis/grpc -name "*.pb.json.go" | xargs -P$(CORES) rm -f + cat $(ROOTDIR)/.gitfiles | grep -E '^apis/grpc/.*\.pb\.go$$' | sed -e 's%^%$(ROOTDIR)/%' | xargs -I {} -P $(CORES) rm -f "{}" + cat $(ROOTDIR)/.gitfiles | grep -E '^apis/grpc/.*\.pb\.json\.go$$' | sed -e 's%^%$(ROOTDIR)/%' | xargs -I {} -P $(CORES) rm -f "{}" rm -rf $(ROOTDIR)/apis/swagger $(ROOTDIR)/apis/docs .PHONY: proto/paths/print @@ -58,7 +58,7 @@ proto/gen/code: \ @$(call green, "generating pb.go and swagger.json files and documents for API v1...") buf format -w buf generate - make proto/replace + $(MAKE) proto/replace .PHONY: proto/gen/api/docs ## generate proto api docs @@ -95,4 +95,4 @@ proto/replace: \ sed -i -E "s%\"sync\"%\"$(GOPKG)/internal/sync\"%g" {} && \ sed -i -E "s%interface\{\}%any%g" {} && \ sed -i -E "s%For_%For%g" {}' - @echo "Proto file Replace complete." + @echo "Proto file Replace complete." \ No newline at end of file diff --git a/Makefile.d/test.mk b/Makefile.d/test.mk index 9b82bf2e49..f4599cbaaa 100644 --- a/Makefile.d/test.mk +++ b/Makefile.d/test.mk @@ -21,11 +21,7 @@ test: \ ngt/install \ hdf5/install \ certs/gen - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test -short -shuffle=on -race -mod=readonly -cover -timeout=$(GOTEST_TIMEOUT) $(ROOTDIR)/cmd/... $(ROOTDIR)/internal/... $(ROOTDIR)/pkg/... + $(call go-test,$(ROOTDIR)/cmd/... $(ROOTDIR)/internal/... $(ROOTDIR)/pkg/...) $(MAKE) certs/clean .PHONY: test/tparse @@ -35,15 +31,7 @@ test/tparse: \ hdf5/install \ certs/gen \ tparse/install - set -euo pipefail - rm -rf "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test -short -shuffle=on -race -mod=readonly -json -cover -timeout=$(GOTEST_TIMEOUT) $(ROOTDIR)/cmd/... $(ROOTDIR)/internal/... $(ROOTDIR)/pkg/... \ - | tee "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" \ - | tparse -pass -notests + $(call go-test-tparse,$(ROOTDIR)/cmd/... $(ROOTDIR)/internal/... $(ROOTDIR)/pkg/...,$@) $(MAKE) certs/clean .PHONY: test/cmd/tparse @@ -53,15 +41,7 @@ test/cmd/tparse: \ hdf5/install \ certs/gen \ tparse/install - set -euo pipefail - rm -rf "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test -short -shuffle=on -race -mod=readonly -json -cover -timeout=$(GOTEST_TIMEOUT) $(ROOTDIR)/cmd/... \ - | tee "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" \ - | tparse -pass -notests + $(call go-test-tparse,$(ROOTDIR)/cmd/...,$@) $(MAKE) certs/clean .PHONY: test/internal/tparse @@ -71,15 +51,7 @@ test/internal/tparse: \ hdf5/install \ certs/gen \ tparse/install - set -euo pipefail - rm -rf "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test -short -shuffle=on -race -mod=readonly -json -cover -timeout=$(GOTEST_TIMEOUT) $(ROOTDIR)/internal/... \ - | tee "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" \ - | tparse -pass -notests + $(call go-test-tparse,$(ROOTDIR)/internal/...,$@) $(MAKE) certs/clean .PHONY: test/pkg/tparse @@ -89,15 +61,7 @@ test/pkg/tparse: \ hdf5/install \ certs/gen \ tparse/install - set -euo pipefail - rm -rf "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test -short -shuffle=on -race -mod=readonly -json -cover -timeout=$(GOTEST_TIMEOUT) $(ROOTDIR)/pkg/... \ - | tee "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" \ - | tparse -pass -notests + $(call go-test-tparse,$(ROOTDIR)/pkg/...,$@) $(MAKE) certs/clean .PHONY: test/hack/tparse @@ -105,21 +69,9 @@ test/pkg/tparse: \ test/hack/tparse: \ certs/gen \ tparse/install - set -euo pipefail - rm -rf "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" GOPRIVATE=$(GOPRIVATE) \ go mod vendor -o $(ROOTDIR)/vendor - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test -short -shuffle=on -race -mod=vendor -json -cover \ - $(ROOTDIR)/hack/gorules/... \ - $(ROOTDIR)/hack/helm/... \ - $(ROOTDIR)/hack/license/... \ - $(ROOTDIR)/hack/tools/... \ - | tee "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" \ - | tparse -pass -notests + $(call go-test-tparse,-mod=vendor $(ROOTDIR)/hack/gorules/... $(ROOTDIR)/hack/helm/... $(ROOTDIR)/hack/license/... $(ROOTDIR)/hack/tools/...,$@) rm -rf $(ROOTDIR)/vendor $(MAKE) certs/clean @@ -130,15 +82,7 @@ test/all/tparse: \ hdf5/install \ certs/gen \ tparse/install - set -euo pipefail - rm -rf "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test -short -shuffle=on -race -mod=readonly -json -cover -timeout=$(GOTEST_TIMEOUT) $(ROOTDIR)/... \ - | tee "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" \ - | tparse -pass -notests + $(call go-test-tparse,$(ROOTDIR)/...,$@) $(MAKE) certs/clean .PHONY: test/gotestfmt @@ -148,16 +92,7 @@ test/gotestfmt: \ hdf5/install \ certs/gen \ gotestfmt/install - set -euo pipefail - rm -rf "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - GODEBUG=$(GODEBUG) \ - go test -short -shuffle=on -race -mod=readonly -json -cover -timeout=$(GOTEST_TIMEOUT) $(ROOTDIR)/cmd/... $(ROOTDIR)/internal/... $(ROOTDIR)/pkg/... \ - | tee "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" \ - | gotestfmt -showteststatus + $(call go-test-gotestfmt,$(ROOTDIR)/cmd/... $(ROOTDIR)/internal/... $(ROOTDIR)/pkg/...,$@,-showteststatus) $(MAKE) certs/clean .PHONY: test/cmd/gotestfmt @@ -167,16 +102,7 @@ test/cmd/gotestfmt: \ hdf5/install \ certs/gen \ gotestfmt/install - set -euo pipefail - rm -rf "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - GODEBUG=$(GODEBUG) \ - go test -short -shuffle=on -race -mod=readonly -json -cover -timeout=$(GOTEST_TIMEOUT) -ldflags="-linkmode=external" $(ROOTDIR)/cmd/... \ - | tee "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" \ - | gotestfmt -showteststatus -hide="all" + $(call go-test-gotestfmt,$(ROOTDIR)/cmd/...,$@,-showteststatus -hide="all") $(MAKE) certs/clean .PHONY: test/internal/gotestfmt @@ -186,16 +112,7 @@ test/internal/gotestfmt: \ hdf5/install \ certs/gen \ gotestfmt/install - set -euo pipefail - rm -rf "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - GODEBUG=$(GODEBUG) \ - go test -short -shuffle=on -race -mod=readonly -json -cover -timeout=$(GOTEST_TIMEOUT) -ldflags="-linkmode=external" $(ROOTDIR)/internal/... \ - | tee "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" \ - | gotestfmt -showteststatus -hide="all" + $(call go-test-gotestfmt,$(ROOTDIR)/internal/...,$@,-showteststatus -hide="all") $(MAKE) certs/clean .PHONY: test/pkg/gotestfmt @@ -205,16 +122,7 @@ test/pkg/gotestfmt: \ hdf5/install \ certs/gen \ gotestfmt/install - set -euo pipefail - rm -rf "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - GODEBUG=$(GODEBUG) \ - go test -short -shuffle=on -race -mod=readonly -json -cover -timeout=$(GOTEST_TIMEOUT) -ldflags="-linkmode=external" $(ROOTDIR)/pkg/... \ - | tee "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" \ - | gotestfmt -showteststatus -hide="all" + $(call go-test-gotestfmt,$(ROOTDIR)/pkg/...,$@,-showteststatus -hide="all") $(MAKE) certs/clean .PHONY: test/hack/gotestfmt @@ -222,22 +130,9 @@ test/pkg/gotestfmt: \ test/hack/gotestfmt: \ certs/gen \ gotestfmt/install - set -euo pipefail - rm -rf "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" GOPRIVATE=$(GOPRIVATE) \ go mod vendor -o $(ROOTDIR)/vendor - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - GODEBUG=$(GODEBUG) \ - go test -short -shuffle=on -race -mod=vendor -json -cover -ldflags="-linkmode=external" \ - $(ROOTDIR)/hack/gorules/... \ - $(ROOTDIR)/hack/helm/... \ - $(ROOTDIR)/hack/license/... \ - $(ROOTDIR)/hack/tools/... \ - | tee "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" \ - | gotestfmt -showteststatus + $(call go-test-gotestfmt,-mod=vendor $(ROOTDIR)/hack/gorules/... $(ROOTDIR)/hack/helm/... $(ROOTDIR)/hack/license/... $(ROOTDIR)/hack/tools/...,$@,-showteststatus) rm -rf $(ROOTDIR)/vendor $(MAKE) certs/clean @@ -248,44 +143,34 @@ test/all/gotestfmt: \ hdf5/install \ certs/gen \ gotestfmt/install - set -euo pipefail - rm -rf "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - GODEBUG=$(GODEBUG) \ - go test -short -shuffle=on -race -mod=readonly -json -cover -timeout=$(GOTEST_TIMEOUT) -ldflags="-linkmode=external" $(ROOTDIR)/... \ - | tee "$(TEST_RESULT_DIR)/`echo $@ | sed -e 's%/%-%g'`-result.json" \ - | gotestfmt -showteststatus + $(call go-test-gotestfmt,$(ROOTDIR)/...,$@,-showteststatus) $(MAKE) certs/clean .PHONY: test/create-empty ## create empty test file if not exists test/create-empty: @$(call green, "create empty test file if not exists...") - @for f in $(GO_ALL_TEST_SOURCES) ; do \ - if [ ! -f "$$f" ]; then \ - echo "Creating empty test file $$f"; \ - package="$$(dirname $$f)" ; \ - package="$$(basename $$package)" ; \ - if [ "$$(basename $$f)" = "main.go" ]; then \ + @echo "$(GO_ALL_TEST_SOURCES)" | tr ' ' '\n' | xargs -P $(CORES) -I {} bash -c ' \ + if [ ! -f "{}" ]; then \ + echo "Creating empty test file {}"; \ + package="$$(basename $$(dirname {}))"; \ + if [ "$$(basename {})" = "main_test.go" ]; then \ package="main"; \ fi; \ - echo "package $$package" >> "$$f"; \ - fi; \ - done + echo "package $$package" > "{}"; \ + fi \ + ' .PHONY: test/remove-empty ## remove empty test files test/remove-empty: @$(call green, "remove empty test files...") - @for f in $(GO_ALL_TEST_SOURCES) ; do \ - if ! grep -q "func Test" "$$f"; then \ - echo "Removing empty test file $$f"; \ - rm "$$f"; \ - fi; \ - done + @echo "$(GO_ALL_TEST_SOURCES)" | tr ' ' '\n' | xargs -P $(CORES) -I {} bash -c ' \ + if ! grep -q "func Test" "{}"; then \ + echo "Removing empty test file {}"; \ + rm "{}"; \ + fi \ + ' .PHONY: test/pkg ## run tests for pkg @@ -293,11 +178,7 @@ test/pkg: \ ngt/install \ hdf5/install \ certs/gen - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test -short -shuffle=on -race -mod=readonly -cover $(ROOTDIR)/pkg/... + $(call go-test,$(ROOTDIR)/pkg/...) $(MAKE) certs/clean .PHONY: test/internal @@ -306,11 +187,7 @@ test/internal: \ ngt/install \ hdf5/install \ certs/gen - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test -short -shuffle=on -race -mod=readonly -cover $(ROOTDIR)/internal/... + $(call go-test,$(ROOTDIR)/internal/...) $(MAKE) certs/clean .PHONY: test/cmd @@ -319,11 +196,7 @@ test/cmd: \ ngt/install \ hdf5/install \ certs/gen - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test -short -shuffle=on -race -mod=readonly -cover $(ROOTDIR)/cmd/... + $(call go-test,$(ROOTDIR)/cmd/...) $(MAKE) certs/clean .PHONY: test/rust @@ -335,16 +208,21 @@ test/rust: \ .PHONY: test/rust/qbg ## run tests for qbg test/rust/qbg: + $(CC_ENV_VARS) \ cargo test --manifest-path rust/Cargo.toml --package qbg --lib -- tests::test_ffi_qbg --exact --show-output + $(CC_ENV_VARS) \ cargo test --manifest-path rust/Cargo.toml --package qbg --lib -- tests::test_ffi_qbg_prebuilt --exact --show-output rm -rf rust/libs/algorithms/qbg/index/ + $(CC_ENV_VARS) \ cargo test --manifest-path rust/Cargo.toml --package qbg --lib -- tests::test_property --exact --show-output + $(CC_ENV_VARS) \ cargo test --manifest-path rust/Cargo.toml --package qbg --lib -- tests::test_index --exact --show-output rm -rf rust/libs/algorithms/qbg/index/ .PHONY: test/rust/agent ## run tests for agent test/rust/agent: + $(CC_ENV_VARS) \ cargo test --manifest-path rust/Cargo.toml --package agent -- handler::common::tests --show-output .PHONY: test/hack @@ -355,15 +233,7 @@ test/hack: \ certs/gen GOPRIVATE=$(GOPRIVATE) \ go mod vendor -o $(ROOTDIR)/vendor - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test -short -shuffle=on -race -mod=vendor -cover \ - $(ROOTDIR)/hack/gorules/... \ - $(ROOTDIR)/hack/helm/... \ - $(ROOTDIR)/hack/license/... \ - $(ROOTDIR)/hack/tools/... + $(call go-test,-mod=vendor $(ROOTDIR)/hack/gorules/... $(ROOTDIR)/hack/helm/... $(ROOTDIR)/hack/license/... $(ROOTDIR)/hack/tools/...) rm -rf $(ROOTDIR)/vendor $(MAKE) certs/clean @@ -373,11 +243,7 @@ test/all: \ ngt/install \ hdf5/install \ certs/gen - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test -short -shuffle=on -race -mod=readonly -cover $(ROOTDIR)/... + $(call go-test,$(ROOTDIR)/...) $(MAKE) certs/clean .PHONY: coverage @@ -386,14 +252,9 @@ coverage: \ ngt/install \ hdf5/install \ certs/gen - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ - CGO_LDFLAGS="$(TEST_LDFLAGS)" \ - go test -short -shuffle=on -race -mod=readonly -v -race -covermode=atomic -timeout=$(GOTEST_TIMEOUT) -coverprofile=coverage.out $(ROOTDIR)/... - GOPRIVATE=$(GOPRIVATE) \ - GOARCH=$(GOARCH) \ - GOOS=$(GOOS) \ + $(GO_TEST_ENV) \ + go test $(GO_TEST_FLAGS) -v -covermode=atomic -coverprofile=coverage.out $(ROOTDIR)/... + $(GO_ENV_VARS) \ go tool cover -html=coverage.out -o coverage.html $(MAKE) certs/clean @@ -421,9 +282,9 @@ gotests/gen-test: gotests/patch: \ files @$(call green, "apply patches to go test files...") - find $(ROOTDIR)/internal/k8s/* -name '*_test.go' | xargs -P$(CORES) sed -i -E "s%k8s.io/apimachinery/pkg/api/errors%$(GOPKG)/internal/errors%g" @cat $(ROOTDIR)/.gitfiles | grep -E '^(\./)?internal/k8s/.*\_test.go$$' | xargs -I {} -P$(CORES) bash -c ' \ echo "Replacing internal/k8s Test File {}" && \ + sed -i -E "s%k8s.io/apimachinery/pkg/api/errors%$(GOPKG)/internal/errors%g" {} && \ sed -i -E "s%cockroachdb/errors%$(REPO)/internal/errors%g" {} && \ sed -i -E "s%golang.org/x/sync/errgroup%$(GOPKG)/internal/sync/errgroup%g" {} && \ sed -i -E "s%pkg/errors%$(REPO)/internal/errors%g" {} && \ @@ -444,8 +305,7 @@ gotests/patch: \ ## delete from placeholder to EOF, then re-append placeholder test/patch-placeholder: @$(call green, "apply placeholder patches (delete to EOF and append)...") - @for f in $(GO_ALL_TEST_SOURCES); do echo "$$f"; done | \ - xargs -I {} -P$(CORES) bash -c ' \ + @echo "$(GO_ALL_TEST_SOURCES)" | tr ' ' '\n' | xargs -I {} -P$(CORES) bash -c ' \ [ -f "{}" ] || exit 0 ; \ sed -i -E "/\/\/ $(TEST_NOT_IMPL_PLACEHOLDER)/,\$$d" "{}"; \ echo "// $(TEST_NOT_IMPL_PLACEHOLDER)" >> {};' @@ -454,11 +314,10 @@ test/patch-placeholder: ## comment out unimplemented tests (from placeholder to EOF) test/comment-unimplemented: @$(call green, "comment out unimplemented test (from placeholder to EOF)...") - @for f in $(GO_ALL_TEST_SOURCES); do echo "$$f"; done | \ - xargs -I {} -P$(CORES) bash -c ' \ + @echo "$(GO_ALL_TEST_SOURCES)" | tr ' ' '\n' | xargs -I {} -P$(CORES) bash -c ' \ [ -f "{}" ] || exit 0 ; \ sed -i -E -e " \ /\/\/ $(TEST_NOT_IMPL_PLACEHOLDER)/,\$$ { \ s/^/\/\/ /; \ s/^\/\/ \/\/ $(TEST_NOT_IMPL_PLACEHOLDER)/\/\/ $(TEST_NOT_IMPL_PLACEHOLDER)/; \ - }" "{}"' + }" "{}"' \ No newline at end of file diff --git a/Makefile.d/tls.mk b/Makefile.d/tls.mk index 1e2d37cf77..389cc0744e 100644 --- a/Makefile.d/tls.mk +++ b/Makefile.d/tls.mk @@ -14,29 +14,6 @@ # limitations under the License. # -CERT_DIR ?= $(ROOTDIR)/internal/test/data/tls -DOMAIN ?= $(NAME).$(ORG).org -EMAIL ?= $(NAME)@$(ORG).org -STREET_ADDR ?= 1-3 Kioicho, Tokyo Garden Terrace Kioicho Tower, Chiyoda-ku, Tokyo 102-8282, Japan - -CA_CN ?= $(DOMAIN) Root CA -CA_DAYS ?= 3650 -END_ENTITY_DAYS ?= 825 - -CA_KEY := $(CERT_DIR)/ca.key -CA_CRT := $(CERT_DIR)/ca.crt -CA_PEM := $(CERT_DIR)/ca.pem -CA_SRL := $(CERT_DIR)/ca.srl -SERVER_KEY := $(CERT_DIR)/server.key -SERVER_CSR := $(CERT_DIR)/server.csr -SERVER_CRT := $(CERT_DIR)/server.crt -CLIENT_KEY := $(CERT_DIR)/client.key -CLIENT_CSR := $(CERT_DIR)/client.csr -CLIENT_CRT := $(CERT_DIR)/client.crt - -INVALID_CA := $(CERT_DIR)/invalid-ca.pem -INVALID_SERVER_CRT := $(CERT_DIR)/invalid-server.crt - .PHONY: certs/gen ## generates SSL Certrificates for Testing certs/gen: certs/clean $(CERT_DIR) $(SERVER_CRT) $(CLIENT_CRT) $(CA_PEM) $(INVALID_CA) $(INVALID_SERVER_CRT) certs/tidy certs/verify @@ -170,4 +147,4 @@ certs/tidy: ## Cleanup & Remove All SSL Certrificates for Testing from CERT Dir certs/clean: @echo "🗑️ Removing entire '$(CERT_DIR)' directory" - rm -rf $(CERT_DIR) + rm -rf $(CERT_DIR) \ No newline at end of file diff --git a/Makefile.d/tools.mk b/Makefile.d/tools.mk index 11446affa2..1806d6d42d 100644 --- a/Makefile.d/tools.mk +++ b/Makefile.d/tools.mk @@ -20,175 +20,143 @@ golangci-lint/install: \ $(BINDIR)/golangci-lint $(BINDIR)/golangci-lint: - curl -fsSL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh \ - | sh -s -- -b $(BINDIR) $(GOLANGCILINT_VERSION) + # Install via the Go module proxy (GOPROXY) instead of the upstream + # install.sh: in Docker builds the anonymous GitHub release download is + # rate-limited and returns a non-tarball body, so the script's sha256 check + # fails deterministically. `go install` goes through proxy.golang.org and is + # reliable. (golangci-lint v2 has no replace directives, so this builds.) + GOBIN=$(BINDIR) CGO_ENABLED=0 go install \ + github.com/golangci/golangci-lint/v2/cmd/golangci-lint@$(GOLANGCILINT_VERSION) .PHONY: goimports/install ## install goimports goimports/install: \ $(GOBIN)/goimports -$(GOBIN)/goimports: - $(call go-tool-install) - .PHONY: strictgoimports/install ## install strictgoimports strictgoimports/install: \ $(GOBIN)/strictgoimports -$(GOBIN)/strictgoimports: - $(call go-tool-install) - .PHONY: gofumpt/install ## install gofumpt gofumpt/install: \ $(GOBIN)/gofumpt -$(GOBIN)/gofumpt: - $(call go-tool-install) - .PHONY: golines/install ## install golines golines/install: \ $(GOBIN)/golines -$(GOBIN)/golines: - $(call go-tool-install) - .PHONY: crlfmt/install ## install crlfmt crlfmt/install: \ $(GOBIN)/crlfmt -$(GOBIN)/crlfmt: - $(call go-tool-install) - .PHONY: actionlint/install ## install actionlint actionlint/install: \ $(GOBIN)/actionlint -$(GOBIN)/actionlint: - $(call go-tool-install) - .PHONY: ghalint/install ## install ghalint ghalint/install: \ $(GOBIN)/ghalint -$(GOBIN)/ghalint: - $(call go-tool-install) - .PHONY: pinact/install ## install pinact pinact/install: \ $(GOBIN)/pinact -$(GOBIN)/pinact: - $(call go-tool-install) - .PHONY: ghatm/install ## install ghatm ghatm/install: \ $(GOBIN)/ghatm -$(GOBIN)/ghatm: - $(call go-tool-install) - .PHONY: buf/install ## install buf buf/install: \ $(GOBIN)/buf -$(GOBIN)/buf: - $(call go-tool-install) - .PHONY: k9s/install ## install k9s k9s/install: \ $(GOBIN)/k9s -$(GOBIN)/k9s: - $(call go-tool-install) - .PHONY: stern/install ## install stern stern/install: \ $(GOBIN)/stern -$(GOBIN)/stern: - $(call go-tool-install) - .PHONY: yamlfmt/install ## install yamlfmt yamlfmt/install: \ $(GOBIN)/yamlfmt -$(GOBIN)/yamlfmt: - $(call go-tool-install) - .PHONY: gomodifytags/install ## install gomodifytags gomodifytags/install: \ $(GOBIN)/gomodifytags -$(GOBIN)/gomodifytags: - $(call go-tool-install) - .PHONY: impl/install ## install impl impl/install: \ $(GOBIN)/impl -$(GOBIN)/impl: - $(call go-tool-install) - .PHONY: delve/install ## install delve delve/install: \ $(GOBIN)/dlv -$(GOBIN)/dlv: - $(call go-tool-install) - .PHONY: staticcheck/install ## install staticcheck staticcheck/install: \ $(GOBIN)/staticcheck -$(GOBIN)/staticcheck: - $(call go-tool-install) - .PHONY: tparse/install ## install tparse tparse/install: \ $(GOBIN)/tparse -$(GOBIN)/tparse: - $(call go-tool-install) - .PHONY: gotestfmt/install ## install gotestfmt gotestfmt/install: \ $(GOBIN)/gotestfmt -$(GOBIN)/gotestfmt: - $(call go-tool-install) - .PHONY: gotests/install ## install gotests gotests/install: \ $(GOBIN)/gotests -$(GOBIN)/gotests: - $(call go-tool-install) - .PHONY: protoc-gen-doc/install ## install protoc-gen-doc protoc-gen-doc/install: \ $(GOBIN)/protoc-gen-doc -$(GOBIN)/protoc-gen-doc: +GO_BINS = \ + $(GOBIN)/goimports \ + $(GOBIN)/strictgoimports \ + $(GOBIN)/gofumpt \ + $(GOBIN)/golines \ + $(GOBIN)/crlfmt \ + $(GOBIN)/actionlint \ + $(GOBIN)/ghalint \ + $(GOBIN)/pinact \ + $(GOBIN)/ghatm \ + $(GOBIN)/buf \ + $(GOBIN)/k9s \ + $(GOBIN)/stern \ + $(GOBIN)/yamlfmt \ + $(GOBIN)/gomodifytags \ + $(GOBIN)/impl \ + $(GOBIN)/dlv \ + $(GOBIN)/staticcheck \ + $(GOBIN)/tparse \ + $(GOBIN)/gotestfmt \ + $(GOBIN)/gotests \ + $(GOBIN)/protoc-gen-doc + +$(GO_BINS): $(call go-tool-install) .PHONY: go/tools/install @@ -202,7 +170,7 @@ gopls/install: \ $(GOBIN)/gopls $(GOBIN)/gopls: - GO111MODULE=on go install -mod=readonly golang.org/x/tools/gopls@latest + $(GO_ENV_VARS) go install -mod=readonly golang.org/x/tools/gopls@latest .PHONY: prettier/install ## Install prettier via Bun (global) @@ -304,7 +272,8 @@ $(GOROOT)/bin/go: && mkdir -p $(TEMP_DIR)/go \ && tar -xzvf "$(TEMP_DIR)/$${TAR_NAME}" -C $(TEMP_DIR)/go --strip-components 1 \ && rm -rf "$(TEMP_DIR)/$${TAR_NAME}" \ - && mv $(TEMP_DIR)/go $(GOROOT) \ + && $(SUDO) rm -rf $(GOROOT) \ + && $(SUDO) mv $(TEMP_DIR)/go $(GOROOT) \ && $(GOROOT)/bin/go version .PHONY: rust/install @@ -312,10 +281,10 @@ $(GOROOT)/bin/go: rust/install: $(CARGO_HOME)/bin/cargo $(CARGO_HOME)/bin/cargo: - curl --proto '=https' --tlsv1.2 -fsSL https://sh.rustup.rs | CARGO_HOME=${CARGO_HOME} RUSTUP_HOME=${RUSTUP_HOME} sh -s -- --default-toolchain $(RUST_VERSION) -y - rustup toolchain install $(RUST_VERSION) - rustup default $(RUST_VERSION) - source "${CARGO_HOME}/env" + curl --proto '=https' --tlsv1.2 -fsSL https://sh.rustup.rs | CARGO_HOME=$(CARGO_HOME) RUSTUP_HOME=$(RUSTUP_HOME) sh -s -- --default-toolchain $(RUST_VERSION) -y && \ + $(CARGO_HOME)/bin/rustup toolchain install $(RUST_VERSION) && \ + $(CARGO_HOME)/bin/rustup default $(RUST_VERSION) && \ + $(CARGO_HOME)/bin/rustup component add rust-src rust-analyzer rust-docs rustfmt clippy .PHONY: rustfmt/install ## install rustfmt @@ -327,69 +296,228 @@ rustfmt/install: $(MAKE) rust/install $(MAKE) $(CARGO_HOME)/bin/rustfmt +.PHONY: clang/install +## install clang, lld, and llvm from source +clang/install: $(USR_LOCAL)/bin/clang + +.PHONY: openmp/install +## install openmp from source +openmp/install: $(USR_LOCAL)/bin/clang + +$(USR_LOCAL)/bin/clang: + $(call cmake-install,https://github.com/llvm/llvm-project/releases/download/llvmorg-$(LLVM_VERSION)/llvm-project-$(LLVM_VERSION).src.tar.xz,llvm, \ + -DLLVM_ENABLE_PROJECTS="clang;lld" \ + -DLLVM_ENABLE_RUNTIMES="openmp;libcxx;libcxxabi;libunwind" \ + -DLLVM_TARGETS_TO_BUILD="X86;AArch64" \ + -DLLVM_INCLUDE_TESTS=OFF \ + -DLLVM_INCLUDE_EXAMPLES=OFF \ + -DLLVM_ENABLE_RTTI=ON \ + -DLLVM_ENABLE_ZLIB=ON \ + -DLLVM_ENABLE_ZSTD=ON \ + -DLLVM_ENABLE_LIBXML2=OFF \ + -DLLVM_ENABLE_TERMINFO=OFF \ + -DLLVM_ENABLE_BINDINGS=OFF \ + -DLLVM_ENABLE_OCAMLDOC=OFF \ + -DLLVM_ENABLE_DOXYGEN=OFF \ + -DLLVM_ENABLE_SPHINX=OFF \ + -DLIBOMP_INSTALL_ALIASES=ON \ + -DLLVM_ENABLE_LTO=Thin \ + -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF \ + -DCMAKE_C_FLAGS="$(CFLAGS_BASE)" \ + -DCMAKE_CXX_FLAGS="$(CFLAGS_BASE)",,, \ + llvm) + .PHONY: zlib/install ## install zlib zlib/install: $(LIB_PATH)/libz.a -$(LIB_PATH)/libz.a: $(LIB_PATH) - curl -fsSL https://github.com/madler/zlib/releases/download/v$(ZLIB_VERSION)/zlib-$(ZLIB_VERSION).tar.gz -o $(TEMP_DIR)/zlib-$(ZLIB_VERSION).tar.gz \ - && mkdir -p $(TEMP_DIR)/zlib \ - && tar -xzvf $(TEMP_DIR)/zlib-$(ZLIB_VERSION).tar.gz -C $(TEMP_DIR)/zlib --strip-components 1 \ - && cd $(TEMP_DIR)/zlib \ - && mkdir -p build \ - && cd build \ - && cmake -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_POLICY_VERSION_MINIMUM=$(CMAKE_VERSION) \ - -DBUILD_SHARED_LIBS=OFF \ - -DBUILD_STATIC_EXECS=ON \ - -DBUILD_TESTING=OFF \ - -DZLIB_BUILD_SHARED=OFF \ - -DZLIB_BUILD_STATIC=ON \ - -DZLIB_COMPAT=ON \ - -DZLIB_USE_STATIC_LIBS=ON \ - -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \ - -DCMAKE_C_FLAGS="$(CFLAGS)" \ - -DCMAKE_INSTALL_LIBDIR=$(LIB_PATH) \ - -DCMAKE_INSTALL_PREFIX=$(USR_LOCAL) \ - -B $(TEMP_DIR)/zlib/build $(TEMP_DIR)/zlib \ - && make -j$(CORES) \ - && make install \ - && cd $(ROOTDIR) \ - && rm -rf $(TEMP_DIR)/zlib-$(ZLIB_VERSION).tar.gz $(TEMP_DIR)/zlib $(LIB_PATH)/libz.s* +$(LIB_PATH)/libz.a: | $(LIB_PATH) ninja/install + $(call cmake-install,https://github.com/madler/zlib/releases/download/v$(ZLIB_VERSION)/zlib-$(ZLIB_VERSION).tar.gz,zlib, \ + -DZLIB_BUILD_SHARED=OFF \ + -DZLIB_BUILD_STATIC=ON \ + -DZLIB_COMPAT=ON \ + -DZLIB_USE_STATIC_LIBS=ON, \ + $(SUDO) rm -f $(USR_LOCAL)/include/zlib.h $(USR_LOCAL)/include/zconf.h $(LIB_PATH)/libz.a $(USR_LOCAL)/share/man/man3/zlib.3,,,zlibstatic) .PHONY: hdf5/install ## install hdf5 hdf5/install: $(LIB_PATH)/libhdf5.a -$(LIB_PATH)/libhdf5.a: $(LIB_PATH) \ - zlib/install - mkdir -p $(TEMP_DIR)/hdf5 \ - && curl -fsSL https://github.com/HDFGroup/hdf5/archive/refs/tags/$(HDF5_VERSION).tar.gz -o $(TEMP_DIR)/hdf5.tar.gz \ - && tar -xzvf $(TEMP_DIR)/hdf5.tar.gz -C $(TEMP_DIR)/hdf5 --strip-components 1 \ - && mkdir -p $(TEMP_DIR)/hdf5/build \ - && cd $(TEMP_DIR)/hdf5/build \ - && cmake -DCMAKE_BUILD_TYPE=Release \ +$(LIB_PATH)/libhdf5.a: | $(LIB_PATH) zlib/install + $(call cmake-install,https://github.com/HDFGroup/hdf5/archive/refs/tags/$(HDF5_VERSION).tar.gz,hdf5, \ + -DHDF5_BUILD_CPP_LIB=OFF \ + -DHDF5_BUILD_HL_LIB=ON \ + -DHDF5_BUILD_STATIC_EXECS=ON \ + -DHDF5_BUILD_TOOLS=OFF \ + -DHDF5_ENABLE_Z_LIB_SUPPORT=ON \ + -DH5_ZLIB_INCLUDE_DIR=$(USR_LOCAL)/include \ + -DH5_ZLIB_LIBRARY=$(LIB_PATH)/libz.a, \ + $(SUDO) rm -f $(USR_LOCAL)/include/H5*.h $(USR_LOCAL)/include/hdf5*.h $(LIB_PATH)/libhdf5*) + +.PHONY: libomp/install +## install libomp static library from LLVM openmp source +libomp/install: $(LIB_PATH)/libomp.a + +$(LIB_PATH)/libomp.a: | ninja/install + @$(call green, "Installing libomp...") + $(SUDO) mkdir -p $(LIB_PATH) $(INCLUDE_PATH) + # openmp's runtime build requires a python3 interpreter to generate + # kmp_i18n_{id,default}.inc. The dev-container Dockerfile ships python3 but the + # published image can lag; install it on apt-based systems when it is absent. + @command -v python3 >/dev/null 2>&1 || { command -v apt-get >/dev/null 2>&1 \ + && $(SUDO) apt-get update -qq \ + && $(SUDO) apt-get install -y --no-install-recommends python3; } || true + rm -rf $(TEMP_DIR)/libomp $(TEMP_DIR)/libomp-archive + # LLVM no longer publishes per-component source tarballs (openmp-*.src.tar.xz, + # cmake-*.src.tar.xz) for the 22.1.x line — only the monolithic + # llvm-project-*.src.tar.xz exists. Extract just the openmp/ and cmake/ subtrees + # (the openmp standalone build resolves LLVM cmake utils via ../cmake). + curl -fsSL "https://github.com/llvm/llvm-project/releases/download/llvmorg-$(LLVM_VERSION)/llvm-project-$(LLVM_VERSION).src.tar.xz" \ + -o $(TEMP_DIR)/libomp-archive + mkdir -p $(TEMP_DIR)/libomp + tar -xf $(TEMP_DIR)/libomp-archive -C $(TEMP_DIR)/libomp --strip-components 1 \ + llvm-project-$(LLVM_VERSION).src/openmp \ + llvm-project-$(LLVM_VERSION).src/cmake + cd $(TEMP_DIR)/libomp/openmp \ + && cmake -G Ninja \ + -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_POLICY_VERSION_MINIMUM=$(CMAKE_VERSION) \ + -DCMAKE_C_COMPILER="$(CC)" \ + -DCMAKE_CXX_COMPILER="$(CXX)" \ + -DCMAKE_AR="$(AR)" \ + -DCMAKE_NM="$(NM)" \ + -DCMAKE_RANLIB="$(RANLIB)" \ + -DCMAKE_MAKE_PROGRAM="$(USR_LOCAL)/bin/ninja" \ + -DCMAKE_INSTALL_PREFIX="$(USR_LOCAL)" \ + -DCMAKE_INSTALL_LIBDIR="lib" \ + -DCMAKE_INSTALL_INCLUDEDIR="include" \ -DBUILD_SHARED_LIBS=OFF \ - -DBUILD_STATIC_EXECS=ON \ - -DBUILD_TESTING=OFF \ - -DHDF5_BUILD_CPP_LIB=OFF \ - -DHDF5_BUILD_HL_LIB=ON \ - -DHDF5_BUILD_STATIC_EXECS=ON \ - -DHDF5_BUILD_TOOLS=OFF \ - -DHDF5_ENABLE_Z_LIB_SUPPORT=ON \ - -DH5_ZLIB_INCLUDE_DIR=$(USR_LOCAL)/include \ - -DH5_ZLIB_LIBRARY=$(LIB_PATH)/libz.a \ - -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \ - -DCMAKE_C_FLAGS="$(CFLAGS)" \ - -DCMAKE_INSTALL_LIBDIR=$(LIB_PATH) \ - -DCMAKE_INSTALL_PREFIX=$(USR_LOCAL) \ - -B $(TEMP_DIR)/hdf5/build $(TEMP_DIR)/hdf5 \ - && make -j$(CORES) \ - && make install \ - && cd $(ROOTDIR) \ - && rm -rf $(TEMP_DIR)/hdf5.tar.gz $(TEMP_DIR)/hdf5 \ - && ldconfig + -DLIBOMP_ENABLE_SHARED=OFF \ + -DLIBOMP_INSTALL_ALIASES=ON \ + -DPython3_EXECUTABLE="$$(command -v python3)" \ + -DCMAKE_C_FLAGS="$(CFLAGS_BASE)" \ + -DCMAKE_CXX_FLAGS="$(CFLAGS_BASE)" \ + -B $(TEMP_DIR)/libomp/openmp/build $(TEMP_DIR)/libomp/openmp + cmake --build $(TEMP_DIR)/libomp/openmp/build --parallel $(CORES) + $(SUDO) cmake --install $(TEMP_DIR)/libomp/openmp/build + rm -rf $(TEMP_DIR)/libomp $(TEMP_DIR)/libomp-archive + $(SUDO) ldconfig + +.PHONY: ngt/install +## install NGT +ngt/install: $(USR_LOCAL)/include/NGT/Capi.h + +$(USR_LOCAL)/include/NGT/Capi.h: | ninja/install $(LIB_PATH)/libomp.a + $(call cmake-install,https://github.com/NGT-labs/NGT.git,ngt, \ + -DNGT_LARGE_DATASET=ON \ + -DBUILD_STATIC_EXECS=OFF \ + -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF \ + -DCMAKE_C_FLAGS="$(CFLAGS) $(if $(filter Linux,$(UNAME)),-fopenmp)" \ + -DCMAKE_CXX_FLAGS="$(CXXFLAGS) $(if $(filter Linux,$(UNAME)),-fopenmp)" \ + $(if $(filter Linux,$(UNAME)), \ + -DOpenMP_CXX_FLAGS="-fopenmp" \ + -DOpenMP_C_FLAGS="-fopenmp" \ + -DOpenMP_CXX_LIB_NAMES="omp" \ + -DOpenMP_C_LIB_NAMES="omp" \ + $(if $(LIBOMP),-DOpenMP_omp_LIBRARY="$(LIBOMP)")) \ + -DCMAKE_THREAD_LIBS_INIT="-lpthread" \ + -DCMAKE_HAVE_THREADS_LIBRARY=1 \ + -DCMAKE_USE_PTHREADS_INIT=1 \ + -DTHREADS_PREFER_PTHREAD_FLAG=OFF \ + -DCMAKE_EXE_LINKER_FLAGS="$(NGT_LDFLAGS) -fuse-ld=$(LLD)" \ + -DCMAKE_SHARED_LINKER_FLAGS="$(NGT_LDFLAGS) -fuse-ld=$(LLD)" \ + -DCMAKE_MODULE_LINKER_FLAGS="$(NGT_LDFLAGS) -fuse-ld=$(LLD)" \ + $(NGT_EXTRA_CMAKE_FLAGS), \ + mkdir -p $(TEMP_DIR)/ngt/build/bin/ngt $(TEMP_DIR)/ngt/build/bin/qbg && touch $(TEMP_DIR)/ngt/build/bin/ngt/ngt $(TEMP_DIR)/ngt/build/bin/qbg/qbg, \ + v$(NGT_VERSION), \ + , \ + ngt) + +.PHONY: faiss/install +## install Faiss +faiss/install: $(LIB_PATH)/libfaiss.a + +# Resolve the OpenBLAS library path. faiss 1.14.2 only auto-detects the +# RHEL/Fedora-style threaded names (libopenblaso/libopenblasp); on Debian/Ubuntu +# the threaded library is plain libopenblas, which faiss's +# find_library(BLAS_PREFER_THREADED ...) misses, falling through to a +# find_package(BLAS REQUIRED) that fails under cmake 4.3.3. Pre-seeding the +# BLAS_PREFER_THREADED cache entry with the real path takes faiss's working +# branch (it sets BLAS_LIBRARIES/LAPACK_LIBRARIES from it and skips find_package). +OPENBLAS_PATH = $(shell ldconfig -p 2>/dev/null | awk '/libopenblas\.so/{print $$NF; exit}') + +$(LIB_PATH)/libfaiss.a: | ninja/install $(LIB_PATH)/libomp.a + # Faiss needs the BLAS/LAPACK (OpenBLAS) -dev packages (headers + .so symlinks) + # and a Fortran runtime. The dev-container Dockerfile ships them, but the + # published image used by the runtime jobs can lag. A present runtime lib + # (libopenblas.so.0) does NOT satisfy `-lopenblas` / find_package(BLAS) without + # the -dev package, so install unconditionally on apt-based systems (idempotent). + @command -v apt-get >/dev/null 2>&1 \ + && { $(SUDO) apt-get update -qq \ + && $(SUDO) apt-get install -y --no-install-recommends libopenblas-dev liblapack-dev gfortran; } || true + $(call cmake-install,https://github.com/facebookresearch/faiss/archive/v$(FAISS_VERSION).tar.gz,faiss, \ + -DFAISS_ENABLE_PYTHON=OFF \ + -DFAISS_ENABLE_GPU=OFF \ + $(if $(OPENBLAS_PATH),-DBLAS_PREFER_THREADED="$(OPENBLAS_PATH)" -DBLAS_LIBRARIES="$(OPENBLAS_PATH)" -DLAPACK_LIBRARIES="$(OPENBLAS_PATH)",) \ + -DCMAKE_CXX_SCAN_FOR_MODULES=OFF \ + -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF \ + -DCMAKE_C_FLAGS="$(CFLAGS) $(if $(filter Linux,$(UNAME)),-fopenmp)" \ + -DCMAKE_CXX_FLAGS="$(CXXFLAGS) $(if $(filter Linux,$(UNAME)),-fopenmp)" \ + $(if $(filter Linux,$(UNAME)), \ + -DOpenMP_CXX_FLAGS="-fopenmp" \ + -DOpenMP_C_FLAGS="-fopenmp" \ + -DOpenMP_CXX_LIB_NAMES="omp" \ + -DOpenMP_C_LIB_NAMES="omp" \ + $(if $(LIBOMP),-DOpenMP_omp_LIBRARY="$(LIBOMP)")) \ + -DCMAKE_THREAD_LIBS_INIT="-lpthread" \ + -DCMAKE_HAVE_THREADS_LIBRARY=1 \ + -DCMAKE_USE_PTHREADS_INIT=1 \ + -DTHREADS_PREFER_PTHREAD_FLAG=OFF \ + -DCMAKE_EXE_LINKER_FLAGS="$(FAISS_LDFLAGS) -fuse-ld=$(LLD)" \ + -DCMAKE_SHARED_LINKER_FLAGS="$(FAISS_LDFLAGS) -fuse-ld=$(LLD)" \ + -DCMAKE_MODULE_LINKER_FLAGS="$(FAISS_LDFLAGS) -fuse-ld=$(LLD)", \ + cd $(TEMP_DIR)/faiss && $(SUDO) find faiss -name '*.h' -exec install -D -m 0644 {} $(USR_LOCAL)/include/{} \;, \ + , \ + , \ + faiss) + +.PHONY: usearch/install +## install usearch +usearch/install: $(USR_LOCAL)/include/usearch.h + +$(USR_LOCAL)/include/usearch.h: | ninja/install + $(call cmake-install,https://github.com/unum-cloud/usearch.git,usearch, \ + -DUSEARCH_BUILD_LIB_C=ON \ + -DUSEARCH_BUILD_TEST_CPP=OFF \ + -DUSEARCH_BUILD_BENCH_CPP=OFF \ + -DUSEARCH_BUILD_TEST_C=OFF \ + -DUSEARCH_USE_FP16LIB=ON \ + -DUSEARCH_USE_OPENMP=ON \ + -DUSEARCH_USE_SIMSIMD=ON \ + -DUSEARCH_USE_JEMALLOC=ON, \ + cp $(TEMP_DIR)/usearch/build/libusearch_static_c.a $(LIB_PATH)/libusearch_c.a && cp $(TEMP_DIR)/usearch/build/libusearch_static_c.a $(LIB_PATH)/libusearch_static_c.a && cp $(TEMP_DIR)/usearch/build/libusearch_c.so $(LIB_PATH)/libusearch_c.so && cp $(TEMP_DIR)/usearch/c/usearch.h $(USR_LOCAL)/include/usearch.h, \ + v$(USEARCH_VERSION)) + +.PHONY: cmake/install +## install CMAKE +cmake/install: + CMAKE_ARCH=$$(if [ "$(ARCH)" = "aarch64" ] || [ "$(ARCH)" = "arm64" ]; then echo "aarch64"; else echo "x86_64"; fi); \ + TAR_NAME="cmake-$(CMAKE_VERSION)-linux-$${CMAKE_ARCH}.tar.gz" \ + && curl -fsSL "https://github.com/Kitware/CMake/releases/download/v$(CMAKE_VERSION)/$${TAR_NAME}" -o "$(TEMP_DIR)/$${TAR_NAME}" \ + && $(SUDO) tar -xzf "$(TEMP_DIR)/$${TAR_NAME}" -C $(USR_LOCAL) --strip-components 1 \ + && rm -rf "$(TEMP_DIR)/$${TAR_NAME}" \ + && cmake --version + +.PHONY: ninja/install +## install ninja-build +ninja/install: + NINJA_ARCH=$$(if [ "$(ARCH)" = "aarch64" ] || [ "$(ARCH)" = "arm64" ]; then echo "-aarch64"; else echo ""; fi); \ + TAR_NAME="ninja-linux$${NINJA_ARCH}.zip" \ + && curl -fsSL "https://github.com/ninja-build/ninja/releases/download/v$(NINJA_VERSION)/$${TAR_NAME}" -o "$(TEMP_DIR)/$${TAR_NAME}" \ + && $(SUDO) unzip -q -o "$(TEMP_DIR)/$${TAR_NAME}" -d $(USR_LOCAL)/bin \ + && rm -rf "$(TEMP_DIR)/$${TAR_NAME}" \ + && $(SUDO) chmod +x $(USR_LOCAL)/bin/ninja \ + && ninja --version .PHONY: yq/install ## install yq @@ -410,9 +538,16 @@ $(BINDIR)/docker: $(BINDIR) curl -fsSL https://download.docker.com/linux/static/stable/$(shell uname -m)/docker-$(shell echo $(DOCKER_VERSION) | cut -c2-).tgz -o $(TEMP_DIR)/docker.tgz \ && tar -xzvf $(TEMP_DIR)/docker.tgz -C $(TEMP_DIR) \ && mv $(TEMP_DIR)/docker/docker $(BINDIR) \ - && rm -rf $(TEMP_DIR)/docker{.tgz,} + && rm -rf $(TEMP_DIR)/docker $(TEMP_DIR)/docker.tgz + +.PHONY: fossa/install +## install fossa +fossa/install: $(BINDIR)/fossa + +$(BINDIR)/fossa: + curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | sh -s -- -b $(BINDIR) .PHONY: replace/busybox ## replace busybox version replace/busybox: - find . -type f \( -name "*.yaml" -o -name "*.md" \) -exec sed -i -E 's/busybox:([0-9]+\.[0-9]+\.[0-9]+|latest)/busybox:$(BUSYBOX_VERSION)/g' {} + + cat $(ROOTDIR)/.gitfiles | grep -E '\.(yaml|md)$$' | sed -e 's%^%$(ROOTDIR)/%' | xargs -I {} -P $(CORES) sed -i -E 's/busybox:([0-9]+\.[0-9]+\.[0-9]+|latest)/busybox:$(BUSYBOX_VERSION)/g' "{}" \ No newline at end of file diff --git a/Makefile.d/version.mk b/Makefile.d/version.mk new file mode 100644 index 0000000000..aaa931039f --- /dev/null +++ b/Makefile.d/version.mk @@ -0,0 +1,90 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + +.PHONY: version +## print vald version +version: \ + version/vald + +.PHONY: version/vald +## print vald version +version/vald: + @echo $(VERSION) + +.PHONY: version/go +## print go version +version/go: + @echo $(GO_VERSION) + +.PHONY: version/rust +## print rust version +version/rust: + @echo $(RUST_VERSION) + +.PHONY: version/ngt +## print NGT version +version/ngt: + @echo $(NGT_VERSION) + +.PHONY: version/faiss +## print Faiss version +version/faiss: + @echo $(FAISS_VERSION) + +.PHONY: version/usearch +## print usearch version +version/usearch: + @echo $(USEARCH_VERSION) + +.PHONY: version/docker +## print Kubernetes version +version/docker: + @echo $(DOCKER_VERSION) + +.PHONY: version/k8s +## print Kubernetes version +version/k8s: + @echo $(KUBECTL_VERSION) + +.PHONY: version/kind +## print kind version +version/kind: + @echo $(KIND_VERSION) + +.PHONY: version/helm +## print helm version +version/helm: + @echo $(HELM_VERSION) + +.PHONY: version/llvm +## print llvm version +version/llvm: + @echo $(LLVM_VERSION) + +.PHONY: version/openmp +## print openmp version +version/openmp: + @echo $(LLVM_VERSION) + +.PHONY: version/yq +## print yq version +version/yq: + @echo $(YQ_VERSION) + +.PHONY: version/telepresence +## print telepresence version +version/telepresence: + @echo $(TELEPRESENCE_VERSION) \ No newline at end of file diff --git a/apis/docs/v1/docs.md b/apis/docs/v1/docs.md index 558a807112..c6d5812814 100644 --- a/apis/docs/v1/docs.md +++ b/apis/docs/v1/docs.md @@ -1265,12 +1265,12 @@ Operator is enum of each conditional operator. | Name | Number | Description | | ---- | ------ | ----------------------------------------------------------------------------- | -| Eq | 0 | The timestamp is equal to the specified value in the request. | -| Ne | 1 | The timestamp is not equal to the specified value in the request. | -| Ge | 2 | The timestamp is greater than or equal to the specified value in the request. | -| Gt | 3 | The timestamp is greater than the specified value in the request. | -| Le | 4 | The timestamp is less than or equal to the specified value in the request. | -| Lt | 5 | The timestamp is less than the specified value in the request. | +| EQ | 0 | The timestamp is equal to the specified value in the request. | +| NE | 1 | The timestamp is not equal to the specified value in the request. | +| GE | 2 | The timestamp is greater than or equal to the specified value in the request. | +| GT | 3 | The timestamp is greater than the specified value in the request. | +| LE | 4 | The timestamp is less than or equal to the specified value in the request. | +| LT | 5 | The timestamp is less than the specified value in the request. | diff --git a/apis/docs/v1/filter.md b/apis/docs/v1/filter.md deleted file mode 100644 index eb9fb6646f..0000000000 --- a/apis/docs/v1/filter.md +++ /dev/null @@ -1,1558 +0,0 @@ -# Vald Filter APIs - -## Overview - -Filter Server is responsible for providing insert, update, upsert and search interface for `Vald Filter Gateway`. - -Vald Filter Gateway forward user request to user-defined ingress/egress filter components allowing user to run custom logic. - -```rpc -service Filter { - - rpc SearchObject(payload.v1.Search.ObjectRequest) returns (payload.v1.Search.Response) {} - rpc MultiSearchObject(payload.v1.Search.MultiObjectRequest) returns (payload.v1.Search.Responses) {} - rpc StreamSearchObject(payload.v1.Search.ObjectRequest) returns (payload.v1.Search.StreamResponse) {} - rpc InsertObject(payload.v1.Insert.ObjectRequest) returns (payload.v1.Object.Location) {} - rpc StreamInsertObject(payload.v1.Insert.ObjectRequest) returns (payload.v1.Object.StreamLocation) {} - rpc MultiInsertObject(payload.v1.Insert.MultiObjectRequest) returns (payload.v1.Object.Locations) {} - rpc UpdateObject(payload.v1.Update.ObjectRequest) returns (payload.v1.Object.Location) {} - rpc StreamUpdateObject(payload.v1.Update.ObjectRequest) returns (payload.v1.Object.StreamLocation) {} - rpc MultiUpdateObject(payload.v1.Update.MultiObjectRequest) returns (payload.v1.Object.Locations) {} - rpc UpsertObject(payload.v1.Upsert.ObjectRequest) returns (payload.v1.Object.Location) {} - rpc StreamUpsertObject(payload.v1.Upsert.ObjectRequest) returns (payload.v1.Object.StreamLocation) {} - rpc MultiUpsertObject(payload.v1.Upsert.MultiObjectRequest) returns (payload.v1.Object.Locations) {} - -} -``` - -## SearchObject RPC - -SearchObject RPC is the method to search object(s) similar to request object. - -### Input - -- the scheme of `payload.v1.Search.ObjectRequest` - - ```rpc - message Search.ObjectRequest { - bytes object = 1; - Search.Config config = 2; - Filter.Target vectorizer = 3; - } - - message Search.Config { - string request_id = 1; - uint32 num = 2; - float radius = 3; - float epsilon = 4; - int64 timeout = 5; - Filter.Config ingress_filters = 6; - Filter.Config egress_filters = 7; - uint32 min_num = 8; - Search.AggregationAlgorithm aggregation_algorithm = 9; - google.protobuf.FloatValue ratio = 10; - uint32 nprobe = 11; - int32 edge_size = 12; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - enum Search.AggregationAlgorithm { - Unknown = 0; - ConcurrentQueue = 1; - SortSlice = 2; - SortPoolSlice = 3; - PairingHeap = 4; - } - - ``` - - - Search.ObjectRequest - - | field | type | label | description | - | :--------: | :------------ | :---- | :--------------------------------------- | - | object | bytes | | The binary object to be searched. | - | config | Search.Config | | The configuration of the search request. | - | vectorizer | Filter.Target | | Filter configuration. | - - - Search.Config - - | field | type | label | description | - | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - | edge_size | int32 | | Search edge size | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - -### Output - -- the scheme of `payload.v1.Search.Response` - - ```rpc - message Search.Response { - string request_id = 1; - repeated Object.Distance results = 2; - } - - message Object.Distance { - string id = 1; - float distance = 2; - } - - ``` - - - Search.Response - - | field | type | label | description | - | :--------: | :-------------- | :------- | :--------------------- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - - - Object.Distance - - | field | type | label | description | - | :------: | :----- | :---- | :------------- | - | id | string | | The vector ID. | - | distance | float | | The distance. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 6 | ALREADY_EXISTS | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -## MultiSearchObject RPC - -StreamSearchObject RPC is the method to search vectors with multi queries(objects) using the [bidirectional streaming RPC](https://grpc.io/docs/what-is-grpc/core-concepts/#bidirectional-streaming-rpc).
-By using the bidirectional streaming RPC, the search request can be communicated in any order between client and server. -Each Search request and response are independent. - -### Input - -- the scheme of `payload.v1.Search.MultiObjectRequest` - - ```rpc - message Search.MultiObjectRequest { - repeated Search.ObjectRequest requests = 1; - } - - message Search.ObjectRequest { - bytes object = 1; - Search.Config config = 2; - Filter.Target vectorizer = 3; - } - - message Search.Config { - string request_id = 1; - uint32 num = 2; - float radius = 3; - float epsilon = 4; - int64 timeout = 5; - Filter.Config ingress_filters = 6; - Filter.Config egress_filters = 7; - uint32 min_num = 8; - Search.AggregationAlgorithm aggregation_algorithm = 9; - google.protobuf.FloatValue ratio = 10; - uint32 nprobe = 11; - int32 edge_size = 12; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - enum Search.AggregationAlgorithm { - Unknown = 0; - ConcurrentQueue = 1; - SortSlice = 2; - SortPoolSlice = 3; - PairingHeap = 4; - } - - ``` - - - Search.MultiObjectRequest - - | field | type | label | description | - | :------: | :------------------- | :------- | :-------------------------------------------------------------- | - | requests | Search.ObjectRequest | repeated | Represent the multiple search by binary object request content. | - - - Search.ObjectRequest - - | field | type | label | description | - | :--------: | :------------ | :---- | :--------------------------------------- | - | object | bytes | | The binary object to be searched. | - | config | Search.Config | | The configuration of the search request. | - | vectorizer | Filter.Target | | Filter configuration. | - - - Search.Config - - | field | type | label | description | - | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - | edge_size | int32 | | Search edge size | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - -### Output - -- the scheme of `payload.v1.Search.Responses` - - ```rpc - message Search.Responses { - repeated Search.Response responses = 1; - } - - message Search.Response { - string request_id = 1; - repeated Object.Distance results = 2; - } - - message Object.Distance { - string id = 1; - float distance = 2; - } - - ``` - - - Search.Responses - - | field | type | label | description | - | :-------: | :-------------- | :------- | :---------------------------------------------- | - | responses | Search.Response | repeated | Represent the multiple search response content. | - - - Search.Response - - | field | type | label | description | - | :--------: | :-------------- | :------- | :--------------------- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - - - Object.Distance - - | field | type | label | description | - | :------: | :----- | :---- | :------------- | - | id | string | | The vector ID. | - | distance | float | | The distance. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 6 | ALREADY_EXISTS | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -## StreamSearchObject RPC - -MultiSearchObject RPC is the method to search objects with multiple objects in **1** request. - -
-gRPC has a message size limitation.
-Please be careful that the size of the request exceeds the limit. -
- -### Input - -- the scheme of `payload.v1.Search.ObjectRequest` - - ```rpc - message Search.ObjectRequest { - bytes object = 1; - Search.Config config = 2; - Filter.Target vectorizer = 3; - } - - message Search.Config { - string request_id = 1; - uint32 num = 2; - float radius = 3; - float epsilon = 4; - int64 timeout = 5; - Filter.Config ingress_filters = 6; - Filter.Config egress_filters = 7; - uint32 min_num = 8; - Search.AggregationAlgorithm aggregation_algorithm = 9; - google.protobuf.FloatValue ratio = 10; - uint32 nprobe = 11; - int32 edge_size = 12; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - enum Search.AggregationAlgorithm { - Unknown = 0; - ConcurrentQueue = 1; - SortSlice = 2; - SortPoolSlice = 3; - PairingHeap = 4; - } - - ``` - - - Search.ObjectRequest - - | field | type | label | description | - | :--------: | :------------ | :---- | :--------------------------------------- | - | object | bytes | | The binary object to be searched. | - | config | Search.Config | | The configuration of the search request. | - | vectorizer | Filter.Target | | Filter configuration. | - - - Search.Config - - | field | type | label | description | - | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - | edge_size | int32 | | Search edge size | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - -### Output - -- the scheme of `payload.v1.Search.StreamResponse` - - ```rpc - message Search.StreamResponse { - Search.Response response = 1; - google.rpc.Status status = 2; - } - - message Search.Response { - string request_id = 1; - repeated Object.Distance results = 2; - } - - message Object.Distance { - string id = 1; - float distance = 2; - } - - ``` - - - Search.StreamResponse - - | field | type | label | description | - | :------: | :---------------- | :---- | :----------------------------- | - | response | Search.Response | | Represent the search response. | - | status | google.rpc.Status | | The RPC error status. | - - - Search.Response - - | field | type | label | description | - | :--------: | :-------------- | :------- | :--------------------- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - - - Object.Distance - - | field | type | label | description | - | :------: | :----- | :---- | :------------- | - | id | string | | The vector ID. | - | distance | float | | The distance. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 6 | ALREADY_EXISTS | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -## InsertObject RPC - -InsertObject RPC is the method to insert object through Vald Filter Gateway. - -### Input - -- the scheme of `payload.v1.Insert.ObjectRequest` - - ```rpc - message Insert.ObjectRequest { - Object.Blob object = 1; - Insert.Config config = 2; - Filter.Target vectorizer = 3; - } - - message Object.Blob { - string id = 1; - bytes object = 2; - } - - message Insert.Config { - bool skip_strict_exist_check = 1; - Filter.Config filters = 2; - int64 timestamp = 3; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - ``` - - - Insert.ObjectRequest - - | field | type | label | description | - | :--------: | :------------ | :---- | :--------------------------------------- | - | object | Object.Blob | | The binary object to be inserted. | - | config | Insert.Config | | The configuration of the insert request. | - | vectorizer | Filter.Target | | Filter configurations. | - - - Object.Blob - - | field | type | label | description | - | :----: | :----- | :---- | :----------------- | - | id | string | | The object ID. | - | object | bytes | | The binary object. | - - - Insert.Config - - | field | type | label | description | - | :---------------------: | :------------ | :---- | :-------------------------------------------------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during insert operation. | - | filters | Filter.Config | | Filter configurations. | - | timestamp | int64 | | Insert timestamp. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - -### Output - -- the scheme of `payload.v1.Object.Location` - - ```rpc - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 6 | ALREADY_EXISTS | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -## StreamInsertObject RPC - -StreamInsertObject RPC is the method to add new multiple object using the [bidirectional streaming RPC](https://grpc.io/docs/what-is-grpc/core-concepts/#bidirectional-streaming-rpc). - -By using the bidirectional streaming RPC, the insert request can be communicated in any order between client and server. -Each Insert request and response are independent. -It's the recommended method to insert a large number of objects. - -### Input - -- the scheme of `payload.v1.Insert.ObjectRequest` - - ```rpc - message Insert.ObjectRequest { - Object.Blob object = 1; - Insert.Config config = 2; - Filter.Target vectorizer = 3; - } - - message Object.Blob { - string id = 1; - bytes object = 2; - } - - message Insert.Config { - bool skip_strict_exist_check = 1; - Filter.Config filters = 2; - int64 timestamp = 3; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - ``` - - - Insert.ObjectRequest - - | field | type | label | description | - | :--------: | :------------ | :---- | :--------------------------------------- | - | object | Object.Blob | | The binary object to be inserted. | - | config | Insert.Config | | The configuration of the insert request. | - | vectorizer | Filter.Target | | Filter configurations. | - - - Object.Blob - - | field | type | label | description | - | :----: | :----- | :---- | :----------------- | - | id | string | | The object ID. | - | object | bytes | | The binary object. | - - - Insert.Config - - | field | type | label | description | - | :---------------------: | :------------ | :---- | :-------------------------------------------------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during insert operation. | - | filters | Filter.Config | | Filter configurations. | - | timestamp | int64 | | Insert timestamp. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - -### Output - -- the scheme of `payload.v1.Object.StreamLocation` - - ```rpc - message Object.StreamLocation { - Object.Location location = 1; - google.rpc.Status status = 2; - } - - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.StreamLocation - - | field | type | label | description | - | :------: | :---------------- | :---- | :-------------------- | - | location | Object.Location | | The vector location. | - | status | google.rpc.Status | | The RPC error status. | - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 6 | ALREADY_EXISTS | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -## MultiInsertObject RPC - -MultiInsertObject RPC is the method to add multiple new objects in **1** request. - -### Input - -- the scheme of `payload.v1.Insert.MultiObjectRequest` - - ```rpc - message Insert.MultiObjectRequest { - repeated Insert.ObjectRequest requests = 1; - } - - message Insert.ObjectRequest { - Object.Blob object = 1; - Insert.Config config = 2; - Filter.Target vectorizer = 3; - } - - message Object.Blob { - string id = 1; - bytes object = 2; - } - - message Insert.Config { - bool skip_strict_exist_check = 1; - Filter.Config filters = 2; - int64 timestamp = 3; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - ``` - - - Insert.MultiObjectRequest - - | field | type | label | description | - | :------: | :------------------- | :------- | :------------------------------------------- | - | requests | Insert.ObjectRequest | repeated | Represent multiple insert by object content. | - - - Insert.ObjectRequest - - | field | type | label | description | - | :--------: | :------------ | :---- | :--------------------------------------- | - | object | Object.Blob | | The binary object to be inserted. | - | config | Insert.Config | | The configuration of the insert request. | - | vectorizer | Filter.Target | | Filter configurations. | - - - Object.Blob - - | field | type | label | description | - | :----: | :----- | :---- | :----------------- | - | id | string | | The object ID. | - | object | bytes | | The binary object. | - - - Insert.Config - - | field | type | label | description | - | :---------------------: | :------------ | :---- | :-------------------------------------------------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during insert operation. | - | filters | Filter.Config | | Filter configurations. | - | timestamp | int64 | | Insert timestamp. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - -### Output - -- the scheme of `payload.v1.Object.Locations` - - ```rpc - message Object.Locations { - repeated Object.Location locations = 1; - } - - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.Locations - - | field | type | label | description | - | :-------: | :-------------- | :------- | :---------- | - | locations | Object.Location | repeated | | - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 6 | ALREADY_EXISTS | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -## UpdateObject RPC - -UpdateObject RPC is the method to update a single vector. - -### Input - -- the scheme of `payload.v1.Update.ObjectRequest` - - ```rpc - message Update.ObjectRequest { - Object.Blob object = 1; - Update.Config config = 2; - Filter.Target vectorizer = 3; - } - - message Object.Blob { - string id = 1; - bytes object = 2; - } - - message Update.Config { - bool skip_strict_exist_check = 1; - Filter.Config filters = 2; - int64 timestamp = 3; - bool disable_balanced_update = 4; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - ``` - - - Update.ObjectRequest - - | field | type | label | description | - | :--------: | :------------ | :---- | :--------------------------------------- | - | object | Object.Blob | | The binary object to be updated. | - | config | Update.Config | | The configuration of the update request. | - | vectorizer | Filter.Target | | Filter target. | - - - Object.Blob - - | field | type | label | description | - | :----: | :----- | :---- | :----------------- | - | id | string | | The object ID. | - | object | bytes | | The binary object. | - - - Update.Config - - | field | type | label | description | - | :---: | :--- | :---- | :---------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during update operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Update timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) - - during update operation. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - -### Output - -- the scheme of `payload.v1.Object.Location` - - ```rpc - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 6 | ALREADY_EXISTS | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -## StreamUpdateObject RPC - -StreamUpdateObject RPC is the method to update multiple objects using the [bidirectional streaming RPC](https://grpc.io/docs/what-is-grpc/core-concepts/#bidirectional-streaming-rpc).
-By using the bidirectional streaming RPC, the update request can be communicated in any order between client and server. -Each Update request and response are independent. -It's the recommended method to update the large amount of objects. - -### Input - -- the scheme of `payload.v1.Update.ObjectRequest` - - ```rpc - message Update.ObjectRequest { - Object.Blob object = 1; - Update.Config config = 2; - Filter.Target vectorizer = 3; - } - - message Object.Blob { - string id = 1; - bytes object = 2; - } - - message Update.Config { - bool skip_strict_exist_check = 1; - Filter.Config filters = 2; - int64 timestamp = 3; - bool disable_balanced_update = 4; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - ``` - - - Update.ObjectRequest - - | field | type | label | description | - | :--------: | :------------ | :---- | :--------------------------------------- | - | object | Object.Blob | | The binary object to be updated. | - | config | Update.Config | | The configuration of the update request. | - | vectorizer | Filter.Target | | Filter target. | - - - Object.Blob - - | field | type | label | description | - | :----: | :----- | :---- | :----------------- | - | id | string | | The object ID. | - | object | bytes | | The binary object. | - - - Update.Config - - | field | type | label | description | - | :---: | :--- | :---- | :---------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during update operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Update timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) - - during update operation. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - -### Output - -- the scheme of `payload.v1.Object.StreamLocation` - - ```rpc - message Object.StreamLocation { - Object.Location location = 1; - google.rpc.Status status = 2; - } - - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.StreamLocation - - | field | type | label | description | - | :------: | :---------------- | :---- | :-------------------- | - | location | Object.Location | | The vector location. | - | status | google.rpc.Status | | The RPC error status. | - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 6 | ALREADY_EXISTS | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -## MultiUpdateObject RPC - -MultiUpdateObject is the method to update multiple objects in **1** request. - -
-gRPC has the message size limitation.
-Please be careful that the size of the request exceed the limit. -
- -### Input - -- the scheme of `payload.v1.Update.MultiObjectRequest` - - ```rpc - message Update.MultiObjectRequest { - repeated Update.ObjectRequest requests = 1; - } - - message Update.ObjectRequest { - Object.Blob object = 1; - Update.Config config = 2; - Filter.Target vectorizer = 3; - } - - message Object.Blob { - string id = 1; - bytes object = 2; - } - - message Update.Config { - bool skip_strict_exist_check = 1; - Filter.Config filters = 2; - int64 timestamp = 3; - bool disable_balanced_update = 4; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - ``` - - - Update.MultiObjectRequest - - | field | type | label | description | - | :------: | :------------------- | :------- | :---------------------------------------------------- | - | requests | Update.ObjectRequest | repeated | Represent the multiple update object request content. | - - - Update.ObjectRequest - - | field | type | label | description | - | :--------: | :------------ | :---- | :--------------------------------------- | - | object | Object.Blob | | The binary object to be updated. | - | config | Update.Config | | The configuration of the update request. | - | vectorizer | Filter.Target | | Filter target. | - - - Object.Blob - - | field | type | label | description | - | :----: | :----- | :---- | :----------------- | - | id | string | | The object ID. | - | object | bytes | | The binary object. | - - - Update.Config - - | field | type | label | description | - | :---: | :--- | :---- | :---------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during update operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Update timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) - - during update operation. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - -### Output - -- the scheme of `payload.v1.Object.Locations` - - ```rpc - message Object.Locations { - repeated Object.Location locations = 1; - } - - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.Locations - - | field | type | label | description | - | :-------: | :-------------- | :------- | :---------- | - | locations | Object.Location | repeated | | - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 6 | ALREADY_EXISTS | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -## UpsertObject RPC - -UpsertObject RPC is the method to update a single object and add a new single object. - -### Input - -- the scheme of `payload.v1.Upsert.ObjectRequest` - - ```rpc - message Upsert.ObjectRequest { - Object.Blob object = 1; - Upsert.Config config = 2; - Filter.Target vectorizer = 3; - } - - message Object.Blob { - string id = 1; - bytes object = 2; - } - - message Upsert.Config { - bool skip_strict_exist_check = 1; - Filter.Config filters = 2; - int64 timestamp = 3; - bool disable_balanced_update = 4; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - ``` - - - Upsert.ObjectRequest - - | field | type | label | description | - | :--------: | :------------ | :---- | :--------------------------------------- | - | object | Object.Blob | | The binary object to be upserted. | - | config | Upsert.Config | | The configuration of the upsert request. | - | vectorizer | Filter.Target | | Filter target. | - - - Object.Blob - - | field | type | label | description | - | :----: | :----- | :---- | :----------------- | - | id | string | | The object ID. | - | object | bytes | | The binary object. | - - - Upsert.Config - - | field | type | label | description | - | :---: | :--- | :---- | :---------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Upsert timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) - - during update operation. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - -### Output - -- the scheme of `payload.v1.Object.Location` - - ```rpc - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 6 | ALREADY_EXISTS | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -## StreamUpsertObject RPC - -UpsertObject RPC is the method to update a single object and add a new single object. - -### Input - -- the scheme of `payload.v1.Upsert.ObjectRequest` - - ```rpc - message Upsert.ObjectRequest { - Object.Blob object = 1; - Upsert.Config config = 2; - Filter.Target vectorizer = 3; - } - - message Object.Blob { - string id = 1; - bytes object = 2; - } - - message Upsert.Config { - bool skip_strict_exist_check = 1; - Filter.Config filters = 2; - int64 timestamp = 3; - bool disable_balanced_update = 4; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - ``` - - - Upsert.ObjectRequest - - | field | type | label | description | - | :--------: | :------------ | :---- | :--------------------------------------- | - | object | Object.Blob | | The binary object to be upserted. | - | config | Upsert.Config | | The configuration of the upsert request. | - | vectorizer | Filter.Target | | Filter target. | - - - Object.Blob - - | field | type | label | description | - | :----: | :----- | :---- | :----------------- | - | id | string | | The object ID. | - | object | bytes | | The binary object. | - - - Upsert.Config - - | field | type | label | description | - | :---: | :--- | :---- | :---------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Upsert timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) - - during update operation. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - -### Output - -- the scheme of `payload.v1.Object.StreamLocation` - - ```rpc - message Object.StreamLocation { - Object.Location location = 1; - google.rpc.Status status = 2; - } - - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.StreamLocation - - | field | type | label | description | - | :------: | :---------------- | :---- | :-------------------- | - | location | Object.Location | | The vector location. | - | status | google.rpc.Status | | The RPC error status. | - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 6 | ALREADY_EXISTS | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -## MultiUpsertObject RPC - -MultiUpsertObject is the method to update existing multiple objects and add new multiple objects in **1** request. - -
-gRPC has a message size limitation.
-Please be careful that the size of the request exceeds the limit. -
- -### Input - -- the scheme of `payload.v1.Upsert.MultiObjectRequest` - - ```rpc - message Upsert.MultiObjectRequest { - repeated Upsert.ObjectRequest requests = 1; - } - - message Upsert.ObjectRequest { - Object.Blob object = 1; - Upsert.Config config = 2; - Filter.Target vectorizer = 3; - } - - message Object.Blob { - string id = 1; - bytes object = 2; - } - - message Upsert.Config { - bool skip_strict_exist_check = 1; - Filter.Config filters = 2; - int64 timestamp = 3; - bool disable_balanced_update = 4; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - ``` - - - Upsert.MultiObjectRequest - - | field | type | label | description | - | :------: | :------------------- | :------- | :---------------------------------------------------- | - | requests | Upsert.ObjectRequest | repeated | Represent the multiple upsert object request content. | - - - Upsert.ObjectRequest - - | field | type | label | description | - | :--------: | :------------ | :---- | :--------------------------------------- | - | object | Object.Blob | | The binary object to be upserted. | - | config | Upsert.Config | | The configuration of the upsert request. | - | vectorizer | Filter.Target | | Filter target. | - - - Object.Blob - - | field | type | label | description | - | :----: | :----- | :---- | :----------------- | - | id | string | | The object ID. | - | object | bytes | | The binary object. | - - - Upsert.Config - - | field | type | label | description | - | :---: | :--- | :---- | :---------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Upsert timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) - - during update operation. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - -### Output - -- the scheme of `payload.v1.Object.Locations` - - ```rpc - message Object.Locations { - repeated Object.Location locations = 1; - } - - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.Locations - - | field | type | label | description | - | :-------: | :-------------- | :------- | :---------- | - | locations | Object.Location | repeated | | - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 6 | ALREADY_EXISTS | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. diff --git a/apis/docs/v1/flush.md b/apis/docs/v1/flush.md deleted file mode 100644 index 504c14ef51..0000000000 --- a/apis/docs/v1/flush.md +++ /dev/null @@ -1,68 +0,0 @@ -# Vald Flush APIs - -## Overview - -Flush Service is responsible for removing all vectors that are indexed and uncommitted in the `vald-agent`. - -```rpc -service Flush { - - rpc Flush(payload.v1.Flush.Request) returns (payload.v1.Info.Index.Count) {} - -} -``` - -## Flush RPC - -Flush RPC is the method to remove all vectors. - -### Input - -- the scheme of `payload.v1.Flush.Request` - - ```rpc - message Flush.Request { - // empty - } - - ``` - - - Flush.Request - - empty - -### Output - -- the scheme of `payload.v1.Info.Index.Count` - - ```rpc - message Info.Index.Count { - uint32 stored = 1; - uint32 uncommitted = 2; - bool indexing = 3; - bool saving = 4; - } - - ``` - - - Info.Index.Count - - | field | type | label | description | - | :---------: | :----- | :---- | :--------------------------- | - | stored | uint32 | | The stored index count. | - | uncommitted | uint32 | | The uncommitted index count. | - | indexing | bool | | The indexing index count. | - | saving | bool | | The saving index count. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. diff --git a/apis/docs/v1/index.md b/apis/docs/v1/index.md deleted file mode 100644 index 8fc1c4bc93..0000000000 --- a/apis/docs/v1/index.md +++ /dev/null @@ -1,475 +0,0 @@ -# Vald Index APIs - -## Overview - -Represent the index manager service. - -```rpc -service Index { - - rpc IndexInfo(payload.v1.Empty) returns (payload.v1.Info.Index.Count) {} - rpc IndexDetail(payload.v1.Empty) returns (payload.v1.Info.Index.Detail) {} - rpc IndexStatistics(payload.v1.Empty) returns (payload.v1.Info.Index.Statistics) {} - rpc IndexStatisticsDetail(payload.v1.Empty) returns (payload.v1.Info.Index.StatisticsDetail) {} - rpc IndexProperty(payload.v1.Empty) returns (payload.v1.Info.Index.PropertyDetail) {} - -} -``` - -## IndexInfo RPC - -Represent the RPC to get the index information. - -### Input - -- the scheme of `payload.v1.Empty` - - ```rpc - message Empty { - // empty - } - - ``` - - - Empty - - empty - -### Output - -- the scheme of `payload.v1.Info.Index.Count` - - ```rpc - message Info.Index.Count { - uint32 stored = 1; - uint32 uncommitted = 2; - bool indexing = 3; - bool saving = 4; - } - - ``` - - - Info.Index.Count - - | field | type | label | description | - | :---------: | :----- | :---- | :--------------------------- | - | stored | uint32 | | The stored index count. | - | uncommitted | uint32 | | The uncommitted index count. | - | indexing | bool | | The indexing index count. | - | saving | bool | | The saving index count. | - -## IndexDetail RPC - -Represent the RPC to get the index information for each agents. - -### Input - -- the scheme of `payload.v1.Empty` - - ```rpc - message Empty { - // empty - } - - ``` - - - Empty - - empty - -### Output - -- the scheme of `payload.v1.Info.Index.Detail` - - ```rpc - message Info.Index.Detail { - repeated Info.Index.Detail.CountsEntry counts = 1; - uint32 replica = 2; - uint32 live_agents = 3; - } - - message Info.Index.Detail.CountsEntry { - string key = 1; - Info.Index.Count value = 2; - } - - message Info.Index.Count { - uint32 stored = 1; - uint32 uncommitted = 2; - bool indexing = 3; - bool saving = 4; - } - - ``` - - - Info.Index.Detail - - | field | type | label | description | - | :---------: | :---------------------------- | :------- | :--------------------------------- | - | counts | Info.Index.Detail.CountsEntry | repeated | count infos for each agents | - | replica | uint32 | | index replica of vald cluster | - | live_agents | uint32 | | live agent replica of vald cluster | - - - Info.Index.Detail.CountsEntry - - | field | type | label | description | - | :---: | :--------------- | :---- | :---------- | - | key | string | | | - | value | Info.Index.Count | | | - - - Info.Index.Count - - | field | type | label | description | - | :---------: | :----- | :---- | :--------------------------- | - | stored | uint32 | | The stored index count. | - | uncommitted | uint32 | | The uncommitted index count. | - | indexing | bool | | The indexing index count. | - | saving | bool | | The saving index count. | - -## IndexStatistics RPC - -Represent the RPC to get the index statistics. - -### Input - -- the scheme of `payload.v1.Empty` - - ```rpc - message Empty { - // empty - } - - ``` - - - Empty - - empty - -### Output - -- the scheme of `payload.v1.Info.Index.Statistics` - - ```rpc - message Info.Index.Statistics { - bool valid = 1; - int32 median_indegree = 2; - int32 median_outdegree = 3; - uint64 max_number_of_indegree = 4; - uint64 max_number_of_outdegree = 5; - uint64 min_number_of_indegree = 6; - uint64 min_number_of_outdegree = 7; - uint64 mode_indegree = 8; - uint64 mode_outdegree = 9; - uint64 nodes_skipped_for_10_edges = 10; - uint64 nodes_skipped_for_indegree_distance = 11; - uint64 number_of_edges = 12; - uint64 number_of_indexed_objects = 13; - uint64 number_of_nodes = 14; - uint64 number_of_nodes_without_edges = 15; - uint64 number_of_nodes_without_indegree = 16; - uint64 number_of_objects = 17; - uint64 number_of_removed_objects = 18; - uint64 size_of_object_repository = 19; - uint64 size_of_refinement_object_repository = 20; - double variance_of_indegree = 21; - double variance_of_outdegree = 22; - double mean_edge_length = 23; - double mean_edge_length_for_10_edges = 24; - double mean_indegree_distance_for_10_edges = 25; - double mean_number_of_edges_per_node = 26; - double c1_indegree = 27; - double c5_indegree = 28; - double c95_outdegree = 29; - double c99_outdegree = 30; - repeated int64 indegree_count = 31; - repeated uint64 outdegree_histogram = 32; - repeated uint64 indegree_histogram = 33; - } - - ``` - - - Info.Index.Statistics - - | field | type | label | description | - | :----------------------------------: | :----- | :------- | :---------- | - | valid | bool | | | - | median_indegree | int32 | | | - | median_outdegree | int32 | | | - | max_number_of_indegree | uint64 | | | - | max_number_of_outdegree | uint64 | | | - | min_number_of_indegree | uint64 | | | - | min_number_of_outdegree | uint64 | | | - | mode_indegree | uint64 | | | - | mode_outdegree | uint64 | | | - | nodes_skipped_for_10_edges | uint64 | | | - | nodes_skipped_for_indegree_distance | uint64 | | | - | number_of_edges | uint64 | | | - | number_of_indexed_objects | uint64 | | | - | number_of_nodes | uint64 | | | - | number_of_nodes_without_edges | uint64 | | | - | number_of_nodes_without_indegree | uint64 | | | - | number_of_objects | uint64 | | | - | number_of_removed_objects | uint64 | | | - | size_of_object_repository | uint64 | | | - | size_of_refinement_object_repository | uint64 | | | - | variance_of_indegree | double | | | - | variance_of_outdegree | double | | | - | mean_edge_length | double | | | - | mean_edge_length_for_10_edges | double | | | - | mean_indegree_distance_for_10_edges | double | | | - | mean_number_of_edges_per_node | double | | | - | c1_indegree | double | | | - | c5_indegree | double | | | - | c95_outdegree | double | | | - | c99_outdegree | double | | | - | indegree_count | int64 | repeated | | - | outdegree_histogram | uint64 | repeated | | - | indegree_histogram | uint64 | repeated | | - -## IndexStatisticsDetail RPC - -Represent the RPC to get the index statistics for each agents. - -### Input - -- the scheme of `payload.v1.Empty` - - ```rpc - message Empty { - // empty - } - - ``` - - - Empty - - empty - -### Output - -- the scheme of `payload.v1.Info.Index.StatisticsDetail` - - ```rpc - message Info.Index.StatisticsDetail { - repeated Info.Index.StatisticsDetail.DetailsEntry details = 1; - } - - message Info.Index.StatisticsDetail.DetailsEntry { - string key = 1; - Info.Index.Statistics value = 2; - } - - message Info.Index.Statistics { - bool valid = 1; - int32 median_indegree = 2; - int32 median_outdegree = 3; - uint64 max_number_of_indegree = 4; - uint64 max_number_of_outdegree = 5; - uint64 min_number_of_indegree = 6; - uint64 min_number_of_outdegree = 7; - uint64 mode_indegree = 8; - uint64 mode_outdegree = 9; - uint64 nodes_skipped_for_10_edges = 10; - uint64 nodes_skipped_for_indegree_distance = 11; - uint64 number_of_edges = 12; - uint64 number_of_indexed_objects = 13; - uint64 number_of_nodes = 14; - uint64 number_of_nodes_without_edges = 15; - uint64 number_of_nodes_without_indegree = 16; - uint64 number_of_objects = 17; - uint64 number_of_removed_objects = 18; - uint64 size_of_object_repository = 19; - uint64 size_of_refinement_object_repository = 20; - double variance_of_indegree = 21; - double variance_of_outdegree = 22; - double mean_edge_length = 23; - double mean_edge_length_for_10_edges = 24; - double mean_indegree_distance_for_10_edges = 25; - double mean_number_of_edges_per_node = 26; - double c1_indegree = 27; - double c5_indegree = 28; - double c95_outdegree = 29; - double c99_outdegree = 30; - repeated int64 indegree_count = 31; - repeated uint64 outdegree_histogram = 32; - repeated uint64 indegree_histogram = 33; - } - - ``` - - - Info.Index.StatisticsDetail - - | field | type | label | description | - | :-----: | :--------------------------------------- | :------- | :-------------------------- | - | details | Info.Index.StatisticsDetail.DetailsEntry | repeated | count infos for each agents | - - - Info.Index.StatisticsDetail.DetailsEntry - - | field | type | label | description | - | :---: | :-------------------- | :---- | :---------- | - | key | string | | | - | value | Info.Index.Statistics | | | - - - Info.Index.Statistics - - | field | type | label | description | - | :----------------------------------: | :----- | :------- | :---------- | - | valid | bool | | | - | median_indegree | int32 | | | - | median_outdegree | int32 | | | - | max_number_of_indegree | uint64 | | | - | max_number_of_outdegree | uint64 | | | - | min_number_of_indegree | uint64 | | | - | min_number_of_outdegree | uint64 | | | - | mode_indegree | uint64 | | | - | mode_outdegree | uint64 | | | - | nodes_skipped_for_10_edges | uint64 | | | - | nodes_skipped_for_indegree_distance | uint64 | | | - | number_of_edges | uint64 | | | - | number_of_indexed_objects | uint64 | | | - | number_of_nodes | uint64 | | | - | number_of_nodes_without_edges | uint64 | | | - | number_of_nodes_without_indegree | uint64 | | | - | number_of_objects | uint64 | | | - | number_of_removed_objects | uint64 | | | - | size_of_object_repository | uint64 | | | - | size_of_refinement_object_repository | uint64 | | | - | variance_of_indegree | double | | | - | variance_of_outdegree | double | | | - | mean_edge_length | double | | | - | mean_edge_length_for_10_edges | double | | | - | mean_indegree_distance_for_10_edges | double | | | - | mean_number_of_edges_per_node | double | | | - | c1_indegree | double | | | - | c5_indegree | double | | | - | c95_outdegree | double | | | - | c99_outdegree | double | | | - | indegree_count | int64 | repeated | | - | outdegree_histogram | uint64 | repeated | | - | indegree_histogram | uint64 | repeated | | - -## IndexProperty RPC - -Represent the RPC to get the index property. - -### Input - -- the scheme of `payload.v1.Empty` - - ```rpc - message Empty { - // empty - } - - ``` - - - Empty - - empty - -### Output - -- the scheme of `payload.v1.Info.Index.PropertyDetail` - - ```rpc - message Info.Index.PropertyDetail { - repeated Info.Index.PropertyDetail.DetailsEntry details = 1; - } - - message Info.Index.PropertyDetail.DetailsEntry { - string key = 1; - Info.Index.Property value = 2; - } - - message Info.Index.Property { - int32 dimension = 1; - int32 thread_pool_size = 2; - string object_type = 3; - string distance_type = 4; - string index_type = 5; - string database_type = 6; - string object_alignment = 7; - int32 path_adjustment_interval = 8; - int32 graph_shared_memory_size = 9; - int32 tree_shared_memory_size = 10; - int32 object_shared_memory_size = 11; - int32 prefetch_offset = 12; - int32 prefetch_size = 13; - string accuracy_table = 14; - string search_type = 15; - float max_magnitude = 16; - int32 n_of_neighbors_for_insertion_order = 17; - float epsilon_for_insertion_order = 18; - string refinement_object_type = 19; - int32 truncation_threshold = 20; - int32 edge_size_for_creation = 21; - int32 edge_size_for_search = 22; - int32 edge_size_limit_for_creation = 23; - double insertion_radius_coefficient = 24; - int32 seed_size = 25; - string seed_type = 26; - int32 truncation_thread_pool_size = 27; - int32 batch_size_for_creation = 28; - string graph_type = 29; - int32 dynamic_edge_size_base = 30; - int32 dynamic_edge_size_rate = 31; - float build_time_limit = 32; - int32 outgoing_edge = 33; - int32 incoming_edge = 34; - float epsilon_for_creation = 35; - } - - ``` - - - Info.Index.PropertyDetail - - | field | type | label | description | - | :-----: | :------------------------------------- | :------- | :---------- | - | details | Info.Index.PropertyDetail.DetailsEntry | repeated | | - - - Info.Index.PropertyDetail.DetailsEntry - - | field | type | label | description | - | :---: | :------------------ | :---- | :---------- | - | key | string | | | - | value | Info.Index.Property | | | - - - Info.Index.Property - - | field | type | label | description | - | :--------------------------------: | :----- | :---- | :---------- | - | dimension | int32 | | | - | thread_pool_size | int32 | | | - | object_type | string | | | - | distance_type | string | | | - | index_type | string | | | - | database_type | string | | | - | object_alignment | string | | | - | path_adjustment_interval | int32 | | | - | graph_shared_memory_size | int32 | | | - | tree_shared_memory_size | int32 | | | - | object_shared_memory_size | int32 | | | - | prefetch_offset | int32 | | | - | prefetch_size | int32 | | | - | accuracy_table | string | | | - | search_type | string | | | - | max_magnitude | float | | | - | n_of_neighbors_for_insertion_order | int32 | | | - | epsilon_for_insertion_order | float | | | - | refinement_object_type | string | | | - | truncation_threshold | int32 | | | - | edge_size_for_creation | int32 | | | - | edge_size_for_search | int32 | | | - | edge_size_limit_for_creation | int32 | | | - | insertion_radius_coefficient | double | | | - | seed_size | int32 | | | - | seed_type | string | | | - | truncation_thread_pool_size | int32 | | | - | batch_size_for_creation | int32 | | | - | graph_type | string | | | - | dynamic_edge_size_base | int32 | | | - | dynamic_edge_size_rate | int32 | | | - | build_time_limit | float | | | - | outgoing_edge | int32 | | | - | incoming_edge | int32 | | | - | epsilon_for_creation | float | | | diff --git a/apis/docs/v1/insert.md b/apis/docs/v1/insert.md deleted file mode 100644 index 5ee104780b..0000000000 --- a/apis/docs/v1/insert.md +++ /dev/null @@ -1,420 +0,0 @@ -# Vald Insert APIs - -## Overview - -Insert Service is responsible for inserting new vectors into the `vald-agent`. - -```rpc -service Insert { - - rpc Insert(payload.v1.Insert.Request) returns (payload.v1.Object.Location) {} - rpc StreamInsert(payload.v1.Insert.Request) returns (payload.v1.Object.StreamLocation) {} - rpc MultiInsert(payload.v1.Insert.MultiRequest) returns (payload.v1.Object.Locations) {} - -} -``` - -## Insert RPC - -Insert RPC is the method to add a new single vector. - -### Input - -- the scheme of `payload.v1.Insert.Request` - - ```rpc - message Insert.Request { - Object.Vector vector = 1; - Insert.Config config = 2; - } - - message Object.Vector { - string id = 1; - repeated float vector = 2; - int64 timestamp = 3; - } - - message Insert.Config { - bool skip_strict_exist_check = 1; - Filter.Config filters = 2; - int64 timestamp = 3; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Insert.Request - - | field | type | label | description | - | :----: | :------------ | :---- | :--------------------------------------- | - | vector | Object.Vector | | The vector to be inserted. | - | config | Insert.Config | | The configuration of the insert request. | - - - Object.Vector - - | field | type | label | description | - | :-------: | :----- | :------- | :---------------------------------------------- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - - - Insert.Config - - | field | type | label | description | - | :---------------------: | :------------ | :---- | :-------------------------------------------------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during insert operation. | - | filters | Filter.Config | | Filter configurations. | - | timestamp | int64 | | Insert timestamp. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Object.Location` - - ```rpc - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Dimension of the request vector is NOT the same as Vald Agent's config, the requested vector's ID is empty, or some request payload is invalid. | Check Agent config, request payload, and fix request payload or Agent config. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| ALREADY_EXISTS | Request ID is already inserted. | Change request ID. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## StreamInsert RPC - -StreamInsert RPC is the method to add new multiple vectors using the [bidirectional streaming RPC](https://grpc.io/docs/what-is-grpc/core-concepts/#bidirectional-streaming-rpc).
-Using the bidirectional streaming RPC, the insert request can be communicated in any order between client and server. -Each Insert request and response are independent. -It's the recommended method to insert a large number of vectors. - -### Input - -- the scheme of `payload.v1.Insert.Request` - - ```rpc - message Insert.Request { - Object.Vector vector = 1; - Insert.Config config = 2; - } - - message Object.Vector { - string id = 1; - repeated float vector = 2; - int64 timestamp = 3; - } - - message Insert.Config { - bool skip_strict_exist_check = 1; - Filter.Config filters = 2; - int64 timestamp = 3; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Insert.Request - - | field | type | label | description | - | :----: | :------------ | :---- | :--------------------------------------- | - | vector | Object.Vector | | The vector to be inserted. | - | config | Insert.Config | | The configuration of the insert request. | - - - Object.Vector - - | field | type | label | description | - | :-------: | :----- | :------- | :---------------------------------------------- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - - - Insert.Config - - | field | type | label | description | - | :---------------------: | :------------ | :---- | :-------------------------------------------------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during insert operation. | - | filters | Filter.Config | | Filter configurations. | - | timestamp | int64 | | Insert timestamp. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Object.StreamLocation` - - ```rpc - message Object.StreamLocation { - Object.Location location = 1; - google.rpc.Status status = 2; - } - - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.StreamLocation - - | field | type | label | description | - | :------: | :---------------- | :---- | :-------------------- | - | location | Object.Location | | The vector location. | - | status | google.rpc.Status | | The RPC error status. | - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 6 | ALREADY_EXISTS | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Dimension of the request vector is NOT the same as Vald Agent's config, the requested vector's ID is empty, or some request payload is invalid. | Check Agent config, request payload, and fix request payload or Agent config. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| ALREADY_EXISTS | Request ID is already inserted. | Change request ID. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## MultiInsert RPC - -MultiInsert RPC is the method to add multiple new vectors in **1** request. - -
-gRPC has a message size limitation.
-Please be careful that the size of the request exceeds the limit. -
- -### Input - -- the scheme of `payload.v1.Insert.MultiRequest` - - ```rpc - message Insert.MultiRequest { - repeated Insert.Request requests = 1; - } - - message Insert.Request { - Object.Vector vector = 1; - Insert.Config config = 2; - } - - message Object.Vector { - string id = 1; - repeated float vector = 2; - int64 timestamp = 3; - } - - message Insert.Config { - bool skip_strict_exist_check = 1; - Filter.Config filters = 2; - int64 timestamp = 3; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Insert.MultiRequest - - | field | type | label | description | - | :------: | :------------- | :------- | :----------------------------------------- | - | requests | Insert.Request | repeated | Represent multiple insert request content. | - - - Insert.Request - - | field | type | label | description | - | :----: | :------------ | :---- | :--------------------------------------- | - | vector | Object.Vector | | The vector to be inserted. | - | config | Insert.Config | | The configuration of the insert request. | - - - Object.Vector - - | field | type | label | description | - | :-------: | :----- | :------- | :---------------------------------------------- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - - - Insert.Config - - | field | type | label | description | - | :---------------------: | :------------ | :---- | :-------------------------------------------------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during insert operation. | - | filters | Filter.Config | | Filter configurations. | - | timestamp | int64 | | Insert timestamp. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Object.Locations` - - ```rpc - message Object.Locations { - repeated Object.Location locations = 1; - } - - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.Locations - - | field | type | label | description | - | :-------: | :-------------- | :------- | :---------- | - | locations | Object.Location | repeated | | - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 6 | ALREADY_EXISTS | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Dimension of the request vector is NOT the same as Vald Agent's config, the requested vector's ID is empty, or some request payload is invalid. | Check Agent config, request payload, and fix request payload or Agent config. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| ALREADY_EXISTS | Request ID is already inserted. | Change request ID. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | diff --git a/apis/docs/v1/mirror.md b/apis/docs/v1/mirror.md deleted file mode 100644 index cdb0d1cff8..0000000000 --- a/apis/docs/v1/mirror.md +++ /dev/null @@ -1,87 +0,0 @@ -# Vald Mirror APIs - -## Overview - -Mirror Service is responsible for providing the `Register` interface for the Vald Mirror Gateway. - -```rpc -service Mirror { - - rpc Register(payload.v1.Mirror.Targets) returns (payload.v1.Mirror.Targets) {} - -} -``` - -## Register RPC - -Register RPC is the method to register other Vald Mirror Gateway targets. - -### Input - -- the scheme of `payload.v1.Mirror.Targets` - - ```rpc - message Mirror.Targets { - repeated Mirror.Target targets = 1; - } - - message Mirror.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Mirror.Targets - - | field | type | label | description | - | :-----: | :------------ | :------- | :------------------------------- | - | targets | Mirror.Target | repeated | The multiple target information. | - - - Mirror.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Mirror.Targets` - - ```rpc - message Mirror.Targets { - repeated Mirror.Target targets = 1; - } - - message Mirror.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Mirror.Targets - - | field | type | label | description | - | :-----: | :------------ | :------- | :------------------------------- | - | targets | Mirror.Target | repeated | The multiple target information. | - - - Mirror.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. diff --git a/apis/docs/v1/object.md b/apis/docs/v1/object.md deleted file mode 100644 index aee45109cb..0000000000 --- a/apis/docs/v1/object.md +++ /dev/null @@ -1,430 +0,0 @@ -# Vald Object APIs - -## Overview - -Object Service is responsible for getting inserted vectors and checking whether vectors are inserted into the `vald-agent`. - -```rpc -service Object { - - rpc Exists(payload.v1.Object.ID) returns (payload.v1.Object.ID) {} - rpc GetObject(payload.v1.Object.VectorRequest) returns (payload.v1.Object.Vector) {} - rpc StreamGetObject(payload.v1.Object.VectorRequest) returns (payload.v1.Object.StreamVector) {} - rpc StreamListObject(payload.v1.Object.List.Request) returns (payload.v1.Object.List.Response) {} - rpc GetTimestamp(payload.v1.Object.TimestampRequest) returns (payload.v1.Object.Timestamp) {} - -} -``` - -## Exists RPC - -Exists RPC is the method to check that a vector exists in the `vald-agent`. - -### Input - -- the scheme of `payload.v1.Object.ID` - - ```rpc - message Object.ID { - string id = 1; - } - - ``` - - - Object.ID - - | field | type | label | description | - | :---: | :----- | :---- | :---------- | - | id | string | | | - -### Output - -- the scheme of `payload.v1.Object.ID` - - ```rpc - message Object.ID { - string id = 1; - } - - ``` - - - Object.ID - - | field | type | label | description | - | :---: | :----- | :---- | :---------- | - | id | string | | | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :---------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Requested vector's ID is empty, or some request payload is invalid. | Check request payload and fix request payload. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | Requested ID is NOT inserted. | Send a request with an ID that is already inserted. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## GetObject RPC - -GetObject RPC is the method to get the metadata of a vector inserted into the `vald-agent`. - -### Input - -- the scheme of `payload.v1.Object.VectorRequest` - - ```rpc - message Object.VectorRequest { - Object.ID id = 1; - Filter.Config filters = 2; - } - - message Object.ID { - string id = 1; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Object.VectorRequest - - | field | type | label | description | - | :-----: | :------------ | :---- | :--------------------------- | - | id | Object.ID | | The vector ID to be fetched. | - | filters | Filter.Config | | Filter configurations. | - - - Object.ID - - | field | type | label | description | - | :---: | :----- | :---- | :---------- | - | id | string | | | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Object.Vector` - - ```rpc - message Object.Vector { - string id = 1; - repeated float vector = 2; - int64 timestamp = 3; - } - - ``` - - - Object.Vector - - | field | type | label | description | - | :-------: | :----- | :------- | :---------------------------------------------- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :---------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Requested vector's ID is empty, or some request payload is invalid. | Check request payload and fix request payload. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | Requested ID is NOT inserted. | Send a request with an ID that is already inserted. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## StreamGetObject RPC - -StreamGetObject RPC is the method to get the metadata of multiple existing vectors using the [bidirectional streaming RPC](https://grpc.io/docs/what-is-grpc/core-concepts/#bidirectional-streaming-rpc).
-Using the bidirectional streaming RPC, the GetObject request can be communicated in any order between client and server. -Each Upsert request and response are independent. - -### Input - -- the scheme of `payload.v1.Object.VectorRequest` - - ```rpc - message Object.VectorRequest { - Object.ID id = 1; - Filter.Config filters = 2; - } - - message Object.ID { - string id = 1; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Object.VectorRequest - - | field | type | label | description | - | :-----: | :------------ | :---- | :--------------------------- | - | id | Object.ID | | The vector ID to be fetched. | - | filters | Filter.Config | | Filter configurations. | - - - Object.ID - - | field | type | label | description | - | :---: | :----- | :---- | :---------- | - | id | string | | | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Object.StreamVector` - - ```rpc - message Object.StreamVector { - Object.Vector vector = 1; - google.rpc.Status status = 2; - } - - message Object.Vector { - string id = 1; - repeated float vector = 2; - int64 timestamp = 3; - } - - ``` - - - Object.StreamVector - - | field | type | label | description | - | :----: | :---------------- | :---- | :-------------------- | - | vector | Object.Vector | | The vector. | - | status | google.rpc.Status | | The RPC error status. | - - - Object.Vector - - | field | type | label | description | - | :-------: | :----- | :------- | :---------------------------------------------- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :---------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Requested vector's ID is empty, or some request payload is invalid. | Check request payload and fix request payload. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | Requested ID is NOT inserted. | Send a request with an ID that is already inserted. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## StreamListObject RPC - -A method to get all the vectors with server streaming - -### Input - -- the scheme of `payload.v1.Object.List.Request` - - ```rpc - message Object.List.Request { - // empty - } - - ``` - - - Object.List.Request - - empty - -### Output - -- the scheme of `payload.v1.Object.List.Response` - - ```rpc - message Object.List.Response { - Object.Vector vector = 1; - google.rpc.Status status = 2; - } - - message Object.Vector { - string id = 1; - repeated float vector = 2; - int64 timestamp = 3; - } - - ``` - - - Object.List.Response - - | field | type | label | description | - | :----: | :---------------- | :---- | :-------------------- | - | vector | Object.Vector | | The vector | - | status | google.rpc.Status | | The RPC error status. | - - - Object.Vector - - | field | type | label | description | - | :-------: | :----- | :------- | :---------------------------------------------- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - -### Status Code - -| code | description | -| :--: | :---------- | - -TODO - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -TODO - -## GetTimestamp RPC - -Represent the RPC to get the vector metadata. This RPC is mainly used for index correction process - -### Input - -- the scheme of `payload.v1.Object.TimestampRequest` - - ```rpc - message Object.TimestampRequest { - Object.ID id = 1; - } - - message Object.ID { - string id = 1; - } - - ``` - - - Object.TimestampRequest - - | field | type | label | description | - | :---: | :-------- | :---- | :--------------------------- | - | id | Object.ID | | The vector ID to be fetched. | - - - Object.ID - - | field | type | label | description | - | :---: | :----- | :---- | :---------- | - | id | string | | | - -### Output - -- the scheme of `payload.v1.Object.Timestamp` - - ```rpc - message Object.Timestamp { - string id = 1; - int64 timestamp = 2; - } - - ``` - - - Object.Timestamp - - | field | type | label | description | - | :-------: | :----- | :---- | :---------------------------------------------- | - | id | string | | The vector ID. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - -### Status Code - -| code | description | -| :--: | :---------- | - -TODO - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -TODO diff --git a/apis/docs/v1/payload.md.tmpl b/apis/docs/v1/payload.md.tmpl index faa389a213..1d29df4c24 100644 --- a/apis/docs/v1/payload.md.tmpl +++ b/apis/docs/v1/payload.md.tmpl @@ -2659,12 +2659,12 @@ during update operation. | {{ define "_scheme:payload.v1.Remove.Timestamp.Operator" }} enum Remove.Timestamp.Operator { - Eq = 0; - Ne = 1; - Ge = 2; - Gt = 3; - Le = 4; - Lt = 5; + EQ = 0; + NE = 1; + GE = 2; + GT = 3; + LE = 4; + LT = 5; } {{- end -}} diff --git a/apis/docs/v1/remove.md b/apis/docs/v1/remove.md deleted file mode 100644 index d2bd05b071..0000000000 --- a/apis/docs/v1/remove.md +++ /dev/null @@ -1,446 +0,0 @@ -# Vald Remove APIs - -## Overview - -Remove Service is responsible for removing vectors indexed in the `vald-agent`. - -```rpc -service Remove { - - rpc Remove(payload.v1.Remove.Request) returns (payload.v1.Object.Location) {} - rpc RemoveByTimestamp(payload.v1.Remove.TimestampRequest) returns (payload.v1.Object.Locations) {} - rpc StreamRemove(payload.v1.Remove.Request) returns (payload.v1.Object.StreamLocation) {} - rpc MultiRemove(payload.v1.Remove.MultiRequest) returns (payload.v1.Object.Locations) {} - -} -``` - -## Remove RPC - -Remove RPC is the method to remove a single vector. - -### Input - -- the scheme of `payload.v1.Remove.Request` - - ```rpc - message Remove.Request { - Object.ID id = 1; - Remove.Config config = 2; - } - - message Object.ID { - string id = 1; - } - - message Remove.Config { - bool skip_strict_exist_check = 1; - int64 timestamp = 2; - } - - ``` - - - Remove.Request - - | field | type | label | description | - | :----: | :------------ | :---- | :--------------------------------------- | - | id | Object.ID | | The object ID to be removed. | - | config | Remove.Config | | The configuration of the remove request. | - - - Object.ID - - | field | type | label | description | - | :---: | :----- | :---- | :---------- | - | id | string | | | - - - Remove.Config - - | field | type | label | description | - | :---------------------: | :---- | :---- | :-------------------------------------------------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | - | timestamp | int64 | | Remove timestamp. | - -### Output - -- the scheme of `payload.v1.Object.Location` - - ```rpc - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :---------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Requested vector's ID is empty, or some request payload is invalid. | Check request payload and fix request payload. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | Requested ID is NOT inserted. | Send a request with an ID that is already inserted. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## RemoveByTimestamp RPC - -RemoveByTimestamp RPC is the method to remove vectors based on timestamp. - -
-In the TimestampRequest message, the 'timestamps' field is repeated, allowing the inclusion of multiple Timestamp.
-When multiple Timestamps are provided, it results in an `AND` condition, enabling the realization of deletions with specified ranges.
-This design allows for versatile deletion operations, facilitating tasks such as removing data within a specific time range. -
- -### Input - -- the scheme of `payload.v1.Remove.TimestampRequest` - - ```rpc - message Remove.TimestampRequest { - repeated Remove.Timestamp timestamps = 1; - } - - message Remove.Timestamp { - int64 timestamp = 1; - Remove.Timestamp.Operator operator = 2; - } - - enum Remove.Timestamp.Operator { - Eq = 0; - Ne = 1; - Ge = 2; - Gt = 3; - Le = 4; - Lt = 5; - } - - ``` - - - Remove.TimestampRequest - - | field | type | label | description | - | :---: | :--- | :---- | :---------- | - | timestamps | Remove.Timestamp | repeated | The timestamp comparison list. If more than one is specified, the `AND` - - search is applied. | - - - Remove.Timestamp - - | field | type | label | description | - | :-------: | :------------------------ | :---- | :------------------------ | - | timestamp | int64 | | The timestamp. | - | operator | Remove.Timestamp.Operator | | The conditional operator. | - -### Output - -- the scheme of `payload.v1.Object.Locations` - - ```rpc - message Object.Locations { - repeated Object.Location locations = 1; - } - - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.Locations - - | field | type | label | description | - | :-------: | :-------------- | :------- | :---------- | - | locations | Object.Location | repeated | | - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :---------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | No vectors in the system match the specified timestamp conditions. | Check whether vectors matching the specified timestamp conditions exist in the system, and fix conditions if needed. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## StreamRemove RPC - -A method to remove multiple indexed vectors by bidirectional streaming. - -StreamRemove RPC is the method to remove multiple vectors using the [bidirectional streaming RPC](https://grpc.io/docs/what-is-grpc/core-concepts/#bidirectional-streaming-rpc).
-Using the bidirectional streaming RPC, the remove request can be communicated in any order between client and server. -Each Remove request and response are independent. -It's the recommended method to remove a large number of vectors. - -### Input - -- the scheme of `payload.v1.Remove.Request` - - ```rpc - message Remove.Request { - Object.ID id = 1; - Remove.Config config = 2; - } - - message Object.ID { - string id = 1; - } - - message Remove.Config { - bool skip_strict_exist_check = 1; - int64 timestamp = 2; - } - - ``` - - - Remove.Request - - | field | type | label | description | - | :----: | :------------ | :---- | :--------------------------------------- | - | id | Object.ID | | The object ID to be removed. | - | config | Remove.Config | | The configuration of the remove request. | - - - Object.ID - - | field | type | label | description | - | :---: | :----- | :---- | :---------- | - | id | string | | | - - - Remove.Config - - | field | type | label | description | - | :---------------------: | :---- | :---- | :-------------------------------------------------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | - | timestamp | int64 | | Remove timestamp. | - -### Output - -- the scheme of `payload.v1.Object.StreamLocation` - - ```rpc - message Object.StreamLocation { - Object.Location location = 1; - google.rpc.Status status = 2; - } - - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.StreamLocation - - | field | type | label | description | - | :------: | :---------------- | :---- | :-------------------- | - | location | Object.Location | | The vector location. | - | status | google.rpc.Status | | The RPC error status. | - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :---------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Requested vector's ID is empty, or some request payload is invalid. | Check request payload and fix request payload. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | Requested ID is NOT inserted. | Send a request with an ID that is already inserted. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## MultiRemove RPC - -MultiRemove is the method to remove multiple vectors in **1** request. - -
-gRPC has a message size limitation.
-Please be careful that the size of the request exceeds the limit. -
- -### Input - -- the scheme of `payload.v1.Remove.MultiRequest` - - ```rpc - message Remove.MultiRequest { - repeated Remove.Request requests = 1; - } - - message Remove.Request { - Object.ID id = 1; - Remove.Config config = 2; - } - - message Object.ID { - string id = 1; - } - - message Remove.Config { - bool skip_strict_exist_check = 1; - int64 timestamp = 2; - } - - ``` - - - Remove.MultiRequest - - | field | type | label | description | - | :------: | :------------- | :------- | :--------------------------------------------- | - | requests | Remove.Request | repeated | Represent the multiple remove request content. | - - - Remove.Request - - | field | type | label | description | - | :----: | :------------ | :---- | :--------------------------------------- | - | id | Object.ID | | The object ID to be removed. | - | config | Remove.Config | | The configuration of the remove request. | - - - Object.ID - - | field | type | label | description | - | :---: | :----- | :---- | :---------- | - | id | string | | | - - - Remove.Config - - | field | type | label | description | - | :---------------------: | :---- | :---- | :-------------------------------------------------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | - | timestamp | int64 | | Remove timestamp. | - -### Output - -- the scheme of `payload.v1.Object.Locations` - - ```rpc - message Object.Locations { - repeated Object.Location locations = 1; - } - - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.Locations - - | field | type | label | description | - | :-------: | :-------------- | :------- | :---------- | - | locations | Object.Location | repeated | | - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :---------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Requested vector's ID is empty, or some request payload is invalid. | Check request payload and fix request payload. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | Requested ID is NOT inserted. | Send a request with an ID that is already inserted. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | diff --git a/apis/docs/v1/search.md b/apis/docs/v1/search.md deleted file mode 100644 index 24f81eb496..0000000000 --- a/apis/docs/v1/search.md +++ /dev/null @@ -1,1912 +0,0 @@ -# Vald Search APIs - -## Overview - -Search Service is responsible for searching vectors similar to the user request vector from `vald-agent`. - -```rpc -service Search { - - rpc Search(payload.v1.Search.Request) returns (payload.v1.Search.Response) {} - rpc SearchByID(payload.v1.Search.IDRequest) returns (payload.v1.Search.Response) {} - rpc StreamSearch(payload.v1.Search.Request) returns (payload.v1.Search.StreamResponse) {} - rpc StreamSearchByID(payload.v1.Search.IDRequest) returns (payload.v1.Search.StreamResponse) {} - rpc MultiSearch(payload.v1.Search.MultiRequest) returns (payload.v1.Search.Responses) {} - rpc MultiSearchByID(payload.v1.Search.MultiIDRequest) returns (payload.v1.Search.Responses) {} - rpc LinearSearch(payload.v1.Search.Request) returns (payload.v1.Search.Response) {} - rpc LinearSearchByID(payload.v1.Search.IDRequest) returns (payload.v1.Search.Response) {} - rpc StreamLinearSearch(payload.v1.Search.Request) returns (payload.v1.Search.StreamResponse) {} - rpc StreamLinearSearchByID(payload.v1.Search.IDRequest) returns (payload.v1.Search.StreamResponse) {} - rpc MultiLinearSearch(payload.v1.Search.MultiRequest) returns (payload.v1.Search.Responses) {} - rpc MultiLinearSearchByID(payload.v1.Search.MultiIDRequest) returns (payload.v1.Search.Responses) {} - -} -``` - -## Search RPC - -Search RPC is the method to search vector(s) similar to the request vector. - -### Input - -- the scheme of `payload.v1.Search.Request` - - ```rpc - message Search.Request { - repeated float vector = 1; - Search.Config config = 2; - } - - message Search.Config { - string request_id = 1; - uint32 num = 2; - float radius = 3; - float epsilon = 4; - int64 timeout = 5; - Filter.Config ingress_filters = 6; - Filter.Config egress_filters = 7; - uint32 min_num = 8; - Search.AggregationAlgorithm aggregation_algorithm = 9; - google.protobuf.FloatValue ratio = 10; - uint32 nprobe = 11; - int32 edge_size = 12; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - enum Search.AggregationAlgorithm { - Unknown = 0; - ConcurrentQueue = 1; - SortSlice = 2; - SortPoolSlice = 3; - PairingHeap = 4; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Search.Request - - | field | type | label | description | - | :----: | :------------ | :------- | :--------------------------------------- | - | vector | float | repeated | The vector to be searched. | - | config | Search.Config | | The configuration of the search request. | - - - Search.Config - - | field | type | label | description | - | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - | edge_size | int32 | | Search edge size | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Search.Response` - - ```rpc - message Search.Response { - string request_id = 1; - repeated Object.Distance results = 2; - } - - message Object.Distance { - string id = 1; - float distance = 2; - } - - ``` - - - Search.Response - - | field | type | label | description | - | :--------: | :-------------- | :------- | :--------------------- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - - - Object.Distance - - | field | type | label | description | - | :------: | :----- | :---- | :------------- | - | id | string | | The vector ID. | - | distance | float | | The distance. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :-------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Dimension of the request vector is NOT the same as Vald Agent's config, or some request payload is invalid. | Check Agent config, request payload, and fix request payload or Agent config. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | Search result is empty or insufficient to request result length. | Send a request with another vector or set min_num to a smaller value. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## SearchByID RPC - -SearchByID RPC is the method to search similar vectors using a user-defined vector ID.
-The vector with the same requested ID should be indexed into the `vald-agent` before searching. - -### Input - -- the scheme of `payload.v1.Search.IDRequest` - - ```rpc - message Search.IDRequest { - string id = 1; - Search.Config config = 2; - } - - message Search.Config { - string request_id = 1; - uint32 num = 2; - float radius = 3; - float epsilon = 4; - int64 timeout = 5; - Filter.Config ingress_filters = 6; - Filter.Config egress_filters = 7; - uint32 min_num = 8; - Search.AggregationAlgorithm aggregation_algorithm = 9; - google.protobuf.FloatValue ratio = 10; - uint32 nprobe = 11; - int32 edge_size = 12; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - enum Search.AggregationAlgorithm { - Unknown = 0; - ConcurrentQueue = 1; - SortSlice = 2; - SortPoolSlice = 3; - PairingHeap = 4; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Search.IDRequest - - | field | type | label | description | - | :----: | :------------ | :---- | :--------------------------------------- | - | id | string | | The vector ID to be searched. | - | config | Search.Config | | The configuration of the search request. | - - - Search.Config - - | field | type | label | description | - | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - | edge_size | int32 | | Search edge size | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Search.Response` - - ```rpc - message Search.Response { - string request_id = 1; - repeated Object.Distance results = 2; - } - - message Object.Distance { - string id = 1; - float distance = 2; - } - - ``` - - - Search.Response - - | field | type | label | description | - | :--------: | :-------------- | :------- | :--------------------- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - - - Object.Distance - - | field | type | label | description | - | :------: | :----- | :---- | :------------- | - | id | string | | The vector ID. | - | distance | float | | The distance. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Requested vector's ID is empty, or some request payload is invalid. | Check request payload and fix request payload. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | The Requested ID is not inserted on the target Vald cluster, or the search result is insufficient to the required result length. | Send a request with another vector or set min_num to a smaller value. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## StreamSearch RPC - -StreamSearch RPC is the method to search vectors with multi queries(vectors) using the [bidirectional streaming RPC](https://grpc.io/docs/what-is-grpc/core-concepts/#bidirectional-streaming-rpc).
-Using the bidirectional streaming RPC, the search request can be communicated in any order between the client and server. -Each Search request and response are independent. - -### Input - -- the scheme of `payload.v1.Search.Request` - - ```rpc - message Search.Request { - repeated float vector = 1; - Search.Config config = 2; - } - - message Search.Config { - string request_id = 1; - uint32 num = 2; - float radius = 3; - float epsilon = 4; - int64 timeout = 5; - Filter.Config ingress_filters = 6; - Filter.Config egress_filters = 7; - uint32 min_num = 8; - Search.AggregationAlgorithm aggregation_algorithm = 9; - google.protobuf.FloatValue ratio = 10; - uint32 nprobe = 11; - int32 edge_size = 12; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - enum Search.AggregationAlgorithm { - Unknown = 0; - ConcurrentQueue = 1; - SortSlice = 2; - SortPoolSlice = 3; - PairingHeap = 4; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Search.Request - - | field | type | label | description | - | :----: | :------------ | :------- | :--------------------------------------- | - | vector | float | repeated | The vector to be searched. | - | config | Search.Config | | The configuration of the search request. | - - - Search.Config - - | field | type | label | description | - | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - | edge_size | int32 | | Search edge size | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Search.StreamResponse` - - ```rpc - message Search.StreamResponse { - Search.Response response = 1; - google.rpc.Status status = 2; - } - - message Search.Response { - string request_id = 1; - repeated Object.Distance results = 2; - } - - message Object.Distance { - string id = 1; - float distance = 2; - } - - ``` - - - Search.StreamResponse - - | field | type | label | description | - | :------: | :---------------- | :---- | :----------------------------- | - | response | Search.Response | | Represent the search response. | - | status | google.rpc.Status | | The RPC error status. | - - - Search.Response - - | field | type | label | description | - | :--------: | :-------------- | :------- | :--------------------- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - - - Object.Distance - - | field | type | label | description | - | :------: | :----- | :---- | :------------- | - | id | string | | The vector ID. | - | distance | float | | The distance. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :-------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Dimension of the request vector is NOT the same as Vald Agent's config, or some request payload is invalid. | Check Agent config, request payload, and fix request payload or Agent config. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | Search result is empty or insufficient to request result length. | Send a request with another vector or set min_num to a smaller value. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## StreamSearchByID RPC - -StreamSearchByID RPC is the method to search vectors with multi queries(IDs) using the [bidirectional streaming RPC](https://grpc.io/docs/what-is-grpc/core-concepts/#bidirectional-streaming-rpc).
-Using the bidirectional streaming RPC, the search request can be communicated in any order between the client and server. -Each SearchByID request and response are independent. - -### Input - -- the scheme of `payload.v1.Search.IDRequest` - - ```rpc - message Search.IDRequest { - string id = 1; - Search.Config config = 2; - } - - message Search.Config { - string request_id = 1; - uint32 num = 2; - float radius = 3; - float epsilon = 4; - int64 timeout = 5; - Filter.Config ingress_filters = 6; - Filter.Config egress_filters = 7; - uint32 min_num = 8; - Search.AggregationAlgorithm aggregation_algorithm = 9; - google.protobuf.FloatValue ratio = 10; - uint32 nprobe = 11; - int32 edge_size = 12; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - enum Search.AggregationAlgorithm { - Unknown = 0; - ConcurrentQueue = 1; - SortSlice = 2; - SortPoolSlice = 3; - PairingHeap = 4; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Search.IDRequest - - | field | type | label | description | - | :----: | :------------ | :---- | :--------------------------------------- | - | id | string | | The vector ID to be searched. | - | config | Search.Config | | The configuration of the search request. | - - - Search.Config - - | field | type | label | description | - | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - | edge_size | int32 | | Search edge size | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Search.StreamResponse` - - ```rpc - message Search.StreamResponse { - Search.Response response = 1; - google.rpc.Status status = 2; - } - - message Search.Response { - string request_id = 1; - repeated Object.Distance results = 2; - } - - message Object.Distance { - string id = 1; - float distance = 2; - } - - ``` - - - Search.StreamResponse - - | field | type | label | description | - | :------: | :---------------- | :---- | :----------------------------- | - | response | Search.Response | | Represent the search response. | - | status | google.rpc.Status | | The RPC error status. | - - - Search.Response - - | field | type | label | description | - | :--------: | :-------------- | :------- | :--------------------- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - - - Object.Distance - - | field | type | label | description | - | :------: | :----- | :---- | :------------- | - | id | string | | The vector ID. | - | distance | float | | The distance. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Requested vector's ID is empty, or some request payload is invalid. | Check request payload and fix request payload. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | The Requested ID is not inserted on the target Vald cluster, or the search result is insufficient to the required result length. | Send a request with another vector or set min_num to a smaller value. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## MultiSearch RPC - -MultiSearch RPC is the method to search vectors with multiple vectors in **1** request. - -
-gRPC has a message size limitation.
-Please be careful that the size of the request exceeds the limit. -
- -### Input - -- the scheme of `payload.v1.Search.MultiRequest` - - ```rpc - message Search.MultiRequest { - repeated Search.Request requests = 1; - } - - message Search.Request { - repeated float vector = 1; - Search.Config config = 2; - } - - message Search.Config { - string request_id = 1; - uint32 num = 2; - float radius = 3; - float epsilon = 4; - int64 timeout = 5; - Filter.Config ingress_filters = 6; - Filter.Config egress_filters = 7; - uint32 min_num = 8; - Search.AggregationAlgorithm aggregation_algorithm = 9; - google.protobuf.FloatValue ratio = 10; - uint32 nprobe = 11; - int32 edge_size = 12; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - enum Search.AggregationAlgorithm { - Unknown = 0; - ConcurrentQueue = 1; - SortSlice = 2; - SortPoolSlice = 3; - PairingHeap = 4; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Search.MultiRequest - - | field | type | label | description | - | :------: | :------------- | :------- | :--------------------------------------------- | - | requests | Search.Request | repeated | Represent the multiple search request content. | - - - Search.Request - - | field | type | label | description | - | :----: | :------------ | :------- | :--------------------------------------- | - | vector | float | repeated | The vector to be searched. | - | config | Search.Config | | The configuration of the search request. | - - - Search.Config - - | field | type | label | description | - | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - | edge_size | int32 | | Search edge size | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Search.Responses` - - ```rpc - message Search.Responses { - repeated Search.Response responses = 1; - } - - message Search.Response { - string request_id = 1; - repeated Object.Distance results = 2; - } - - message Object.Distance { - string id = 1; - float distance = 2; - } - - ``` - - - Search.Responses - - | field | type | label | description | - | :-------: | :-------------- | :------- | :---------------------------------------------- | - | responses | Search.Response | repeated | Represent the multiple search response content. | - - - Search.Response - - | field | type | label | description | - | :--------: | :-------------- | :------- | :--------------------- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - - - Object.Distance - - | field | type | label | description | - | :------: | :----- | :---- | :------------- | - | id | string | | The vector ID. | - | distance | float | | The distance. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :-------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Dimension of the request vector is NOT the same as Vald Agent's config, or some request payload is invalid. | Check Agent config, request payload, and fix request payload or Agent config. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | Search result is empty or insufficient to request result length. | Send a request with another vector or set min_num to a smaller value. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## MultiSearchByID RPC - -MultiSearchByID RPC is the method to search vectors with multiple IDs in **1** request. - -
-gRPC has a message size limitation.
-Please be careful that the size of the request exceeds the limit. -
- -### Input - -- the scheme of `payload.v1.Search.MultiIDRequest` - - ```rpc - message Search.MultiIDRequest { - repeated Search.IDRequest requests = 1; - } - - message Search.IDRequest { - string id = 1; - Search.Config config = 2; - } - - message Search.Config { - string request_id = 1; - uint32 num = 2; - float radius = 3; - float epsilon = 4; - int64 timeout = 5; - Filter.Config ingress_filters = 6; - Filter.Config egress_filters = 7; - uint32 min_num = 8; - Search.AggregationAlgorithm aggregation_algorithm = 9; - google.protobuf.FloatValue ratio = 10; - uint32 nprobe = 11; - int32 edge_size = 12; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - enum Search.AggregationAlgorithm { - Unknown = 0; - ConcurrentQueue = 1; - SortSlice = 2; - SortPoolSlice = 3; - PairingHeap = 4; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Search.MultiIDRequest - - | field | type | label | description | - | :------: | :--------------- | :------- | :--------------------------------------------------- | - | requests | Search.IDRequest | repeated | Represent the multiple search by ID request content. | - - - Search.IDRequest - - | field | type | label | description | - | :----: | :------------ | :---- | :--------------------------------------- | - | id | string | | The vector ID to be searched. | - | config | Search.Config | | The configuration of the search request. | - - - Search.Config - - | field | type | label | description | - | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - | edge_size | int32 | | Search edge size | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Search.Responses` - - ```rpc - message Search.Responses { - repeated Search.Response responses = 1; - } - - message Search.Response { - string request_id = 1; - repeated Object.Distance results = 2; - } - - message Object.Distance { - string id = 1; - float distance = 2; - } - - ``` - - - Search.Responses - - | field | type | label | description | - | :-------: | :-------------- | :------- | :---------------------------------------------- | - | responses | Search.Response | repeated | Represent the multiple search response content. | - - - Search.Response - - | field | type | label | description | - | :--------: | :-------------- | :------- | :--------------------- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - - - Object.Distance - - | field | type | label | description | - | :------: | :----- | :---- | :------------- | - | id | string | | The vector ID. | - | distance | float | | The distance. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Requested vector's ID is empty, or some request payload is invalid. | Check request payload and fix request payload. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | The Requested ID is not inserted on the target Vald cluster, or the search result is insufficient to the required result length. | Send a request with another vector or set min_num to a smaller value. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## LinearSearch RPC - -LinearSearch RPC is the method to linear search vector(s) similar to the request vector. - -### Input - -- the scheme of `payload.v1.Search.Request` - - ```rpc - message Search.Request { - repeated float vector = 1; - Search.Config config = 2; - } - - message Search.Config { - string request_id = 1; - uint32 num = 2; - float radius = 3; - float epsilon = 4; - int64 timeout = 5; - Filter.Config ingress_filters = 6; - Filter.Config egress_filters = 7; - uint32 min_num = 8; - Search.AggregationAlgorithm aggregation_algorithm = 9; - google.protobuf.FloatValue ratio = 10; - uint32 nprobe = 11; - int32 edge_size = 12; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - enum Search.AggregationAlgorithm { - Unknown = 0; - ConcurrentQueue = 1; - SortSlice = 2; - SortPoolSlice = 3; - PairingHeap = 4; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Search.Request - - | field | type | label | description | - | :----: | :------------ | :------- | :--------------------------------------- | - | vector | float | repeated | The vector to be searched. | - | config | Search.Config | | The configuration of the search request. | - - - Search.Config - - | field | type | label | description | - | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - | edge_size | int32 | | Search edge size | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Search.Response` - - ```rpc - message Search.Response { - string request_id = 1; - repeated Object.Distance results = 2; - } - - message Object.Distance { - string id = 1; - float distance = 2; - } - - ``` - - - Search.Response - - | field | type | label | description | - | :--------: | :-------------- | :------- | :--------------------- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - - - Object.Distance - - | field | type | label | description | - | :------: | :----- | :---- | :------------- | - | id | string | | The vector ID. | - | distance | float | | The distance. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :-------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Dimension of the request vector is NOT the same as Vald Agent's config, or some request payload is invalid. | Check Agent config, request payload, and fix request payload or Agent config. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | Search result is empty or insufficient to request result length. | Send a request with another vector or set min_num to a smaller value. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## LinearSearchByID RPC - -LinearSearchByID RPC is the method to linear search similar vectors using a user-defined vector ID.
-The vector with the same requested ID should be indexed into the `vald-agent` before searching. -You will get a `NOT_FOUND` error if the vector isn't stored. - -### Input - -- the scheme of `payload.v1.Search.IDRequest` - - ```rpc - message Search.IDRequest { - string id = 1; - Search.Config config = 2; - } - - message Search.Config { - string request_id = 1; - uint32 num = 2; - float radius = 3; - float epsilon = 4; - int64 timeout = 5; - Filter.Config ingress_filters = 6; - Filter.Config egress_filters = 7; - uint32 min_num = 8; - Search.AggregationAlgorithm aggregation_algorithm = 9; - google.protobuf.FloatValue ratio = 10; - uint32 nprobe = 11; - int32 edge_size = 12; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - enum Search.AggregationAlgorithm { - Unknown = 0; - ConcurrentQueue = 1; - SortSlice = 2; - SortPoolSlice = 3; - PairingHeap = 4; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Search.IDRequest - - | field | type | label | description | - | :----: | :------------ | :---- | :--------------------------------------- | - | id | string | | The vector ID to be searched. | - | config | Search.Config | | The configuration of the search request. | - - - Search.Config - - | field | type | label | description | - | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - | edge_size | int32 | | Search edge size | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Search.Response` - - ```rpc - message Search.Response { - string request_id = 1; - repeated Object.Distance results = 2; - } - - message Object.Distance { - string id = 1; - float distance = 2; - } - - ``` - - - Search.Response - - | field | type | label | description | - | :--------: | :-------------- | :------- | :--------------------- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - - - Object.Distance - - | field | type | label | description | - | :------: | :----- | :---- | :------------- | - | id | string | | The vector ID. | - | distance | float | | The distance. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Requested vector's ID is empty, or some request payload is invalid. | Check request payload and fix request payload. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | The Requested ID is not inserted on the target Vald cluster, or the search result is insufficient to the required result length. | Send a request with another vector or set min_num to a smaller value. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## StreamLinearSearch RPC - -StreamLinearSearch RPC is the method to linear search vectors with multi queries(vectors) using the [bidirectional streaming RPC](https://grpc.io/docs/what-is-grpc/core-concepts/#bidirectional-streaming-rpc).
-Using the bidirectional streaming RPC, the linear search request can be communicated in any order between the client and server. -Each LinearSearch request and response are independent. - -### Input - -- the scheme of `payload.v1.Search.Request` - - ```rpc - message Search.Request { - repeated float vector = 1; - Search.Config config = 2; - } - - message Search.Config { - string request_id = 1; - uint32 num = 2; - float radius = 3; - float epsilon = 4; - int64 timeout = 5; - Filter.Config ingress_filters = 6; - Filter.Config egress_filters = 7; - uint32 min_num = 8; - Search.AggregationAlgorithm aggregation_algorithm = 9; - google.protobuf.FloatValue ratio = 10; - uint32 nprobe = 11; - int32 edge_size = 12; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - enum Search.AggregationAlgorithm { - Unknown = 0; - ConcurrentQueue = 1; - SortSlice = 2; - SortPoolSlice = 3; - PairingHeap = 4; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Search.Request - - | field | type | label | description | - | :----: | :------------ | :------- | :--------------------------------------- | - | vector | float | repeated | The vector to be searched. | - | config | Search.Config | | The configuration of the search request. | - - - Search.Config - - | field | type | label | description | - | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - | edge_size | int32 | | Search edge size | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Search.StreamResponse` - - ```rpc - message Search.StreamResponse { - Search.Response response = 1; - google.rpc.Status status = 2; - } - - message Search.Response { - string request_id = 1; - repeated Object.Distance results = 2; - } - - message Object.Distance { - string id = 1; - float distance = 2; - } - - ``` - - - Search.StreamResponse - - | field | type | label | description | - | :------: | :---------------- | :---- | :----------------------------- | - | response | Search.Response | | Represent the search response. | - | status | google.rpc.Status | | The RPC error status. | - - - Search.Response - - | field | type | label | description | - | :--------: | :-------------- | :------- | :--------------------- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - - - Object.Distance - - | field | type | label | description | - | :------: | :----- | :---- | :------------- | - | id | string | | The vector ID. | - | distance | float | | The distance. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :-------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Dimension of the request vector is NOT the same as Vald Agent's config, or some request payload is invalid. | Check Agent config, request payload, and fix request payload or Agent config. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | Search result is empty or insufficient to request result length. | Send a request with another vector or set min_num to a smaller value. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## StreamLinearSearchByID RPC - -StreamLinearSearchByID RPC is the method to linear search vectors with multi queries(IDs) using the [bidirectional streaming RPC](https://grpc.io/docs/what-is-grpc/core-concepts/#bidirectional-streaming-rpc).
-Using the bidirectional streaming RPC, the linear search request can be communicated in any order between the client and server. -Each LinearSearchByID request and response are independent. - -### Input - -- the scheme of `payload.v1.Search.IDRequest` - - ```rpc - message Search.IDRequest { - string id = 1; - Search.Config config = 2; - } - - message Search.Config { - string request_id = 1; - uint32 num = 2; - float radius = 3; - float epsilon = 4; - int64 timeout = 5; - Filter.Config ingress_filters = 6; - Filter.Config egress_filters = 7; - uint32 min_num = 8; - Search.AggregationAlgorithm aggregation_algorithm = 9; - google.protobuf.FloatValue ratio = 10; - uint32 nprobe = 11; - int32 edge_size = 12; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - enum Search.AggregationAlgorithm { - Unknown = 0; - ConcurrentQueue = 1; - SortSlice = 2; - SortPoolSlice = 3; - PairingHeap = 4; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Search.IDRequest - - | field | type | label | description | - | :----: | :------------ | :---- | :--------------------------------------- | - | id | string | | The vector ID to be searched. | - | config | Search.Config | | The configuration of the search request. | - - - Search.Config - - | field | type | label | description | - | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - | edge_size | int32 | | Search edge size | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Search.StreamResponse` - - ```rpc - message Search.StreamResponse { - Search.Response response = 1; - google.rpc.Status status = 2; - } - - message Search.Response { - string request_id = 1; - repeated Object.Distance results = 2; - } - - message Object.Distance { - string id = 1; - float distance = 2; - } - - ``` - - - Search.StreamResponse - - | field | type | label | description | - | :------: | :---------------- | :---- | :----------------------------- | - | response | Search.Response | | Represent the search response. | - | status | google.rpc.Status | | The RPC error status. | - - - Search.Response - - | field | type | label | description | - | :--------: | :-------------- | :------- | :--------------------- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - - - Object.Distance - - | field | type | label | description | - | :------: | :----- | :---- | :------------- | - | id | string | | The vector ID. | - | distance | float | | The distance. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Requested vector's ID is empty, or some request payload is invalid. | Check request payload and fix request payload. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | The Requested ID is not inserted on the target Vald cluster, or the search result is insufficient to the required result length. | Send a request with another vector or set min_num to a smaller value. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## MultiLinearSearch RPC - -MultiLinearSearch RPC is the method to linear search vectors with multiple vectors in **1** request. - -
-gRPC has a message size limitation.
-Please be careful that the size of the request exceeds the limit. -
- -### Input - -- the scheme of `payload.v1.Search.MultiRequest` - - ```rpc - message Search.MultiRequest { - repeated Search.Request requests = 1; - } - - message Search.Request { - repeated float vector = 1; - Search.Config config = 2; - } - - message Search.Config { - string request_id = 1; - uint32 num = 2; - float radius = 3; - float epsilon = 4; - int64 timeout = 5; - Filter.Config ingress_filters = 6; - Filter.Config egress_filters = 7; - uint32 min_num = 8; - Search.AggregationAlgorithm aggregation_algorithm = 9; - google.protobuf.FloatValue ratio = 10; - uint32 nprobe = 11; - int32 edge_size = 12; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - enum Search.AggregationAlgorithm { - Unknown = 0; - ConcurrentQueue = 1; - SortSlice = 2; - SortPoolSlice = 3; - PairingHeap = 4; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Search.MultiRequest - - | field | type | label | description | - | :------: | :------------- | :------- | :--------------------------------------------- | - | requests | Search.Request | repeated | Represent the multiple search request content. | - - - Search.Request - - | field | type | label | description | - | :----: | :------------ | :------- | :--------------------------------------- | - | vector | float | repeated | The vector to be searched. | - | config | Search.Config | | The configuration of the search request. | - - - Search.Config - - | field | type | label | description | - | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - | edge_size | int32 | | Search edge size | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Search.Responses` - - ```rpc - message Search.Responses { - repeated Search.Response responses = 1; - } - - message Search.Response { - string request_id = 1; - repeated Object.Distance results = 2; - } - - message Object.Distance { - string id = 1; - float distance = 2; - } - - ``` - - - Search.Responses - - | field | type | label | description | - | :-------: | :-------------- | :------- | :---------------------------------------------- | - | responses | Search.Response | repeated | Represent the multiple search response content. | - - - Search.Response - - | field | type | label | description | - | :--------: | :-------------- | :------- | :--------------------- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - - - Object.Distance - - | field | type | label | description | - | :------: | :----- | :---- | :------------- | - | id | string | | The vector ID. | - | distance | float | | The distance. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :-------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Dimension of the request vector is NOT the same as Vald Agent's config, or some request payload is invalid. | Check Agent config, request payload, and fix request payload or Agent config. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | Search result is empty or insufficient to request result length. | Send a request with another vector or set min_num to a smaller value. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## MultiLinearSearchByID RPC - -MultiLinearSearchByID RPC is the method to linear search vectors with multiple IDs in **1** request. - -
-gRPC has a message size limitation.
-Please be careful that the size of the request exceeds the limit. -
-// - -### Input - -- the scheme of `payload.v1.Search.MultiIDRequest` - - ```rpc - message Search.MultiIDRequest { - repeated Search.IDRequest requests = 1; - } - - message Search.IDRequest { - string id = 1; - Search.Config config = 2; - } - - message Search.Config { - string request_id = 1; - uint32 num = 2; - float radius = 3; - float epsilon = 4; - int64 timeout = 5; - Filter.Config ingress_filters = 6; - Filter.Config egress_filters = 7; - uint32 min_num = 8; - Search.AggregationAlgorithm aggregation_algorithm = 9; - google.protobuf.FloatValue ratio = 10; - uint32 nprobe = 11; - int32 edge_size = 12; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - enum Search.AggregationAlgorithm { - Unknown = 0; - ConcurrentQueue = 1; - SortSlice = 2; - SortPoolSlice = 3; - PairingHeap = 4; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Search.MultiIDRequest - - | field | type | label | description | - | :------: | :--------------- | :------- | :--------------------------------------------------- | - | requests | Search.IDRequest | repeated | Represent the multiple search by ID request content. | - - - Search.IDRequest - - | field | type | label | description | - | :----: | :------------ | :---- | :--------------------------------------- | - | id | string | | The vector ID to be searched. | - | config | Search.Config | | The configuration of the search request. | - - - Search.Config - - | field | type | label | description | - | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - | edge_size | int32 | | Search edge size | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Search.Responses` - - ```rpc - message Search.Responses { - repeated Search.Response responses = 1; - } - - message Search.Response { - string request_id = 1; - repeated Object.Distance results = 2; - } - - message Object.Distance { - string id = 1; - float distance = 2; - } - - ``` - - - Search.Responses - - | field | type | label | description | - | :-------: | :-------------- | :------- | :---------------------------------------------- | - | responses | Search.Response | repeated | Represent the multiple search response content. | - - - Search.Response - - | field | type | label | description | - | :--------: | :-------------- | :------- | :--------------------- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - - - Object.Distance - - | field | type | label | description | - | :------: | :----- | :---- | :------------- | - | id | string | | The vector ID. | - | distance | float | | The distance. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Requested vector's ID is empty, or some request payload is invalid. | Check request payload and fix request payload. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | The Requested ID is not inserted on the target Vald cluster, or the search result is insufficient to the required result length. | Send a request with another vector or set min_num to a smaller value. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | diff --git a/apis/docs/v1/update.md b/apis/docs/v1/update.md deleted file mode 100644 index 4ecee8eb3d..0000000000 --- a/apis/docs/v1/update.md +++ /dev/null @@ -1,499 +0,0 @@ -# Vald Update APIs - -## Overview - -Update Service updates to new vector from inserted vector in the `vald-agent` components. - -```rpc -service Update { - - rpc Update(payload.v1.Update.Request) returns (payload.v1.Object.Location) {} - rpc StreamUpdate(payload.v1.Update.Request) returns (payload.v1.Object.StreamLocation) {} - rpc MultiUpdate(payload.v1.Update.MultiRequest) returns (payload.v1.Object.Locations) {} - rpc UpdateTimestamp(payload.v1.Update.TimestampRequest) returns (payload.v1.Object.Location) {} - -} -``` - -## Update RPC - -Update RPC is the method to update a single vector. - -### Input - -- the scheme of `payload.v1.Update.Request` - - ```rpc - message Update.Request { - Object.Vector vector = 1; - Update.Config config = 2; - } - - message Object.Vector { - string id = 1; - repeated float vector = 2; - int64 timestamp = 3; - } - - message Update.Config { - bool skip_strict_exist_check = 1; - Filter.Config filters = 2; - int64 timestamp = 3; - bool disable_balanced_update = 4; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Update.Request - - | field | type | label | description | - | :----: | :------------ | :---- | :--------------------------------------- | - | vector | Object.Vector | | The vector to be updated. | - | config | Update.Config | | The configuration of the update request. | - - - Object.Vector - - | field | type | label | description | - | :-------: | :----- | :------- | :---------------------------------------------- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - - - Update.Config - - | field | type | label | description | - | :---: | :--- | :---- | :---------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during update operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Update timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) - - during update operation. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Object.Location` - - ```rpc - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 6 | ALREADY_EXISTS | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Dimension of the request vector is NOT the same as Vald Agent's config, the requested vector's ID is empty, or some request payload is invalid. | Check Agent config, request payload, and fix request payload or Agent config. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | Requested ID is NOT inserted. | Send a request with an ID that is already inserted. | -| ALREADY_EXISTS | Request pair of ID and vector is already inserted. | Change request ID. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## StreamUpdate RPC - -StreamUpdate RPC is the method to update multiple vectors using the [bidirectional streaming RPC](https://grpc.io/docs/what-is-grpc/core-concepts/#bidirectional-streaming-rpc).
-Using the bidirectional streaming RPC, the update request can be communicated in any order between client and server. -Each Update request and response are independent. -It's the recommended method to update the large amount of vectors. - -### Input - -- the scheme of `payload.v1.Update.Request` - - ```rpc - message Update.Request { - Object.Vector vector = 1; - Update.Config config = 2; - } - - message Object.Vector { - string id = 1; - repeated float vector = 2; - int64 timestamp = 3; - } - - message Update.Config { - bool skip_strict_exist_check = 1; - Filter.Config filters = 2; - int64 timestamp = 3; - bool disable_balanced_update = 4; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Update.Request - - | field | type | label | description | - | :----: | :------------ | :---- | :--------------------------------------- | - | vector | Object.Vector | | The vector to be updated. | - | config | Update.Config | | The configuration of the update request. | - - - Object.Vector - - | field | type | label | description | - | :-------: | :----- | :------- | :---------------------------------------------- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - - - Update.Config - - | field | type | label | description | - | :---: | :--- | :---- | :---------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during update operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Update timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) - - during update operation. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Object.StreamLocation` - - ```rpc - message Object.StreamLocation { - Object.Location location = 1; - google.rpc.Status status = 2; - } - - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.StreamLocation - - | field | type | label | description | - | :------: | :---------------- | :---- | :-------------------- | - | location | Object.Location | | The vector location. | - | status | google.rpc.Status | | The RPC error status. | - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 6 | ALREADY_EXISTS | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Dimension of the request vector is NOT the same as Vald Agent's config, the requested vector's ID is empty, or some request payload is invalid. | Check Agent config, request payload, and fix request payload or Agent config. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | Requested ID is NOT inserted. | Send a request with an ID that is already inserted. | -| ALREADY_EXISTS | Request pair of ID and vector is already inserted. | Change request ID. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## MultiUpdate RPC - -MultiUpdate is the method to update multiple vectors in **1** request. - -
-gRPC has a message size limitation.
-Please be careful that the size of the request exceeds the limit. -
- -### Input - -- the scheme of `payload.v1.Update.MultiRequest` - - ```rpc - message Update.MultiRequest { - repeated Update.Request requests = 1; - } - - message Update.Request { - Object.Vector vector = 1; - Update.Config config = 2; - } - - message Object.Vector { - string id = 1; - repeated float vector = 2; - int64 timestamp = 3; - } - - message Update.Config { - bool skip_strict_exist_check = 1; - Filter.Config filters = 2; - int64 timestamp = 3; - bool disable_balanced_update = 4; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Update.MultiRequest - - | field | type | label | description | - | :------: | :------------- | :------- | :--------------------------------------------- | - | requests | Update.Request | repeated | Represent the multiple update request content. | - - - Update.Request - - | field | type | label | description | - | :----: | :------------ | :---- | :--------------------------------------- | - | vector | Object.Vector | | The vector to be updated. | - | config | Update.Config | | The configuration of the update request. | - - - Object.Vector - - | field | type | label | description | - | :-------: | :----- | :------- | :---------------------------------------------- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - - - Update.Config - - | field | type | label | description | - | :---: | :--- | :---- | :---------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during update operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Update timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) - - during update operation. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Object.Locations` - - ```rpc - message Object.Locations { - repeated Object.Location locations = 1; - } - - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.Locations - - | field | type | label | description | - | :-------: | :-------------- | :------- | :---------- | - | locations | Object.Location | repeated | | - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 6 | ALREADY_EXISTS | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Dimension of the request vector is NOT the same as Vald Agent's config, the requested vector's ID is empty, or some request payload is invalid. | Check Agent config, request payload, and fix request payload or Agent config. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| NOT_FOUND | Requested ID is NOT inserted. | Send a request with an ID that is already inserted. | -| ALREADY_EXISTS | Request pair of ID and vector is already inserted. | Change request ID. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## UpdateTimestamp RPC - -A method to update timestamp an indexed vector. - -### Input - -- the scheme of `payload.v1.Update.TimestampRequest` - - ```rpc - message Update.TimestampRequest { - string id = 1; - int64 timestamp = 2; - bool force = 3; - } - - ``` - - - Update.TimestampRequest - - | field | type | label | description | - | :-------: | :----- | :---- | :------------------------------------------------ | - | id | string | | The vector ID. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - | force | bool | | force represents forcefully update the timestamp. | - -### Output - -- the scheme of `payload.v1.Object.Location` - - ```rpc - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------- | - -TODO - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -TODO diff --git a/apis/docs/v1/upsert.md b/apis/docs/v1/upsert.md deleted file mode 100644 index 13de9925b2..0000000000 --- a/apis/docs/v1/upsert.md +++ /dev/null @@ -1,436 +0,0 @@ -# Vald Upsert APIs - -## Overview - -Upsert Service is responsible for updating existing vectors in the `vald-agent` or inserting new vectors into the `vald-agent` if the vector does not exist. - -```rpc -service Upsert { - - rpc Upsert(payload.v1.Upsert.Request) returns (payload.v1.Object.Location) {} - rpc StreamUpsert(payload.v1.Upsert.Request) returns (payload.v1.Object.StreamLocation) {} - rpc MultiUpsert(payload.v1.Upsert.MultiRequest) returns (payload.v1.Object.Locations) {} - -} -``` - -## Upsert RPC - -Upsert RPC is the method to update the inserted vector to a new single vector or add a new single vector if not inserted before. - -### Input - -- the scheme of `payload.v1.Upsert.Request` - - ```rpc - message Upsert.Request { - Object.Vector vector = 1; - Upsert.Config config = 2; - } - - message Object.Vector { - string id = 1; - repeated float vector = 2; - int64 timestamp = 3; - } - - message Upsert.Config { - bool skip_strict_exist_check = 1; - Filter.Config filters = 2; - int64 timestamp = 3; - bool disable_balanced_update = 4; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Upsert.Request - - | field | type | label | description | - | :----: | :------------ | :---- | :--------------------------------------- | - | vector | Object.Vector | | The vector to be upserted. | - | config | Upsert.Config | | The configuration of the upsert request. | - - - Object.Vector - - | field | type | label | description | - | :-------: | :----- | :------- | :---------------------------------------------- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - - - Upsert.Config - - | field | type | label | description | - | :---: | :--- | :---- | :---------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Upsert timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) - - during update operation. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Object.Location` - - ```rpc - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 6 | ALREADY_EXISTS | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Dimension of the request vector is NOT the same as Vald Agent's config, the requested vector's ID is empty, or some request payload is invalid. | Check Agent config, request payload, and fix request payload or Agent config. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| ALREADY_EXISTS | Requested pair of ID and vector is already inserted | Change request payload or nothing to do if update is unnecessary. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## StreamUpsert RPC - -StreamUpsert RPC is the method to update multiple existing vectors or add new multiple vectors using the [bidirectional streaming RPC](https://grpc.io/docs/what-is-grpc/core-concepts/#bidirectional-streaming-rpc).
-Using the bidirectional streaming RPC, the upsert request can be communicated in any order between the client and server. -Each Upsert request and response are independent. -It’s the recommended method to upsert a large number of vectors. - -### Input - -- the scheme of `payload.v1.Upsert.Request` - - ```rpc - message Upsert.Request { - Object.Vector vector = 1; - Upsert.Config config = 2; - } - - message Object.Vector { - string id = 1; - repeated float vector = 2; - int64 timestamp = 3; - } - - message Upsert.Config { - bool skip_strict_exist_check = 1; - Filter.Config filters = 2; - int64 timestamp = 3; - bool disable_balanced_update = 4; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Upsert.Request - - | field | type | label | description | - | :----: | :------------ | :---- | :--------------------------------------- | - | vector | Object.Vector | | The vector to be upserted. | - | config | Upsert.Config | | The configuration of the upsert request. | - - - Object.Vector - - | field | type | label | description | - | :-------: | :----- | :------- | :---------------------------------------------- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - - - Upsert.Config - - | field | type | label | description | - | :---: | :--- | :---- | :---------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Upsert timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) - - during update operation. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Object.StreamLocation` - - ```rpc - message Object.StreamLocation { - Object.Location location = 1; - google.rpc.Status status = 2; - } - - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.StreamLocation - - | field | type | label | description | - | :------: | :---------------- | :---- | :-------------------- | - | location | Object.Location | | The vector location. | - | status | google.rpc.Status | | The RPC error status. | - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 6 | ALREADY_EXISTS | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Dimension of the request vector is NOT the same as Vald Agent's config, the requested vector's ID is empty, or some request payload is invalid. | Check Agent config, request payload, and fix request payload or Agent config. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| ALREADY_EXISTS | Requested pair of ID and vector is already inserted | Change request payload or nothing to do if update is unnecessary. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | - -## MultiUpsert RPC - -MultiUpsert is the method to update existing multiple vectors and add new multiple vectors in **1** request. - -
-gRPC has a message size limitation.
-Please be careful that the size of the request exceeds the limit. -
- -### Input - -- the scheme of `payload.v1.Upsert.MultiRequest` - - ```rpc - message Upsert.MultiRequest { - repeated Upsert.Request requests = 1; - } - - message Upsert.Request { - Object.Vector vector = 1; - Upsert.Config config = 2; - } - - message Object.Vector { - string id = 1; - repeated float vector = 2; - int64 timestamp = 3; - } - - message Upsert.Config { - bool skip_strict_exist_check = 1; - Filter.Config filters = 2; - int64 timestamp = 3; - bool disable_balanced_update = 4; - } - - message Filter.Config { - repeated Filter.Target targets = 1; - } - - message Filter.Target { - string host = 1; - uint32 port = 2; - } - - ``` - - - Upsert.MultiRequest - - | field | type | label | description | - | :------: | :------------- | :------- | :--------------------------------------------- | - | requests | Upsert.Request | repeated | Represent the multiple upsert request content. | - - - Upsert.Request - - | field | type | label | description | - | :----: | :------------ | :---- | :--------------------------------------- | - | vector | Object.Vector | | The vector to be upserted. | - | config | Upsert.Config | | The configuration of the upsert request. | - - - Object.Vector - - | field | type | label | description | - | :-------: | :----- | :------- | :---------------------------------------------- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - - - Upsert.Config - - | field | type | label | description | - | :---: | :--- | :---- | :---------- | - | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Upsert timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) - - during update operation. | - - - Filter.Config - - | field | type | label | description | - | :-----: | :------------ | :------- | :----------------------------------------- | - | targets | Filter.Target | repeated | Represent the filter target configuration. | - - - Filter.Target - - | field | type | label | description | - | :---: | :----- | :---- | :------------------- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - -### Output - -- the scheme of `payload.v1.Object.Locations` - - ```rpc - message Object.Locations { - repeated Object.Location locations = 1; - } - - message Object.Location { - string name = 1; - string uuid = 2; - repeated string ips = 3; - } - - ``` - - - Object.Locations - - | field | type | label | description | - | :-------: | :-------------- | :------- | :---------- | - | locations | Object.Location | repeated | | - - - Object.Location - - | field | type | label | description | - | :---: | :----- | :------- | :------------------------ | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | - -### Status Code - -| code | description | -| :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 6 | ALREADY_EXISTS | -| 10 | ABORTED | -| 13 | INTERNAL | - -Please refer to [Response Status Code](../status.md) for more details. - -### Troubleshooting - -The request process may not be completed when the response code is NOT `0 (OK)`. - -Here are some common reasons and how to resolve each error. - -| name | common reason | how to resolve | -| :---------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | -| CANCELLED | Executed cancel() of rpc from client/server-side or network problems between client and server. | Check the code, especially around timeout and connection management, and fix if needed. | -| INVALID_ARGUMENT | The Dimension of the request vector is NOT the same as Vald Agent's config, the requested vector's ID is empty, or some request payload is invalid. | Check Agent config, request payload, and fix request payload or Agent config. | -| DEADLINE_EXCEEDED | The RPC timeout setting is too short on the client/server side. | Check the gRPC timeout setting on both the client and server sides and fix it if needed. | -| ALREADY_EXISTS | Requested pair of ID and vector is already inserted | Change request payload or nothing to do if update is unnecessary. | -| INTERNAL | Target Vald cluster or network route has some critical error. | Check target Vald cluster first and check network route including ingress as second. | diff --git a/apis/grpc/v1/agent/core/agent.go b/apis/grpc/v1/agent/core/agent.go index b6327ccd2c..080c7190a0 100644 --- a/apis/grpc/v1/agent/core/agent.go +++ b/apis/grpc/v1/agent/core/agent.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package core provides core agent server interface package core diff --git a/apis/grpc/v1/agent/core/agent.pb.go b/apis/grpc/v1/agent/core/agent.pb.go index f6575818ce..95993d6ec9 100644 --- a/apis/grpc/v1/agent/core/agent.pb.go +++ b/apis/grpc/v1/agent/core/agent.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/apis/grpc/v1/agent/core/agent_vtproto.pb.go b/apis/grpc/v1/agent/core/agent_vtproto.pb.go index e76f6f1323..73fa092f91 100644 --- a/apis/grpc/v1/agent/core/agent_vtproto.pb.go +++ b/apis/grpc/v1/agent/core/agent_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package core diff --git a/apis/grpc/v1/agent/sidecar/sidecar.pb.go b/apis/grpc/v1/agent/sidecar/sidecar.pb.go index 5c6a85ee25..a9c1d90a49 100644 --- a/apis/grpc/v1/agent/sidecar/sidecar.pb.go +++ b/apis/grpc/v1/agent/sidecar/sidecar.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/apis/grpc/v1/agent/sidecar/sidecar_vtproto.pb.go b/apis/grpc/v1/agent/sidecar/sidecar_vtproto.pb.go index 0232f61736..f1d64dc2d7 100644 --- a/apis/grpc/v1/agent/sidecar/sidecar_vtproto.pb.go +++ b/apis/grpc/v1/agent/sidecar/sidecar_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package sidecar diff --git a/apis/grpc/v1/discoverer/discoverer.pb.go b/apis/grpc/v1/discoverer/discoverer.pb.go index eb12c2b047..f8fb60f904 100644 --- a/apis/grpc/v1/discoverer/discoverer.pb.go +++ b/apis/grpc/v1/discoverer/discoverer.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/apis/grpc/v1/discoverer/discoverer_vtproto.pb.go b/apis/grpc/v1/discoverer/discoverer_vtproto.pb.go index 8c6c11b3fe..93045e173b 100644 --- a/apis/grpc/v1/discoverer/discoverer_vtproto.pb.go +++ b/apis/grpc/v1/discoverer/discoverer_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package discoverer diff --git a/apis/grpc/v1/filter/egress/egress_filter.pb.go b/apis/grpc/v1/filter/egress/egress_filter.pb.go index 4bda50189e..6fa7319bb0 100644 --- a/apis/grpc/v1/filter/egress/egress_filter.pb.go +++ b/apis/grpc/v1/filter/egress/egress_filter.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/apis/grpc/v1/filter/egress/egress_filter_vtproto.pb.go b/apis/grpc/v1/filter/egress/egress_filter_vtproto.pb.go index d19758f7e4..1e7d249d1d 100644 --- a/apis/grpc/v1/filter/egress/egress_filter_vtproto.pb.go +++ b/apis/grpc/v1/filter/egress/egress_filter_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package egress diff --git a/apis/grpc/v1/filter/ingress/ingress_filter.pb.go b/apis/grpc/v1/filter/ingress/ingress_filter.pb.go index 74732a4770..b377e59993 100644 --- a/apis/grpc/v1/filter/ingress/ingress_filter.pb.go +++ b/apis/grpc/v1/filter/ingress/ingress_filter.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/apis/grpc/v1/filter/ingress/ingress_filter_vtproto.pb.go b/apis/grpc/v1/filter/ingress/ingress_filter_vtproto.pb.go index 38201e7d79..de428943f4 100644 --- a/apis/grpc/v1/filter/ingress/ingress_filter_vtproto.pb.go +++ b/apis/grpc/v1/filter/ingress/ingress_filter_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package ingress diff --git a/apis/grpc/v1/meta/meta.pb.go b/apis/grpc/v1/meta/meta.pb.go index 000cb6405a..6a0589c7bf 100644 --- a/apis/grpc/v1/meta/meta.pb.go +++ b/apis/grpc/v1/meta/meta.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/apis/grpc/v1/meta/meta_vtproto.pb.go b/apis/grpc/v1/meta/meta_vtproto.pb.go index f031d5ee62..6eaeb8fa4e 100644 --- a/apis/grpc/v1/meta/meta_vtproto.pb.go +++ b/apis/grpc/v1/meta/meta_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package meta diff --git a/apis/grpc/v1/mirror/mirror.go b/apis/grpc/v1/mirror/mirror.go index d12c4dcfd4..1cd6495c8f 100644 --- a/apis/grpc/v1/mirror/mirror.go +++ b/apis/grpc/v1/mirror/mirror.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package mirror provides vald server interface package mirror diff --git a/apis/grpc/v1/mirror/mirror.pb.go b/apis/grpc/v1/mirror/mirror.pb.go index c2f5bb1b6e..5dc7170f16 100644 --- a/apis/grpc/v1/mirror/mirror.pb.go +++ b/apis/grpc/v1/mirror/mirror.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/apis/grpc/v1/mirror/mirror_vtproto.pb.go b/apis/grpc/v1/mirror/mirror_vtproto.pb.go index 237c18f660..a383e722d2 100644 --- a/apis/grpc/v1/mirror/mirror_vtproto.pb.go +++ b/apis/grpc/v1/mirror/mirror_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package mirror diff --git a/apis/grpc/v1/payload/payload.pb.go b/apis/grpc/v1/payload/payload.pb.go index 364ec7db17..c8a4c1f4e2 100644 --- a/apis/grpc/v1/payload/payload.pb.go +++ b/apis/grpc/v1/payload/payload.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Code generated by protoc-gen-go. DO NOT EDIT. // versions: @@ -103,38 +101,38 @@ type Remove_Timestamp_Operator int32 const ( // The timestamp is equal to the specified value in the request. - Remove_Timestamp_Eq Remove_Timestamp_Operator = 0 + Remove_Timestamp_EQ Remove_Timestamp_Operator = 0 // The timestamp is not equal to the specified value in the request. - Remove_Timestamp_Ne Remove_Timestamp_Operator = 1 + Remove_Timestamp_NE Remove_Timestamp_Operator = 1 // The timestamp is greater than or equal to the specified value in the // request. - Remove_Timestamp_Ge Remove_Timestamp_Operator = 2 + Remove_Timestamp_GE Remove_Timestamp_Operator = 2 // The timestamp is greater than the specified value in the request. - Remove_Timestamp_Gt Remove_Timestamp_Operator = 3 + Remove_Timestamp_GT Remove_Timestamp_Operator = 3 // The timestamp is less than or equal to the specified value in the // request. - Remove_Timestamp_Le Remove_Timestamp_Operator = 4 + Remove_Timestamp_LE Remove_Timestamp_Operator = 4 // The timestamp is less than the specified value in the request. - Remove_Timestamp_Lt Remove_Timestamp_Operator = 5 + Remove_Timestamp_LT Remove_Timestamp_Operator = 5 ) // Enum value maps for Remove_Timestamp_Operator. var ( Remove_Timestamp_Operator_name = map[int32]string{ - 0: "Eq", - 1: "Ne", - 2: "Ge", - 3: "Gt", - 4: "Le", - 5: "Lt", + 0: "EQ", + 1: "NE", + 2: "GE", + 3: "GT", + 4: "LE", + 5: "LT", } Remove_Timestamp_Operator_value = map[string]int32{ - "Eq": 0, - "Ne": 1, - "Ge": 2, - "Gt": 3, - "Le": 4, - "Lt": 5, + "EQ": 0, + "NE": 1, + "GE": 2, + "GT": 3, + "LE": 4, + "LT": 5, } ) @@ -2535,7 +2533,7 @@ func (x *Remove_Timestamp) GetOperator() Remove_Timestamp_Operator { if x != nil { return x.Operator } - return Remove_Timestamp_Eq + return Remove_Timestamp_EQ } // Represent the remove configuration. @@ -6124,12 +6122,12 @@ const file_v1_payload_payload_proto_rawDesc = "" + "\ttimestamp\x18\x01 \x01(\x03R\ttimestamp\x12A\n" + "\boperator\x18\x02 \x01(\x0e2%.payload.v1.Remove.Timestamp.OperatorR\boperator\":\n" + "\bOperator\x12\x06\n" + - "\x02Eq\x10\x00\x12\x06\n" + - "\x02Ne\x10\x01\x12\x06\n" + - "\x02Ge\x10\x02\x12\x06\n" + - "\x02Gt\x10\x03\x12\x06\n" + - "\x02Le\x10\x04\x12\x06\n" + - "\x02Lt\x10\x05\x1a]\n" + + "\x02EQ\x10\x00\x12\x06\n" + + "\x02NE\x10\x01\x12\x06\n" + + "\x02GE\x10\x02\x12\x06\n" + + "\x02GT\x10\x03\x12\x06\n" + + "\x02LE\x10\x04\x12\x06\n" + + "\x02LT\x10\x05\x1a]\n" + "\x06Config\x125\n" + "\x17skip_strict_exist_check\x18\x01 \x01(\bR\x14skipStrictExistCheck\x12\x1c\n" + "\ttimestamp\x18\x03 \x01(\x03R\ttimestamp\"\x12\n" + diff --git a/apis/grpc/v1/payload/payload.pb.json.go b/apis/grpc/v1/payload/payload.pb.json.go index bc964023c2..758c3a877d 100644 --- a/apis/grpc/v1/payload/payload.pb.json.go +++ b/apis/grpc/v1/payload/payload.pb.json.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Code generated by protoc-gen-go-json. DO NOT EDIT. // source: v1/payload/payload.proto diff --git a/apis/grpc/v1/payload/payload_vtproto.pb.go b/apis/grpc/v1/payload/payload_vtproto.pb.go index c098719116..40adb20bae 100644 --- a/apis/grpc/v1/payload/payload_vtproto.pb.go +++ b/apis/grpc/v1/payload/payload_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package payload diff --git a/apis/grpc/v1/rpc/errdetails/error_details.pb.go b/apis/grpc/v1/rpc/errdetails/error_details.pb.go index a272b3cdf6..05e867f924 100644 --- a/apis/grpc/v1/rpc/errdetails/error_details.pb.go +++ b/apis/grpc/v1/rpc/errdetails/error_details.pb.go @@ -1,4 +1,3 @@ -// // Copyright (C) 2026 Google LLC // Modified by vdaas.org vald team // @@ -6,14 +5,13 @@ // 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 +// 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. -// // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/apis/grpc/v1/rpc/errdetails/error_details.pb.json.go b/apis/grpc/v1/rpc/errdetails/error_details.pb.json.go index ef2149bf01..d65a78bfea 100644 --- a/apis/grpc/v1/rpc/errdetails/error_details.pb.json.go +++ b/apis/grpc/v1/rpc/errdetails/error_details.pb.json.go @@ -1,4 +1,3 @@ -// // Copyright (C) 2026 Google LLC // Modified by vdaas.org vald team // @@ -6,14 +5,13 @@ // 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 +// 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. -// // Code generated by protoc-gen-go-json. DO NOT EDIT. // source: v1/rpc/errdetails/error_details.proto diff --git a/apis/grpc/v1/rpc/errdetails/error_details_vtproto.pb.go b/apis/grpc/v1/rpc/errdetails/error_details_vtproto.pb.go index 247b25f24a..a61d832de8 100644 --- a/apis/grpc/v1/rpc/errdetails/error_details_vtproto.pb.go +++ b/apis/grpc/v1/rpc/errdetails/error_details_vtproto.pb.go @@ -1,4 +1,3 @@ -// // Copyright (C) 2026 Google LLC // Modified by vdaas.org vald team // @@ -6,14 +5,13 @@ // 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 +// 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. -// package errdetails diff --git a/apis/grpc/v1/rpc/stats/stats.pb.go b/apis/grpc/v1/rpc/stats/stats.pb.go index 0234533795..e28565eb56 100644 --- a/apis/grpc/v1/rpc/stats/stats.pb.go +++ b/apis/grpc/v1/rpc/stats/stats.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/apis/grpc/v1/rpc/stats/stats_vtproto.pb.go b/apis/grpc/v1/rpc/stats/stats_vtproto.pb.go index f12412060d..9a687db62a 100644 --- a/apis/grpc/v1/rpc/stats/stats_vtproto.pb.go +++ b/apis/grpc/v1/rpc/stats/stats_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package stats diff --git a/apis/grpc/v1/tikv/errorpb.pb.go b/apis/grpc/v1/tikv/errorpb.pb.go index 0b35c533f2..7a8cd1ba44 100644 --- a/apis/grpc/v1/tikv/errorpb.pb.go +++ b/apis/grpc/v1/tikv/errorpb.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package tikv diff --git a/apis/grpc/v1/tikv/errorpb.pb.json.go b/apis/grpc/v1/tikv/errorpb.pb.json.go index 5927391b76..e6cc959732 100644 --- a/apis/grpc/v1/tikv/errorpb.pb.json.go +++ b/apis/grpc/v1/tikv/errorpb.pb.json.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package tikv diff --git a/apis/grpc/v1/tikv/errorpb_vtproto.pb.go b/apis/grpc/v1/tikv/errorpb_vtproto.pb.go index 779f0a31c9..db663022bc 100644 --- a/apis/grpc/v1/tikv/errorpb_vtproto.pb.go +++ b/apis/grpc/v1/tikv/errorpb_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package tikv diff --git a/apis/grpc/v1/tikv/kvrpcpb.pb.go b/apis/grpc/v1/tikv/kvrpcpb.pb.go index db7ad3171e..3640d9bd02 100644 --- a/apis/grpc/v1/tikv/kvrpcpb.pb.go +++ b/apis/grpc/v1/tikv/kvrpcpb.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package tikv diff --git a/apis/grpc/v1/tikv/kvrpcpb.pb.json.go b/apis/grpc/v1/tikv/kvrpcpb.pb.json.go index 1bbeb170c6..2f8c4fca64 100644 --- a/apis/grpc/v1/tikv/kvrpcpb.pb.json.go +++ b/apis/grpc/v1/tikv/kvrpcpb.pb.json.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package tikv diff --git a/apis/grpc/v1/tikv/kvrpcpb_vtproto.pb.go b/apis/grpc/v1/tikv/kvrpcpb_vtproto.pb.go index 27991ebc0c..18016132da 100644 --- a/apis/grpc/v1/tikv/kvrpcpb_vtproto.pb.go +++ b/apis/grpc/v1/tikv/kvrpcpb_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package tikv diff --git a/apis/grpc/v1/tikv/tikvpb.pb.go b/apis/grpc/v1/tikv/tikvpb.pb.go index a1cb292c60..3d8ebf120d 100644 --- a/apis/grpc/v1/tikv/tikvpb.pb.go +++ b/apis/grpc/v1/tikv/tikvpb.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package tikv diff --git a/apis/grpc/v1/tikv/tikvpb_vtproto.pb.go b/apis/grpc/v1/tikv/tikvpb_vtproto.pb.go index 31e6e8f760..eede8749d9 100644 --- a/apis/grpc/v1/tikv/tikvpb_vtproto.pb.go +++ b/apis/grpc/v1/tikv/tikvpb_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package tikv diff --git a/apis/grpc/v1/vald/filter.pb.go b/apis/grpc/v1/vald/filter.pb.go index 0e67993a3b..03e800f3c2 100644 --- a/apis/grpc/v1/vald/filter.pb.go +++ b/apis/grpc/v1/vald/filter.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/apis/grpc/v1/vald/filter_vtproto.pb.go b/apis/grpc/v1/vald/filter_vtproto.pb.go index e54d483c10..95302ebc81 100644 --- a/apis/grpc/v1/vald/filter_vtproto.pb.go +++ b/apis/grpc/v1/vald/filter_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package vald diff --git a/apis/grpc/v1/vald/flush.pb.go b/apis/grpc/v1/vald/flush.pb.go index 90454a0ada..34335cbc16 100644 --- a/apis/grpc/v1/vald/flush.pb.go +++ b/apis/grpc/v1/vald/flush.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/apis/grpc/v1/vald/flush_vtproto.pb.go b/apis/grpc/v1/vald/flush_vtproto.pb.go index 35345f52dc..11e5ced8c5 100644 --- a/apis/grpc/v1/vald/flush_vtproto.pb.go +++ b/apis/grpc/v1/vald/flush_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package vald diff --git a/apis/grpc/v1/vald/index.pb.go b/apis/grpc/v1/vald/index.pb.go index 652153db9b..2462dc12a1 100644 --- a/apis/grpc/v1/vald/index.pb.go +++ b/apis/grpc/v1/vald/index.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/apis/grpc/v1/vald/index_vtproto.pb.go b/apis/grpc/v1/vald/index_vtproto.pb.go index 17b7b13c3c..d6211729a6 100644 --- a/apis/grpc/v1/vald/index_vtproto.pb.go +++ b/apis/grpc/v1/vald/index_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package vald diff --git a/apis/grpc/v1/vald/insert.pb.go b/apis/grpc/v1/vald/insert.pb.go index bc6642b190..c0359e8931 100644 --- a/apis/grpc/v1/vald/insert.pb.go +++ b/apis/grpc/v1/vald/insert.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/apis/grpc/v1/vald/insert_vtproto.pb.go b/apis/grpc/v1/vald/insert_vtproto.pb.go index b28ef658d8..f796725cb3 100644 --- a/apis/grpc/v1/vald/insert_vtproto.pb.go +++ b/apis/grpc/v1/vald/insert_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package vald diff --git a/apis/grpc/v1/vald/object.pb.go b/apis/grpc/v1/vald/object.pb.go index 50a26baad2..47277d10b5 100644 --- a/apis/grpc/v1/vald/object.pb.go +++ b/apis/grpc/v1/vald/object.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/apis/grpc/v1/vald/object_vtproto.pb.go b/apis/grpc/v1/vald/object_vtproto.pb.go index b68d601ea3..f81a376dad 100644 --- a/apis/grpc/v1/vald/object_vtproto.pb.go +++ b/apis/grpc/v1/vald/object_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package vald diff --git a/apis/grpc/v1/vald/remove.pb.go b/apis/grpc/v1/vald/remove.pb.go index 5a7d4104ed..1f1ecf5df4 100644 --- a/apis/grpc/v1/vald/remove.pb.go +++ b/apis/grpc/v1/vald/remove.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/apis/grpc/v1/vald/remove_vtproto.pb.go b/apis/grpc/v1/vald/remove_vtproto.pb.go index 7b102fc8ca..8ee39fffc1 100644 --- a/apis/grpc/v1/vald/remove_vtproto.pb.go +++ b/apis/grpc/v1/vald/remove_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package vald diff --git a/apis/grpc/v1/vald/search.pb.go b/apis/grpc/v1/vald/search.pb.go index d2ac8982fe..707ed5e8e0 100644 --- a/apis/grpc/v1/vald/search.pb.go +++ b/apis/grpc/v1/vald/search.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/apis/grpc/v1/vald/search_vtproto.pb.go b/apis/grpc/v1/vald/search_vtproto.pb.go index d16572d711..768eb968a2 100644 --- a/apis/grpc/v1/vald/search_vtproto.pb.go +++ b/apis/grpc/v1/vald/search_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package vald diff --git a/apis/grpc/v1/vald/update.pb.go b/apis/grpc/v1/vald/update.pb.go index a5e5c2dc61..7401688bac 100644 --- a/apis/grpc/v1/vald/update.pb.go +++ b/apis/grpc/v1/vald/update.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/apis/grpc/v1/vald/update_vtproto.pb.go b/apis/grpc/v1/vald/update_vtproto.pb.go index fc52da40f1..5c18501c03 100644 --- a/apis/grpc/v1/vald/update_vtproto.pb.go +++ b/apis/grpc/v1/vald/update_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package vald diff --git a/apis/grpc/v1/vald/upsert.pb.go b/apis/grpc/v1/vald/upsert.pb.go index 8b39ff86cb..d9608d6973 100644 --- a/apis/grpc/v1/vald/upsert.pb.go +++ b/apis/grpc/v1/vald/upsert.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/apis/grpc/v1/vald/upsert_vtproto.pb.go b/apis/grpc/v1/vald/upsert_vtproto.pb.go index b5f47d245c..2ddf71b3fd 100644 --- a/apis/grpc/v1/vald/upsert_vtproto.pb.go +++ b/apis/grpc/v1/vald/upsert_vtproto.pb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package vald diff --git a/apis/grpc/v1/vald/vald.go b/apis/grpc/v1/vald/vald.go index 5bebb2c7e7..972e128a2c 100644 --- a/apis/grpc/v1/vald/vald.go +++ b/apis/grpc/v1/vald/vald.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package vald provides vald server interface package vald diff --git a/apis/proto/v1/agent/core/agent.proto b/apis/proto/v1/agent/core/agent.proto index 16e531442c..ac3ad34664 100644 --- a/apis/proto/v1/agent/core/agent.proto +++ b/apis/proto/v1/agent/core/agent.proto @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// syntax = "proto3"; diff --git a/apis/proto/v1/agent/sidecar/sidecar.proto b/apis/proto/v1/agent/sidecar/sidecar.proto index 84c35b5573..ecf8b98885 100644 --- a/apis/proto/v1/agent/sidecar/sidecar.proto +++ b/apis/proto/v1/agent/sidecar/sidecar.proto @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// syntax = "proto3"; diff --git a/apis/proto/v1/discoverer/discoverer.proto b/apis/proto/v1/discoverer/discoverer.proto index 843fe4fa9b..03d435ad60 100644 --- a/apis/proto/v1/discoverer/discoverer.proto +++ b/apis/proto/v1/discoverer/discoverer.proto @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// syntax = "proto3"; diff --git a/apis/proto/v1/filter/egress/egress_filter.proto b/apis/proto/v1/filter/egress/egress_filter.proto index 3f0b7c1836..343ed2112e 100644 --- a/apis/proto/v1/filter/egress/egress_filter.proto +++ b/apis/proto/v1/filter/egress/egress_filter.proto @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// syntax = "proto3"; diff --git a/apis/proto/v1/filter/ingress/ingress_filter.proto b/apis/proto/v1/filter/ingress/ingress_filter.proto index ad8072006b..7c5b107b25 100644 --- a/apis/proto/v1/filter/ingress/ingress_filter.proto +++ b/apis/proto/v1/filter/ingress/ingress_filter.proto @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// syntax = "proto3"; diff --git a/apis/proto/v1/meta/meta.proto b/apis/proto/v1/meta/meta.proto index 2abc092410..3b8212a976 100644 --- a/apis/proto/v1/meta/meta.proto +++ b/apis/proto/v1/meta/meta.proto @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// syntax = "proto3"; diff --git a/apis/proto/v1/mirror/mirror.proto b/apis/proto/v1/mirror/mirror.proto index 5409b95596..b14537cfa6 100644 --- a/apis/proto/v1/mirror/mirror.proto +++ b/apis/proto/v1/mirror/mirror.proto @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// syntax = "proto3"; diff --git a/apis/proto/v1/payload/payload.proto b/apis/proto/v1/payload/payload.proto index 977bbd35ea..73ee2e5466 100644 --- a/apis/proto/v1/payload/payload.proto +++ b/apis/proto/v1/payload/payload.proto @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// syntax = "proto3"; @@ -327,19 +325,19 @@ message Remove { // Operator is enum of each conditional operator. enum Operator { // The timestamp is equal to the specified value in the request. - Eq = 0; + EQ = 0; // The timestamp is not equal to the specified value in the request. - Ne = 1; + NE = 1; // The timestamp is greater than or equal to the specified value in the // request. - Ge = 2; + GE = 2; // The timestamp is greater than the specified value in the request. - Gt = 3; + GT = 3; // The timestamp is less than or equal to the specified value in the // request. - Le = 4; + LE = 4; // The timestamp is less than the specified value in the request. - Lt = 5; + LT = 5; } // The timestamp. int64 timestamp = 1; diff --git a/apis/proto/v1/rpc/errdetails/error_details.proto b/apis/proto/v1/rpc/errdetails/error_details.proto index 05efe879dd..932c747180 100644 --- a/apis/proto/v1/rpc/errdetails/error_details.proto +++ b/apis/proto/v1/rpc/errdetails/error_details.proto @@ -1,4 +1,3 @@ -// // Copyright (C) 2026 Google LLC // Modified by vdaas.org vald team // @@ -6,14 +5,13 @@ // 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 +// 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. -// syntax = "proto3"; diff --git a/apis/proto/v1/rpc/stats/stats.proto b/apis/proto/v1/rpc/stats/stats.proto index ae7abe78ae..8c7e65ea7a 100644 --- a/apis/proto/v1/rpc/stats/stats.proto +++ b/apis/proto/v1/rpc/stats/stats.proto @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// syntax = "proto3"; diff --git a/apis/proto/v1/vald/filter.proto b/apis/proto/v1/vald/filter.proto index 6142fc8f02..6d1e399c7b 100644 --- a/apis/proto/v1/vald/filter.proto +++ b/apis/proto/v1/vald/filter.proto @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// syntax = "proto3"; diff --git a/apis/proto/v1/vald/flush.proto b/apis/proto/v1/vald/flush.proto index c3022984f0..921964809f 100644 --- a/apis/proto/v1/vald/flush.proto +++ b/apis/proto/v1/vald/flush.proto @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// syntax = "proto3"; diff --git a/apis/proto/v1/vald/index.proto b/apis/proto/v1/vald/index.proto index bc7b06a996..7b17616910 100644 --- a/apis/proto/v1/vald/index.proto +++ b/apis/proto/v1/vald/index.proto @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// syntax = "proto3"; diff --git a/apis/proto/v1/vald/insert.proto b/apis/proto/v1/vald/insert.proto index 8121d9e9e2..301ca3395e 100644 --- a/apis/proto/v1/vald/insert.proto +++ b/apis/proto/v1/vald/insert.proto @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// syntax = "proto3"; diff --git a/apis/proto/v1/vald/object.proto b/apis/proto/v1/vald/object.proto index 3a8539f66d..4afe584851 100644 --- a/apis/proto/v1/vald/object.proto +++ b/apis/proto/v1/vald/object.proto @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// syntax = "proto3"; diff --git a/apis/proto/v1/vald/remove.proto b/apis/proto/v1/vald/remove.proto index b3e6798bc7..312f0fbe0d 100644 --- a/apis/proto/v1/vald/remove.proto +++ b/apis/proto/v1/vald/remove.proto @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// syntax = "proto3"; diff --git a/apis/proto/v1/vald/search.proto b/apis/proto/v1/vald/search.proto index 9785b9cbe5..e1af7d6728 100644 --- a/apis/proto/v1/vald/search.proto +++ b/apis/proto/v1/vald/search.proto @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// syntax = "proto3"; diff --git a/apis/proto/v1/vald/update.proto b/apis/proto/v1/vald/update.proto index 094ce985d5..7c601d34ef 100644 --- a/apis/proto/v1/vald/update.proto +++ b/apis/proto/v1/vald/update.proto @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// syntax = "proto3"; diff --git a/apis/proto/v1/vald/upsert.proto b/apis/proto/v1/vald/upsert.proto index cf12836028..572f65ca13 100644 --- a/apis/proto/v1/vald/upsert.proto +++ b/apis/proto/v1/vald/upsert.proto @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// syntax = "proto3"; diff --git a/apis/swagger/v1/vald/remove.swagger.json b/apis/swagger/v1/vald/remove.swagger.json index 9b3b68b576..a92005d843 100644 --- a/apis/swagger/v1/vald/remove.swagger.json +++ b/apis/swagger/v1/vald/remove.swagger.json @@ -194,9 +194,9 @@ }, "TimestampOperator": { "type": "string", - "enum": ["Eq", "Ne", "Ge", "Gt", "Le", "Lt"], - "default": "Eq", - "description": "Operator is enum of each conditional operator.\n\n - Eq: The timestamp is equal to the specified value in the request.\n - Ne: The timestamp is not equal to the specified value in the request.\n - Ge: The timestamp is greater than or equal to the specified value in the\nrequest.\n - Gt: The timestamp is greater than the specified value in the request.\n - Le: The timestamp is less than or equal to the specified value in the\nrequest.\n - Lt: The timestamp is less than the specified value in the request." + "enum": ["EQ", "NE", "GE", "GT", "LE", "LT"], + "default": "EQ", + "description": "Operator is enum of each conditional operator.\n\n - EQ: The timestamp is equal to the specified value in the request.\n - NE: The timestamp is not equal to the specified value in the request.\n - GE: The timestamp is greater than or equal to the specified value in the\nrequest.\n - GT: The timestamp is greater than the specified value in the request.\n - LE: The timestamp is less than or equal to the specified value in the\nrequest.\n - LT: The timestamp is less than the specified value in the request." }, "protobufAny": { "type": "object", diff --git a/charts/vald-readreplica/values.yaml b/charts/vald-readreplica/values.yaml deleted file mode 120000 index fd7949917f..0000000000 --- a/charts/vald-readreplica/values.yaml +++ /dev/null @@ -1 +0,0 @@ -../vald/values.yaml \ No newline at end of file diff --git a/charts/vald-readreplica/values.yaml b/charts/vald-readreplica/values.yaml new file mode 100644 index 0000000000..6b279c77ea --- /dev/null +++ b/charts/vald-readreplica/values.yaml @@ -0,0 +1,4241 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + +# @schema {"name": "defaults", "type": "object"} +# The values in the defaults section will be used for common settings in each component if not specified in its sections. +defaults: + # @schema {"name": "defaults.time_zone", "type": "string"} + # defaults.time_zone -- Time zone + time_zone: UTC + # @schema {"name": "defaults.logging", "type": "object", "anchor": "logging"} + logging: + # @schema {"name": "defaults.logging.logger", "type": "string", "enum": ["glg", "zap"]} + # defaults.logging.logger -- logger name. + # currently logger must be `glg` or `zap`. + logger: glg + # @schema {"name": "defaults.logging.level", "type": "string", "enum": ["debug", "info", "warn", "error", "fatal"]} + # defaults.logging.level -- logging level. + # logging level must be `debug`, `info`, `warn`, `error` or `fatal`. + level: debug + # @schema {"name": "defaults.logging.format", "type": "string", "enum": ["raw", "json"]} + # defaults.logging.format -- logging format. + # logging format must be `raw` or `json` + format: raw + # @schema {"name": "defaults.image", "type": "object"} + image: + # @schema {"name": "defaults.image.tag", "type": "string"} + # defaults.image.tag -- docker image tag + tag: v1.7.17 + # @schema {"name": "defaults.server_config", "type": "object", "anchor": "server_config"} + server_config: + # @schema {"name": "defaults.server_config.servers", "type": "object"} + servers: + # @schema {"name": "defaults.server_config.servers.rest", "type": "object"} + rest: + # @schema {"name": "defaults.server_config.servers.rest.enabled", "type": "boolean"} + # defaults.server_config.servers.rest.enabled -- REST server enabled + enabled: false + # @schema {"name": "defaults.server_config.servers.rest.host", "type": "string"} + # defaults.server_config.servers.rest.host -- REST server host + host: 0.0.0.0 + # @schema {"name": "defaults.server_config.servers.rest.port", "type": "integer", "minimum": 0, "maximum": 65535} + # defaults.server_config.servers.rest.port -- REST server port + port: 8080 + # @schema {"name": "defaults.server_config.servers.rest.servicePort", "type": "integer", "minimum": 0, "maximum": 65535} + # defaults.server_config.servers.rest.servicePort -- REST server service port + servicePort: 8080 + # @schema {"name": "defaults.server_config.servers.rest.server", "type": "object", "anchor": "rest_server"} + server: + # @schema {"name": "defaults.server_config.servers.rest.server.mode", "type": "string"} + # defaults.server_config.servers.rest.server.mode -- REST server server mode + mode: REST + # @schema {"name": "defaults.server_config.servers.rest.server.probe_wait_time", "type": "string"} + # defaults.server_config.servers.rest.server.probe_wait_time -- REST server probe wait time + probe_wait_time: 3s + # @schema {"name": "defaults.server_config.servers.rest.server.network", "type": "string", "enum": ["tcp", "tcp4", "tcp6", "udp", "udp4", "udp6", "unix", "unixgram", "unixpacket"]} + # defaults.server_config.servers.rest.server.network -- network mode + network: tcp + # @schema {"name": "defaults.server_config.servers.rest.server.socket_path", "type": "string"} + # defaults.server_config.servers.rest.server.socket_path -- network socket_path + socket_path: "" + # @schema {"name": "defaults.server_config.servers.rest.server.restart", "type": "boolean"} + # defaults.server_config.servers.rest.server.restart + restart: true + # @schema {"name": "defaults.server_config.servers.rest.server.http", "type": "object", "anchor": "http_server_config"} + http: + # @schema {"name": "defaults.server_config.servers.rest.server.http.shutdown_duration", "type": "string"} + # defaults.server_config.servers.rest.server.http.shutdown_duration -- REST server shutdown duration + shutdown_duration: 5s + # @schema {"name": "defaults.server_config.servers.rest.server.http.handler_timeout", "type": "string"} + # defaults.server_config.servers.rest.server.http.handler_timeout -- REST server handler timeout + handler_timeout: 5s + # @schema {"name": "defaults.server_config.servers.rest.server.http.idle_timeout", "type": "string"} + # defaults.server_config.servers.rest.server.http.idle_timeout -- REST server idle timeout + idle_timeout: 2s + # @schema {"name": "defaults.server_config.servers.rest.server.http.read_header_timeout", "type": "string"} + # defaults.server_config.servers.rest.server.http.read_header_timeout -- REST server read header timeout + read_header_timeout: 1s + # @schema {"name": "defaults.server_config.servers.rest.server.http.read_timeout", "type": "string"} + # defaults.server_config.servers.rest.server.http.read_timeout -- REST server read timeout + read_timeout: 1s + # @schema {"name": "defaults.server_config.servers.rest.server.http.write_timeout", "type": "string"} + # defaults.server_config.servers.rest.server.http.write_timeout -- REST server write timeout + write_timeout: 1s + # @schema {"name": "defaults.server_config.servers.rest.server.http.http2", "type": "object", "anchor": "http2_server_config"} + http2: + # @schema {"name": "defaults.server_config.servers.rest.server.http.http2.enabled", "type": "boolean"} + # defaults.server_config.servers.rest.server.http.http2.enabled -- HTTP2 server enabled + enabled: false + # @schema {"name": "defaults.server_config.servers.rest.server.http.http2.handler_limit", "type": "integer"} + # defaults.server_config.servers.rest.server.http.http2.handler_limit -- Limits the number of http.Handler ServeHTTP goroutines which may run at a time over all connections. Negative or zero no limit. + handler_limit: 0 + # @schema {"name": "defaults.server_config.servers.rest.server.http.http2.permit_prohibited_cipher_suites", "type": "boolean"} + # defaults.server_config.servers.rest.server.http.http2.permit_prohibited_cipher_suites -- if true, permits the use of cipher suites prohibited by the HTTP/2 spec. + permit_prohibited_cipher_suites: true + # @schema {"name": "defaults.server_config.servers.rest.server.http.http2.max_upload_buffer_per_connection", "type": "integer"} + # defaults.server_config.servers.rest.server.http.http2.max_upload_buffer_per_connection -- The size of the initial flow control window for each connections. + max_upload_buffer_per_connection: 0 + # @schema {"name": "defaults.server_config.servers.rest.server.http.http2.max_upload_buffer_per_stream", "type": "integer"} + # defaults.server_config.servers.rest.server.http.http2.max_upload_buffer_per_stream -- The size of the initial flow control window for each streams. + max_upload_buffer_per_stream: 0 + # @schema {"name": "defaults.server_config.servers.rest.server.http.http2.max_concurrent_streams", "type": "integer"} + # defaults.server_config.servers.rest.server.http.http2.max_concurrent_streams -- The number of concurrent streams that each client may have open at a time. + max_concurrent_streams: 0 + # @schema {"name": "defaults.server_config.servers.rest.server.http.http2.max_decoder_header_table_size", "type": "integer"} + # defaults.server_config.servers.rest.server.http.http2.max_decoder_header_table_size -- Informs the remote endpoint of the maximum size of the header compression table used to decode header blocks, in octets. If zero, the default value of 4096 is used. + max_decoder_header_table_size: 4096 + # @schema {"name": "defaults.server_config.servers.rest.server.http.http2.max_encoder_header_table_size", "type": "integer"} + # defaults.server_config.servers.rest.server.http.http2.max_encoder_header_table_size -- An upper limit for the header compression table used for encoding request headers. + max_encoder_header_table_size: 4096 + # @schema {"name": "defaults.server_config.servers.rest.server.http.http2.max_read_frame_size", "type": "integer"} + # defaults.server_config.servers.rest.server.http.http2.max_read_frame_size -- The largest frame this server is willing to read. + max_read_frame_size: 0 + # @schema {"name": "defaults.server_config.servers.rest.server.socket_option", "type": "object", "anchor": "socket_option"} + socket_option: + # @schema {"name": "defaults.server_config.servers.rest.server.socket_option.reuse_port", "type": "boolean"} + # defaults.server_config.servers.rest.server.socket_option.reuse_port -- server listen socket option for reuse_port functionality + reuse_port: true + # @schema {"name": "defaults.server_config.servers.rest.server.socket_option.reuse_addr", "type": "boolean"} + # defaults.server_config.servers.rest.server.socket_option.reuse_addr -- server listen socket option for reuse_addr functionality + reuse_addr: true + # @schema {"name": "defaults.server_config.servers.rest.server.socket_option.tcp_fast_open", "type": "boolean"} + # defaults.server_config.servers.rest.server.socket_option.tcp_fast_open -- server listen socket option for tcp_fast_open functionality + tcp_fast_open: false + # @schema {"name": "defaults.server_config.servers.rest.server.socket_option.tcp_no_delay", "type": "boolean"} + # defaults.server_config.servers.rest.server.socket_option.tcp_no_delay -- server listen socket option for tcp_no_delay functionality + tcp_no_delay: false + # @schema {"name": "defaults.server_config.servers.rest.server.socket_option.tcp_cork", "type": "boolean"} + # defaults.server_config.servers.rest.server.socket_option.tcp_cork -- server listen socket option for tcp_cork functionality + tcp_cork: false + # @schema {"name": "defaults.server_config.servers.rest.server.socket_option.tcp_quick_ack", "type": "boolean"} + # defaults.server_config.servers.rest.server.socket_option.tcp_quick_ack -- server listen socket option for tcp_quick_ack functionality + tcp_quick_ack: false + # @schema {"name": "defaults.server_config.servers.rest.server.socket_option.tcp_defer_accept", "type": "boolean"} + # defaults.server_config.servers.rest.server.socket_option.tcp_defer_accept -- server listen socket option for tcp_defer_accept functionality + tcp_defer_accept: false + # @schema {"name": "defaults.server_config.servers.rest.server.socket_option.ip_transparent", "type": "boolean"} + # defaults.server_config.servers.rest.server.socket_option.ip_transparent -- server listen socket option for ip_transparent functionality + ip_transparent: false + # @schema {"name": "defaults.server_config.servers.rest.server.socket_option.ip_recover_destination_addr", "type": "boolean"} + # defaults.server_config.servers.rest.server.socket_option.ip_recover_destination_addr -- server listen socket option for ip_recover_destination_addr functionality + ip_recover_destination_addr: false + # @schema {"name": "defaults.server_config.servers.grpc", "type": "object"} + grpc: + # @schema {"name": "defaults.server_config.servers.grpc.enabled", "type": "boolean"} + # defaults.server_config.servers.grpc.enabled -- gRPC server enabled + enabled: true + # @schema {"name": "defaults.server_config.servers.grpc.host", "type": "string"} + # defaults.server_config.servers.grpc.host -- gRPC server host + host: 0.0.0.0 + # @schema {"name": "defaults.server_config.servers.grpc.port", "type": "integer", "minimum": 0, "maximum": 65535} + # defaults.server_config.servers.grpc.port -- gRPC server port + port: 8081 + # @schema {"name": "defaults.server_config.servers.grpc.servicePort", "type": "integer", "minimum": 0, "maximum": 65535} + # defaults.server_config.servers.grpc.servicePort -- gRPC server service port + servicePort: 8081 + # @schema {"name": "defaults.server_config.servers.grpc.server", "type": "object", "anchor": "grpc_server"} + server: + # @schema {"name": "defaults.server_config.servers.grpc.server.mode", "type": "string"} + # defaults.server_config.servers.grpc.server.mode -- gRPC server server mode + mode: GRPC + # @schema {"name": "defaults.server_config.servers.grpc.server.probe_wait_time", "type": "string"} + # defaults.server_config.servers.grpc.server.probe_wait_time -- gRPC server probe wait time + probe_wait_time: "3s" + # @schema {"name": "defaults.server_config.servers.grpc.server.network", "type": "string", "enum": ["tcp", "tcp4", "tcp6", "udp", "udp4", "udp6", "unix", "unixgram", "unixpacket"]} + # defaults.server_config.servers.grpc.server.network -- network mode + network: tcp + # @schema {"name": "defaults.server_config.servers.grpc.server.socket_path", "type": "string"} + # defaults.server_config.servers.grpc.server.socket_path -- server socket_path + socket_path: "" + # @schema {"name": "defaults.server_config.servers.grpc.server.restart", "type": "boolean"} + # defaults.server_config.servers.grpc.server.restart -- This configuration enables automatic restart of the same configured server when it becomes unhealthy. + restart: true + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc", "type": "object", "anchor": "grpc_server_config"} + grpc: + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.bidirectional_stream_concurrency", "type": "integer"} + # defaults.server_config.servers.grpc.server.grpc.bidirectional_stream_concurrency -- gRPC server bidirectional stream concurrency + bidirectional_stream_concurrency: 20 + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.max_receive_message_size", "type": "integer"} + # defaults.server_config.servers.grpc.server.grpc.max_receive_message_size -- gRPC server max receive message size + max_receive_message_size: 0 + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.max_send_message_size", "type": "integer"} + # defaults.server_config.servers.grpc.server.grpc.max_send_message_size -- gRPC server max send message size + max_send_message_size: 0 + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.initial_window_size", "type": "integer"} + # defaults.server_config.servers.grpc.server.grpc.initial_window_size -- gRPC server initial window size + initial_window_size: 1048576 + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.initial_conn_window_size", "type": "integer"} + # defaults.server_config.servers.grpc.server.grpc.initial_conn_window_size -- gRPC server initial connection window size + initial_conn_window_size: 2097152 + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.keepalive", "type": "object"} + keepalive: + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.keepalive.max_conn_idle", "type": "string"} + # defaults.server_config.servers.grpc.server.grpc.keepalive.max_conn_idle -- gRPC server keep alive max connection idle + max_conn_idle: "" + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.keepalive.max_conn_age", "type": "string"} + # defaults.server_config.servers.grpc.server.grpc.keepalive.max_conn_age -- gRPC server keep alive max connection age + max_conn_age: "" + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.keepalive.max_conn_age_grace", "type": "string"} + # defaults.server_config.servers.grpc.server.grpc.keepalive.max_conn_age_grace -- gRPC server keep alive max connection age grace + max_conn_age_grace: "" + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.keepalive.time", "type": "string"} + # defaults.server_config.servers.grpc.server.grpc.keepalive.time -- gRPC server keep alive time + time: "3h" + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.keepalive.timeout", "type": "string"} + # defaults.server_config.servers.grpc.server.grpc.keepalive.timeout -- gRPC server keep alive timeout + timeout: "60s" + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.keepalive.min_time", "type": "string"} + # defaults.server_config.servers.grpc.server.grpc.keepalive.min_time -- gRPC server keep alive min_time + min_time: "10m" + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.keepalive.permit_without_stream", "type": "boolean"} + # defaults.server_config.servers.grpc.server.grpc.keepalive.permit_without_stream -- gRPC server keep alive permit_without_stream + permit_without_stream: false + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.write_buffer_size", "type": "integer"} + # defaults.server_config.servers.grpc.server.grpc.write_buffer_size -- gRPC server write buffer size + write_buffer_size: 0 + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.read_buffer_size", "type": "integer"} + # defaults.server_config.servers.grpc.server.grpc.read_buffer_size -- gRPC server read buffer size + read_buffer_size: 0 + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.connection_timeout", "type": "string"} + # defaults.server_config.servers.grpc.server.grpc.connection_timeout -- gRPC server connection timeout + connection_timeout: "" + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.max_header_list_size", "type": "integer"} + # defaults.server_config.servers.grpc.server.grpc.max_header_list_size -- gRPC server max header list size + max_header_list_size: 0 + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.header_table_size", "type": "integer"} + # defaults.server_config.servers.grpc.server.grpc.header_table_size -- gRPC server header table size + header_table_size: 0 + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.max_concurrent_streams", "type": "integer"} + # defaults.server_config.servers.grpc.server.grpc.max_concurrent_streams -- gRPC server max concurrent stream size + max_concurrent_streams: 0 + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.num_stream_workers", "type": "integer"} + # defaults.server_config.servers.grpc.server.grpc.num_stream_workers -- gRPC server number of stream workers + num_stream_workers: 0 + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.interceptors", "type": "array", "items": {"type": "string", "enum": ["RecoverInterceptor", "AccessLogInterceptor", "TraceInterceptor", "MetricInterceptor"]}} + # defaults.server_config.servers.grpc.server.grpc.interceptors -- gRPC server interceptors + interceptors: + - "RecoverInterceptor" + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.shared_write_buffer", "type": "boolean"} + # defaults.server_config.servers.grpc.server.grpc.shared_write_buffer -- gRPC server write buffer sharing option + shared_write_buffer: true + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.wait_for_handlers", "type": "boolean"} + # defaults.server_config.servers.grpc.server.grpc.wait_for_handlers -- gRPC server wait for handlers when stop + wait_for_handlers: true + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.enable_reflection", "type": "boolean"} + # defaults.server_config.servers.grpc.server.grpc.enable_reflection -- gRPC server reflection option + enable_reflection: true + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.enable_admin", "type": "boolean"} + # defaults.server_config.servers.grpc.server.grpc.enable_admin -- gRPC server admin option + enable_admin: false + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.enable_channelz", "type": "boolean"} + # defaults.server_config.servers.grpc.server.grpc.enable_channelz -- gRPC server channelz option + enable_channelz: false + # @schema {"name": "defaults.server_config.servers.grpc.server.socket_option", "alias": "socket_option"} + socket_option: + # defaults.server_config.servers.grpc.server.socket_option.reuse_port -- server listen socket option for reuse_port functionality + reuse_port: true + # defaults.server_config.servers.grpc.server.socket_option.reuse_addr -- server listen socket option for reuse_addr functionality + reuse_addr: true + # defaults.server_config.servers.grpc.server.socket_option.tcp_fast_open -- server listen socket option for tcp_fast_open functionality + tcp_fast_open: false + # defaults.server_config.servers.grpc.server.socket_option.tcp_no_delay -- server listen socket option for tcp_no_delay functionality + tcp_no_delay: false + # defaults.server_config.servers.grpc.server.socket_option.tcp_cork -- server listen socket option for tcp_cork functionality + tcp_cork: false + # defaults.server_config.servers.grpc.server.socket_option.tcp_quick_ack -- server listen socket option for tcp_quick_ack functionality + tcp_quick_ack: false + # defaults.server_config.servers.grpc.server.socket_option.tcp_defer_accept -- server listen socket option for tcp_defer_accept functionality + tcp_defer_accept: false + # defaults.server_config.servers.grpc.server.socket_option.ip_transparent -- server listen socket option for ip_transparent functionality + ip_transparent: false + # defaults.server_config.servers.grpc.server.socket_option.ip_recover_destination_addr -- server listen socket option for ip_recover_destination_addr functionality + ip_recover_destination_addr: false + # @schema {"name": "defaults.server_config.healths", "type": "object"} + healths: + # @schema {"name": "defaults.server_config.healths.startup", "type": "object"} + startup: + # @schema {"name": "defaults.server_config.healths.startup.enabled", "type": "boolean"} + # defaults.server_config.healths.startup.enabled -- startup server enabled + enabled: true + # @schema {"name": "defaults.server_config.healths.startup.port", "type": "integer", "minimum": 0, "maximum": 65535} + # defaults.server_config.healths.startup.port -- startup server port + port: 3000 + # @schema {"name": "defaults.server_config.healths.startup.startupProbe", "type": "object"} + startupProbe: + # @schema {"name": "defaults.server_config.healths.startup.startupProbe.httpGet", "type": "object"} + httpGet: + # @schema {"name": "defaults.server_config.healths.startup.startupProbe.httpGet.path", "type": "string"} + # defaults.server_config.healths.startup.startupProbe.httpGet.path -- startup probe path + path: /liveness + # @schema {"name": "defaults.server_config.healths.startup.startupProbe.httpGet.port", "type": "string"} + # defaults.server_config.healths.startup.startupProbe.httpGet.port -- startup probe port + port: liveness + # @schema {"name": "defaults.server_config.healths.startup.startupProbe.httpGet.scheme", "type": "string"} + # defaults.server_config.healths.startup.startupProbe.httpGet.scheme -- startup probe scheme + scheme: HTTP + # @schema {"name": "defaults.server_config.healths.startup.startupProbe.initialDelaySeconds", "type": "integer"} + # defaults.server_config.healths.startup.startupProbe.initialDelaySeconds -- startup probe initial delay seconds + initialDelaySeconds: 5 + # @schema {"name": "defaults.server_config.healths.startup.startupProbe.timeoutSeconds", "type": "integer"} + # defaults.server_config.healths.startup.startupProbe.timeoutSeconds -- startup probe timeout seconds + timeoutSeconds: 2 + # @schema {"name": "defaults.server_config.healths.startup.startupProbe.successThreshold", "type": "integer"} + # defaults.server_config.healths.startup.startupProbe.successThreshold -- startup probe success threshold + successThreshold: 1 + # @schema {"name": "defaults.server_config.healths.startup.startupProbe.failureThreshold", "type": "integer"} + # defaults.server_config.healths.startup.startupProbe.failureThreshold -- startup probe failure threshold + failureThreshold: 30 + # @schema {"name": "defaults.server_config.healths.startup.startupProbe.periodSeconds", "type": "integer"} + # defaults.server_config.healths.startup.startupProbe.periodSeconds -- startup probe period seconds + periodSeconds: 5 + # @schema {"name": "defaults.server_config.healths.liveness", "type": "object"} + liveness: + # @schema {"name": "defaults.server_config.healths.liveness.enabled", "type": "boolean"} + # defaults.server_config.healths.liveness.enabled -- liveness server enabled + enabled: true + # @schema {"name": "defaults.server_config.healths.liveness.host", "type": "string"} + # defaults.server_config.healths.liveness.host -- liveness server host + host: 0.0.0.0 + # @schema {"name": "defaults.server_config.healths.liveness.port", "type": "integer", "minimum": 0, "maximum": 65535} + # defaults.server_config.healths.liveness.port -- liveness server port + port: 3000 + # @schema {"name": "defaults.server_config.healths.liveness.servicePort", "type": "integer", "minimum": 0, "maximum": 65535} + # defaults.server_config.healths.liveness.servicePort -- liveness server service port + servicePort: 3000 + # @schema {"name": "defaults.server_config.healths.liveness.livenessProbe", "type": "object"} + livenessProbe: + # @schema {"name": "defaults.server_config.healths.liveness.livenessProbe.httpGet", "type": "object"} + httpGet: + # @schema {"name": "defaults.server_config.healths.liveness.livenessProbe.httpGet.path", "type": "string"} + # defaults.server_config.healths.liveness.livenessProbe.httpGet.path -- liveness probe path + path: /liveness + # @schema {"name": "defaults.server_config.healths.liveness.livenessProbe.httpGet.port", "type": "string"} + # defaults.server_config.healths.liveness.livenessProbe.httpGet.port -- liveness probe port + port: liveness + # @schema {"name": "defaults.server_config.healths.liveness.livenessProbe.httpGet.scheme", "type": "string"} + # defaults.server_config.healths.liveness.livenessProbe.httpGet.scheme -- liveness probe scheme + scheme: HTTP + # @schema {"name": "defaults.server_config.healths.liveness.livenessProbe.initialDelaySeconds", "type": "integer"} + # defaults.server_config.healths.liveness.livenessProbe.initialDelaySeconds -- liveness probe initial delay seconds + initialDelaySeconds: 5 + # @schema {"name": "defaults.server_config.healths.liveness.livenessProbe.timeoutSeconds", "type": "integer"} + # defaults.server_config.healths.liveness.livenessProbe.timeoutSeconds -- liveness probe timeout seconds + timeoutSeconds: 2 + # @schema {"name": "defaults.server_config.healths.liveness.livenessProbe.successThreshold", "type": "integer"} + # defaults.server_config.healths.liveness.livenessProbe.successThreshold -- liveness probe success threshold + successThreshold: 1 + # @schema {"name": "defaults.server_config.healths.liveness.livenessProbe.failureThreshold", "type": "integer"} + # defaults.server_config.healths.liveness.livenessProbe.failureThreshold -- liveness probe failure threshold + failureThreshold: 2 + # @schema {"name": "defaults.server_config.healths.liveness.livenessProbe.periodSeconds", "type": "integer"} + # defaults.server_config.healths.liveness.livenessProbe.periodSeconds -- liveness probe period seconds + periodSeconds: 3 + # @schema {"name": "defaults.server_config.healths.liveness.server", "type": "object", "alias": "rest_server"} + server: + # @schema {"name": "defaults.server_config.healths.liveness.server.mode", "type": "string"} + # defaults.server_config.healths.liveness.server.mode -- liveness server mode + mode: REST + # @schema {"name": "defaults.server_config.healths.liveness.server.probe_wait_time", "type": "string"} + # defaults.server_config.healths.liveness.server.probe_wait_time -- liveness server probe wait time + probe_wait_time: "3s" + # @schema {"name": "defaults.server_config.healths.liveness.server.network", "type": "string", "enum": ["tcp", "tcp4", "tcp6", "udp", "udp4", "udp6", "unix", "unixgram", "unixpacket"]} + # defaults.server_config.healths.liveness.server.network -- network mode + network: tcp + # @schema {"name": "defaults.server_config.healths.liveness.server.socket_path", "type": "string"} + # defaults.server_config.healths.liveness.server.socket_path -- server socket_path + socket_path: "" + # @schema {"name": "defaults.server_config.healths.liveness.server.restart", "type": "boolean"} + # defaults.server_config.healths.liveness.server.restart -- This configuration enables automatic restart of the same configured server when it becomes unhealthy. + restart: true + # @schema {"name": "defaults.server_config.healths.liveness.server.http", "type": "object", "alias": "http_server_config"} + http: + # @schema {"name": "defaults.server_config.healths.liveness.server.http.shutdown_duration", "type": "string"} + # defaults.server_config.healths.liveness.server.http.shutdown_duration -- liveness server shutdown duration + shutdown_duration: "5s" + # @schema {"name": "defaults.server_config.healths.liveness.server.http.handler_timeout", "type": "string"} + # defaults.server_config.healths.liveness.server.http.handler_timeout -- liveness server handler timeout + handler_timeout: "" + # @schema {"name": "defaults.server_config.healths.liveness.server.http.idle_timeout", "type": "string"} + # defaults.server_config.healths.liveness.server.http.idle_timeout -- liveness server idle timeout + idle_timeout: "" + # @schema {"name": "defaults.server_config.healths.liveness.server.http.read_header_timeout", "type": "string"} + # defaults.server_config.healths.liveness.server.http.read_header_timeout -- liveness server read header timeout + read_header_timeout: "" + # @schema {"name": "defaults.server_config.healths.liveness.server.http.read_timeout", "type": "string"} + # defaults.server_config.healths.liveness.server.http.read_timeout -- liveness server read timeout + read_timeout: "" + # @schema {"name": "defaults.server_config.healths.liveness.server.http.write_timeout", "type": "string"} + # defaults.server_config.healths.liveness.server.http.write_timeout -- liveness server write timeout + write_timeout: "" + # @schema {"name": "defaults.server_config.healths.liveness.server.http.http2", "type": "object", "alias": "http2_server_config"} + http2: + # defaults.server_config.healths.liveness.server.http.http2.enabled -- HTTP2 server enabled + enabled: false + # defaults.server_config.healths.liveness.server.http.http2.handler_limit -- Limits the number of http.Handler ServeHTTP goroutines which may run at a time over all connections. Negative or zero no limit. + handler_limit: 0 + # defaults.server_config.healths.liveness.server.http.http2.permit_prohibited_cipher_suites -- if true, permits the use of cipher suites prohibited by the HTTP/2 spec. + permit_prohibited_cipher_suites: true + # defaults.server_config.healths.liveness.server.http.http2.max_upload_buffer_per_connection -- The size of the initial flow control window for each connections. + max_upload_buffer_per_connection: 0 + # defaults.server_config.healths.liveness.server.http.http2.max_upload_buffer_per_stream -- The size of the initial flow control window for each streams. + max_upload_buffer_per_stream: 0 + # defaults.server_config.healths.liveness.server.http.http2.max_concurrent_streams -- The number of concurrent streams that each client may have open at a time. + max_concurrent_streams: 0 + # defaults.server_config.healths.liveness.server.http.http2.max_decoder_header_table_size -- Informs the remote endpoint of the maximum size of the header compression table used to decode header blocks, in octets. If zero, the default value of 4096 is used. + max_decoder_header_table_size: 4096 + # defaults.server_config.healths.liveness.server.http.http2.max_encoder_header_table_size -- An upper limit for the header compression table used for encoding request headers. + max_encoder_header_table_size: 4096 + # defaults.server_config.healths.liveness.server.http.http2.max_read_frame_size -- The largest frame this server is willing to read. + max_read_frame_size: 0 + # @schema {"name": "defaults.server_config.healths.liveness.server.socket_option", "alias": "socket_option"} + socket_option: + # defaults.server_config.healths.liveness.server.socket_option.reuse_port -- server listen socket option for reuse_port functionality + reuse_port: true + # defaults.server_config.healths.liveness.server.socket_option.reuse_addr -- server listen socket option for reuse_addr functionality + reuse_addr: true + # defaults.server_config.healths.liveness.server.socket_option.tcp_fast_open -- server listen socket option for tcp_fast_open functionality + tcp_fast_open: true + # defaults.server_config.healths.liveness.server.socket_option.tcp_no_delay -- server listen socket option for tcp_no_delay functionality + tcp_no_delay: true + # defaults.server_config.healths.liveness.server.socket_option.tcp_cork -- server listen socket option for tcp_cork functionality + tcp_cork: false + # defaults.server_config.healths.liveness.server.socket_option.tcp_quick_ack -- server listen socket option for tcp_quick_ack functionality + tcp_quick_ack: true + # defaults.server_config.healths.liveness.server.socket_option.tcp_defer_accept -- server listen socket option for tcp_defer_accept functionality + tcp_defer_accept: false + # defaults.server_config.healths.liveness.server.socket_option.ip_transparent -- server listen socket option for ip_transparent functionality + ip_transparent: false + # defaults.server_config.healths.liveness.server.socket_option.ip_recover_destination_addr -- server listen socket option for ip_recover_destination_addr functionality + ip_recover_destination_addr: false + # @schema {"name": "defaults.server_config.healths.readiness", "type": "object"} + readiness: + # @schema {"name": "defaults.server_config.healths.readiness.enabled", "type": "boolean"} + # defaults.server_config.healths.readiness.enabled -- readiness server enabled + enabled: true + # @schema {"name": "defaults.server_config.healths.readiness.host", "type": "string"} + # defaults.server_config.healths.readiness.host -- readiness server host + host: 0.0.0.0 + # @schema {"name": "defaults.server_config.healths.readiness.port", "type": "integer", "minimum": 0, "maximum": 65535} + # defaults.server_config.healths.readiness.port -- readiness server port + port: 3001 + # @schema {"name": "defaults.server_config.healths.readiness.servicePort", "type": "integer", "minimum": 0, "maximum": 65535} + # defaults.server_config.healths.readiness.servicePort -- readiness server service port + servicePort: 3001 + # @schema {"name": "defaults.server_config.healths.readiness.readinessProbe", "type": "object"} + readinessProbe: + # @schema {"name": "defaults.server_config.healths.readiness.readinessProbe.httpGet", "type": "object"} + httpGet: + # @schema {"name": "defaults.server_config.healths.readiness.readinessProbe.httpGet.path", "type": "string"} + # defaults.server_config.healths.readiness.readinessProbe.httpGet.path -- readiness probe path + path: /readiness + # @schema {"name": "defaults.server_config.healths.readiness.readinessProbe.httpGet.port", "type": "string"} + # defaults.server_config.healths.readiness.readinessProbe.httpGet.port -- readiness probe port + port: readiness + # @schema {"name": "defaults.server_config.healths.readiness.readinessProbe.httpGet.scheme", "type": "string"} + # defaults.server_config.healths.readiness.readinessProbe.httpGet.scheme -- readiness probe scheme + scheme: HTTP + # @schema {"name": "defaults.server_config.healths.readiness.readinessProbe.initialDelaySeconds", "type": "integer"} + # defaults.server_config.healths.readiness.readinessProbe.initialDelaySeconds -- readiness probe initial delay seconds + initialDelaySeconds: 10 + # @schema {"name": "defaults.server_config.healths.readiness.readinessProbe.timeoutSeconds", "type": "integer"} + # defaults.server_config.healths.readiness.readinessProbe.timeoutSeconds -- readiness probe timeout seconds + timeoutSeconds: 2 + # @schema {"name": "defaults.server_config.healths.readiness.readinessProbe.successThreshold", "type": "integer"} + # defaults.server_config.healths.readiness.readinessProbe.successThreshold -- readiness probe success threshold + successThreshold: 1 + # @schema {"name": "defaults.server_config.healths.readiness.readinessProbe.failureThreshold", "type": "integer"} + # defaults.server_config.healths.readiness.readinessProbe.failureThreshold -- readiness probe failure threshold + failureThreshold: 2 + # @schema {"name": "defaults.server_config.healths.readiness.readinessProbe.periodSeconds", "type": "integer"} + # defaults.server_config.healths.readiness.readinessProbe.periodSeconds -- readiness probe period seconds + periodSeconds: 3 + # @schema {"name": "defaults.server_config.healths.readiness.server", "type": "object", "alias": "rest_server"} + server: + # @schema {"name": "defaults.server_config.healths.readiness.server.mode", "type": "string"} + # defaults.server_config.healths.readiness.server.mode -- readiness server mode + mode: REST + # @schema {"name": "defaults.server_config.healths.readiness.server.probe_wait_time", "type": "string"} + # defaults.server_config.healths.readiness.server.probe_wait_time -- readiness server probe wait time + probe_wait_time: "3s" + # @schema {"name": "defaults.server_config.healths.readiness.server.network", "type": "string", "enum": ["tcp", "tcp4", "tcp6", "udp", "udp4", "udp6", "unix", "unixgram", "unixpacket"]} + # defaults.server_config.healths.readiness.server.network -- network mode + network: tcp + # @schema {"name": "defaults.server_config.healths.readiness.server.socket_path", "type": "string"} + # defaults.server_config.healths.readiness.server.socket_path -- server socket_path + socket_path: "" + # @schema {"name": "defaults.server_config.healths.readiness.server.restart", "type": "boolean"} + # defaults.server_config.healths.readiness.server.restart -- This configuration enables automatic restart of the same configured server when it becomes unhealthy. + restart: true + # @schema {"name": "defaults.server_config.healths.readiness.server.http", "type": "object", "alias": "http_server_config"} + http: + # @schema {"name": "defaults.server_config.healths.readiness.server.http.shutdown_duration", "type": "string"} + # defaults.server_config.healths.readiness.server.http.shutdown_duration -- readiness server shutdown duration + shutdown_duration: "0s" + # @schema {"name": "defaults.server_config.healths.readiness.server.http.handler_timeout", "type": "string"} + # defaults.server_config.healths.readiness.server.http.handler_timeout -- readiness server handler timeout + handler_timeout: "" + # @schema {"name": "defaults.server_config.healths.readiness.server.http.idle_timeout", "type": "string"} + # defaults.server_config.healths.readiness.server.http.idle_timeout -- readiness server idle timeout + idle_timeout: "" + # @schema {"name": "defaults.server_config.healths.readiness.server.http.read_header_timeout", "type": "string"} + # defaults.server_config.healths.readiness.server.http.read_header_timeout -- readiness server read header timeout + read_header_timeout: "" + # @schema {"name": "defaults.server_config.healths.readiness.server.http.read_timeout", "type": "string"} + # defaults.server_config.healths.readiness.server.http.read_timeout -- readiness server read timeout + read_timeout: "" + # @schema {"name": "defaults.server_config.healths.readiness.server.http.write_timeout", "type": "string"} + # defaults.server_config.healths.readiness.server.http.write_timeout -- readiness server write timeout + write_timeout: "" + # @schema {"name": "defaults.server_config.healths.readiness.server.http.http2", "type": "object", "alias": "http2_server_config"} + http2: + # defaults.server_config.healths.readiness.server.http.http2.enabled -- HTTP2 server enabled + enabled: false + # defaults.server_config.healths.readiness.server.http.http2.handler_limit -- Limits the number of http.Handler ServeHTTP goroutines which may run at a time over all connections. Negative or zero no limit. + handler_limit: 0 + # defaults.server_config.healths.readiness.server.http.http2.permit_prohibited_cipher_suites -- if true, permits the use of cipher suites prohibited by the HTTP/2 spec. + permit_prohibited_cipher_suites: true + # defaults.server_config.healths.readiness.server.http.http2.max_upload_buffer_per_connection -- The size of the initial flow control window for each connections. + max_upload_buffer_per_connection: 0 + # defaults.server_config.healths.readiness.server.http.http2.max_upload_buffer_per_stream -- The size of the initial flow control window for each streams. + max_upload_buffer_per_stream: 0 + # defaults.server_config.healths.readiness.server.http.http2.max_concurrent_streams -- The number of concurrent streams that each client may have open at a time. + max_concurrent_streams: 0 + # defaults.server_config.healths.readiness.server.http.http2.max_decoder_header_table_size -- Informs the remote endpoint of the maximum size of the header compression table used to decode header blocks, in octets. If zero, the default value of 4096 is used. + max_decoder_header_table_size: 4096 + # defaults.server_config.healths.readiness.server.http.http2.max_encoder_header_table_size -- An upper limit for the header compression table used for encoding request headers. + max_encoder_header_table_size: 4096 + # defaults.server_config.healths.readiness.server.http.http2.max_read_frame_size -- The largest frame this server is willing to read. + max_read_frame_size: 0 + # @schema {"name": "defaults.server_config.healths.readiness.server.socket_option", "alias": "socket_option"} + socket_option: + # defaults.server_config.healths.readiness.server.socket_option.reuse_port -- server listen socket option for reuse_port functionality + reuse_port: true + # defaults.server_config.healths.readiness.server.socket_option.reuse_addr -- server listen socket option for reuse_addr functionality + reuse_addr: true + # defaults.server_config.healths.readiness.server.socket_option.tcp_fast_open -- server listen socket option for tcp_fast_open functionality + tcp_fast_open: true + # defaults.server_config.healths.readiness.server.socket_option.tcp_no_delay -- server listen socket option for tcp_no_delay functionality + tcp_no_delay: true + # defaults.server_config.healths.readiness.server.socket_option.tcp_cork -- server listen socket option for tcp_cork functionality + tcp_cork: false + # defaults.server_config.healths.readiness.server.socket_option.tcp_quick_ack -- server listen socket option for tcp_quick_ack functionality + tcp_quick_ack: true + # defaults.server_config.healths.readiness.server.socket_option.tcp_defer_accept -- server listen socket option for tcp_defer_accept functionality + tcp_defer_accept: false + # defaults.server_config.healths.readiness.server.socket_option.ip_transparent -- server listen socket option for ip_transparent functionality + ip_transparent: false + # defaults.server_config.healths.readiness.server.socket_option.ip_recover_destination_addr -- server listen socket option for ip_recover_destination_addr functionality + ip_recover_destination_addr: false + # @schema {"name": "defaults.server_config.metrics", "type": "object"} + metrics: + # @schema {"name": "defaults.server_config.metrics.pprof", "type": "object"} + pprof: + # @schema {"name": "defaults.server_config.metrics.pprof.enabled", "type": "boolean"} + # defaults.server_config.metrics.pprof.enabled -- pprof server enabled + enabled: false + # @schema {"name": "defaults.server_config.metrics.pprof.host", "type": "string"} + # defaults.server_config.metrics.pprof.host -- pprof server host + host: 0.0.0.0 + # @schema {"name": "defaults.server_config.metrics.pprof.port", "type": "integer", "minimum": 0, "maximum": 65535} + # defaults.server_config.metrics.pprof.port -- pprof server port + port: 6060 + # @schema {"name": "defaults.server_config.metrics.pprof.servicePort", "type": "integer", "minimum": 0, "maximum": 65535} + # defaults.server_config.metrics.pprof.servicePort -- pprof server service port + servicePort: 6060 + # @schema {"name": "defaults.server_config.metrics.pprof.server", "type": "object", "alias": "rest_server"} + server: + # @schema {"name": "defaults.server_config.metrics.pprof.server.mode", "type": "string"} + # defaults.server_config.metrics.pprof.server.mode -- pprof server mode + mode: REST + # @schema {"name": "defaults.server_config.metrics.pprof.server.probe_wait_time", "type": "string"} + # defaults.server_config.metrics.pprof.server.probe_wait_time -- pprof server probe wait time + probe_wait_time: 3s + # @schema {"name": "defaults.server_config.metrics.pprof.server.network", "type": "string", "enum": ["tcp", "tcp4", "tcp6", "udp", "udp4", "udp6", "unix", "unixgram", "unixpacket"]} + # defaults.server_config.metrics.pprof.server.network -- network mode + network: tcp + # @schema {"name": "defaults.server_config.metrics.pprof.server.socket_path", "type": "string"} + # defaults.server_config.metrics.pprof.server.socket_path -- server socket_path + socket_path: "" + # @schema {"name": "defaults.server_config.metrics.pprof.server.restart", "type": "boolean"} + # defaults.server_config.metrics.pprof.server.restart -- This configuration enables automatic restart of the same configured server when it becomes unhealthy. + restart: true + # @schema {"name": "defaults.server_config.metrics.pprof.server.http", "type": "object", "alias": "http_server_config"} + http: + # @schema {"name": "defaults.server_config.metrics.pprof.server.http.shutdown_duration", "type": "string"} + # defaults.server_config.metrics.pprof.server.http.shutdown_duration -- pprof server shutdown duration + shutdown_duration: 5s + # @schema {"name": "defaults.server_config.metrics.pprof.server.http.handler_timeout", "type": "string"} + # defaults.server_config.metrics.pprof.server.http.handler_timeout -- pprof server handler timeout + handler_timeout: 5s + # @schema {"name": "defaults.server_config.metrics.pprof.server.http.idle_timeout", "type": "string"} + # defaults.server_config.metrics.pprof.server.http.idle_timeout -- pprof server idle timeout + idle_timeout: 2s + # @schema {"name": "defaults.server_config.metrics.pprof.server.http.read_header_timeout", "type": "string"} + # defaults.server_config.metrics.pprof.server.http.read_header_timeout -- pprof server read header timeout + read_header_timeout: 1s + # @schema {"name": "defaults.server_config.metrics.pprof.server.http.read_timeout", "type": "string"} + # defaults.server_config.metrics.pprof.server.http.read_timeout -- pprof server read timeout + read_timeout: 1s + # @schema {"name": "defaults.server_config.metrics.pprof.server.http.write_timeout", "type": "string"} + # defaults.server_config.metrics.pprof.server.http.write_timeout -- pprof server write timeout + write_timeout: 1m + # @schema {"name": "defaults.server_config.metrics.pprof.server.http.http2", "type": "object", "alias": "http2_server_config"} + http2: + # defaults.server_config.metrics.pprof.server.http.http2.enabled -- HTTP2 server enabled + enabled: false + # defaults.server_config.metrics.pprof.server.http.http2.handler_limit -- Limits the number of http.Handler ServeHTTP goroutines which may run at a time over all connections. Negative or zero no limit. + handler_limit: 0 + # defaults.server_config.metrics.pprof.server.http.http2.permit_prohibited_cipher_suites -- if true, permits the use of cipher suites prohibited by the HTTP/2 spec. + permit_prohibited_cipher_suites: true + # defaults.server_config.metrics.pprof.server.http.http2.max_upload_buffer_per_connection -- The size of the initial flow control window for each connections. + max_upload_buffer_per_connection: 0 + # defaults.server_config.metrics.pprof.server.http.http2.max_upload_buffer_per_stream -- The size of the initial flow control window for each streams. + max_upload_buffer_per_stream: 0 + # defaults.server_config.metrics.pprof.server.http.http2.max_concurrent_streams -- The number of concurrent streams that each client may have open at a time. + max_concurrent_streams: 0 + # defaults.server_config.metrics.pprof.server.http.http2.max_decoder_header_table_size -- Informs the remote endpoint of the maximum size of the header compression table used to decode header blocks, in octets. If zero, the default value of 4096 is used. + max_decoder_header_table_size: 4096 + # defaults.server_config.metrics.pprof.server.http.http2.max_encoder_header_table_size -- An upper limit for the header compression table used for encoding request headers. + max_encoder_header_table_size: 4096 + # defaults.server_config.metrics.pprof.server.http.http2.max_read_frame_size -- The largest frame this server is willing to read. + max_read_frame_size: 0 + # @schema {"name": "defaults.server_config.metrics.pprof.server.socket_option", "alias": "socket_option"} + socket_option: + # defaults.server_config.metrics.pprof.server.socket_option.reuse_port -- server listen socket option for reuse_port functionality + reuse_port: true + # defaults.server_config.metrics.pprof.server.socket_option.reuse_addr -- server listen socket option for reuse_addr functionality + reuse_addr: true + # defaults.server_config.metrics.pprof.server.socket_option.tcp_fast_open -- server listen socket option for tcp_fast_open functionality + tcp_fast_open: false + # defaults.server_config.metrics.pprof.server.socket_option.tcp_no_delay -- server listen socket option for tcp_no_delay functionality + tcp_no_delay: false + # defaults.server_config.metrics.pprof.server.socket_option.tcp_cork -- server listen socket option for tcp_cork functionality + tcp_cork: true + # defaults.server_config.metrics.pprof.server.socket_option.tcp_quick_ack -- server listen socket option for tcp_quick_ack functionality + tcp_quick_ack: false + # defaults.server_config.metrics.pprof.server.socket_option.tcp_defer_accept -- server listen socket option for tcp_defer_accept functionality + tcp_defer_accept: false + # defaults.server_config.metrics.pprof.server.socket_option.ip_transparent -- server listen socket option for ip_transparent functionality + ip_transparent: false + # defaults.server_config.metrics.pprof.server.socket_option.ip_recover_destination_addr -- server listen socket option for ip_recover_destination_addr functionality + ip_recover_destination_addr: false + # @schema {"name": "defaults.server_config.full_shutdown_duration", "type": "string"} + # defaults.server_config.full_shutdown_duration -- server full shutdown duration + full_shutdown_duration: 600s + # @schema {"name": "defaults.server_config.tls", "type": "object", "anchor": "tls"} + tls: + # @schema {"name": "defaults.server_config.tls.enabled", "type": "boolean"} + # defaults.server_config.tls.enabled -- TLS enabled + enabled: false + # @schema {"name": "defaults.server_config.tls.cert", "type": "string"} + # defaults.server_config.tls.cert -- TLS cert path + cert: /path/to/cert + # @schema {"name": "defaults.server_config.tls.key", "type": "string"} + # defaults.server_config.tls.key -- TLS key path + key: /path/to/key + # @schema {"name": "defaults.server_config.tls.ca", "type": "string"} + # defaults.server_config.tls.ca -- TLS ca path + ca: /path/to/ca + # @schema {"name": "defaults.server_config.tls.crl", "type": "string"} + # defaults.server_config.tls.crl -- TLS certificate revocation list (CRL) path + crl: /path/to/crl + # @schema {"name": "defaults.server_config.tls.insecure_skip_verify", "type": "boolean"} + # defaults.server_config.tls.insecure_skip_verify -- enable/disable skip SSL certificate verification + insecure_skip_verify: false + # @schema {"name": "defaults.server_config.tls.hot_reload", "type": "boolean"} + # defaults.server_config.tls.hot_reload -- enable dynamically reload certificate on each handshake + hot_reload: false + # @schema {"name": "defaults.server_config.tls.server_name", "type": "string"} + # defaults.server_config.tls.server_name -- SSL Server Name + server_name: "" + # @schema {"name": "defaults.server_config.tls.client_auth", "type": "string", "enum": ["Auto", "None", "Request", "RequireAny", "VerifyIfGiven", "RequireAndVerify"]} + # defaults.server_config.tls.client_auth -- client auth type + client_auth: None + # @schema {"name": "defaults.grpc", "type": "object"} + grpc: + # @schema {"name": "defaults.grpc.client", "type": "object", "anchor": "grpc.client"} + client: + # @schema {"name": "defaults.grpc.client.addrs", "type": "array", "items": {"type": "string"}} + # defaults.grpc.client.addrs -- gRPC client addresses + addrs: [] + # @schema {"name": "defaults.grpc.client.health_check_duration", "type": "string"} + # defaults.grpc.client.health_check_duration -- gRPC client health check duration + health_check_duration: "1s" + # @schema {"name": "defaults.grpc.client.connection_pool", "type": "object"} + connection_pool: + # @schema {"name": "defaults.grpc.client.connection_pool.enable_dns_resolver", "type": "boolean"} + # defaults.grpc.client.connection_pool.enable_dns_resolver -- enables gRPC client connection pool dns resolver, when enabled vald uses ip handshake exclude dns discovery which improves network performance + enable_dns_resolver: true + # @schema {"name": "defaults.grpc.client.connection_pool.enable_rebalance", "type": "boolean"} + # defaults.grpc.client.connection_pool.enable_rebalance -- enables gRPC client connection pool rebalance + enable_rebalance: true + # @schema {"name": "defaults.grpc.client.connection_pool.rebalance_duration", "type": "string"} + # defaults.grpc.client.connection_pool.rebalance_duration -- gRPC client connection pool rebalance duration + rebalance_duration: 30m + # @schema {"name": "defaults.grpc.client.connection_pool.size", "type": "integer"} + # defaults.grpc.client.connection_pool.size -- gRPC client connection pool size + size: 3 + # @schema {"name": "defaults.grpc.client.connection_pool.old_conn_close_duration", "type": "string"} + # defaults.grpc.client.connection_pool.old_conn_close_duration -- makes delay before gRPC client connection closing during connection pool rebalance + old_conn_close_duration: "2m" + # @schema {"name": "defaults.grpc.client.connection_pool.enable_metrics", "type": "boolean"} + # defaults.grpc.client.connection_pool.enable_metrics -- enables gRPC client connection pool metrics + enable_metrics: false + # @schema {"name": "defaults.grpc.client.backoff", "type": "object", "anchor": "backoff"} + # + backoff: + # @schema {"name": "defaults.grpc.client.backoff.initial_duration", "type": "string"} + # defaults.grpc.client.backoff.initial_duration -- gRPC client backoff initial duration + initial_duration: 5ms + # @schema {"name": "defaults.grpc.client.backoff.backoff_time_limit", "type": "string"} + # defaults.grpc.client.backoff.backoff_time_limit -- gRPC client backoff time limit + backoff_time_limit: 5s + # @schema {"name": "defaults.grpc.client.backoff.maximum_duration", "type": "string"} + # defaults.grpc.client.backoff.maximum_duration -- gRPC client backoff maximum duration + maximum_duration: 5s + # @schema {"name": "defaults.grpc.client.backoff.jitter_limit", "type": "string"} + # defaults.grpc.client.backoff.jitter_limit -- gRPC client backoff jitter limit + jitter_limit: 100ms + # @schema {"name": "defaults.grpc.client.backoff.backoff_factor", "type": "number"} + # defaults.grpc.client.backoff.backoff_factor -- gRPC client backoff factor + backoff_factor: 1.1 + # @schema {"name": "defaults.grpc.client.backoff.retry_count", "type": "integer"} + # defaults.grpc.client.backoff.retry_count -- gRPC client backoff retry count + retry_count: 100 + # @schema {"name": "defaults.grpc.client.backoff.enable_error_log", "type": "boolean"} + # defaults.grpc.client.backoff.enable_error_log -- gRPC client backoff log enabled + enable_error_log: true + # @schema {"name": "defaults.grpc.client.circuit_breaker", "type": "object"} + circuit_breaker: + # @schema {"name": "defaults.grpc.client.circuit_breaker.closed_error_rate", "type": "number"} + # defaults.grpc.client.circuit_breaker.closed_error_rate -- gRPC client circuitbreaker closed error rate + closed_error_rate: 0.7 + # @schema {"name": "defaults.grpc.client.circuit_breaker.half_open_error_rate", "type": "number"} + # defaults.grpc.client.circuit_breaker.half_open_error_rate -- gRPC client circuitbreaker half-open error rate + half_open_error_rate: 0.5 + # @schema {"name": "defaults.grpc.client.circuit_breaker.min_samples", "type": "integer"} + # defaults.grpc.client.circuit_breaker.min_samples -- gRPC client circuitbreaker minimum sampling count + min_samples: 1000 + # @schema {"name": "defaults.grpc.client.circuit_breaker.open_timeout", "type": "string"} + # defaults.grpc.client.circuit_breaker.open_timeout -- gRPC client circuitbreaker open timeout + open_timeout: "1s" + # @schema {"name": "defaults.grpc.client.circuit_breaker.closed_refresh_timeout", "type": "string"} + # defaults.grpc.client.circuit_breaker.closed_refresh_timeout -- gRPC client circuitbreaker closed refresh timeout + closed_refresh_timeout: "10s" + # @schema {"name": "defaults.grpc.client.call_option", "type": "object"} + call_option: + # @schema {"name": "defaults.grpc.client.wait_for_ready", "type": "boolean"} + # defaults.grpc.client.call_option.wait_for_ready -- gRPC client call option wait for ready + wait_for_ready: true + # @schema {"name": "defaults.grpc.client.max_retry_rpc_buffer_size", "type": "integer"} + # defaults.grpc.client.call_option.max_retry_rpc_buffer_size -- gRPC client call option max retry rpc buffer size + max_retry_rpc_buffer_size: 0 + # @schema {"name": "defaults.grpc.client.max_recv_msg_size", "type": "integer"} + # defaults.grpc.client.call_option.max_recv_msg_size -- gRPC client call option max receive message size + max_recv_msg_size: 0 + # @schema {"name": "defaults.grpc.client.max_send_msg_size", "type": "integer"} + # defaults.grpc.client.call_option.max_send_msg_size -- gRPC client call option max send message size + max_send_msg_size: 0 + # @schema {"name": "defaults.grpc.client.content_subtype", "type": "string"} + # defaults.grpc.client.call_option.content_subtype -- gRPC client call option content subtype + content_subtype: "" + # @schema {"name": "defaults.grpc.client.dial_option", "type": "object"} + dial_option: + # @schema {"name": "defaults.grpc.client.dial_option.write_buffer_size", "type": "integer"} + # defaults.grpc.client.dial_option.write_buffer_size -- gRPC client dial option write buffer size + write_buffer_size: 0 + # @schema {"name": "defaults.grpc.client.dial_option.read_buffer_size", "type": "integer"} + # defaults.grpc.client.dial_option.read_buffer_size -- gRPC client dial option read buffer size + read_buffer_size: 0 + # @schema {"name": "defaults.grpc.client.dial_option.initial_window_size", "type": "integer"} + # defaults.grpc.client.dial_option.initial_window_size -- gRPC client dial option initial window size + initial_window_size: 1048576 + # @schema {"name": "defaults.grpc.client.dial_option.initial_connection_window_size", "type": "integer"} + # defaults.grpc.client.dial_option.initial_connection_window_size -- gRPC client dial option initial connection window size + initial_connection_window_size: 2097152 + # @schema {"name": "defaults.grpc.client.dial_option.max_msg_size", "type": "integer"} + # defaults.grpc.client.dial_option.max_msg_size -- gRPC client dial option max message size + max_msg_size: 0 + # @schema {"name": "defaults.grpc.client.dial_option.max_header_list_size", "type": "integer"} + # defaults.grpc.client.dial_option.max_header_list_size -- gRPC client dial option max header list size + max_header_list_size: 0 + # @schema {"name": "defaults.grpc.client.dial_option.max_call_attempts", "type": "integer"} + # defaults.grpc.client.dial_option.max_call_attempts -- gRPC client dial option number of max call attempts + max_call_attempts: 0 + # @schema {"name": "defaults.grpc.client.dial_option.backoff_max_delay", "type": "string"} + # defaults.grpc.client.dial_option.backoff_max_delay -- gRPC client dial option max backoff delay + backoff_max_delay: "120s" + # @schema {"name": "defaults.grpc.client.dial_option.backoff_base_delay", "type": "string"} + # defaults.grpc.client.dial_option.backoff_base_delay -- gRPC client dial option base backoff delay + backoff_base_delay: "1s" + # @schema {"name": "defaults.grpc.client.dial_option.backoff_multiplier", "type": "number"} + # defaults.grpc.client.dial_option.backoff_multiplier -- gRPC client dial option base backoff delay + backoff_multiplier: 1.6 + # @schema {"name": "defaults.grpc.client.dial_option.backoff_jitter", "type": "number"} + # defaults.grpc.client.dial_option.backoff_jitter -- gRPC client dial option base backoff delay + backoff_jitter: 0.2 + # @schema {"name": "defaults.grpc.client.dial_option.min_connection_timeout", "type": "string"} + # defaults.grpc.client.dial_option.min_connection_timeout -- gRPC client dial option minimum connection timeout + min_connection_timeout: "20s" + # @schema {"name": "defaults.grpc.client.dial_option.enable_backoff", "type": "boolean"} + # defaults.grpc.client.dial_option.enable_backoff -- gRPC client dial option backoff enabled + enable_backoff: false + # @schema {"name": "defaults.grpc.client.dial_option.disable_retry", "type": "boolean"} + # defaults.grpc.client.dial_option.disable_retry -- gRPC client dial option disables retry + disable_retry: false + # @schema {"name": "defaults.grpc.client.dial_option.insecure", "type": "boolean"} + # defaults.grpc.client.dial_option.insecure -- gRPC client dial option insecure enabled + insecure: true + # @schema {"name": "defaults.grpc.client.dial_option.shared_write_buffer", "type": "boolean"} + # defaults.grpc.client.dial_option.shared_write_buffer -- gRPC client dial option sharing write buffer + shared_write_buffer: true + # @schema {"name": "defaults.grpc.client.dial_option.authority", "type": "string"} + # defaults.grpc.client.dial_option.authority -- gRPC client dial option authority + authority: "" + # @schema {"name": "defaults.grpc.client.dial_option.idle_timeout", "type": "string"} + # defaults.grpc.client.dial_option.idle_timeout -- gRPC client dial option idle_timeout + idle_timeout: "" + # @schema {"name": "defaults.grpc.client.dial_option.user_agent", "type": "string"} + # defaults.grpc.client.dial_option.user_agent -- gRPC client dial option user_agent + user_agent: "Vald-gRPC" + # @schema {"name": "defaults.grpc.client.dial_option.timeout", "type": "string"} + # defaults.grpc.client.dial_option.timeout -- gRPC client dial option timeout + timeout: "" + # @schema {"name": "defaults.grpc.client.dial_option.interceptors", "type": "array", "items": {"type": "string", "enum": ["TraceInterceptor", "MetricInterceptor"]}} + # defaults.grpc.client.dial_option.interceptors -- gRPC client interceptors + interceptors: [] + # @schema {"name": "defaults.grpc.client.dial_option.net", "type": "object", "anchor": "net"} + net: + # @schema {"name": "defaults.grpc.client.dial_option.net.network", "type": "string", "enum": ["tcp", "udp", "unix"]} + # defaults.grpc.client.dial_option.net.network -- gRPC client dialer network type + network: tcp + # @schema {"name": "defaults.grpc.client.dial_option.net.dns", "type": "object"} + dns: + # @schema {"name": "defaults.grpc.client.dial_option.net.dns.cache_enabled", "type": "boolean"} + # defaults.grpc.client.dial_option.net.dns.cache_enabled -- gRPC client DNS cache enabled + cache_enabled: true + # @schema {"name": "defaults.grpc.client.dial_option.net.dns.refresh_duration", "type": "string"} + # defaults.grpc.client.dial_option.net.dns.refresh_duration -- gRPC client DNS cache refresh duration + refresh_duration: 30m + # @schema {"name": "defaults.grpc.client.dial_option.net.dns.cache_expiration", "type": "string"} + # defaults.grpc.client.dial_option.net.dns.cache_expiration -- gRPC client DNS cache expiration + cache_expiration: 1h + # @schema {"name": "defaults.grpc.client.dial_option.net.dialer", "type": "object"} + dialer: + # @schema {"name": "defaults.grpc.client.dial_option.net.dialer.timeout", "type": "string"} + # defaults.grpc.client.dial_option.net.dialer.timeout -- gRPC client TCP dialer timeout + timeout: "" + # @schema {"name": "defaults.grpc.client.dial_option.net.dialer.keepalive", "type": "string"} + # defaults.grpc.client.dial_option.net.dialer.keepalive -- gRPC client TCP dialer keep alive + keepalive: "" + # @schema {"name": "defaults.grpc.client.dial_option.net.dialer.dual_stack_enabled", "type": "boolean"} + # defaults.grpc.client.dial_option.net.dialer.dual_stack_enabled -- gRPC client TCP dialer dual stack enabled + dual_stack_enabled: true + # @schema {"name": "defaults.grpc.client.dial_option.net.tls", "alias": "tls"} + tls: + # defaults.grpc.client.dial_option.net.tls.enabled -- TLS enabled + enabled: false + # defaults.grpc.client.dial_option.net.tls.cert -- TLS cert path + cert: /path/to/cert + # defaults.grpc.client.dial_option.net.tls.key -- TLS key path + key: /path/to/key + # defaults.grpc.client.dial_option.net.tls.ca -- TLS ca path + ca: /path/to/ca + # @schema {"name": "defaults.grpc.client.dial_option.net.tls.crl", "type": "string"} + # defaults.grpc.client.dial_option.net.tls.crl -- TLS certificate revocation list (CRL) path + crl: /path/to/crl + # defaults.grpc.client.dial_option.net.tls.insecure_skip_verify -- enable/disable skip SSL certificate verification + insecure_skip_verify: false + # @schema {"name": "defaults.grpc.client.dial_option.net.tls.hot_reload", "type": "boolean"} + # defaults.grpc.client.dial_option.net.tls.hot_reload -- enable dynamically reload certificate on each handshake + hot_reload: false + # defaults.grpc.client.dial_option.net.tls.server_name -- SSL Server Name + server_name: "" + # defaults.grpc.client.dial_option.net.tls.client_auth -- client auth type + client_auth: None + # @schema {"name": "defaults.grpc.client.dial_option.net.socket_option", "alias": "socket_option"} + socket_option: + # defaults.grpc.client.dial_option.net.socket_option.reuse_port -- server listen socket option for reuse_port functionality + reuse_port: true + # defaults.grpc.client.dial_option.net.socket_option.reuse_addr -- server listen socket option for reuse_addr functionality + reuse_addr: true + # defaults.grpc.client.dial_option.net.socket_option.tcp_fast_open -- server listen socket option for tcp_fast_open functionality + tcp_fast_open: false + # defaults.grpc.client.dial_option.net.socket_option.tcp_no_delay -- server listen socket option for tcp_no_delay functionality + tcp_no_delay: false + # defaults.grpc.client.dial_option.net.socket_option.tcp_cork -- server listen socket option for tcp_cork functionality + tcp_cork: false + # defaults.grpc.client.dial_option.net.socket_option.tcp_quick_ack -- server listen socket option for tcp_quick_ack functionality + tcp_quick_ack: false + # defaults.grpc.client.dial_option.net.socket_option.tcp_defer_accept -- server listen socket option for tcp_defer_accept functionality + tcp_defer_accept: false + # defaults.grpc.client.dial_option.net.socket_option.ip_transparent -- server listen socket option for ip_transparent functionality + ip_transparent: false + # defaults.grpc.client.dial_option.net.socket_option.ip_recover_destination_addr -- server listen socket option for ip_recover_destination_addr functionality + ip_recover_destination_addr: false + # @schema {"name": "defaults.grpc.client.dial_option.keepalive", "type": "object"} + keepalive: + # @schema {"name": "defaults.grpc.client.dial_option.keepalive.time", "type": "string"} + # defaults.grpc.client.dial_option.keepalive.time -- gRPC client keep alive time + time: "" + # @schema {"name": "defaults.grpc.client.dial_option.keepalive.timeout", "type": "string"} + # defaults.grpc.client.dial_option.keepalive.timeout -- gRPC client keep alive timeout + timeout: "30s" + # @schema {"name": "defaults.grpc.client.dial_option.keepalive.permit_without_stream", "type": "boolean"} + # defaults.grpc.client.dial_option.keepalive.permit_without_stream -- gRPC client keep alive permit without stream + permit_without_stream: false + # @schema {"name": "defaults.grpc.client.tls", "alias": "tls"} + tls: + # defaults.grpc.client.tls.enabled -- TLS enabled + enabled: false + # defaults.grpc.client.tls.cert -- TLS cert path + cert: /path/to/cert + # defaults.grpc.client.tls.key -- TLS key path + key: /path/to/key + # defaults.grpc.client.tls.ca -- TLS ca path + ca: /path/to/ca + # @schema {"name": "defaults.grpc.client.tls.crl", "type": "string"} + # defaults.grpc.client.tls.crl -- TLS certificate revocation list (CRL) path + crl: /path/to/crl + # defaults.grpc.client.tls.insecure_skip_verify -- enable/disable skip SSL certificate verification + insecure_skip_verify: false + # @schema {"name": "defaults.grpc.client.tls.hot_reload", "type": "boolean"} + # defaults.grpc.client.tls.hot_reload -- enable dynamically reload certificate on each handshake + hot_reload: false + # defaults.grpc.client.tls.server_name -- SSL Server Name + server_name: "" + # defaults.grpc.client.tls.client_auth -- client auth type + client_auth: None + # @schema {"name": "defaults.observability", "type": "object", "anchor": "observability"} + observability: + # @schema {"name": "defaults.observability.enabled", "type": "boolean"} + # defaults.observability.enabled -- observability features enabled + enabled: false + # @schema {"name": "defaults.observability.otlp", "type": "object"} + otlp: + # @schema {"name": "defaults.observability.otlp.collector_endpoint", "type": "string"} + # defaults.observability.otlp.collector_endpoint -- OpenTelemetry Collector endpoint + collector_endpoint: "" + # @schema {"name": "defaults.observability.otlp.attribute", "type": "object"} + # defaults.observability.otlp.attribute -- default resource attribute + attribute: + # @schema {"name": "defaults.observability.otlp.attribute.namespace", "type": "string"} + # defaults.observability.otlp.attribute.namespace -- namespace + namespace: _MY_POD_NAMESPACE_ + # @schema {"name": "defaults.observability.otlp.attribute.pod_name", "type": "string"} + # defaults.observability.otlp.attribute.pod_name -- pod name + pod_name: _MY_POD_NAME_ + # @schema {"name": "defaults.observability.otlp.attribute.node_name", "type": "string"} + # defaults.observability.otlp.attribute.node_name -- node name + node_name: _MY_NODE_NAME_ + # @schema {"name": "defaults.observability.otlp.attribute.service_name", "type": "string"} + # defaults.observability.otlp.attribute.service_name -- service name + service_name: vald + # @schema {"name": "defaults.observability.otlp.trace_batch_timeout", "type": "string"} + # defaults.observability.otlp.trace_batch_timeout -- trace batch timeout + trace_batch_timeout: "1s" + # @schema {"name": "defaults.observability.otlp.trace_export_timeout", "type": "string"} + # defaults.observability.otlp.trace_export_timeout -- trace export timeout + trace_export_timeout: "1m" + # @schema {"name": "defaults.observability.otlp.trace_max_export_batch_size", "type": "integer"} + # defaults.observability.otlp.trace_max_export_batch_size -- trace maximum export batch size + trace_max_export_batch_size: 1024 + # @schema {"name": "defaults.observability.otlp.trace_max_queue_size", "type": "integer"} + # defaults.observability.otlp.trace_max_queue_size -- trace maximum queue size + trace_max_queue_size: 256 + # @schema {"name": "defaults.observability.otlp.metrics_export_interval", "type": "string"} + # defaults.observability.otlp.metrics_export_interval -- metrics export interval + metrics_export_interval: "1s" + # @schema {"name": "defaults.observability.otlp.metrics_export_timeout", "type": "string"} + # defaults.observability.otlp.metrics_export_timeout -- metrics export timeout + metrics_export_timeout: "1m" + # @schema {"name": "defaults.observability.metrics", "type": "object"} + metrics: + # @schema {"name": "defaults.observability.metrics.enable_version_info", "type": "boolean"} + # defaults.observability.metrics.enable_version_info -- version info metrics enabled + enable_version_info: true + # @schema {"name": "defaults.observability.metrics.version_info_labels", "type": "array", "items": {"type": "string", "enum": ["vald_version", "server_name", "git_commit", "build_time", "go_version", "go_os", "go_arch", "cgo_enabled", "algorithm_info", "build_cpu_info_flags"]}} + # defaults.observability.metrics.version_info_labels -- enabled label names of version info + version_info_labels: + - "vald_version" + - "server_name" + - "git_commit" + - "build_time" + - "go_version" + - "go_os" + - "go_arch" + - "algorithm_info" + # @schema {"name": "defaults.observability.metrics.enable_memory", "type": "boolean"} + # defaults.observability.metrics.enable_memory -- memory metrics enabled + enable_memory: true + # @schema {"name": "defaults.observability.metrics.enable_goroutine", "type": "boolean"} + # defaults.observability.metrics.enable_goroutine -- goroutine metrics enabled + enable_goroutine: true + # @schema {"name": "defaults.observability.metrics.enable_cgo", "type": "boolean"} + # defaults.observability.metrics.enable_cgo -- CGO metrics enabled + enable_cgo: true + # @schema {"name": "defaults.observability.trace", "type": "object"} + trace: + # @schema {"name": "defaults.observability.trace.enabled", "type": "boolean"} + # defaults.observability.trace.enabled -- trace enabled + enabled: false + # @schema {"name": "defaults.networkPolicy", "type": "object", "anchor": "networkPolicy"} + networkPolicy: + # @schema {"name": "defaults.networkPolicy.enabled", "type": "boolean"} + # defaults.networkPolicy.enabled -- if network policy enabled + enabled: false + # @schema {"name": "defaults.networkPolicy.custom", "type": "object"} + # defaults.networkPolicy.custom -- custom network policies that a user can add + custom: + # @schema {"name": "defaults.networkPolicy.custom.ingress", "type": "array", "items": {"type": "object"}} + # defaults.networkPolicy.custom.ingress -- custom ingress network policies that a user can add + ingress: [] + # @schema {"name": "defaults.networkPolicy.custom.egress", "type": "array", "items": {"type": "object"}} + # defaults.networkPolicy.custom.egress -- custom egress network policies that a user can add + egress: [] +# @schema {"name": "gateway", "type": "object"} +gateway: + # @schema {"name": "gateway.lb", "type": "object"} + lb: + # @schema {"name": "gateway.lb.enabled", "type": "boolean"} + # gateway.lb.enabled -- gateway enabled + enabled: true + # @schema {"name": "gateway.lb.version", "type": "string", "pattern": "^v[0-9]+\\.[0-9]+\\.[0-9]$", "anchor": "version"} + # gateway.lb.version -- version of gateway config + version: v0.0.0 + # @schema {"name": "gateway.lb.time_zone", "type": "string"} + # gateway.lb.time_zone -- Time zone + time_zone: "" + # @schema {"name": "gateway.lb.logging", "alias": "logging"} + # gateway.lb.logging -- logging config (overrides defaults.logging) + logging: {} + # @schema {"name": "gateway.lb.name", "type": "string"} + # gateway.lb.name -- name of gateway deployment + name: vald-lb-gateway + # @schema {"name": "gateway.lb.kind", "type": "string", "enum": ["Deployment", "DaemonSet"]} + # gateway.lb.kind -- deployment kind: Deployment or DaemonSet + kind: Deployment + # @schema {"name": "gateway.lb.serviceType", "type": "string", "enum": ["ClusterIP", "LoadBalancer", "NodePort"]} + # gateway.lb.serviceType -- service type: ClusterIP, LoadBalancer or NodePort + serviceType: ClusterIP + # @schema {"name": "gateway.lb.externalTrafficPolicy", "type": "string"} + # gateway.lb.externalTrafficPolicy -- external traffic policy (can be specified when service type is LoadBalancer or NodePort) : Cluster or Local + externalTrafficPolicy: "" + # @schema {"name": "gateway.lb.internalTrafficPolicy", "type": "string"} + # gateway.lb.internalTrafficPolicy -- internal traffic policy (can be specified when service type is LoadBalancer or NodePort) : Cluster or Local + internalTrafficPolicy: "" + # @schema {"name": "gateway.lb.progressDeadlineSeconds", "type": "integer"} + # gateway.lb.progressDeadlineSeconds -- progress deadline seconds + progressDeadlineSeconds: 600 + # @schema {"name": "gateway.lb.minReplicas", "type": "integer", "minimum": 0} + # gateway.lb.minReplicas -- minimum number of replicas. + # if HPA is disabled, the replicas will be set to this value + minReplicas: 3 + # @schema {"name": "gateway.lb.maxReplicas", "type": "integer", "minimum": 0} + # gateway.lb.maxReplicas -- maximum number of replicas. + # if HPA is disabled, this value will be ignored. + maxReplicas: 9 + # @schema {"name": "gateway.lb.maxUnavailable", "type": "string"} + # gateway.lb.maxUnavailable -- maximum number of unavailable replicas + maxUnavailable: 50% + # @schema {"name": "gateway.lb.unhealthyPodEvictionPolicy", "type": "string", "enum": ["AlwaysAllow", "IfHealthyBudget"]} + # gateway.lb.unhealthyPodEvictionPolicy -- controls whether unhealthy pods can be evicted based on the application's healthy pod count, supporting either cautious or permissive eviction. + unhealthyPodEvictionPolicy: "AlwaysAllow" + # @schema {"name": "gateway.lb.revisionHistoryLimit", "type": "integer", "minimum": 0} + # gateway.lb.revisionHistoryLimit -- number of old history to retain to allow rollback + revisionHistoryLimit: 2 + # @schema {"name": "gateway.lb.terminationGracePeriodSeconds", "type": "integer", "minimum": 0} + # gateway.lb.terminationGracePeriodSeconds -- duration in seconds pod needs to terminate gracefully + terminationGracePeriodSeconds: 30 + # @schema {"name": "gateway.lb.podSecurityContext", "type": "object"} + # gateway.lb.podSecurityContext -- security context for pod + podSecurityContext: + runAsUser: 65532 + runAsNonRoot: true + runAsGroup: 65532 + fsGroup: 65532 + fsGroupChangePolicy: "OnRootMismatch" + # @schema {"name": "gateway.lb.securityContext", "type": "object"} + # gateway.lb.securityContext -- security context for container + securityContext: + runAsUser: 65532 + runAsNonRoot: true + runAsGroup: 65532 + privileged: false + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + capabilities: + drop: + - ALL + # @schema {"name": "gateway.lb.podPriority", "type": "object", "anchor": "podPriority"} + podPriority: + # @schema {"name": "gateway.lb.podPriority.enabled", "type": "boolean"} + # gateway.lb.podPriority.enabled -- gateway pod PriorityClass enabled + enabled: true + # @schema {"name": "gateway.lb.podPriority.value", "type": "integer"} + # gateway.lb.podPriority.value -- gateway pod PriorityClass value + value: 1000000 + # @schema {"name": "gateway.lb.annotations", "type": "object"} + # gateway.lb.annotations -- deployment annotations + annotations: {} + # @schema {"name": "gateway.lb.podAnnotations", "type": "object"} + # gateway.lb.podAnnotations -- pod annotations + podAnnotations: {} + # @schema {"name": "gateway.lb.service", "type": "object", "anchor": "service"} + service: + # @schema {"name": "gateway.lb.service.annotations", "type": "object"} + # gateway.lb.service.annotations -- service annotations + annotations: {} + # @schema {"name": "gateway.lb.service.labels", "type": "object"} + # gateway.lb.service.labels -- service labels + labels: {} + # @schema {"name": "gateway.lb.hpa", "type": "object", "anchor": "hpa"} + hpa: + # @schema {"name": "gateway.lb.hpa.enabled", "type": "boolean"} + # gateway.lb.hpa.enabled -- HPA enabled + enabled: true + # @schema {"name": "gateway.lb.hpa.targetCPUUtilizationPercentage", "type": "integer"} + # gateway.lb.hpa.targetCPUUtilizationPercentage -- HPA CPU utilization percentage + targetCPUUtilizationPercentage: 80 + # @schema {"name": "gateway.lb.image", "type": "object", "anchor": "image"} + image: + # @schema {"name": "gateway.lb.image.repository", "type": "string"} + # gateway.lb.image.repository -- image repository + repository: vdaas/vald-lb-gateway + # @schema {"name": "gateway.lb.image.tag", "type": "string"} + # gateway.lb.image.tag -- image tag (overrides defaults.image.tag) + tag: "" + # @schema {"name": "gateway.lb.image.pullPolicy", "type": "string", "enum": ["Always", "Never", "IfNotPresent"]} + # gateway.lb.image.pullPolicy -- image pull policy + pullPolicy: Always + # @schema {"name": "gateway.lb.rollingUpdate", "type": "object", "anchor": "rollingUpdate"} + rollingUpdate: + # @schema {"name": "gateway.lb.rollingUpdate.maxSurge", "type": "string"} + # gateway.lb.rollingUpdate.maxSurge -- max surge of rolling update + maxSurge: 25% + # @schema {"name": "gateway.lb.rollingUpdate.maxUnavailable", "type": "string"} + # gateway.lb.rollingUpdate.maxUnavailable -- max unavailable of rolling update + maxUnavailable: 25% + # @schema {"name": "gateway.lb.initContainers", "type": "array", "items": {"type": "object"}, "anchor": "initContainers"} + # gateway.lb.initContainers -- init containers + initContainers: + - type: wait-for + name: wait-for-discoverer + target: discoverer + image: busybox:1.38.0 + imagePullPolicy: Always + sleepDuration: 2 + - type: wait-for + name: wait-for-agent + target: agent + image: busybox:1.38.0 + imagePullPolicy: Always + sleepDuration: 2 + # @schema {"name": "gateway.lb.env", "type": "array", "items": {"type": "object"}, "anchor": "env"} + # gateway.lb.env -- environment variables + env: + - name: MY_NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + # @schema {"name": "gateway.lb.volumeMounts", "type": "array", "items": {"type": "object"}, "anchor": "volumeMounts"} + # gateway.lb.volumeMounts -- volume mounts + volumeMounts: [] + # @schema {"name": "gateway.lb.volumes", "type": "array", "items": {"type": "object"}, "anchor": "volumes"} + # gateway.lb.volumes -- volumes + volumes: [] + # @schema {"name": "gateway.lb.nodeName", "type": "string"} + # gateway.lb.nodeName -- node name + nodeName: "" + # @schema {"name": "gateway.lb.nodeSelector", "type": "object", "anchor": "nodeSelector"} + # gateway.lb.nodeSelector -- node selector + nodeSelector: {} + # @schema {"name": "gateway.lb.tolerations", "type": "array", "items": {"type": "object"}, "anchor": "tolerations"} + # gateway.lb.tolerations -- tolerations + tolerations: [] + # @schema {"name": "gateway.lb.affinity", "type": "object", "anchor": "affinity"} + affinity: + # @schema {"name": "gateway.lb.affinity.nodeAffinity", "type": "object"} + nodeAffinity: + # @schema {"name": "gateway.lb.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution", "type": "array", "items": {"type": "object"}} + # gateway.lb.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution -- node affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "gateway.lb.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution", "type": "object"} + requiredDuringSchedulingIgnoredDuringExecution: + # @schema {"name": "gateway.lb.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms", "type": "array", "items": {"type": "object"}} + # gateway.lb.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms -- node affinity required node selectors + nodeSelectorTerms: [] + # @schema {"name": "gateway.lb.affinity.podAffinity", "type": "object"} + podAffinity: + # @schema {"name": "gateway.lb.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution", "type": "array", "items": {"type": "object"}} + # gateway.lb.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "gateway.lb.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution", "type": "array", "items": {"type": "object"}} + # gateway.lb.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "gateway.lb.affinity.podAntiAffinity", "type": "object"} + podAntiAffinity: + # @schema {"name": "gateway.lb.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution", "type": "array", "items": {"type": "object"}} + # gateway.lb.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + podAffinityTerm: + topologyKey: kubernetes.io/hostname + labelSelector: + matchExpressions: + - key: app + operator: In + values: + - vald-lb-gateway + # @schema {"name": "gateway.lb.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution", "type": "array", "items": {"type": "object"}} + # gateway.lb.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "gateway.lb.topologySpreadConstraints", "type": "array", "items": {"type": "object"}, "anchor": "topologySpreadConstraints"} + # gateway.lb.topologySpreadConstraints -- topology spread constraints of gateway pods + topologySpreadConstraints: [] + # @schema {"name": "gateway.lb.server_config", "alias": "server_config"} + # gateway.lb.server_config -- server config (overrides defaults.server_config) + server_config: + servers: + rest: {} + grpc: {} + healths: + liveness: {} + readiness: {} + startup: {} + metrics: + pprof: {} + # @schema {"name": "gateway.lb.observability", "alias": "observability"} + # gateway.lb.observability -- observability config (overrides defaults.observability) + observability: + otlp: + attribute: + service_name: vald-lb-gateway + # @schema {"name": "gateway.lb.ingress", "type": "object"} + ingress: + # @schema {"name": "gateway.lb.ingress.pathType", "type": "string"} + # gateway.lb.ingress.pathType -- gateway ingress pathType + pathType: ImplementationSpecific + # @schema {"name": "gateway.lb.ingress.enabled", "type": "boolean"} + # gateway.lb.ingress.enabled -- gateway ingress enabled + enabled: false + # @schema {"name": "gateway.lb.ingress.annotations", "type": "object"} + # gateway.lb.ingress.annotations -- annotations for ingress + annotations: + nginx.ingress.kubernetes.io/grpc-backend: "true" + # @schema {"name": "gateway.lb.ingress.host", "type": "string"} + # gateway.lb.ingress.host -- ingress hostname + host: lb.gateway.vald.vdaas.org + # @schema {"name": "gateway.lb.ingress.servicePort", "type": "string"} + # gateway.lb.ingress.servicePort -- service port to be exposed by ingress + servicePort: grpc + # @schema {"name": "gateway.lb.ingress.tls", "type": "array", "items": {"type": "object"}} + # gateway.lb.ingress.tls -- ingress tls config + tls: + - hosts: [] + secretName: "" + # @schema {"name": "gateway.lb.ingress.defaultBackend", "type": "object"} + # gateway.lb.ingress.defaultBackend -- defaultBackend config + defaultBackend: + # @schema {"name": "gateway.lb.ingress.defaultBackend.enabled", "type": "boolean"} + # gateway.lb.ingress.defaultBackend.enabled -- gateway ingress defaultBackend enabled + enabled: true + # @schema {"name": "gateway.lb.resources", "type": "object", "anchor": "resources"} + # gateway.lb.resources -- compute resources + resources: + # @schema {"name": "gateway.lb.resources.requests", "type": "object"} + requests: + cpu: 200m + memory: 150Mi + # @schema {"name": "gateway.lb.resources.limits", "type": "object"} + limits: + cpu: 2000m + memory: 700Mi + # @schema {"name": "gateway.lb.gateway_config", "type": "object"} + gateway_config: + # @schema {"name": "gateway.lb.gateway_config.agent_namespace", "type": "string"} + # gateway.lb.gateway_config.agent_namespace -- agent namespace + agent_namespace: _MY_POD_NAMESPACE_ + # @schema {"name": "gateway.lb.gateway_config.node_name", "type": "string"} + # gateway.lb.gateway_config.node_name -- node name + node_name: "" # _MY_NODE_NAME_ + # @schema {"name": "gateway.lb.gateway_config.index_replica", "type": "integer", "minimum": 1} + # gateway.lb.gateway_config.index_replica -- number of index replica + index_replica: 3 + # @schema {"name": "gateway.lb.gateway_config.multi_operation_concurrency", "type": "integer", "minimum": 2} + # gateway.lb.gateway_config.multi_operation_concurrency -- number of concurrency of multiXXX api's operation + multi_operation_concurrency: 20 + # @schema {"name": "gateway.lb.gateway_config.discoverer", "type": "object"} + discoverer: + # @schema {"name": "gateway.lb.gateway_config.discoverer.duration", "type": "string"} + # gateway.lb.discoverer.duration -- discoverer duration + duration: 200ms + # @schema {"name": "gateway.lb.gateway_config.discoverer.client", "alias": "grpc.client"} + # gateway.lb.gateway_config.discoverer.client -- gRPC client for discoverer (overrides defaults.grpc.client) + client: {} + # @schema {"name": "gateway.lb.gateway_config.discoverer.agent_client_options", "alias": "grpc.client"} + # gateway.lb.gateway_config.discoverer.agent_client_options -- gRPC client options for agents (overrides defaults.grpc.client) + agent_client_options: {} + # @schema {"name": "gateway.lb.gateway_config.discoverer.read_client", "alias": "grpc.client"} + # gateway.lb.gateway_config.discoverer.read_client -- gRPC client for discoverer (overrides defaults.grpc.client) + read_client: {} + # @schema {"name": "gateway.lb.serviceAccountName", "type": "string"} + # gateway.lb.serviceAccountName -- serviceAccountName -- Name of the service account to use. + # If not set, a service account is created. + serviceAccountName: "" + # @schema {"name": "gateway.filter", "type": "object"} + filter: + # @schema {"name": "gateway.filter.enabled", "type": "boolean"} + # gateway.filter.enabled -- gateway enabled + enabled: false + # @schema {"name": "gateway.filter.version", "type": "string", "pattern": "^v[0-9]+\\.[0-9]+\\.[0-9]$", "anchor": "version"} + # gateway.filter.version -- version of gateway config + version: v0.0.0 + # @schema {"name": "gateway.filter.time_zone", "type": "string"} + # gateway.filter.time_zone -- Time zone + time_zone: "" + # @schema {"name": "gateway.filter.logging", "alias": "logging"} + # gateway.filter.logging -- logging config (overrides defaults.logging) + logging: {} + # @schema {"name": "gateway.filter.name", "type": "string"} + # gateway.filter.name -- name of filter gateway deployment + name: vald-filter-gateway + # @schema {"name": "gateway.filter.kind", "type": "string", "enum": ["Deployment", "DaemonSet"]} + # gateway.filter.kind -- deployment kind: Deployment or DaemonSet + kind: Deployment + # @schema {"name": "gateway.filter.serviceType", "type": "string", "enum": ["ClusterIP", "LoadBalancer", "NodePort"]} + # gateway.filter.serviceType -- service type: ClusterIP, LoadBalancer or NodePort + serviceType: ClusterIP + # @schema {"name": "gateway.filter.externalTrafficPolicy", "type": "string"} + # gateway.filter.externalTrafficPolicy -- external traffic policy (can be specified when service type is LoadBalancer or NodePort) : Cluster or Local + externalTrafficPolicy: "" + # @schema {"name": "gateway.filter.internalTrafficPolicy", "type": "string"} + # gateway.filter.internalTrafficPolicy -- internal traffic policy (can be specified when service type is LoadBalancer or NodePort) : Cluster or Local + internalTrafficPolicy: "" + # @schema {"name": "gateway.filter.progressDeadlineSeconds", "type": "integer"} + # gateway.filter.progressDeadlineSeconds -- progress deadline seconds + progressDeadlineSeconds: 600 + # @schema {"name": "gateway.filter.minReplicas", "type": "integer", "minimum": 0} + # gateway.filter.minReplicas -- minimum number of replicas. + # if HPA is disabled, the replicas will be set to this value + minReplicas: 3 + # @schema {"name": "gateway.filter.maxReplicas", "type": "integer", "minimum": 0} + # gateway.filter.maxReplicas -- maximum number of replicas. + # if HPA is disabled, this value will be ignored. + maxReplicas: 9 + # @schema {"name": "gateway.filter.maxUnavailable", "type": "string"} + # gateway.filter.maxUnavailable -- maximum number of unavailable replicas + maxUnavailable: 50% + # @schema {"name": "gateway.filter.unhealthyPodEvictionPolicy", "type": "string", "enum": ["AlwaysAllow", "IfHealthyBudget"]} + # gateway.filter.unhealthyPodEvictionPolicy -- controls whether unhealthy pods can be evicted based on the application's healthy pod count, supporting either cautious or permissive eviction. + unhealthyPodEvictionPolicy: "AlwaysAllow" + # @schema {"name": "gateway.filter.revisionHistoryLimit", "type": "integer", "minimum": 0} + # gateway.filter.revisionHistoryLimit -- number of old history to retain to allow rollback + revisionHistoryLimit: 2 + # @schema {"name": "gateway.filter.terminationGracePeriodSeconds", "type": "integer", "minimum": 0} + # gateway.filter.terminationGracePeriodSeconds -- duration in seconds pod needs to terminate gracefully + terminationGracePeriodSeconds: 30 + # @schema {"name": "gateway.filter.podSecurityContext", "type": "object"} + # gateway.filter.podSecurityContext -- security context for pod + podSecurityContext: + runAsUser: 65532 + runAsNonRoot: true + runAsGroup: 65532 + fsGroup: 65532 + fsGroupChangePolicy: "OnRootMismatch" + # @schema {"name": "gateway.filter.securityContext", "type": "object"} + # gateway.filter.securityContext -- security context for container + securityContext: + runAsUser: 65532 + runAsNonRoot: true + runAsGroup: 65532 + privileged: false + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + capabilities: + drop: + - ALL + # @schema {"name": "gateway.filter.podPriority", "type": "object", "anchor": "podPriority"} + podPriority: + # @schema {"name": "gateway.filter.podPriority.enabled", "type": "boolean"} + # gateway.filter.podPriority.enabled -- gateway pod PriorityClass enabled + enabled: true + # @schema {"name": "gateway.filter.podPriority.value", "type": "integer"} + # gateway.filter.podPriority.value -- gateway pod PriorityClass value + value: 1000000 + # @schema {"name": "gateway.filter.annotations", "type": "object"} + # gateway.filter.annotations -- deployment annotations + annotations: {} + # @schema {"name": "gateway.filter.podAnnotations", "type": "object"} + # gateway.filter.podAnnotations -- pod annotations + podAnnotations: {} + # @schema {"name": "gateway.filter.service", "type": "object", "anchor": "service"} + service: + # @schema {"name": "gateway.filter.service.annotations", "type": "object"} + # gateway.filter.service.annotations -- service annotations + annotations: {} + # @schema {"name": "gateway.filter.service.labels", "type": "object"} + # gateway.filter.service.labels -- service labels + labels: {} + # @schema {"name": "gateway.filter.hpa", "type": "object", "anchor": "hpa"} + hpa: + # @schema {"name": "gateway.filter.hpa.enabled", "type": "boolean"} + # gateway.filter.hpa.enabled -- HPA enabled + enabled: true + # @schema {"name": "gateway.filter.hpa.targetCPUUtilizationPercentage", "type": "integer"} + # gateway.filter.hpa.targetCPUUtilizationPercentage -- HPA CPU utilization percentage + targetCPUUtilizationPercentage: 80 + # @schema {"name": "gateway.filter.image", "type": "object", "anchor": "image"} + image: + # @schema {"name": "gateway.filter.image.repository", "type": "string"} + # gateway.filter.image.repository -- image repository + repository: vdaas/vald-filter-gateway + # @schema {"name": "gateway.filter.image.tag", "type": "string"} + # gateway.filter.image.tag -- image tag (overrides defaults.image.tag) + tag: "" + # @schema {"name": "gateway.filter.image.pullPolicy", "type": "string", "enum": ["Always", "Never", "IfNotPresent"]} + # gateway.filter.image.pullPolicy -- image pull policy + pullPolicy: Always + # @schema {"name": "gateway.filter.rollingUpdate", "type": "object", "anchor": "rollingUpdate"} + rollingUpdate: + # @schema {"name": "gateway.filter.rollingUpdate.maxSurge", "type": "string"} + # gateway.filter.rollingUpdate.maxSurge -- max surge of rolling update + maxSurge: 25% + # @schema {"name": "gateway.filter.rollingUpdate.maxUnavailable", "type": "string"} + # gateway.filter.rollingUpdate.maxUnavailable -- max unavailable of rolling update + maxUnavailable: 25% + # @schema {"name": "gateway.filter.initContainers", "type": "array", "items": {"type": "object"}, "anchor": "initContainers"} + # gateway.filter.initContainers -- init containers + initContainers: + - type: wait-for + name: wait-for-gateway-lb + target: gateway-lb + image: busybox:1.38.0 + imagePullPolicy: Always + sleepDuration: 2 + # @schema {"name": "gateway.filter.env", "type": "array", "items": {"type": "object"}, "anchor": "env"} + # gateway.filter.env -- environment variables + env: + - name: MY_NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + # @schema {"name": "gateway.filter.volumeMounts", "type": "array", "items": {"type": "object"}, "anchor": "volumeMounts"} + # gateway.filter.volumeMounts -- volume mounts + volumeMounts: [] + # @schema {"name": "gateway.filter.volumes", "type": "array", "items": {"type": "object"}, "anchor": "volumes"} + # gateway.filter.volumes -- volumes + volumes: [] + # @schema {"name": "gateway.filter.nodeName", "type": "string"} + # gateway.filter.nodeName -- node name + nodeName: "" + # @schema {"name": "gateway.filter.nodeSelector", "type": "object", "anchor": "nodeSelector"} + # gateway.filter.nodeSelector -- node selector + nodeSelector: {} + # @schema {"name": "gateway.filter.tolerations", "type": "array", "items": {"type": "object"}, "anchor": "tolerations"} + # gateway.filter.tolerations -- tolerations + tolerations: [] + # @schema {"name": "gateway.filter.affinity", "type": "object", "anchor": "affinity"} + affinity: + # @schema {"name": "gateway.filter.affinity.nodeAffinity", "type": "object"} + nodeAffinity: + # @schema {"name": "gateway.filter.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution", "type": "array", "items": {"type": "object"}} + # gateway.filter.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution -- node affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "gateway.filter.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution", "type": "object"} + requiredDuringSchedulingIgnoredDuringExecution: + # @schema {"name": "gateway.filter.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms", "type": "array", "items": {"type": "object"}} + # gateway.filter.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms -- node affinity required node selectors + nodeSelectorTerms: [] + # @schema {"name": "gateway.filter.affinity.podAffinity", "type": "object"} + podAffinity: + # @schema {"name": "gateway.filter.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution", "type": "array", "items": {"type": "object"}} + # gateway.filter.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "gateway.filter.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution", "type": "array", "items": {"type": "object"}} + # gateway.filter.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "gateway.filter.affinity.podAntiAffinity", "type": "object"} + podAntiAffinity: + # @schema {"name": "gateway.filter.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution", "type": "array", "items": {"type": "object"}} + # gateway.filter.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + podAffinityTerm: + topologyKey: kubernetes.io/hostname + labelSelector: + matchExpressions: + - key: app + operator: In + values: + - vald-filter-gateway + # @schema {"name": "gateway.filter.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution", "type": "array", "items": {"type": "object"}} + # gateway.filter.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "gateway.filter.topologySpreadConstraints", "type": "array", "items": {"type": "object"}, "anchor": "topologySpreadConstraints"} + # gateway.filter.topologySpreadConstraints -- topology spread constraints of gateway pods + topologySpreadConstraints: [] + # @schema {"name": "gateway.filter.server_config", "alias": "server_config"} + # gateway.filter.server_config -- server config (overrides defaults.server_config) + server_config: + servers: + rest: {} + grpc: {} + healths: + liveness: {} + readiness: {} + startup: {} + metrics: + pprof: {} + # @schema {"name": "gateway.filter.observability", "alias": "observability"} + # gateway.filter.observability -- observability config (overrides defaults.observability) + observability: + otlp: + attribute: + service_name: vald-filter-gateway + # @schema {"name": "gateway.filter.ingress", "type": "object"} + ingress: + # @schema {"name": "gateway.filter.ingress.pathType", "type": "string"} + # gateway.filter.ingress.pathType -- gateway ingress pathType + pathType: ImplementationSpecific + # @schema {"name": "gateway.filter.ingress.enabled", "type": "boolean"} + # gateway.filter.ingress.enabled -- gateway ingress enabled + enabled: false + # @schema {"name": "gateway.filter.ingress.annotations", "type": "object"} + # gateway.filter.ingress.annotations -- annotations for ingress + annotations: + nginx.ingress.kubernetes.io/grpc-backend: "true" + # @schema {"name": "gateway.filter.ingress.host", "type": "string"} + # gateway.filter.ingress.host -- ingress hostname + host: filter.gateway.vald.vdaas.org + # @schema {"name": "gateway.filter.ingress.servicePort", "type": "string"} + # gateway.filter.ingress.servicePort -- service port to be exposed by ingress + servicePort: grpc + # @schema {"name": "gateway.filter.ingress.tls", "type": "array", "items": {"type": "object"}} + # gateway.filter.ingress.tls -- ingress tls config + tls: + - hosts: [] + secretName: "" + # @schema {"name": "gateway.filter.ingress.defaultBackend", "type": "object"} + # gateway.filter.ingress.defaultBackend -- defaultBackend config + defaultBackend: + # @schema {"name": "gateway.filter.ingress.defaultBackend.enabled", "type": "boolean"} + # gateway.filter.ingress.defaultBackend.enabled -- gateway ingress defaultBackend enabled + enabled: true + # @schema {"name": "gateway.filter.resources", "type": "object", "anchor": "resources"} + # gateway.filter.resources -- compute resources + resources: + # @schema {"name": "gateway.filter.resources.requests", "type": "object"} + requests: + cpu: 200m + memory: 150Mi + # @schema {"name": "gateway.filter.resources.limits", "type": "object"} + limits: + cpu: 2000m + memory: 700Mi + # @schema {"name": "gateway.filter.gateway_config", "type": "object"} + gateway_config: + # @schema {"name": "gateway.filter.gateway_config.gateway_client", "alias": "grpc.client"} + # gateway.filter.gateway_config.gateway_client -- gRPC client for next gateway (overrides defaults.grpc.client) + gateway_client: {} + # @schema {"name": "gateway.filter.gateway_config.ingress_filter", "type": "object"} + # gateway.filter.gateway_config.ingress_filter -- gRPC client config for ingress filter + ingress_filter: + # @schema {"name": "gateway.filter.gateway_config.ingress_filter.client", "alias": "grpc.client"} + # gateway.filter.gateway_config.ingress_filter.client -- gRPC client for ingress filter (overrides defaults.grpc.client) + client: {} + # @schema {"name": "gateway.filter.gateway_config.ingress_filter.vectorizer", "type": "string"} + # gateway.filter.gateway_config.ingress_filter.vectorizer -- object ingress vectorize filter targets + vectorizer: "" + # @schema {"name": "gateway.filter.gateway_config.ingress_filter.search_filters", "type": "array", "items": {"type": "string"}} + # gateway.filter.gateway_config.ingress_filter.search_filters -- search ingress vector filter targets + search_filters: [] + # @schema {"name": "gateway.filter.gateway_config.ingress_filter.insert_filters", "type": "array", "items": {"type": "string"}} + # gateway.filter.gateway_config.ingress_filter.insert_filters -- insert ingress vector filter targets + insert_filters: [] + # @schema {"name": "gateway.filter.gateway_config.ingress_filter.update_filters", "type": "array", "items": {"type": "string"}} + # gateway.filter.gateway_config.ingress_filter.update_filters -- update ingress vector filter targets + update_filters: [] + # @schema {"name": "gateway.filter.gateway_config.ingress_filter.upsert_filters", "type": "array", "items": {"type": "string"}} + # gateway.filter.gateway_config.ingress_filter.upsert_filters -- upsert ingress vector filter targets + upsert_filters: [] + # @schema {"name": "gateway.filter.gateway_config.egress_filter", "type": "object"} + # gateway.filter.gateway_config.egress_filter -- gRPC client config for egress filter + egress_filter: + # @schema {"name": "gateway.filter.gateway_config.egress_filter.client", "alias": "grpc.client"} + # gateway.filter.gateway_config.egress_filter.client -- gRPC client config for egress filter (overrides defaults.grpc.client) + client: {} + # @schema {"name": "gateway.filter.gateway_config.egress_filter.object_filters", "type": "array", "items": {"type": "string"}} + # gateway.filter.gateway_config.egress_filter.object_filters -- object egress vector filter targets + object_filters: [] + # @schema {"name": "gateway.filter.gateway_config.egress_filter.distance_filters", "type": "array", "items": {"type": "string"}} + # gateway.filter.gateway_config.egress_filter.distance_filters -- distance egress vector filter targets + distance_filters: [] + # @schema {"name": "gateway.filter.serviceAccountName", "type": "string"} + # gateway.filter.serviceAccountName -- serviceAccountName -- Name of the service account to use. + # If not set, a service account is created. + serviceAccountName: "" + # @schema {"name": "gateway.mirror", "type": "object"} + mirror: + # @schema {"name": "gateway.mirror.enabled", "type": "boolean"} + # gateway.mirror.enabled -- gateway enabled + enabled: false + # @schema {"name": "gateway.mirror.version", "type": "string", "pattern": "^v[0-9]+\\.[0-9]+\\.[0-9]$", "anchor": "version"} + # gateway.mirror.version -- version of gateway config + version: v0.0.0 + # @schema {"name": "gateway.mirror.time_zone", "type": "string"} + # gateway.mirror.time_zone -- Time zone + time_zone: "" + # @schema {"name": "gateway.mirror.logging", "alias": "logging"} + # gateway.mirror.logging -- logging config (overrides defaults.logging) + logging: {} + # @schema {"name": "gateway.mirror.name", "type": "string"} + # gateway.mirror.name -- name of gateway deployment + name: vald-mirror-gateway + # @schema {"name": "gateway.mirror.kind", "type": "string", "enum": ["Deployment", "DaemonSet"]} + # gateway.mirror.kind -- deployment kind: Deployment or DaemonSet + kind: Deployment + # @schema {"name": "gateway.mirror.serviceType", "type": "string", "enum": ["ClusterIP", "LoadBalancer", "NodePort"]} + # gateway.mirror.serviceType -- service type: ClusterIP, LoadBalancer or NodePort + serviceType: ClusterIP + # @schema {"name": "gateway.mirror.externalTrafficPolicy", "type": "string"} + # gateway.mirror.externalTrafficPolicy -- external traffic policy (can be specified when service type is LoadBalancer or NodePort) : Cluster or Local + externalTrafficPolicy: "" + # @schema {"name": "gateway.mirror.internalTrafficPolicy", "type": "string"} + # gateway.mirror.internalTrafficPolicy -- internal traffic policy (can be specified when service type is LoadBalancer or NodePort) : Cluster or Local + internalTrafficPolicy: "" + # @schema {"name": "gateway.mirror.progressDeadlineSeconds", "type": "integer"} + # gateway.mirror.progressDeadlineSeconds -- progress deadline seconds + progressDeadlineSeconds: 600 + # @schema {"name": "gateway.mirror.minReplicas", "type": "integer", "minimum": 0} + # gateway.mirror.minReplicas -- minimum number of replicas. + # if HPA is disabled, the replicas will be set to this value + minReplicas: 3 + # @schema {"name": "gateway.mirror.maxReplicas", "type": "integer", "minimum": 0} + # gateway.mirror.maxReplicas -- maximum number of replicas. + # if HPA is disabled, this value will be ignored. + maxReplicas: 9 + # @schema {"name": "gateway.mirror.maxUnavailable", "type": "string"} + # gateway.mirror.maxUnavailable -- maximum number of unavailable replicas + maxUnavailable: 50% + # @schema {"name": "gateway.mirror.unhealthyPodEvictionPolicy", "type": "string", "enum": ["AlwaysAllow", "IfHealthyBudget"]} + # gateway.mirror.unhealthyPodEvictionPolicy -- controls whether unhealthy pods can be evicted based on the application's healthy pod count, supporting either cautious or permissive eviction. + unhealthyPodEvictionPolicy: "AlwaysAllow" + # @schema {"name": "gateway.mirror.revisionHistoryLimit", "type": "integer", "minimum": 0} + # gateway.mirror.revisionHistoryLimit -- number of old history to retain to allow rollback + revisionHistoryLimit: 2 + # @schema {"name": "gateway.mirror.terminationGracePeriodSeconds", "type": "integer", "minimum": 0} + # gateway.mirror.terminationGracePeriodSeconds -- duration in seconds pod needs to terminate gracefully + terminationGracePeriodSeconds: 30 + # @schema {"name": "gateway.mirror.podSecurityContext", "type": "object"} + # gateway.mirror.podSecurityContext -- security context for pod + podSecurityContext: + runAsUser: 65532 + runAsNonRoot: true + runAsGroup: 65532 + fsGroup: 65532 + fsGroupChangePolicy: "OnRootMismatch" + # @schema {"name": "gateway.mirror.securityContext", "type": "object"} + # gateway.mirror.securityContext -- security context for container + securityContext: + runAsUser: 65532 + runAsNonRoot: true + runAsGroup: 65532 + privileged: false + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + capabilities: + drop: + - ALL + # @schema {"name": "gateway.mirror.podPriority", "type": "object", "anchor": "podPriority"} + podPriority: + # @schema {"name": "gateway.mirror.podPriority.enabled", "type": "boolean"} + # gateway.mirror.podPriority.enabled -- gateway pod PriorityClass enabled + enabled: true + # @schema {"name": "gateway.mirror.podPriority.value", "type": "integer"} + # gateway.mirror.podPriority.value -- gateway pod PriorityClass value + value: 1000000 + # @schema {"name": "gateway.mirror.annotations", "type": "object"} + # gateway.mirror.annotations -- deployment annotations + annotations: {} + # @schema {"name": "gateway.mirror.podAnnotations", "type": "object"} + # gateway.mirror.podAnnotations -- pod annotations + podAnnotations: {} + # @schema {"name": "gateway.mirror.service", "type": "object", "anchor": "service"} + service: + # @schema {"name": "gateway.mirror.service.annotations", "type": "object"} + # gateway.mirror.service.annotations -- service annotations + annotations: {} + # @schema {"name": "gateway.mirror.service.labels", "type": "object"} + # gateway.mirror.service.labels -- service labels + labels: {} + # @schema {"name": "gateway.mirror.hpa", "type": "object", "anchor": "hpa"} + hpa: + # @schema {"name": "gateway.mirror.hpa.enabled", "type": "boolean"} + # gateway.mirror.hpa.enabled -- HPA enabled + enabled: true + # @schema {"name": "gateway.mirror.hpa.targetCPUUtilizationPercentage", "type": "integer"} + # gateway.mirror.hpa.targetCPUUtilizationPercentage -- HPA CPU utilization percentage + targetCPUUtilizationPercentage: 80 + # @schema {"name": "gateway.mirror.image", "type": "object", "anchor": "image"} + image: + # @schema {"name": "gateway.mirror.image.repository", "type": "string"} + # gateway.mirror.image.repository -- image repository + repository: vdaas/vald-mirror-gateway + # @schema {"name": "gateway.mirror.image.tag", "type": "string"} + # gateway.mirror.image.tag -- image tag (overrides defaults.image.tag) + tag: "" + # @schema {"name": "gateway.mirror.image.pullPolicy", "type": "string", "enum": ["Always", "Never", "IfNotPresent"]} + # gateway.mirror.image.pullPolicy -- image pull policy + pullPolicy: Always + # @schema {"name": "gateway.mirror.rollingUpdate", "type": "object", "anchor": "rollingUpdate"} + rollingUpdate: + # @schema {"name": "gateway.mirror.rollingUpdate.maxSurge", "type": "string"} + # gateway.mirror.rollingUpdate.maxSurge -- max surge of rolling update + maxSurge: 25% + # @schema {"name": "gateway.mirror.rollingUpdate.maxUnavailable", "type": "string"} + # gateway.mirror.rollingUpdate.maxUnavailable -- max unavailable of rolling update + maxUnavailable: 25% + # @schema {"name": "gateway.mirror.initContainers", "type": "array", "items": {"type": "object"}, "anchor": "initContainers"} + # gateway.mirror.initContainers -- init containers + initContainers: + - type: wait-for + name: wait-for-gateway-lb + target: gateway-lb + image: busybox:1.38.0 + imagePullPolicy: Always + sleepDuration: 2 + # @schema {"name": "gateway.mirror.env", "type": "array", "items": {"type": "object"}, "anchor": "env"} + # gateway.mirror.env -- environment variables + env: + - name: MY_NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + # @schema {"name": "gateway.mirror.volumeMounts", "type": "array", "items": {"type": "object"}, "anchor": "volumeMounts"} + # gateway.mirror.volumeMounts -- volume mounts + volumeMounts: [] + # @schema {"name": "gateway.mirror.volumes", "type": "array", "items": {"type": "object"}, "anchor": "volumes"} + # gateway.mirror.volumes -- volumes + volumes: [] + # @schema {"name": "gateway.mirror.nodeName", "type": "string"} + # gateway.mirror.nodeName -- node name + nodeName: "" + # @schema {"name": "gateway.mirror.nodeSelector", "type": "object", "anchor": "nodeSelector"} + # gateway.mirror.nodeSelector -- node selector + nodeSelector: {} + # @schema {"name": "gateway.mirror.tolerations", "type": "array", "items": {"type": "object"}, "anchor": "tolerations"} + # gateway.mirror.tolerations -- tolerations + tolerations: [] + # @schema {"name": "gateway.mirror.affinity", "type": "object", "anchor": "affinity"} + affinity: + # @schema {"name": "gateway.mirror.affinity.nodeAffinity", "type": "object"} + nodeAffinity: + # @schema {"name": "gateway.mirror.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution", "type": "array", "items": {"type": "object"}} + # gateway.mirror.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution -- node affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "gateway.mirror.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution", "type": "object"} + requiredDuringSchedulingIgnoredDuringExecution: + # @schema {"name": "gateway.mirror.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms", "type": "array", "items": {"type": "object"}} + # gateway.mirror.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms -- node affinity required node selectors + nodeSelectorTerms: [] + # @schema {"name": "gateway.mirror.affinity.podAffinity", "type": "object"} + podAffinity: + # @schema {"name": "gateway.mirror.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution", "type": "array", "items": {"type": "object"}} + # gateway.mirror.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "gateway.mirror.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution", "type": "array", "items": {"type": "object"}} + # gateway.mirror.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "gateway.mirror.affinity.podAntiAffinity", "type": "object"} + podAntiAffinity: + # @schema {"name": "gateway.mirror.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution", "type": "array", "items": {"type": "object"}} + # gateway.mirror.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + podAffinityTerm: + topologyKey: kubernetes.io/hostname + labelSelector: + matchExpressions: + - key: app + operator: In + values: + - vald-mirror-gateway + # @schema {"name": "gateway.mirror.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution", "type": "array", "items": {"type": "object"}} + # gateway.mirror.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "gateway.mirror.topologySpreadConstraints", "type": "array", "items": {"type": "object"}, "anchor": "topologySpreadConstraints"} + # gateway.mirror.topologySpreadConstraints -- topology spread constraints of gateway pods + topologySpreadConstraints: [] + # @schema {"name": "gateway.mirror.server_config", "alias": "server_config"} + # gateway.mirror.server_config -- server config (overrides defaults.server_config) + server_config: + servers: + rest: {} + grpc: {} + healths: + liveness: {} + readiness: {} + startup: {} + metrics: + pprof: {} + # @schema {"name": "gateway.mirror.observability", "alias": "observability"} + # gateway.mirror.observability -- observability config (overrides defaults.observability) + observability: + otlp: + attribute: + service_name: vald-mirror-gateway + # @schema {"name": "gateway.mirror.ingress", "type": "object"} + ingress: + # @schema {"name": "gateway.mirror.ingress.pathType", "type": "string"} + # gateway.mirror.ingress.pathType -- gateway ingress pathType + pathType: ImplementationSpecific + # @schema {"name": "gateway.mirror.ingress.enabled", "type": "boolean"} + # gateway.mirror.ingress.enabled -- gateway ingress enabled + enabled: false + # @schema {"name": "gateway.mirror.ingress.annotations", "type": "object"} + # gateway.mirror.ingress.annotations -- annotations for ingress + annotations: + nginx.ingress.kubernetes.io/grpc-backend: "true" + # @schema {"name": "gateway.mirror.ingress.host", "type": "string"} + # gateway.mirror.ingress.host -- ingress hostname + host: mirror.gateway.vald.vdaas.org + # @schema {"name": "gateway.mirror.ingress.servicePort", "type": "string"} + # gateway.mirror.ingress.servicePort -- service port to be exposed by ingress + servicePort: grpc + # @schema {"name": "gateway.mirror.ingress.tls", "type": "array", "items": {"type": "object"}} + # "gateway.mirror.ingress.tls -- ingress tls config + tls: + - hosts: [] + secretName: "" + # @schema {"name": "gateway.mirror.ingress.defaultBackend", "type": "object"} + # gateway.mirror.ingress.defaultBackend -- defaultBackend config + defaultBackend: + # @schema {"name": "gateway.mirror.ingress.defaultBackend.enabled", "type": "boolean"} + # gateway.mirror.ingress.defaultBackend.enabled -- gateway ingress defaultBackend enabled + enabled: true + # @schema {"name": "gateway.mirror.resources", "type": "object", "anchor": "resources"} + # gateway.mirror.resources -- compute resources + resources: + # @schema {"name": "gateway.mirror.resources.requests", "type": "object"} + requests: + cpu: 200m + memory: 150Mi + # @schema {"name": "gateway.mirror.resources.limits", "type": "object"} + limits: + cpu: 2000m + memory: 700Mi + # @schema {"name": "gateway.mirror.gateway_config", "type": "object"} + gateway_config: + # @schema {"name": "gateway.mirror.gateway_config.net", "alias": "net"} + net: + # gateway.mirror.gateway_config.net.network.cache_enabled -- gRPC client dialer network type + network: tcp + dns: + # gateway.mirror.gateway_config.net.dns.cache_enabled -- DNS cache enabled + cache_enabled: true + # gateway.mirror.gateway_config.net.dns.refresh_duration -- DNS cache refresh duration + refresh_duration: 5m + # gateway.mirror.gateway_config.net.dns.cache_expiration -- DNS cache expiration + cache_expiration: 24h + dialer: + # gateway.mirror.gateway_config.net.dialer.timeout -- TCP dialer timeout + timeout: 30s + # gateway.mirror.gateway_config.net.dialer.keepalive -- TCP dialer keep alive + keepalive: 10m + # gateway.mirror.gateway_config.net.dialer.dual_stack_enabled -- TCP dialer dual stack enabled + dual_stack_enabled: false + tls: + # gateway.mirror.gateway_config.net.tls.enabled -- TLS enabled + enabled: false + # gateway.mirror.gateway_config.net.tls.cert -- TLS cert path + cert: /path/to/cert + # gateway.mirror.gateway_config.net.tls.key -- TLS key path + key: /path/to/key + # gateway.mirror.gateway_config.net.tls.ca -- TLS ca path + ca: /path/to/ca + # gateway.mirror.gateway_config.net.tls.insecure_skip_verify -- enable/disable skip SSL certificate verification + insecure_skip_verify: false + # gateway.mirror.gateway_config.net.tls.server_name -- SSL Server Name + server_name: "" + # gateway.mirror.gateway_config.net.tls.client_auth -- client auth type + client_auth: None + # @schema {"name": "gateway.mirror.gateway_config.net.socket_option", "alias": "socket_option"} + socket_option: + # gateway.mirror.gateway_config.net.socket_option.reuse_port -- server listen socket option for reuse_port functionality + reuse_port: true + # gateway.mirror.gateway_config.net.socket_option.reuse_addr -- server listen socket option for reuse_addr functionality + reuse_addr: true + # gateway.mirror.gateway_config.net.socket_option.tcp_fast_open -- server listen socket option for tcp_fast_open functionality + tcp_fast_open: true + # gateway.mirror.gateway_config.net.socket_option.tcp_no_delay -- server listen socket option for tcp_no_delay functionality + tcp_no_delay: true + # gateway.mirror.gateway_config.net.socket_option.tcp_cork -- server listen socket option for tcp_cork functionality + tcp_cork: false + # gateway.mirror.gateway_config.net.socket_option.tcp_quick_ack -- server listen socket option for tcp_quick_ack functionality + tcp_quick_ack: true + # gateway.mirror.gateway_config.net.socket_option.tcp_defer_accept -- server listen socket option for tcp_defer_accept functionality + tcp_defer_accept: true + # gateway.mirror.gateway_config.net.socket_option.ip_transparent -- server listen socket option for ip_transparent functionality + ip_transparent: false + # gateway.mirror.gateway_config.net.socket_option.ip_recover_destination_addr -- server listen socket option for ip_recover_destination_addr functionality + ip_recover_destination_addr: false + # @schema {"name": "gateway.mirror.gateway_config.client", "alias": "grpc.client"} + # gateway.mirror.gateway_config.client -- gRPC client (overrides defaults.grpc.client) + client: {} + # @schema {"name": "gateway.mirror.gateway_config.self_mirror_addr", "type": "string"} + # gateway.mirror.gateway_config.self_mirror_addr -- address for self mirror-gateway + self_mirror_addr: "" + # @schema {"name": "gateway.mirror.gateway_config.gateway_addr", "type": "string"} + # gateway.mirror.gateway_config.gateway_addr -- address for lb-gateway + gateway_addr: "" + # @schema {"name": "gateway.mirror.gateway_config.pod_name", "type": "string"} + # gateway.mirror.gateway_config.pod_name -- self mirror gateway pod name + pod_name: _MY_POD_NAME_ + # @schema {"name": "gateway.mirror.gateway_config.register_duration", "type": "string"} + # gateway.mirror.gateway_config.register_duration -- duration to register mirror-gateway. + register_duration: "1s" + # @schema {"name": "gateway.mirror.gateway_config.namespace", "type": "string"} + # gateway.mirror.gateway_config.namespace -- namespace to discovery + namespace: _MY_POD_NAMESPACE_ + # @schema {"name": "gateway.mirror.gateway_config.discovery_duration", "type": "string"} + # gateway.mirror.gateway_config.discovery_duration -- duration to discovery + discovery_duration: 1s + # @schema {"name": "gateway.mirror.gateway_config.colocation", "type": "string"} + # gateway.mirror.gateway_config.colocation -- colocation name + colocation: "dc1" + # @schema {"name": "gateway.mirror.gateway_config.group", "type": "string"} + # gateway.mirror.gateway_config.group -- mirror group name + group: "" + # @schema {"name": "gateway.mirror.clusterRole", "type": "object"} + clusterRole: + # @schema {"name": "gateway.mirror.clusterRole.enabled", "type": "boolean"} + # gateway.mirror.clusterRole.enabled -- creates clusterRole resource + enabled: true + # @schema {"name": "gateway.mirror.clusterRole.name", "type": "string"} + # gateway.mirror.clusterRole.name -- name of clusterRole + name: gateway-mirror + # @schema {"name": "gateway.mirror.clusterRoleBinding", "type": "object"} + clusterRoleBinding: + # @schema {"name": "gateway.mirror.clusterRoleBinding.enabled", "type": "boolean"} + # gateway.mirror.clusterRoleBinding.enabled -- creates clusterRoleBinding resource + enabled: true + # @schema {"name": "gateway.mirror.clusterRoleBinding.name", "type": "string"} + # gateway.mirror.clusterRoleBinding.name -- name of clusterRoleBinding + name: gateway-mirror + # @schema {"name": "gateway.mirror.serviceAccountName", "type": "string"} + # gateway.mirror.serviceAccountName -- serviceAccountName -- Name of the service account to use. + # If not set, a service account is created. + serviceAccountName: gateway-mirror +# @schema {"name": "agent", "type": "object"} +agent: + # @schema {"name": "agent.enabled", "type": "boolean"} + # agent.enabled -- agent enabled + enabled: true + # @schema {"name": "agent.version", "alias": "version"} + # agent.version -- version of agent config + version: v0.0.0 + # @schema {"name": "agent.algorithm", "type": "string", "enum": ["ngt", "faiss"]} + # agent.algorithm -- agent algorithm type. + # it should be `ngt` or `faiss`. + algorithm: ngt + # @schema {"name": "agent.time_zone", "type": "string"} + # agent.time_zone -- Time zone + time_zone: "" + # @schema {"name": "agent.logging", "alias": "logging"} + # agent.logging -- logging config (overrides defaults.logging) + logging: {} + # @schema {"name": "agent.name", "type": "string"} + # agent.name -- name of agent deployment + name: vald-agent + # @schema {"name": "agent.kind", "type": "string", "enum": ["StatefulSet", "Deployment", "DaemonSet"]} + # agent.kind -- deployment kind: Deployment, DaemonSet or StatefulSet + kind: StatefulSet + # @schema {"name": "agent.serviceType", "type": "string", "enum": ["ClusterIP", "LoadBalancer", "NodePort"]} + # agent.serviceType -- service type: ClusterIP, LoadBalancer or NodePort + serviceType: ClusterIP + # @schema {"name": "agent.externalTrafficPolicy", "type": "string"} + # agent.externalTrafficPolicy -- external traffic policy (can be specified when service type is LoadBalancer or NodePort) : Cluster or Local + externalTrafficPolicy: "" + # @schema {"name": "agent.progressDeadlineSeconds", "type": "integer"} + # agent.progressDeadlineSeconds -- progress deadline seconds + progressDeadlineSeconds: 600 + # @schema {"name": "agent.minReplicas", "type": "integer", "minimum": 0} + # agent.minReplicas -- minimum number of replicas. + # if HPA is disabled, the replicas will be set to this value + minReplicas: 20 + # @schema {"name": "agent.maxReplicas", "type": "integer", "minimum": 0} + # agent.maxReplicas -- maximum number of replicas. + # if HPA is disabled, this value will be ignored. + maxReplicas: 300 + # @schema {"name": "agent.maxUnavailable", "type": "string"} + # agent.maxUnavailable -- maximum number of unavailable replicas + maxUnavailable: "1" + # @schema {"name": "agent.unhealthyPodEvictionPolicy", "type": "string", "enum": ["AlwaysAllow", "IfHealthyBudget"]} + # agent.unhealthyPodEvictionPolicy -- controls whether unhealthy pods can be evicted based on the application's healthy pod count, supporting either cautious or permissive eviction. + unhealthyPodEvictionPolicy: "IfHealthyBudget" + # @schema {"name": "agent.revisionHistoryLimit", "type": "integer", "minimum": 0} + # agent.revisionHistoryLimit -- number of old history to retain to allow rollback + revisionHistoryLimit: 2 + # @schema {"name": "agent.terminationGracePeriodSeconds", "type": "integer", "minimum": 0} + # agent.terminationGracePeriodSeconds -- duration in seconds pod needs to terminate gracefully + terminationGracePeriodSeconds: 120 + # @schema {"name": "agent.podSecurityContext", "type": "object"} + # agent.podSecurityContext -- security context for pod + podSecurityContext: + runAsUser: 65532 + runAsNonRoot: true + runAsGroup: 65532 + fsGroup: 65532 + fsGroupChangePolicy: "OnRootMismatch" + # @schema {"name": "agent.securityContext", "type": "object"} + # agent.securityContext -- security context for container + securityContext: + runAsUser: 65532 + runAsNonRoot: true + runAsGroup: 65532 + privileged: false + allowPrivilegeEscalation: false + readOnlyRootFilesystem: false + capabilities: + drop: + - ALL + # @schema {"name": "agent.podManagementPolicy", "type": "string", "enum": ["OrderedReady", "Parallel"]} + # agent.podManagementPolicy -- pod management policy: OrderedReady or Parallel + podManagementPolicy: OrderedReady + # @schema {"name": "agent.persistentVolume", "type": "object"} + persistentVolume: + # @schema {"name": "agent.persistentVolume.enabled", "type": "boolean"} + # agent.persistentVolume.enabled -- enables PVC. + # It is required to enable if agent pod's file store functionality is enabled with non in-memory mode + enabled: false + # @schema {"name": "agent.persistentVolume.accessMode", "type": "string"} + # agent.persistentVolume.accessMode -- agent pod storage accessMode + accessMode: ReadWriteOncePod + # @schema {"name": "agent.persistentVolume.mountPropagation", "type": "string"} + # agent.persistentVolume.mountPropagation -- agent pod storage mountPropagation + mountPropagation: None + # @schema {"name": "agent.persistentVolume.storageClass", "type": "string"} + # agent.persistentVolume.storageClass -- storageClass name for agent pod volume + storageClass: vald-sc + # @schema {"name": "agent.persistentVolume.size", "type": "string"} + # agent.persistentVolume.size -- size of agent pod volume + size: 100Gi + # @schema {"name": "agent.podPriority", "alias": "podPriority"} + podPriority: + # agent.podPriority.enabled -- agent pod PriorityClass enabled + enabled: true + # agent.podPriority.value -- agent pod PriorityClass value + value: 1000000000 + # @schema {"name": "agent.annotations", "type": "object"} + # agent.annotations -- deployment annotations + annotations: {} + # @schema {"name": "agent.podAnnotations", "type": "object"} + # agent.podAnnotations -- pod annotations + podAnnotations: {} + # @schema {"name": "agent.service", "alias": "service"} + service: + # agent.service.annotations -- service annotations + annotations: {} + # agent.service.labels -- service labels + labels: {} + # @schema {"name": "agent.hpa", "alias": "hpa"} + hpa: + # agent.hpa.enabled -- HPA enabled + enabled: false + # agent.hpa.targetCPUUtilizationPercentage -- HPA CPU utilization percentage + targetCPUUtilizationPercentage: 80 + # @schema {"name": "agent.image", "alias": "image"} + image: + # agent.image.repository -- image repository + repository: vdaas/vald-agent-ngt + # agent.image.tag -- image tag (overrides defaults.image.tag) + tag: "" + # agent.image.pullPolicy -- image pull policy + pullPolicy: Always + # @schema {"name": "agent.rollingUpdate", "type": "object"} + rollingUpdate: + # @schema {"name": "agent.rollingUpdate.maxSurge", "type": "string"} + # agent.rollingUpdate.maxSurge -- max surge of rolling update + maxSurge: 25% + # @schema {"name": "agent.rollingUpdate.maxUnavailable", "type": "string"} + # agent.rollingUpdate.maxUnavailable -- max unavailable of rolling update + maxUnavailable: 25% + # @schema {"name": "agent.rollingUpdate.partition", "type": "integer"} + # agent.rollingUpdate.partition -- StatefulSet partition + partition: 0 + # @schema {"name": "agent.initContainers", "alias": "initContainers"} + # agent.initContainers -- init containers + initContainers: [] + # @schema {"name": "agent.clusterRole", "type": "object"} + clusterRole: + # @schema {"name": "agent.clusterRole.enabled", "type": "boolean"} + # agent.clusterRole.enabled -- creates clusterRole resource + enabled: true + # @schema {"name": "agent.clusterRole.name", "type": "string"} + # agent.clusterRole.name -- name of clusterRole + name: agent + # @schema {"name": "agent.clusterRoleBinding", "type": "object"} + clusterRoleBinding: + # @schema {"name": "agent.clusterRoleBinding.enabled", "type": "boolean"} + # agent.clusterRoleBinding.enabled -- creates clusterRoleBinding resource + enabled: true + # @schema {"name": "agent.clusterRoleBinding.name", "type": "string"} + # agent.clusterRoleBinding.name -- name of clusterRoleBinding + name: agent + # @schema {"name": "agent.serviceAccountName", "type": "string"} + # agent.serviceAccountName -- serviceAccountName -- Name of the service account to use. + # If not set, a service account is created. + serviceAccountName: agent-ngt + # @schema {"name": "agent.env", "alias": "env"} + # agent.env -- environment variables + env: + - name: MY_NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + # @schema {"name": "agent.volumeMounts", "alias": "volumeMounts"} + # agent.volumeMounts -- volume mounts + volumeMounts: [] + # @schema {"name": "agent.volumes", "alias": "volumes"} + # agent.volumes -- volumes + volumes: [] + # @schema {"name": "agent.nodeName", "type": "string"} + # agent.nodeName -- node name + nodeName: "" + # @schema {"name": "agent.nodeSelector", "alias": "nodeSelector"} + # agent.nodeSelector -- node selector + nodeSelector: {} + # @schema {"name": "agent.tolerations", "alias": "tolerations"} + # agent.tolerations -- tolerations + tolerations: [] + # @schema {"name": "agent.affinity", "alias": "affinity"} + affinity: + nodeAffinity: + # agent.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution -- node affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + requiredDuringSchedulingIgnoredDuringExecution: + # agent.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms -- node affinity required node selectors + nodeSelectorTerms: [] + podAffinity: + # agent.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + # agent.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + podAntiAffinity: + # agent.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + podAffinityTerm: + topologyKey: kubernetes.io/hostname + labelSelector: + matchExpressions: + - key: app + operator: In + values: + - vald-agent + # agent.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "agent.topologySpreadConstraints", "alias": "topologySpreadConstraints"} + # agent.topologySpreadConstraints -- topology spread constraints for agent pods + topologySpreadConstraints: [] + # @schema {"name": "agent.server_config", "alias": "server_config"} + # agent.server_config -- server config (overrides defaults.server_config) + server_config: + servers: + rest: {} + grpc: {} + healths: + liveness: {} + readiness: {} + startup: + startupProbe: + failureThreshold: 200 + periodSeconds: 5 + metrics: + pprof: {} + # @schema {"name": "agent.observability", "alias": "observability"} + # agent.observability -- observability config (overrides defaults.observability) + observability: + otlp: + attribute: + service_name: vald-agent + # @schema {"name": "agent.resources", "alias": "resources"} + # agent.resources -- compute resources. + # recommended setting of memory requests = cluster memory * 0.4 / number of agent pods + resources: + requests: + cpu: 300m + memory: 4Gi + # @schema {"name": "agent.readreplica", "type": "object"} + # agent.readreplica -- readreplica deployment annotations + readreplica: + # @schema {"name": "agent.readreplica.enabled", "type": "boolean"} + # agent.readreplica.enabled -- [This feature is WORK IN PROGRESS]enable agent readreplica + enabled: false + # @schema {"name": "agent.readreplica.name", "type": "string"} + # agent.readreplica.name -- name of agent readreplica + name: vald-agent-ngt-readreplica + # @schema {"name": "agent.readreplica.component_name", "type": "string"} + # agent.readreplica.component_name -- app.kubernetes.io/component name of agent readreplica + component_name: agent-readreplica + # @schema {"name": "agent.readreplica.label_key", "type": "string"} + # agent.readreplica.label_key -- label key to identify read replica resources + label_key: vald-readreplica-id + # @schema {"name": "agent.readreplica.volume_name", "type": "string"} + # agent.readreplica.volume_name -- name of clone volume of agent pvc for read replica + volume_name: vald-agent-ngt-readreplica-pvc + # @schema {"name": "agent.readreplica.snapshot_classname", "type": "string"} + # agent.readreplica.snapshot_classname -- snapshot class name for snapshotter used for read replica + snapshot_classname: "" + # @schema {"name": "agent.readreplica.minReplicas", "type": "integer", "minimum": 1} + # agent.readreplica.minReplicas -- minimum number of replicas. + # if HPA is disabled, the replicas will be set to this value + minReplicas: 1 + # @schema {"name": "agent.readreplica.maxReplicas", "type": "integer", "minimum": 1} + # agent.readreplica.maxReplicas -- maximum number of replicas. + # if HPA is disabled, this value will be ignored. + maxReplicas: 3 + # @schema {"name": "agent.readreplica.hpa", "alias": "hpa"} + hpa: + # agent.readreplica.hpa.enabled -- HPA enabled + enabled: false + # agent.readreplica.hpa.targetCPUUtilizationPercentage -- HPA CPU utilization percentage + targetCPUUtilizationPercentage: 80 + # @schema {"name": "agent.readreplica.service", "type": "object"} + # agent.readreplica.service -- service settings for read replica service resources + service: + # @schema {"name": "agent.readreplica.service.annotations", "type": "object"} + # agent.readreplica.service.annotations -- readreplica deployment annotations + annotations: {} + # @schema {"name": "agent.ngt", "type": "object"} + ngt: + # @schema {"name": "agent.ngt.pod_name", "type": "string"} + # agent.ngt.pod_name -- pod name of myself + pod_name: _MY_POD_NAME_ + # @schema {"name": "agent.ngt.namespace", "type": "string"} + # agent.ngt.namespace -- namespace of myself + namespace: _MY_POD_NAMESPACE_ + # @schema {"name": "agent.ngt.index_path", "type": "string"} + # agent.ngt.index_path -- path to index data + index_path: "" + # @schema {"name": "agent.ngt.auto_index_duration_limit", "type": "string"} + # agent.ngt.auto_index_duration_limit -- limit duration of automatic indexing + auto_index_duration_limit: 24h + # @schema {"name": "agent.ngt.auto_index_check_duration", "type": "string"} + # agent.ngt.auto_index_check_duration -- check duration of automatic indexing + auto_index_check_duration: 30m + # @schema {"name": "agent.ngt.auto_index_length", "type": "integer"} + # agent.ngt.auto_index_length -- number of cache to trigger automatic indexing + auto_index_length: 100 + # @schema {"name": "agent.ngt.auto_save_index_duration", "type": "string"} + # agent.ngt.auto_save_index_duration -- duration of automatic save index + auto_save_index_duration: 35m + # @schema {"name": "agent.ngt.auto_create_index_pool_size", "type": "integer"} + # agent.ngt.auto_create_index_pool_size -- batch process pool size of automatic create index operation + auto_create_index_pool_size: 16 + # @schema {"name": "agent.ngt.initial_delay_max_duration", "type": "string"} + # agent.ngt.initial_delay_max_duration -- maximum duration for initial delay + initial_delay_max_duration: 3m + # @schema {"name": "agent.ngt.dimension", "type": "integer", "minimum": 1} + # agent.ngt.dimension -- vector dimension + dimension: 4096 + # @schema {"name": "agent.ngt.bulk_insert_chunk_size", "type": "integer"} + # agent.ngt.bulk_insert_chunk_size -- bulk insert chunk size + bulk_insert_chunk_size: 10 + # @schema {"name": "agent.ngt.distance_type", "type": "string", "enum": ["l1", "l2", "ang", "angle", "ham", "hamming", "cos", "cosine", "poincare", "poinc", "lorentz", "loren", "jac", "jaccard", "spjac", "sparsejaccard", "norml2", "normalizedl2", "normang", "normalizedangle", "normcos", "normalizedcosine", "dotproduct", "innerproduct", "dp", "ip"]} + # agent.ngt.distance_type -- distance type. + # it should be `l1`, `l2`, `angle`, `hamming`, `cosine`,`poincare`, `lorentz`, `jaccard`, `sparsejaccard`, `normalizedangle` or `normalizedcosine` or `innerproduct`. + # for further details about NGT libraries supported distance is https://github.com/NGT-labs/NGT/wiki/Command-Quick-Reference + # and vald agent's supported NGT distance type is https://pkg.go.dev/github.com/vdaas/vald/internal/core/algorithm/ngt#pkg-constants + distance_type: l2 + # @schema {"name": "agent.ngt.object_type", "type": "string", "enum": ["float", "float16", "uint8"]} + # agent.ngt.object_type -- object type. + # it should be `float` or `uint8` or `float16`. + # for further details: https://github.com/NGT-labs/NGT/wiki/Command-Quick-Reference + object_type: float + # @schema {"name": "agent.ngt.creation_edge_size", "type": "integer"} + # agent.ngt.creation_edge_size -- creation edge size + creation_edge_size: 50 + # @schema {"name": "agent.ngt.search_edge_size", "type": "integer"} + # agent.ngt.search_edge_size -- search edge size + search_edge_size: 50 + # @schema {"name": "agent.ngt.enable_in_memory_mode", "type": "boolean"} + # agent.ngt.enable_in_memory_mode -- in-memory mode enabled + enable_in_memory_mode: true + # @schema {"name": "agent.ngt.default_pool_size", "type": "integer"} + # agent.ngt.default_pool_size -- default create index batch pool size + default_pool_size: 16 + # @schema {"name": "agent.ngt.default_radius", "type": "number"} + # agent.ngt.default_radius -- default radius used for search + default_radius: -1.0 + # @schema {"name": "agent.ngt.default_epsilon", "type": "number"} + # agent.ngt.default_epsilon -- default epsilon used for search + default_epsilon: 0.05 + # @schema {"name": "agent.ngt.epsilon_for_creation", "type": "number"} + # agent.ngt.epsilon_for_creation -- the epsilon used for creation + epsilon_for_creation: 0.05 + # @schema {"name": "agent.ngt.min_load_index_timeout", "type": "string"} + # agent.ngt.min_load_index_timeout -- minimum duration of load index timeout + min_load_index_timeout: 3m + # @schema {"name": "agent.ngt.max_load_index_timeout", "type": "string"} + # agent.ngt.max_load_index_timeout -- maximum duration of load index timeout + max_load_index_timeout: 10m + # @schema {"name": "agent.ngt.load_index_timeout_factor", "type": "string"} + # agent.ngt.load_index_timeout_factor -- a factor of load index timeout. + # timeout duration will be calculated by (index count to be loaded) * (factor). + load_index_timeout_factor: 1ms + # @schema {"name": "agent.ngt.enable_proactive_gc", "type": "boolean"} + # agent.ngt.enable_proactive_gc -- enable proactive GC call for reducing heap memory allocation + enable_proactive_gc: false + # @schema {"name": "agent.ngt.enable_copy_on_write", "type": "boolean"} + # agent.ngt.enable_copy_on_write -- enable copy on write saving for more stable backup + enable_copy_on_write: false + # @schema {"name": "agent.ngt.enable_export_index_info_to_k8s", "type": "boolean"} + # agent.ngt.enable_export_index_info_to_k8s -- enable export index info to k8s + enable_export_index_info_to_k8s: false + # @schema {"name": "agent.ngt.export_index_info_duration", "type": "string"} + # agent.ngt.export_index_info_duration -- duration of exporting index info + export_index_info_duration: 1m + # @schema {"name": "agent.ngt.vqueue", "type": "object"} + vqueue: + # @schema {"name": "agent.ngt.vqueue.insert_buffer_pool_size", "type": "integer"} + # agent.ngt.vqueue.insert_buffer_pool_size -- insert slice pool buffer size + insert_buffer_pool_size: 10000 + # @schema {"name": "agent.ngt.vqueue.delete_buffer_pool_size", "type": "integer"} + # agent.ngt.vqueue.delete_buffer_pool_size -- delete slice pool buffer size + delete_buffer_pool_size: 5000 + # @schema {"name": "agent.ngt.kvsdb", "type": "object"} + kvsdb: + # @schema {"name": "agent.ngt.kvsdb.concurrency", "type": "integer"} + # agent.ngt.kvsdb.concurrency -- kvsdb processing concurrency + concurrency: 6 + # @schema {"name": "agent.ngt.broken_index_history_limit", "type": "integer", "minimum": 0} + # agent.ngt.broken_index_history_limit -- maximum number of broken index generations to backup + broken_index_history_limit: 0 + # @schema {"name": "agent.ngt.error_buffer_limit", "type": "integer", "minimum": 1} + # agent.ngt.error_buffer_limit -- maximum number of core ngt error buffer pool size limit + error_buffer_limit: 10 + # @schema {"name": "agent.ngt.enable_statistics", "type": "boolean"} + # agent.ngt.enable_statistics -- enable index statistics loading + enable_statistics: false + # @schema {"name": "agent.faiss", "type": "object"} + faiss: + # @schema {"name": "agent.faiss.pod_name", "type": "string"} + # agent.faiss.pod_name -- pod name of myself + pod_name: _MY_POD_NAME_ + # @schema {"name": "agent.faiss.namespace", "type": "string"} + # agent.faiss.namespace -- namespace of myself + namespace: _MY_POD_NAMESPACE_ + # @schema {"name": "agent.faiss.index_path", "type": "string"} + # agent.faiss.index_path -- path to index data + index_path: "" + # @schema {"name": "agent.faiss.auto_index_duration_limit", "type": "string"} + # agent.faiss.auto_index_duration_limit -- limit duration of automatic indexing + auto_index_duration_limit: 24h + # @schema {"name": "agent.faiss.auto_index_check_duration", "type": "string"} + # agent.faiss.auto_index_check_duration -- check duration of automatic indexing + auto_index_check_duration: 30m + # @schema {"name": "agent.faiss.auto_index_length", "type": "integer"} + # agent.faiss.auto_index_length -- number of cache to trigger automatic indexing + auto_index_length: 100 + # @schema {"name": "agent.faiss.auto_save_index_duration", "type": "string"} + # agent.faiss.auto_save_index_duration -- duration of automatic save index + auto_save_index_duration: 35m + # @schema {"name": "agent.faiss.initial_delay_max_duration", "type": "string"} + # agent.faiss.initial_delay_max_duration -- maximum duration for initial delay + initial_delay_max_duration: 3m + # @schema {"name": "agent.faiss.dimension", "type": "integer", "minimum": 1} + # agent.faiss.dimension -- vector dimension + dimension: 4096 + # @schema {"name": "agent.faiss.method_type", "type": "string", "enum": ["ivfpq", "binaryindex"]} + # agent.faiss.method_type -- method type + # it should be `ivfpq` or `binaryindex` + method_type: ivfpq + # @schema {"name": "agent.faiss.metric_type", "type": "string", "enum": ["innerproduct", "l2"]} + # agent.faiss.metric_type -- metric type + # it should be `innerproduct` or `l2` + metric_type: l2 + # @schema {"name": "agent.faiss.nlist", "type": "integer"} + # agent.faiss.nlist -- nlist + nlist: 100 + # @schema {"name": "agent.faiss.m", "type": "integer"} + # agent.faiss.m -- m + m: 8 + # @schema {"name": "agent.faiss.nbits_per_idx", "type": "integer"} + # agent.faiss.nbits_per_idx -- nbits_per_idx + nbits_per_idx: 8 + # @schema {"name": "agent.faiss.enable_in_memory_mode", "type": "boolean"} + # agent.faiss.enable_in_memory_mode -- in-memory mode enabled + enable_in_memory_mode: true + # @schema {"name": "agent.faiss.min_load_index_timeout", "type": "string"} + # agent.faiss.min_load_index_timeout -- minimum duration of load index timeout + min_load_index_timeout: 3m + # @schema {"name": "agent.faiss.max_load_index_timeout", "type": "string"} + # agent.faiss.max_load_index_timeout -- maximum duration of load index timeout + max_load_index_timeout: 10m + # @schema {"name": "agent.faiss.load_index_timeout_factor", "type": "string"} + # agent.faiss.load_index_timeout_factor -- a factor of load index timeout. + # timeout duration will be calculated by (index count to be loaded) * (factor). + load_index_timeout_factor: 1ms + # @schema {"name": "agent.faiss.enable_proactive_gc", "type": "boolean"} + # agent.faiss.enable_proactive_gc -- enable proactive GC call for reducing heap memory allocation + enable_proactive_gc: false + # @schema {"name": "agent.faiss.enable_copy_on_write", "type": "boolean"} + # agent.faiss.enable_copy_on_write -- enable copy on write saving for more stable backup + enable_copy_on_write: false + # @schema {"name": "agent.faiss.vqueue", "type": "object"} + vqueue: + # @schema {"name": "agent.faiss.vqueue.insert_buffer_pool_size", "type": "integer"} + # agent.faiss.vqueue.insert_buffer_pool_size -- insert slice pool buffer size + insert_buffer_pool_size: 10000 + # @schema {"name": "agent.faiss.vqueue.delete_buffer_pool_size", "type": "integer"} + # agent.faiss.vqueue.delete_buffer_pool_size -- delete slice pool buffer size + delete_buffer_pool_size: 5000 + # @schema {"name": "agent.faiss.kvsdb", "type": "object"} + kvsdb: + # @schema {"name": "agent.faiss.kvsdb.concurrency", "type": "integer"} + # agent.faiss.kvsdb.concurrency -- kvsdb processing concurrency + concurrency: 6 + # @schema {"name": "agent.sidecar", "type": "object"} + sidecar: + # @schema {"name": "agent.sidecar.enabled", "type": "boolean"} + # agent.sidecar.enabled -- sidecar enabled + enabled: false + # @schema {"name": "agent.sidecar.initContainerEnabled", "type": "boolean"} + # agent.sidecar.initContainerEnabled -- sidecar on initContainer mode enabled. + initContainerEnabled: false + # @schema {"name": "agent.sidecar.version", "alias": "version"} + # agent.sidecar.version -- version of agent sidecar config + version: v0.0.0 + # @schema {"name": "agent.sidecar.time_zone", "type": "string"} + # agent.sidecar.time_zone -- Time zone + time_zone: "" + # @schema {"name": "agent.sidecar.logging", "alias": "logging"} + # agent.sidecar.logging -- logging config (overrides defaults.logging) + logging: {} + # @schema {"name": "agent.sidecar.name", "type": "string"} + # agent.sidecar.name -- name of agent sidecar + name: vald-agent-sidecar + # @schema {"name": "agent.sidecar.image", "alias": "image"} + image: + # agent.sidecar.image.repository -- image repository + repository: vdaas/vald-agent-sidecar + # agent.sidecar.image.tag -- image tag (overrides defaults.image.tag) + tag: "" + # agent.sidecar.image.pullPolicy -- image pull policy + pullPolicy: Always + # @schema {"name": "agent.sidecar.service", "type": "object"} + service: + # @schema {"name": "agent.sidecar.service.enabled", "type": "boolean"} + # agent.sidecar.service.enabled -- agent sidecar service enabled + enabled: false + # @schema {"name": "agent.sidecar.service.annotations", "type": "object"} + # agent.sidecar.service.annotations -- agent sidecar service annotations + annotations: {} + # @schema {"name": "agent.sidecar.service.labels", "type": "object"} + # agent.sidecar.service.labels -- agent sidecar service labels + labels: {} + # @schema {"name": "agent.sidecar.service.type", "type": "string", "enum": ["ClusterIP", "LoadBalancer", "NodePort"]} + # agent.sidecar.service.type -- service type: ClusterIP, LoadBalancer or NodePort + type: ClusterIP + # @schema {"name": "agent.sidecar.service.externalTrafficPolicy", "type": "string"} + # agent.sidecar.service.externalTrafficPolicy -- external traffic policy (can be specified when service type is LoadBalancer or NodePort) : Cluster or Local + externalTrafficPolicy: "" + # @schema {"name": "agent.sidecar.env", "alias": "env"} + # agent.sidecar.env -- environment variables + env: + - name: MY_NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: AWS_ACCESS_KEY + valueFrom: + secretKeyRef: + name: aws-secret + key: access-key + - name: AWS_SECRET_ACCESS_KEY + valueFrom: + secretKeyRef: + name: aws-secret + key: secret-access-key + # @schema {"name": "agent.sidecar.server_config", "alias": "server_config"} + # agent.sidecar.server_config -- server config (overrides defaults.server_config) + server_config: + servers: + rest: + enabled: false + port: 18080 + servicePort: 18080 + grpc: + enabled: false + port: 18081 + servicePort: 18081 + healths: + liveness: + enabled: false + port: 13000 + servicePort: 13000 + readiness: + enabled: false + port: 13001 + servicePort: 13001 + startup: + enabled: false + port: 13001 + metrics: + pprof: + port: 16060 + servicePort: 16060 + # @schema {"name": "agent.sidecar.observability", "alias": "observability"} + # agent.sidecar.observability -- observability config (overrides defaults.observability) + observability: + otlp: + attribute: + service_name: vald-agent-sidecar + # @schema {"name": "agent.sidecar.resources", "alias": "resources"} + # agent.sidecar.resources -- compute resources. + resources: + requests: + cpu: 100m + memory: 100Mi + # @schema {"name": "agent.sidecar.config", "type": "object"} + config: + # @schema {"name": "agent.sidecar.config.watch_enabled", "type": "boolean"} + # agent.sidecar.config.watch_enabled -- auto backup triggered by file changes is enabled + watch_enabled: true + # @schema {"name": "agent.sidecar.config.auto_backup_enabled", "type": "boolean"} + # agent.sidecar.config.auto_backup_enabled -- auto backup triggered by timer is enabled + auto_backup_enabled: true + # @schema {"name": "agent.sidecar.config.auto_backup_duration", "type": "string"} + # agent.sidecar.config.auto_backup_duration -- auto backup duration + auto_backup_duration: 24h + # @schema {"name": "agent.sidecar.config.post_stop_timeout", "type": "string"} + # agent.sidecar.config.post_stop_timeout -- timeout for observing file changes during post stop + post_stop_timeout: 2m + # @schema {"name": "agent.sidecar.config.filename", "type": "string"} + # agent.sidecar.config.filename -- backup filename + filename: _MY_POD_NAME_ + # @schema {"name": "agent.sidecar.config.filename_suffix", "type": "string"} + # agent.sidecar.config.filename_suffix -- suffix for backup filename + filename_suffix: ".tar.gz" + # @schema {"name": "agent.sidecar.config.blob_storage", "type": "object"} + blob_storage: + # @schema {"name": "agent.sidecar.config.blob_storage.storage_type", "type": "string", "enum": ["s3", "cloud_storage"]} + # agent.sidecar.config.blob_storage.storage_type -- storage type + storage_type: "s3" + # @schema {"name": "agent.sidecar.config.blob_storage.bucket", "type": "string"} + # agent.sidecar.config.blob_storage.bucket -- bucket name + bucket: "" + # @schema {"name": "agent.sidecar.config.blob_storage.s3", "type": "object"} + s3: + # @schema {"name": "agent.sidecar.config.blob_storage.s3.endpoint", "type": "string"} + # agent.sidecar.config.blob_storage.s3.endpoint -- s3 endpoint + endpoint: "" + # @schema {"name": "agent.sidecar.config.blob_storage.s3.region", "type": "string"} + # agent.sidecar.config.blob_storage.s3.region -- s3 region + region: "" + # @schema {"name": "agent.sidecar.config.blob_storage.s3.access_key", "type": "string"} + # agent.sidecar.config.blob_storage.s3.access_key -- s3 access key + access_key: _AWS_ACCESS_KEY_ + # @schema {"name": "agent.sidecar.config.blob_storage.s3.secret_access_key", "type": "string"} + # agent.sidecar.config.blob_storage.s3.secret_access_key -- s3 secret access key + secret_access_key: _AWS_SECRET_ACCESS_KEY_ + # @schema {"name": "agent.sidecar.config.blob_storage.s3.token", "type": "string"} + # agent.sidecar.config.blob_storage.s3.token -- s3 token + token: "" + # @schema {"name": "agent.sidecar.config.blob_storage.s3.max_retries", "type": "integer"} + # agent.sidecar.config.blob_storage.s3.max_retries -- maximum number of retries of s3 client + max_retries: 3 + # @schema {"name": "agent.sidecar.config.blob_storage.s3.force_path_style", "type": "boolean"} + # agent.sidecar.config.blob_storage.s3.force_path_style -- use path-style addressing + force_path_style: false + # @schema {"name": "agent.sidecar.config.blob_storage.s3.use_accelerate", "type": "boolean"} + # agent.sidecar.config.blob_storage.s3.use_accelerate -- enable s3 accelerate feature + use_accelerate: false + # @schema {"name": "agent.sidecar.config.blob_storage.s3.use_arn_region", "type": "boolean"} + # agent.sidecar.config.blob_storage.s3.use_arn_region -- s3 service client to use the region specified in the ARN + use_arn_region: false + # @schema {"name": "agent.sidecar.config.blob_storage.s3.use_dual_stack", "type": "boolean"} + # agent.sidecar.config.blob_storage.s3.use_dual_stack -- use dual stack + use_dual_stack: false + # @schema {"name": "agent.sidecar.config.blob_storage.s3.enable_ssl", "type": "boolean"} + # agent.sidecar.config.blob_storage.s3.enable_ssl -- enable ssl for s3 session + enable_ssl: true + # @schema {"name": "agent.sidecar.config.blob_storage.s3.enable_param_validation", "type": "boolean"} + # agent.sidecar.config.blob_storage.s3.enable_param_validation -- enables semantic parameter validation + enable_param_validation: true + # @schema {"name": "agent.sidecar.config.blob_storage.s3.enable_100_continue", "type": "boolean"} + # agent.sidecar.config.blob_storage.s3.enable_100_continue -- enable AWS SDK adding the 'Expect: 100-Continue' header to PUT requests over 2MB of content. + enable_100_continue: true + # @schema {"name": "agent.sidecar.config.blob_storage.s3.enable_content_md5_validation", "type": "boolean"} + # agent.sidecar.config.blob_storage.s3.enable_content_md5_validation -- enable the S3 client to add MD5 checksum to upload API calls. + enable_content_md5_validation: true + # @schema {"name": "agent.sidecar.config.blob_storage.s3.enable_endpoint_discovery", "type": "boolean"} + # agent.sidecar.config.blob_storage.s3.enable_endpoint_discovery -- enable endpoint discovery + enable_endpoint_discovery: false + # @schema {"name": "agent.sidecar.config.blob_storage.s3.enable_endpoint_host_prefix", "type": "boolean"} + # agent.sidecar.config.blob_storage.s3.enable_endpoint_host_prefix -- enable prefixing request endpoint hosts with modeled information + enable_endpoint_host_prefix: true + # @schema {"name": "agent.sidecar.config.blob_storage.s3.max_part_size", "type": "string", "pattern": "^[0-9]+(kb|mb|gb)$"} + # agent.sidecar.config.blob_storage.s3.max_part_size -- s3 multipart upload max part size + max_part_size: 64mb + # @schema {"name": "agent.sidecar.config.blob_storage.s3.max_chunk_size", "type": "string", "pattern": "^[0-9]+(kb|mb|gb)$"} + # agent.sidecar.config.blob_storage.s3.max_chunk_size -- s3 download max chunk size + max_chunk_size: 64mb + # @schema {"name": "agent.sidecar.config.blob_storage.cloud_storage", "type": "object"} + cloud_storage: + # @schema {"name": "agent.sidecar.config.blob_storage.cloud_storage.url", "type": "string"} + # agent.sidecar.config.blob_storage.cloud_storage.url -- cloud storage url + url: "" + # @schema {"name": "agent.sidecar.config.blob_storage.cloud_storage.client", "type": "object"} + client: + # @schema {"name": "agent.sidecar.config.blob_storage.cloud_storage.client.credentials_file_path", "type": "string"} + # agent.sidecar.config.blob_storage.cloud_storage.client.credentials_file_path -- credentials file path + credentials_file_path: "" + # @schema {"name": "agent.sidecar.config.blob_storage.cloud_storage.client.credentials_json", "type": "string"} + # agent.sidecar.config.blob_storage.cloud_storage.client.credentials_json -- credentials json + credentials_json: "" + # @schema {"name": "agent.sidecar.config.blob_storage.cloud_storage.write_buffer_size", "type": "integer"} + # agent.sidecar.config.blob_storage.cloud_storage.write_buffer_size -- bytes of the chunks for upload + write_buffer_size: 0 + # @schema {"name": "agent.sidecar.config.blob_storage.cloud_storage.write_cache_control", "type": "string"} + # agent.sidecar.config.blob_storage.cloud_storage.write_cache_control -- Cache-Control of HTTP Header + write_cache_control: "" + # @schema {"name": "agent.sidecar.config.blob_storage.cloud_storage.write_content_disposition", "type": "string"} + # agent.sidecar.config.blob_storage.cloud_storage.write_content_disposition -- Content-Disposition of HTTP Header + write_content_disposition: "" + # @schema {"name": "agent.sidecar.config.blob_storage.cloud_storage.write_content_encoding", "type": "string"} + # agent.sidecar.config.blob_storage.cloud_storage.write_content_encoding -- the encoding of the blob's content + write_content_encoding: "" + # @schema {"name": "agent.sidecar.config.blob_storage.cloud_storage.write_content_language", "type": "string"} + # agent.sidecar.config.blob_storage.cloud_storage.write_content_language -- the language of blob's content + write_content_language: "" + # @schema {"name": "agent.sidecar.config.blob_storage.cloud_storage.write_content_type", "type": "string"} + # agent.sidecar.config.blob_storage.cloud_storage.write_content_type -- MIME type of the blob + write_content_type: "" + # @schema {"name": "agent.sidecar.config.compress", "type": "object"} + compress: + # @schema {"name": "agent.sidecar.config.compress.compress_algorithm", "type": "string", "enum": ["gob", "gzip", "lz4", "zstd"]} + # agent.sidecar.config.compress.compress_algorithm -- compression algorithm. + # must be `gob`, `gzip`, `lz4` or `zstd` + compress_algorithm: "gzip" + # @schema {"name": "agent.sidecar.config.compress.compression_level", "type": "integer"} + # agent.sidecar.config.compress.compression_level -- compression level. + # value range relies on which algorithm is used. + # `gob`: level will be ignored. + # `gzip`: -1 (default compression), 0 (no compression), or 1 (best speed) to 9 (best compression). + # `lz4`: >= 0, higher is better compression. + # `zstd`: 1 (fastest) to 22 (best), however implementation relies on klauspost/compress. + compression_level: -1 + # @schema {"name": "agent.sidecar.config.client", "type": "object"} + client: + # @schema {"name": "agent.sidecar.config.client.net", "alias": "net"} + net: + # agent.sidecar.config.client.net.network -- gRPC client dialer network type + network: tcp + dns: + # agent.sidecar.config.client.net.dns.cache_enabled -- HTTP client DNS cache enabled + cache_enabled: true + # agent.sidecar.config.client.net.dns.refresh_duration -- HTTP client DNS cache refresh duration + refresh_duration: 1h + # agent.sidecar.config.client.net.dns.refresh_duration -- HTTP client DNS cache expiration + cache_expiration: 24h + dialer: + # agent.sidecar.config.client.net.dialer.timeout -- HTTP client TCP dialer connect timeout + timeout: 5s + # agent.sidecar.config.client.net.dialer.keepalive -- HTTP client TCP dialer keep alive + keepalive: 5m + # agent.sidecar.config.client.net.dialer.dual_stack_enabled -- HTTP client TCP dialer dual stack enabled + dual_stack_enabled: false + tls: + # agent.sidecar.config.client.net.tls.enabled -- TLS enabled + enabled: false + # agent.sidecar.config.client.net.tls.cert -- TLS cert path + cert: /path/to/cert + # agent.sidecar.config.client.net.tls.key -- TLS key path + key: /path/to/key + # agent.sidecar.config.client.net.tls.ca -- TLS ca path + ca: /path/to/ca + # agent.sidecar.config.client.net.tls.insecure_skip_verify -- enable/disable skip SSL certificate verification + insecure_skip_verify: false + # agent.sidecar.config.client.net.tls.server_name -- SSL Server Name + server_name: "" + # agent.sidecar.config.client.net.tls.client_auth -- client auth type + client_auth: None + # @schema {"name": "agent.sidecar.config.client.net.socket_option", "alias": "socket_option"} + socket_option: + # agent.sidecar.config.client.net.socket_option.reuse_port -- server listen socket option for reuse_port functionality + reuse_port: true + # agent.sidecar.config.client.net.socket_option.reuse_addr -- server listen socket option for reuse_addr functionality + reuse_addr: true + # agent.sidecar.config.client.net.socket_option.tcp_fast_open -- server listen socket option for tcp_fast_open functionality + tcp_fast_open: true + # agent.sidecar.config.client.net.socket_option.tcp_no_delay -- server listen socket option for tcp_no_delay functionality + tcp_no_delay: false + # agent.sidecar.config.client.net.socket_option.tcp_cork -- server listen socket option for tcp_cork functionality + tcp_cork: true + # agent.sidecar.config.client.net.socket_option.tcp_quick_ack -- server listen socket option for tcp_quick_ack functionality + tcp_quick_ack: false + # agent.sidecar.config.client.net.socket_option.tcp_defer_accept -- server listen socket option for tcp_defer_accept functionality + tcp_defer_accept: false + # agent.sidecar.config.client.net.socket_option.ip_transparent -- server listen socket option for ip_transparent functionality + ip_transparent: false + # agent.sidecar.config.client.net.socket_option.ip_recover_destination_addr -- server listen socket option for ip_recover_destination_addr functionality + ip_recover_destination_addr: false + # @schema {"name": "agent.sidecar.config.client.transport", "type": "object"} + transport: + # @schema {"name": "agent.sidecar.config.client.transport.round_tripper", "type": "object"} + round_tripper: + # @schema {"name": "agent.sidecar.config.client.transport.round_tripper.tls_handshake_timeout", "type": "string"} + # agent.sidecar.config.client.transport.round_tripper.tls_handshake_timeout -- TLS handshake timeout + tls_handshake_timeout: 5s + # @schema {"name": "agent.sidecar.config.client.transport.round_tripper.max_idle_conns", "type": "integer"} + # agent.sidecar.config.client.transport.round_tripper.max_idle_conns -- maximum count of idle connections + max_idle_conns: 100 + # @schema {"name": "agent.sidecar.config.client.transport.round_tripper.max_idle_conns_per_host", "type": "integer"} + # agent.sidecar.config.client.transport.round_tripper.max_idle_conns_per_host -- maximum count of idle connections per host + max_idle_conns_per_host: 10 + # @schema {"name": "agent.sidecar.config.client.transport.round_tripper.max_conns_per_host", "type": "integer"} + # agent.sidecar.config.client.transport.round_tripper.max_conns_per_host -- maximum count of connections per host + max_conns_per_host: 10 + # @schema {"name": "agent.sidecar.config.client.transport.round_tripper.idle_conn_timeout", "type": "string"} + # agent.sidecar.config.client.transport.round_tripper.idle_conn_timeout -- timeout for idle connections + idle_conn_timeout: 90s + # @schema {"name": "agent.sidecar.config.client.transport.round_tripper.response_header_timeout", "type": "string"} + # agent.sidecar.config.client.transport.round_tripper.response_header_timeout -- timeout for response header + response_header_timeout: 5s + # @schema {"name": "agent.sidecar.config.client.transport.round_tripper.expect_continue_timeout", "type": "string"} + # agent.sidecar.config.client.transport.round_tripper.expect_continue_timeout -- expect continue timeout + expect_continue_timeout: 5s + # @schema {"name": "agent.sidecar.config.client.transport.round_tripper.max_response_header_size", "type": "integer"} + # agent.sidecar.config.client.transport.round_tripper.max_response_header_size -- maximum response header size + max_response_header_size: 0 + # @schema {"name": "agent.sidecar.config.client.transport.round_tripper.write_buffer_size", "type": "integer"} + # agent.sidecar.config.client.transport.round_tripper.write_buffer_size -- write buffer size + write_buffer_size: 0 + # @schema {"name": "agent.sidecar.config.client.transport.round_tripper.read_buffer_size", "type": "integer"} + # agent.sidecar.config.client.transport.round_tripper.read_buffer_size -- read buffer size + read_buffer_size: 0 + # @schema {"name": "agent.sidecar.config.client.transport.round_tripper.force_attempt_http_2", "type": "boolean"} + # agent.sidecar.config.client.transport.round_tripper.force_attempt_http_2 -- force attempt HTTP2 + force_attempt_http_2: true + # @schema {"name": "agent.sidecar.config.client.transport.backoff", "alias": "backoff"} + backoff: + # agent.sidecar.config.client.transport.backoff.initial_duration -- backoff initial duration + initial_duration: 5ms + # agent.sidecar.config.client.transport.backoff.backoff_time_limit -- backoff time limit + backoff_time_limit: 5s + # agent.sidecar.config.client.transport.backoff.maximum_duration -- backoff maximum duration + maximum_duration: 5s + # agent.sidecar.config.client.transport.backoff.jitter_limit -- backoff jitter limit + jitter_limit: 100ms + # agent.sidecar.config.client.transport.backoff.backoff_factor -- backoff backoff factor + backoff_factor: 1.1 + # agent.sidecar.config.client.transport.backoff.retry_count -- backoff retry count + retry_count: 100 + # agent.sidecar.config.client.transport.backoff.enable_error_log -- backoff error log enabled + enable_error_log: true + # @schema {"name": "agent.sidecar.config.restore_backoff_enabled", "type": "boolean"} + # agent.sidecar.config.restore_backoff_enabled -- restore backoff enabled + restore_backoff_enabled: false + # @schema {"name": "agent.sidecar.config.restore_backoff", "alias": "backoff"} + restore_backoff: + # agent.sidecar.config.restore_backoff.initial_duration -- restore backoff initial duration + initial_duration: 1s + # agent.sidecar.config.restore_backoff.backoff_time_limit -- restore backoff time limit + backoff_time_limit: 30m + # agent.sidecar.config.restore_backoff.maximum_duration -- restore backoff maximum duration + maximum_duration: 1m + # agent.sidecar.config.restore_backoff.jitter_limit -- restore backoff jitter limit + jitter_limit: 10s + # agent.sidecar.config.restore_backoff.backoff_factor -- restore backoff factor + backoff_factor: 1.2 + # agent.sidecar.config.restore_backoff.retry_count -- restore backoff retry count + retry_count: 100 + # agent.sidecar.config.restore_backoff.enable_error_log -- restore backoff log enabled + enable_error_log: true +# @schema {"name": "discoverer", "type": "object"} +discoverer: + # @schema {"name": "discoverer.enabled", "type": "boolean"} + # discoverer.enabled -- discoverer enabled + enabled: true + # @schema {"name": "discoverer.version", "alias": "version"} + # discoverer.version -- version of discoverer config + version: v0.0.0 + # @schema {"name": "discoverer.time_zone", "type": "string"} + # discoverer.time_zone -- Time zone + time_zone: "" + # @schema {"name": "discoverer.logging", "alias": "logging"} + # discoverer.logging -- logging config (overrides defaults.logging) + logging: {} + # @schema {"name": "discoverer.name", "type": "string"} + # discoverer.name -- name of discoverer deployment + name: vald-discoverer + # @schema {"name": "discoverer.kind", "type": "string", "enum": ["Deployment", "DaemonSet"]} + # discoverer.kind -- deployment kind: Deployment or DaemonSet + kind: Deployment + # @schema {"name": "discoverer.serviceType", "type": "string", "enum": ["ClusterIP", "LoadBalancer", "NodePort"]} + # discoverer.serviceType -- service type: ClusterIP, LoadBalancer or NodePort + serviceType: ClusterIP + # @schema {"name": "discoverer.externalTrafficPolicy", "type": "string"} + # discoverer.externalTrafficPolicy -- external traffic policy (can be specified when service type is LoadBalancer or NodePort) : Cluster or Local + externalTrafficPolicy: "" + # @schema {"name": "discoverer.internalTrafficPolicy", "type": "string"} + # discoverer.internalTrafficPolicy -- internal traffic policy : Cluster or Local + internalTrafficPolicy: "" + # @schema {"name": "discoverer.progressDeadlineSeconds", "type": "integer"} + # discoverer.progressDeadlineSeconds -- progress deadline seconds + progressDeadlineSeconds: 600 + # @schema {"name": "discoverer.minReplicas", "type": "integer", "minimum": 0} + # discoverer.minReplicas -- minimum number of replicas. + # if HPA is disabled, the replicas will be set to this value + minReplicas: 1 + # @schema {"name": "discoverer.maxReplicas", "type": "integer", "minimum": 0} + # discoverer.maxReplicas -- maximum number of replicas. + # if HPA is disabled, this value will be ignored. + maxReplicas: 2 + # @schema {"name": "discoverer.maxUnavailable", "type": "string"} + # discoverer.maxUnavailable -- maximum number of unavailable replicas + maxUnavailable: 50% + # @schema {"name": "discoverer.unhealthyPodEvictionPolicy", "type": "string", "enum": ["AlwaysAllow", "IfHealthyBudget"]} + # discoverer.unhealthyPodEvictionPolicy -- controls whether unhealthy pods can be evicted based on the application's healthy pod count, supporting either cautious or permissive eviction. + unhealthyPodEvictionPolicy: "AlwaysAllow" + # @schema {"name": "discoverer.revisionHistoryLimit", "type": "integer", "minimum": 0} + # discoverer.revisionHistoryLimit -- number of old history to retain to allow rollback + revisionHistoryLimit: 2 + # @schema {"name": "discoverer.terminationGracePeriodSeconds", "type": "integer", "minimum": 0} + # discoverer.terminationGracePeriodSeconds -- duration in seconds pod needs to terminate gracefully + terminationGracePeriodSeconds: 30 + # @schema {"name": "discoverer.podSecurityContext", "type": "object"} + # discoverer.podSecurityContext -- security context for pod + podSecurityContext: + runAsUser: 65532 + runAsNonRoot: true + runAsGroup: 65532 + fsGroup: 65532 + fsGroupChangePolicy: "OnRootMismatch" + # @schema {"name": "discoverer.securityContext", "type": "object"} + # discoverer.securityContext -- security context for container + securityContext: + runAsUser: 65532 + runAsNonRoot: true + runAsGroup: 65532 + privileged: false + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + capabilities: + drop: + - ALL + # @schema {"name": "discoverer.podPriority", "alias": "podPriority"} + podPriority: + # discoverer.podPriority.enabled -- discoverer pod PriorityClass enabled + enabled: true + # discoverer.podPriority.value -- discoverer pod PriorityClass value + value: 1000000 + # @schema {"name": "discoverer.annotations", "type": "object"} + # discoverer.annotations -- deployment annotations + annotations: {} + # @schema {"name": "discoverer.podAnnotations", "type": "object"} + # discoverer.podAnnotations -- pod annotations + podAnnotations: {} + # @schema {"name": "discoverer.hpa", "alias": "hpa"} + hpa: + # discoverer.hpa.enabled -- HPA enabled + enabled: false + # discoverer.hpa.targetCPUUtilizationPercentage -- HPA CPU utilization percentage + targetCPUUtilizationPercentage: 80 + # @schema {"name": "discoverer.service", "alias": "service"} + service: + # discoverer.service.annotations -- service annotations + annotations: {} + # discoverer.service.labels -- service labels + labels: {} + # @schema {"name": "discoverer.image", "alias": "image"} + image: + # discoverer.image.repository -- image repository + repository: vdaas/vald-discoverer-k8s + # discoverer.image.tag -- image tag (overrides defaults.image.tag) + tag: "" + # discoverer.image.pullPolicy -- image pull policy + pullPolicy: Always + # @schema {"name": "discoverer.rollingUpdate", "alias": "rollingUpdate"} + rollingUpdate: + # discoverer.rollingUpdate.maxSurge -- max surge of rolling update + maxSurge: 25% + # discoverer.rollingUpdate.maxUnavailable -- max unavailable of rolling update + maxUnavailable: 25% + # @schema {"name": "discoverer.initContainers", "alias": "initContainers"} + # discoverer.initContainers -- init containers + initContainers: [] + # @schema {"name": "discoverer.env", "alias": "env"} + # discoverer.env -- environment variables + env: + - name: MY_NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + # @schema {"name": "discoverer.volumeMounts", "alias": "volumeMounts"} + # discoverer.volumeMounts -- volume mounts + volumeMounts: [] + # @schema {"name": "discoverer.volumes", "alias": "volumes"} + # discoverer.volumes -- volumes + volumes: [] + # @schema {"name": "discoverer.nodeName", "type": "string"} + # discoverer.nodeName -- node name + nodeName: "" + # @schema {"name": "discoverer.nodeSelector", "alias": "nodeSelector"} + # discoverer.nodeSelector -- node selector + nodeSelector: {} + # @schema {"name": "discoverer.tolerations", "alias": "tolerations"} + # discoverer.tolerations -- tolerations + tolerations: [] + # @schema {"name": "discoverer.affinity", "alias": "affinity"} + affinity: + nodeAffinity: + # discoverer.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution -- node affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + requiredDuringSchedulingIgnoredDuringExecution: + # discoverer.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms -- node affinity required node selectors + nodeSelectorTerms: [] + podAffinity: + # discoverer.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + # discoverer.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + podAntiAffinity: + # discoverer.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + podAffinityTerm: + topologyKey: kubernetes.io/hostname + labelSelector: + matchExpressions: + - key: app + operator: In + values: + - vald-discoverer + # discoverer.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "discoverer.topologySpreadConstraints", "alias": "topologySpreadConstraints"} + # discoverer.topologySpreadConstraints -- topology spread constraints of discoverer pods + topologySpreadConstraints: [] + # @schema {"name": "discoverer.server_config", "alias": "server_config"} + # discoverer.server_config -- server config (overrides defaults.server_config) + server_config: + servers: + rest: {} + grpc: {} + healths: + liveness: {} + readiness: {} + startup: {} + metrics: + pprof: {} + # @schema {"name": "discoverer.observability", "alias": "observability"} + # discoverer.observability -- observability config (overrides defaults.observability) + observability: + otlp: + attribute: + service_name: vald-discoverer + # @schema {"name": "discoverer.resources", "alias": "resources"} + # discoverer.resources -- compute resources + resources: + requests: + cpu: 200m + memory: 65Mi + limits: + cpu: 600m + memory: 200Mi + # @schema {"name": "discoverer.discoverer", "type": "object"} + discoverer: + # @schema {"name": "discoverer.discoverer.name", "type": "string"} + # discoverer.discoverer.name -- name to discovery + name: "" + # @schema {"name": "discoverer.discoverer.namespace", "type": "string"} + # discoverer.discoverer.namespace -- namespace to discovery + namespace: _MY_POD_NAMESPACE_ + # @schema {"name": "discoverer.discoverer.discovery_duration", "type": "string"} + # discoverer.discoverer.discovery_duration -- duration to discovery + discovery_duration: 3s + # @schema {"name": "discoverer.discoverer.selectors", "type": "object"} + # discoverer.discoverer.selectors -- k8s resource selectors + selectors: + # @schema {"name": "discoverer.discoverer.selectors.pod", "type": "object"} + # discoverer.discoverer.selectors.pod -- k8s resource selectors for pod discovery + pod: + # @schema {"name": "discoverer.discoverer.selectors.pod.labels", "type": "object"} + # discoverer.discoverer.selectors.pod.labels -- k8s label selectors for pod discovery + labels: {} + # @schema {"name": "discoverer.discoverer.selectors.pod.fields", "type": "object"} + # discoverer.discoverer.selectors.pod.fields -- k8s field selectors for pod discovery + fields: {} + # @schema {"name": "discoverer.discoverer.selectors.node", "type": "object"} + # discoverer.discoverer.selectors.node -- k8s resource selectors for node discovery + node: + # @schema {"name": "discoverer.discoverer.selectors.node.labels", "type": "object"} + # discoverer.discoverer.selectors.node.labels -- k8s label selectors for node discovery + labels: {} + # @schema {"name": "discoverer.discoverer.selectors.node.fields", "type": "object"} + # discoverer.discoverer.selectors.node.fields -- k8s field selectors for node discovery + fields: {} + # @schema {"name": "discoverer.discoverer.selectors.pod_metrics", "type": "object"} + # discoverer.discoverer.selectors.pod_metrics -- k8s resource selectors for pod_metrics discovery + pod_metrics: + # @schema {"name": "discoverer.discoverer.selectors.pod_metrics.labels", "type": "object"} + # discoverer.discoverer.selectors.pod_metrics.labels -- k8s label selectors for pod_metrics discovery + labels: {} + # @schema {"name": "discoverer.discoverer.selectors.pod_metrics.fields", "type": "object"} + # discoverer.discoverer.selectors.pod_metrics.fields -- k8s field selectors for pod_metrics discovery + fields: {} + # @schema {"name": "discoverer.discoverer.selectors.node_metrics", "type": "object"} + # discoverer.discoverer.selectors.node_metrics -- k8s resource selectors for node_metrics discovery + node_metrics: + # @schema {"name": "discoverer.discoverer.selectors.node_metrics.labels", "type": "object"} + # discoverer.discoverer.selectors.node_metrics.labels -- k8s label selectors for node_metrics discovery + labels: {} + # @schema {"name": "discoverer.discoverer.selectors.node_metrics.fields", "type": "object"} + # discoverer.discoverer.selectors.node_metrics.fields -- k8s field selectors for node_metrics discovery + fields: {} + # @schema {"name": "discoverer.discoverer.selectors.service", "type": "object"} + # discoverer.discoverer.selectors.service -- k8s resource selectors for service discovery + service: + # @schema {"name": "discoverer.discoverer.selectors.service.labels", "type": "object"} + # discoverer.discoverer.selectors.service.labels -- k8s label selectors for service discovery + labels: {} + # @schema {"name": "discoverer.discoverer.selectors.service.fields", "type": "object"} + # discoverer.discoverer.selectors.service.fields -- k8s field selectors for service discovery + fields: {} + # @schema {"name": "discoverer.discoverer.net", "alias": "net"} + net: + # discoverer.discoverer.net.network -- gRPC client dialer network type + network: tcp + dns: + # discoverer.discoverer.net.dns.cache_enabled -- DNS cache enabled + cache_enabled: true + # discoverer.discoverer.net.dns.refresh_duration -- DNS cache refresh duration + refresh_duration: 5m + # discoverer.discoverer.net.dns.cache_expiration -- DNS cache expiration + cache_expiration: 24h + dialer: + # discoverer.discoverer.net.dialer.timeout -- TCP dialer timeout + timeout: 30s + # discoverer.discoverer.net.dialer.keepalive -- TCP dialer keep alive + keepalive: 10m + # discoverer.discoverer.net.dialer.dual_stack_enabled -- TCP dialer dual stack enabled + dual_stack_enabled: false + tls: + # discoverer.discoverer.net.tls.enabled -- TLS enabled + enabled: false + # discoverer.discoverer.net.tls.cert -- TLS cert path + cert: /path/to/cert + # discoverer.discoverer.net.tls.key -- TLS key path + key: /path/to/key + # discoverer.discoverer.net.tls.ca -- TLS ca path + ca: /path/to/ca + # discoverer.discoverer.net.tls.insecure_skip_verify -- enable/disable skip SSL certificate verification + insecure_skip_verify: false + # discoverer.discoverer.net.tls.server_name -- SSL Server Name + server_name: "" + # discoverer.discoverer.net.tls.client_auth -- client auth type + client_auth: None + # @schema {"name": "discoverer.discoverer.net.socket_option", "alias": "socket_option"} + socket_option: + # discoverer.discoverer.net.socket_option.reuse_port -- server listen socket option for reuse_port functionality + reuse_port: true + # discoverer.discoverer.net.socket_option.reuse_addr -- server listen socket option for reuse_addr functionality + reuse_addr: true + # discoverer.discoverer.net.socket_option.tcp_fast_open -- server listen socket option for tcp_fast_open functionality + tcp_fast_open: false + # discoverer.discoverer.net.socket_option.tcp_no_delay -- server listen socket option for tcp_no_delay functionality + tcp_no_delay: false + # discoverer.discoverer.net.socket_option.tcp_cork -- server listen socket option for tcp_cork functionality + tcp_cork: false + # discoverer.discoverer.net.socket_option.tcp_quick_ack -- server listen socket option for tcp_quick_ack functionality + tcp_quick_ack: false + # discoverer.discoverer.net.socket_option.tcp_defer_accept -- server listen socket option for tcp_defer_accept functionality + tcp_defer_accept: false + # discoverer.discoverer.net.socket_option.ip_transparent -- server listen socket option for ip_transparent functionality + ip_transparent: false + # discoverer.discoverer.net.socket_option.ip_recover_destination_addr -- server listen socket option for ip_recover_destination_addr functionality + ip_recover_destination_addr: false + # @schema {"name": "discoverer.clusterRole", "type": "object"} + clusterRole: + # @schema {"name": "discoverer.clusterRole.enabled", "type": "boolean"} + # discoverer.clusterRole.enabled -- creates clusterRole resource + enabled: true + # @schema {"name": "discoverer.clusterRole.name", "type": "string"} + # discoverer.clusterRole.name -- name of clusterRole + name: discoverer + # @schema {"name": "discoverer.clusterRoleBinding", "type": "object"} + clusterRoleBinding: + # @schema {"name": "discoverer.clusterRoleBinding.enabled", "type": "boolean"} + # discoverer.clusterRoleBinding.enabled -- creates clusterRoleBinding resource + enabled: true + # @schema {"name": "discoverer.clusterRoleBinding.name", "type": "string"} + # discoverer.clusterRoleBinding.name -- name of clusterRoleBinding + name: discoverer + # @schema {"name": "discoverer.serviceAccountName", "type": "string"} + # discoverer.serviceAccountName -- serviceAccountName -- Name of the service account to use. + # If not set, a service account is created. + serviceAccountName: vald +# @schema {"name": "manager", "type": "object"} +manager: + # @schema {"name": "manager.index", "type": "object"} + index: + # @schema {"name": "manager.index.enabled", "type": "boolean"} + # manager.index.enabled -- index manager enabled + enabled: true + # @schema {"name": "manager.index.version", "alias": "version"} + # manager.index.version -- version of index manager config + version: v0.0.0 + # @schema {"name": "manager.index.time_zone", "type": "string"} + # manager.index.time_zone -- Time zone + time_zone: "" + # @schema {"name": "manager.index.logging", "alias": "logging"} + # manager.index.logging -- logging config (overrides defaults.logging) + logging: {} + # @schema {"name": "manager.index.name", "type": "string"} + # manager.index.name -- name of index manager deployment + name: vald-manager-index + # @schema {"name": "manager.index.kind", "type": "string", "enum": ["Deployment", "DaemonSet"]} + # manager.index.kind -- deployment kind: Deployment or DaemonSet + kind: Deployment + # @schema {"name": "manager.index.serviceType", "type": "string", "enum": ["ClusterIP", "LoadBalancer", "NodePort"]} + # manager.index.serviceType -- service type: ClusterIP, LoadBalancer or NodePort + serviceType: ClusterIP + # @schema {"name": "manager.index.externalTrafficPolicy", "type": "string"} + # manager.index.externalTrafficPolicy -- external traffic policy (can be specified when service type is LoadBalancer or NodePort) : Cluster or Local + externalTrafficPolicy: "" + # @schema {"name": "manager.index.progressDeadlineSeconds", "type": "integer"} + # manager.index.progressDeadlineSeconds -- progress deadline seconds + progressDeadlineSeconds: 600 + # @schema {"name": "manager.index.replicas", "type": "integer", "minimum": 0} + # manager.index.replicas -- number of replicas + replicas: 1 + # @schema {"name": "manager.index.maxUnavailable", "type": "string"} + # manager.index.maxUnavailable -- maximum number of unavailable replicas + maxUnavailable: 50% + # @schema {"name": "manager.index.unhealthyPodEvictionPolicy", "type": "string", "enum": ["AlwaysAllow", "IfHealthyBudget"]} + # manager.index.unhealthyPodEvictionPolicy -- controls whether unhealthy pods can be evicted based on the application's healthy pod count, supporting either cautious or permissive eviction. + unhealthyPodEvictionPolicy: "AlwaysAllow" + # @schema {"name": "manager.index.revisionHistoryLimit", "type": "integer", "minimum": 0} + # manager.index.revisionHistoryLimit -- number of old history to retain to allow rollback + revisionHistoryLimit: 2 + # @schema {"name": "manager.index.terminationGracePeriodSeconds", "type": "integer", "minimum": 0} + # manager.index.terminationGracePeriodSeconds -- duration in seconds pod needs to terminate gracefully + terminationGracePeriodSeconds: 30 + # @schema {"name": "manager.index.podSecurityContext", "type": "object"} + # manager.index.podSecurityContext -- security context for pod + podSecurityContext: + runAsUser: 65532 + runAsNonRoot: true + runAsGroup: 65532 + fsGroup: 65532 + fsGroupChangePolicy: "OnRootMismatch" + # @schema {"name": "manager.index.securityContext", "type": "object"} + # manager.index.securityContext -- security context for container + securityContext: + runAsUser: 65532 + runAsNonRoot: true + runAsGroup: 65532 + privileged: false + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + capabilities: + drop: + - ALL + # @schema {"name": "manager.index.podPriority", "alias": "podPriority"} + podPriority: + # manager.index.podPriority.enabled -- index manager pod PriorityClass enabled + enabled: true + # manager.index.podPriority.value -- index manager pod PriorityClass value + value: 1000000 + # @schema {"name": "manager.index.annotations", "type": "object"} + # manager.index.annotations -- deployment annotations + annotations: {} + # @schema {"name": "manager.index.podAnnotations", "type": "object"} + # manager.index.podAnnotations -- pod annotations + podAnnotations: {} + # @schema {"name": "manager.index.service", "alias": "service"} + service: + # manager.index.service.annotations -- service annotations + annotations: {} + # manager.index.service.labels -- service labels + labels: {} + # @schema {"name": "manager.index.image", "alias": "image"} + image: + # manager.index.image.repository -- image repository + repository: vdaas/vald-manager-index + # manager.index.image.tag -- image tag (overrides defaults.image.tag) + tag: "" + # manager.index.image.pullPolicy -- image pull policy + pullPolicy: Always + # @schema {"name": "manager.index.rollingUpdate", "alias": "rollingUpdate"} + rollingUpdate: + # manager.index.rollingUpdate.maxSurge -- max surge of rolling update + maxSurge: 25% + # manager.index.rollingUpdate.maxUnavailable -- max unavailable of rolling update + maxUnavailable: 25% + # @schema {"name": "manager.index.initContainers", "alias": "initContainers"} + # manager.index.initContainers -- init containers + initContainers: + - type: wait-for + name: wait-for-agent + target: agent + image: busybox:1.38.0 + imagePullPolicy: Always + sleepDuration: 2 + - type: wait-for + name: wait-for-discoverer + target: discoverer + image: busybox:1.38.0 + imagePullPolicy: Always + sleepDuration: 2 + # @schema {"name": "manager.index.env", "alias": "env"} + # manager.index.env -- environment variables + env: + - name: MY_NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + # @schema {"name": "manager.index.volumeMounts", "alias": "volumeMounts"} + # manager.index.volumeMounts -- volume mounts + volumeMounts: [] + # @schema {"name": "manager.index.volumes", "alias": "volumes"} + # manager.index.volumes -- volumes + volumes: [] + # @schema {"name": "manager.index.nodeName", "type": "string"} + # manager.index.nodeName -- node name + nodeName: "" + # @schema {"name": "manager.index.nodeSelector", "alias": "nodeSelector"} + # manager.index.nodeSelector -- node selector + nodeSelector: {} + # @schema {"name": "manager.index.tolerations", "alias": "tolerations"} + # manager.index.tolerations -- tolerations + tolerations: [] + # @schema {"name": "manager.index.affinity", "alias": "affinity"} + affinity: + nodeAffinity: + # manager.index.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution -- node affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + requiredDuringSchedulingIgnoredDuringExecution: + # manager.index.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms -- node affinity required node selectors + nodeSelectorTerms: [] + podAffinity: + # manager.index.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + # manager.index.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + podAntiAffinity: + # manager.index.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + # manager.index.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "manager.index.topologySpreadConstraints", "alias": "topologySpreadConstraints"} + # manager.index.topologySpreadConstraints -- topology spread constraints of index manager pods + topologySpreadConstraints: [] + # @schema {"name": "manager.index.server_config", "alias": "server_config"} + # manager.index.server_config -- server config (overrides defaults.server_config) + server_config: + servers: + rest: {} + grpc: {} + healths: + liveness: {} + readiness: {} + startup: {} + metrics: + pprof: {} + # @schema {"name": "manager.index.observability", "alias": "observability"} + # manager.index.observability -- observability config (overrides defaults.observability) + observability: + otlp: + attribute: + service_name: vald-manager-index + # @schema {"name": "manager.index.resources", "alias": "resources"} + # manager.index.resources -- compute resources + resources: + requests: + cpu: 200m + memory: 80Mi + limits: + cpu: 1000m + memory: 500Mi + # @schema {"name": "manager.index.serviceAccountName", "type": "string"} + # manager.index.serviceAccountName -- serviceAccountName -- Name of the service account to use. + serviceAccountName: "" + # @schema {"name": "manager.index.indexer", "type": "object"} + indexer: + # @schema {"name": "manager.index.indexer.agent_namespace", "type": "string"} + # manager.index.indexer.agent_namespace -- namespace of agent pods to manage + agent_namespace: _MY_POD_NAMESPACE_ + # @schema {"name": "manager.index.indexer.node_name", "type": "string"} + # manager.index.indexer.node_name -- node name + node_name: "" # _MY_NODE_NAME_ + # @schema {"name": "manager.index.indexer.concurrency", "type": "integer", "minimum": 1} + # manager.index.indexer.concurrency -- concurrency + concurrency: 1 + # @schema {"name": "manager.index.indexer.auto_index_duration_limit", "type": "string"} + # manager.index.indexer.auto_index_duration_limit -- limit duration of automatic indexing + auto_index_duration_limit: 30m + # @schema {"name": "manager.index.indexer.auto_index_check_duration", "type": "string"} + # manager.index.indexer.auto_index_check_duration -- check duration of automatic indexing + auto_index_check_duration: 1m + # @schema {"name": "manager.index.indexer.auto_save_index_duration_limit", "type": "string"} + # manager.index.indexer.auto_save_index_duration_limit -- limit duration of automatic index saving + auto_save_index_duration_limit: 3h + # @schema {"name": "manager.index.indexer.auto_save_index_wait_duration", "type": "string"} + # manager.index.indexer.auto_save_index_wait_duration -- duration of automatic index saving wait duration for next saving + auto_save_index_wait_duration: 10m + # @schema {"name": "manager.index.indexer.auto_index_length", "type": "integer"} + # manager.index.indexer.auto_index_length -- number of cache to trigger automatic indexing + auto_index_length: 100 + # @schema {"name": "manager.index.indexer.creation_pool_size", "type": "integer"} + # manager.index.indexer.creation_pool_size -- number of pool size of create index processing + creation_pool_size: 16 + # @schema {"name": "manager.index.indexer.discoverer", "type": "object"} + discoverer: + # @schema {"name": "manager.index.indexer.discoverer.duration", "type": "string"} + # manager.index.indexer.discoverer.duration -- refresh duration to discover + duration: 500ms + # @schema {"name": "manager.index.indexer.discoverer.client", "alias": "grpc.client"} + # manager.index.indexer.discoverer.client -- gRPC client for discoverer (overrides defaults.grpc.client) + client: {} + # @schema {"name": "manager.index.indexer.discoverer.agent_client_options", "alias": "grpc.client"} + # manager.index.indexer.discoverer.agent_client_options -- gRPC client options for agents (overrides defaults.grpc.client) + agent_client_options: + dial_option: + net: + dialer: + keepalive: 15m #indexer fetches uncommitted index length, which includes huge payload so we need to set keepalive longer than usual + # @schema {"name": "manager.index.corrector", "type": "object"} + corrector: + # @schema {"name": "manager.index.corrector.name", "type": "string"} + # manager.index.corrector.name -- name of index correction job + name: vald-index-correction + # @schema {"name": "manager.index.corrector.image", "alias": "image"} + image: + # manager.index.corrector.image.repository -- image repository + repository: vdaas/vald-index-correction + # manager.index.corrector.image.tag -- image tag (overrides defaults.image.tag) + tag: "" + # manager.index.image.pullPolicy -- image pull policy + pullPolicy: Always + # @schema {"name": "manager.index.corrector.server_config", "alias": "server_config"} + # manager.index.corrector.server_config -- server config (overrides defaults.server_config) + server_config: + servers: + rest: {} + grpc: {} + healths: + liveness: {} + readiness: {} + startup: {} + metrics: + pprof: {} + # @schema {"name": "manager.index.corrector.initContainers", "alias": "initContainers"} + # manager.index.corrector.initContainers -- init containers + initContainers: + - type: wait-for + name: wait-for-agent + target: agent + image: busybox:1.38.0 + imagePullPolicy: Always + sleepDuration: 2 + - type: wait-for + name: wait-for-discoverer + target: discoverer + image: busybox:1.38.0 + imagePullPolicy: Always + sleepDuration: 2 + # @schema {"name": "manager.index.corrector.env", "alias": "env"} + # manager.index.corrector.env -- environment variables + env: + - name: MY_NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + # @schema {"name": "manager.index.corrector.observability", "alias": "observability"} + # manager.index.corrector.observability -- observability config (overrides defaults.observability) + observability: + otlp: + attribute: + service_name: vald-index-correction + # @schema {"name": "manager.index.corrector.enabled", "type": "boolean"} + # manager.index.corrector.enabled -- enable index correction CronJob + enabled: false + # @schema {"name": "manager.index.corrector.schedule", "type": "string"} + # manager.index.corrector.schedule -- CronJob schedule setting for index correction + schedule: "6 3 * * *" + # @schema {"name": "manager.index.corrector.suspend", "type": "boolean"} + # manager.index.corrector.suspend -- CronJob suspend setting for index correction + suspend: false + # @schema {"name": "manager.index.corrector.ttlSecondsAfterFinished", "type": "integer"} + # manager.index.corrector.ttlSecondsAfterFinished -- ttl setting for K8s completed jobs + ttlSecondsAfterFinished: 86400 + # @schema {"name": "manager.index.corrector.startingDeadlineSeconds", "type": "integer"} + # manager.index.corrector.startingDeadlineSeconds -- startingDeadlineSeconds setting for K8s completed jobs + startingDeadlineSeconds: 86400 + # @schema {"name": "manager.index.corrector.version", "alias": "version"} + # manager.index.corrector.version -- version of index manager config + version: v0.0.0 + # @schema {"name": "manager.index.corrector.stream_list_concurrency", "type": "integer", "minimum": 1} + # manager.index.corrector.stream_list_concurrency -- concurrency for stream list object rpc + stream_list_concurrency: 200 + # @schema {"name": "manager.index.corrector.kvs_background_sync_interval", "type": "string"} + # manager.index.corrector.kvs_background_sync_interval -- interval of checked id list kvs sync + kvs_background_sync_interval: 5s + # @schema {"name": "manager.index.corrector.kvs_background_compaction_interval", "type": "string"} + # manager.index.corrector.kvs_background_compaction_interval -- interval of checked id list kvs compaction + kvs_background_compaction_interval: 5s + # @schema {"name": "manager.index.corrector.agent_namespace", "type": "string"} + # manager.index.corrector.agent_namespace -- namespace of agent pods to manage + agent_namespace: _MY_POD_NAMESPACE_ + # @schema {"name": "manager.index.corrector.node_name", "type": "string"} + # manager.index.corrector.node_name -- node name + node_name: "" # _MY_NODE_NAME_ + # @schema {"name": "manager.index.corrector.nodeSelector", "alias": "nodeSelector"} + # manager.index.corrector.nodeSelector -- node selector + nodeSelector: {} + # @schema {"name": "manager.index.corrector.tolerations", "alias": "tolerations"} + # manager.index.corrector.tolerations -- tolerations + tolerations: [] + # @schema {"name": "manager.index.corrector.affinity", "alias": "affinity"} + affinity: + nodeAffinity: + # manager.index.corrector.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution -- node affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + requiredDuringSchedulingIgnoredDuringExecution: + # manager.index.corrector.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms -- node affinity required node selectors + nodeSelectorTerms: [] + podAffinity: + # manager.index.corrector.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + # manager.index.corrector.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + podAntiAffinity: + # manager.index.corrector.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + # manager.index.corrector.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "manager.index.corrector.serviceAccountName", "type": "string"} + # manager.index.corrector.serviceAccountName -- serviceAccountName -- Name of the service account to use. + serviceAccountName: "" + # @schema {"name": "manager.index.corrector.gateway", "alias": "grpc.client"} + # manager.index.corrector.gateway -- gRPC client for gateway (overrides defaults.grpc.client) + gateway: {} + # @schema {"name": "manager.index.corrector.discoverer", "type": "object"} + discoverer: + # @schema {"name": "manager.index.corrector.discoverer.duration", "type": "string"} + # manager.index.corrector.discoverer.duration -- refresh duration to discover + duration: 500ms + # @schema {"name": "manager.index.corrector.discoverer.client", "alias": "grpc.client"} + # manager.index.corrector.discoverer.client -- gRPC client for discoverer (overrides defaults.grpc.client) + client: {} + # @schema {"name": "manager.index.corrector.discoverer.agent_client_options", "alias": "grpc.client"} + # manager.index.corrector.discoverer.agent_client_options -- gRPC client options for agents (overrides defaults.grpc.client) + agent_client_options: + dial_option: + net: + dialer: + keepalive: 15m #indexer fetches uncommitted index length, which includes huge payload so we need to set keepalive longer than usual + # @schema {"name": "manager.index.creator", "type": "object"} + creator: + # @schema {"name": "manager.index.creator.name", "type": "string"} + # manager.index.creator.name -- name of index creation job + name: vald-index-creation + # @schema {"name": "manager.index.creator.image", "alias": "image"} + image: + # manager.index.creator.image.repository -- image repository + repository: vdaas/vald-index-creation + # manager.index.creator.image.tag -- image tag (overrides defaults.image.tag) + tag: "" + # manager.index.image.pullPolicy -- image pull policy + pullPolicy: Always + # @schema {"name": "manager.index.creator.server_config", "alias": "server_config"} + # manager.index.creator.server_config -- server config (overrides defaults.server_config) + server_config: + servers: + rest: {} + grpc: {} + healths: + liveness: {} + readiness: {} + startup: {} + metrics: + pprof: {} + # @schema {"name": "manager.index.creator.initContainers", "alias": "initContainers"} + # manager.index.creator.initContainers -- init containers + initContainers: + - type: wait-for + name: wait-for-agent + target: agent + image: busybox:1.38.0 + imagePullPolicy: Always + sleepDuration: 2 + - type: wait-for + name: wait-for-discoverer + target: discoverer + image: busybox:1.38.0 + imagePullPolicy: Always + sleepDuration: 2 + # @schema {"name": "manager.index.creator.env", "alias": "env"} + # manager.index.creator.env -- environment variables + env: + - name: MY_NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + # @schema {"name": "manager.index.creator.observability", "alias": "observability"} + # manager.index.creator.observability -- observability config (overrides defaults.observability) + observability: + otlp: + attribute: + service_name: vald-index-creation + # @schema {"name": "manager.index.creator.enabled", "type": "boolean"} + # manager.index.creator.enabled -- enable index creation CronJob + enabled: false + # @schema {"name": "manager.index.creator.schedule", "type": "string"} + # manager.index.creator.schedule -- CronJob schedule setting for index creation + schedule: "* * * * *" + # @schema {"name": "manager.index.creator.suspend", "type": "boolean"} + # manager.index.creator.suspend -- CronJob suspend setting for index creation + suspend: false + # @schema {"name": "manager.index.creator.ttlSecondsAfterFinished", "type": "integer"} + # manager.index.creator.ttlSecondsAfterFinished -- ttl setting for K8s completed jobs + ttlSecondsAfterFinished: 86400 + # @schema {"name": "manager.index.creator.startingDeadlineSeconds", "type": "integer"} + # manager.index.creator.startingDeadlineSeconds -- startingDeadlineSeconds setting for K8s completed jobs + startingDeadlineSeconds: 43200 + # @schema {"name": "manager.index.creator.version", "alias": "version"} + # manager.index.creator.version -- version of index manager config + version: v0.0.0 + # @schema {"name": "manager.index.creator.concurrency", "type": "integer", "minimum": 1} + # manager.index.creator.concurrency -- concurrency for indexing + concurrency: 1 + # @schema {"name": "manager.index.creator.creation_pool_size", "type": "integer"} + # manager.index.creator.creation_pool_size -- number of pool size of create index processing + creation_pool_size: 16 + # @schema {"name": "manager.index.creator.target_addrs", "type": "array", "items": {"type": "string"}} + # manager.index.creator.target_addrs -- indexing target addresses + target_addrs: [] + # @schema {"name": "manager.index.creator.agent_namespace", "type": "string"} + # manager.index.creator.agent_namespace -- namespace of agent pods to manage + agent_namespace: _MY_POD_NAMESPACE_ + # @schema {"name": "manager.index.creator.node_name", "type": "string"} + # manager.index.creator.node_name -- node name + node_name: "" # _MY_NODE_NAME_ + # @schema {"name": "manager.index.creator.nodeSelector", "alias": "nodeSelector"} + # manager.index.creator.nodeSelector -- node selector + nodeSelector: {} + # @schema {"name": "manager.index.creator.tolerations", "alias": "tolerations"} + # manager.index.creator.tolerations -- tolerations + tolerations: [] + # @schema {"name": "manager.index.creator.affinity", "alias": "affinity"} + affinity: + nodeAffinity: + # manager.index.creator.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution -- node affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + requiredDuringSchedulingIgnoredDuringExecution: + # manager.index.creator.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms -- node affinity required node selectors + nodeSelectorTerms: [] + podAffinity: + # manager.index.creator.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + # manager.index.creator.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + podAntiAffinity: + # manager.index.creator.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + # manager.index.creator.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "manager.index.creator.serviceAccountName", "type": "string"} + # manager.index.creator.serviceAccountName -- serviceAccountName -- Name of the service account to use. + serviceAccountName: "" + # @schema {"name": "manager.index.creator.discoverer", "type": "object"} + discoverer: + # @schema {"name": "manager.index.creator.discoverer.duration", "type": "string"} + # manager.index.creator.discoverer.duration -- refresh duration to discover + duration: 500ms + # @schema {"name": "manager.index.creator.discoverer.client", "alias": "grpc.client"} + # manager.index.creator.discoverer.client -- gRPC client for discoverer (overrides defaults.grpc.client) + client: {} + # @schema {"name": "manager.index.creator.discoverer.agent_client_options", "alias": "grpc.client"} + # manager.index.creator.discoverer.agent_client_options -- gRPC client options for agents (overrides defaults.grpc.client) + agent_client_options: + dial_option: + net: + dialer: + keepalive: 15m #indexer fetches uncommitted index length, which includes huge payload so we need to set keepalive longer than usual + # @schema {"name": "manager.index.deleter", "type": "object"} + deleter: + # @schema {"name": "manager.index.deleter.name", "type": "string"} + # manager.index.deleter.name -- name of index deletion job + name: vald-index-deletion + # @schema {"name": "manager.index.deleter.image", "alias": "image"} + image: + # manager.index.deleter.image.repository -- image repository + repository: vdaas/vald-index-deletion + # manager.index.deleter.image.tag -- image tag (overrides defaults.image.tag) + tag: "" + # manager.index.image.pullPolicy -- image pull policy + pullPolicy: Always + # @schema {"name": "manager.index.deleter.server_config", "alias": "server_config"} + # manager.index.deleter.server_config -- server config (overrides defaults.server_config) + server_config: + servers: + rest: {} + grpc: {} + healths: + liveness: {} + readiness: {} + startup: {} + metrics: + pprof: {} + # @schema {"name": "manager.index.deleter.initContainers", "alias": "initContainers"} + # manager.index.deleter.initContainers -- init containers + initContainers: + - type: wait-for + name: wait-for-agent + target: agent + image: busybox:1.38.0 + imagePullPolicy: Always + sleepDuration: 2 + - type: wait-for + name: wait-for-discoverer + target: discoverer + image: busybox:1.38.0 + imagePullPolicy: Always + sleepDuration: 2 + # @schema {"name": "manager.index.deleter.env", "alias": "env"} + # manager.index.deleter.env -- environment variables + env: + - name: MY_NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + # @schema {"name": "manager.index.deleter.observability", "alias": "observability"} + # manager.index.creator.observability -- observability config (overrides defaults.observability) + observability: + otlp: + attribute: + service_name: vald-index-deletion + # @schema {"name": "manager.index.deleter.enabled", "type": "boolean"} + # manager.index.deleter.enabled -- enable index deletion CronJob + enabled: false + # @schema {"name": "manager.index.deleter.schedule", "type": "string"} + # manager.index.deleter.schedule -- CronJob schedule setting for index deletion + schedule: "* * * * *" + # @schema {"name": "manager.index.deleter.suspend", "type": "boolean"} + # manager.index.deleter.suspend -- CronJob suspend setting for index deletion + suspend: false + # @schema {"name": "manager.index.deleter.ttlSecondsAfterFinished", "type": "integer"} + # manager.index.deleter.ttlSecondsAfterFinished -- ttl setting for K8s completed jobs + ttlSecondsAfterFinished: 86400 + # @schema {"name": "manager.index.deleter.startingDeadlineSeconds", "type": "integer"} + # manager.index.deleter.startingDeadlineSeconds -- startingDeadlineSeconds setting for K8s completed jobs + startingDeadlineSeconds: 43200 + # @schema {"name": "manager.index.deleter.version", "alias": "version"} + # manager.index.deleter.version -- version of index manager config + version: v0.0.0 + # @schema {"name": "manager.index.deleter.concurrency", "type": "integer", "minimum": 1} + # manager.index.deleter.concurrency -- concurrency for indexing + concurrency: 1 + # @schema {"name": "manager.index.deleter.target_addrs", "type": "array", "items": {"type": "string"}} + # manager.index.deleter.target_addrs -- indexing target addresses + target_addrs: [] + # @schema {"name": "manager.index.deleter.index_id", "type": "string"} + # manager.index.deleter.index_id -- index id for deletion + index_id: "" + # @schema {"name": "manager.index.deleter.agent_namespace", "type": "string"} + # manager.index.deleter.agent_namespace -- namespace of agent pods to manage + agent_namespace: _MY_POD_NAMESPACE_ + # @schema {"name": "manager.index.deleter.node_name", "type": "string"} + # manager.index.deleter.node_name -- node name + node_name: "" # _MY_NODE_NAME_ + # @schema {"name": "manager.index.deleter.nodeSelector", "alias": "nodeSelector"} + # manager.index.deleter.nodeSelector -- node selector + nodeSelector: {} + # @schema {"name": "manager.index.deleter.tolerations", "alias": "tolerations"} + # manager.index.deleter.tolerations -- tolerations + tolerations: [] + # @schema {"name": "manager.index.deleter.affinity", "alias": "affinity"} + affinity: + nodeAffinity: + # manager.index.deleter.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution -- node affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + requiredDuringSchedulingIgnoredDuringExecution: + # manager.index.deleter.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms -- node affinity required node selectors + nodeSelectorTerms: [] + podAffinity: + # manager.index.deleter.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + # manager.index.deleter.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + podAntiAffinity: + # manager.index.deleter.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + # manager.index.deleter.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "manager.index.deleter.serviceAccountName", "type": "string"} + # manager.index.deleter.serviceAccountName -- serviceAccountName -- Name of the service account to use. + serviceAccountName: "" + # @schema {"name": "manager.index.deleter.discoverer", "type": "object"} + discoverer: + # @schema {"name": "manager.index.deleter.discoverer.duration", "type": "string"} + # manager.index.deleter.discoverer.duration -- refresh duration to discover + duration: 500ms + # @schema {"name": "manager.index.deleter.discoverer.client", "alias": "grpc.client"} + # manager.index.deleter.discoverer.client -- gRPC client for discoverer (overrides defaults.grpc.client) + client: {} + # @schema {"name": "manager.index.deleter.discoverer.agent_client_options", "alias": "grpc.client"} + # manager.index.deleter.discoverer.agent_client_options -- gRPC client options for agents (overrides defaults.grpc.client) + agent_client_options: + dial_option: + net: + dialer: + keepalive: 15m #indexer fetches uncommitted index length, which includes huge payload so we need to set keepalive longer than usual + # @schema {"name": "manager.index.saver", "type": "object"} + saver: + # @schema {"name": "manager.index.saver.name", "type": "string"} + # manager.index.saver.name -- name of index save job + name: vald-index-save + # @schema {"name": "manager.index.saver.image", "alias": "image"} + image: + # manager.index.saver.image.repository -- image repository + repository: vdaas/vald-index-save + # manager.index.saver.image.tag -- image tag (overrides defaults.image.tag) + tag: "" + # manager.index.image.pullPolicy -- image pull policy + pullPolicy: Always + # @schema {"name": "manager.index.saver.server_config", "alias": "server_config"} + # manager.index.saver.server_config -- server config (overrides defaults.server_config) + server_config: + servers: + rest: {} + grpc: {} + healths: + liveness: {} + readiness: {} + startup: {} + metrics: + pprof: {} + # @schema {"name": "manager.index.saver.initContainers", "alias": "initContainers"} + # manager.index.saver.initContainers -- init containers + initContainers: + - type: wait-for + name: wait-for-agent + target: agent + image: busybox:1.38.0 + imagePullPolicy: Always + sleepDuration: 2 + - type: wait-for + name: wait-for-discoverer + target: discoverer + image: busybox:1.38.0 + imagePullPolicy: Always + sleepDuration: 2 + # @schema {"name": "manager.index.saver.env", "alias": "env"} + # manager.index.saver.env -- environment variables + env: + - name: MY_NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + # @schema {"name": "manager.index.saver.observability", "alias": "observability"} + # manager.index.saver.observability -- observability config (overrides defaults.observability) + observability: + otlp: + attribute: + service_name: vald-index-save + # @schema {"name": "manager.index.saver.enabled", "type": "boolean"} + # manager.index.saver.enabled -- enable index save CronJob + enabled: false + # @schema {"name": "manager.index.saver.schedule", "type": "string"} + # manager.index.saver.schedule -- CronJob schedule setting for index save + schedule: "0 */3 * * *" + # @schema {"name": "manager.index.saver.suspend", "type": "boolean"} + # manager.index.saver.suspend -- CronJob suspend setting for index creation + suspend: false + # @schema {"name": "manager.index.saver.ttlSecondsAfterFinished", "type": "integer"} + # manager.index.saver.ttlSecondsAfterFinished -- ttl setting for K8s completed jobs + ttlSecondsAfterFinished: 86400 + # @schema {"name": "manager.index.saver.startingDeadlineSeconds", "type": "integer"} + # manager.index.saver.startingDeadlineSeconds -- startingDeadlineSeconds setting for K8s completed jobs + startingDeadlineSeconds: 43200 + # @schema {"name": "manager.index.saver.version", "alias": "version"} + # manager.index.saver.version -- version of index manager config + version: v0.0.0 + # @schema {"name": "manager.index.saver.concurrency", "type": "integer", "minimum": 1} + # manager.index.saver.concurrency -- concurrency for index saving + concurrency: 1 + # @schema {"name": "manager.index.saver.target_addrs", "type": "array", "items": {"type": "string"}} + # manager.index.saver.target_addrs -- index saving target addresses + target_addrs: [] + # @schema {"name": "manager.index.saver.agent_namespace", "type": "string"} + # manager.index.saver.agent_namespace -- namespace of agent pods to manage + agent_namespace: _MY_POD_NAMESPACE_ + # @schema {"name": "manager.index.saver.node_name", "type": "string"} + # manager.index.saver.node_name -- node name + node_name: "" # _MY_NODE_NAME_ + # @schema {"name": "manager.index.saver.nodeSelector", "alias": "nodeSelector"} + # manager.index.saver.nodeSelector -- node selector + nodeSelector: {} + # @schema {"name": "manager.index.saver.tolerations", "alias": "tolerations"} + # manager.index.saver.tolerations -- tolerations + tolerations: [] + # @schema {"name": "manager.index.saver.affinity", "alias": "affinity"} + affinity: + nodeAffinity: + # manager.index.saver.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution -- node affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + requiredDuringSchedulingIgnoredDuringExecution: + # manager.index.saver.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms -- node affinity required node selectors + nodeSelectorTerms: [] + podAffinity: + # manager.index.saver.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + # manager.index.saver.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + podAntiAffinity: + # manager.index.saver.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + # manager.index.saver.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "manager.index.saver.serviceAccountName", "type": "string"} + # manager.index.saver.serviceAccountName -- serviceAccountName -- Name of the service account to use. + serviceAccountName: "" + # @schema {"name": "manager.index.saver.discoverer", "type": "object"} + discoverer: + # @schema {"name": "manager.index.saver.discoverer.duration", "type": "string"} + # manager.index.saver.discoverer.duration -- refresh duration to discover + duration: 500ms + # @schema {"name": "manager.index.saver.discoverer.client", "alias": "grpc.client"} + # manager.index.saver.discoverer.client -- gRPC client for discoverer (overrides defaults.grpc.client) + client: {} + # @schema {"name": "manager.index.saver.discoverer.agent_client_options", "alias": "grpc.client"} + # manager.index.saver.discoverer.agent_client_options -- gRPC client options for agents (overrides defaults.grpc.client) + agent_client_options: + dial_option: + net: + dialer: + keepalive: 15m #indexer fetches uncommitted index length, which includes huge payload so we need to set keepalive longer than usual + # @schema {"name": "manager.index.readreplica", "type": "object"} + readreplica: + # @schema {"name": "manager.index.readreplica.rotator", "type": "object"} + # manager.index.readreplica.rotator -- [This feature is work in progress] readreplica agents rotation job + rotator: + # @schema {"name": "manager.index.readreplica.rotator.name", "type": "string"} + # manager.index.readreplica.rotator.name -- name of readreplica rotator job + name: vald-readreplica-rotate + # @schema {"name": "manager.index.readreplica.rotator.image", "alias": "image"} + image: + # manager.index.readreplica.rotator.image.repository -- image repository + repository: vdaas/vald-readreplica-rotate + # manager.index.readreplica.rotator.image.tag -- image tag (overrides defaults.image.tag) + tag: "" + # manager.index.image.pullPolicy -- image pull policy + pullPolicy: Always + # @schema {"name": "manager.index.readreplica.rotator.target_read_replica_id_annotations_key", "type": "string"} + # manager.index.readreplica.rotator.target_read_replica_id_annotations_key -- name of annotations key for target read replica id + target_read_replica_id_annotations_key: vald.vdaas.org/target-read-replica-id + # @schema {"name": "manager.index.readreplica.rotator.server_config", "alias": "server_config"} + # manager.index.readreplica.rotator.server_config -- server config (overrides defaults.server_config) + server_config: + servers: + rest: {} + grpc: {} + healths: + liveness: {} + readiness: {} + startup: {} + metrics: + pprof: {} + # @schema {"name": "manager.index.readreplica.rotator.initContainers", "alias": "initContainers"} + # manager.index.readreplica.rotator.initContainers -- init containers + initContainers: [] + # @schema {"name": "manager.index.readreplica.rotator.podSecurityContext", "type": "object"} + # manager.index.readreplica.rotator.podSecurityContext -- security context for pod + podSecurityContext: + runAsUser: 65532 + runAsNonRoot: true + runAsGroup: 65532 + fsGroup: 65532 + fsGroupChangePolicy: "OnRootMismatch" + # @schema {"name": "manager.index.readreplica.rotator.securityContext", "type": "object"} + # manager.index.readreplica.rotator.securityContext -- security context for container + securityContext: + runAsUser: 65532 + runAsNonRoot: true + runAsGroup: 65532 + privileged: false + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + capabilities: + drop: + - ALL + # @schema {"name": "manager.index.readreplica.rotator.env", "alias": "env"} + # manager.index.readreplica.rotator.env -- environment variables + env: + - name: MY_NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + # @schema {"name": "manager.index.readreplica.rotator.observability", "alias": "observability"} + # manager.index.readreplica.rotator.observability -- observability config (overrides defaults.observability) + observability: + otlp: + attribute: + service_name: vald-readreplica-rotate + # @schema {"name": "manager.index.readreplica.rotator.ttlSecondsAfterFinished", "type": "integer"} + # manager.index.readreplica.rotator.ttlSecondsAfterFinished -- ttl setting for K8s completed jobs + ttlSecondsAfterFinished: 86400 + # @schema {"name": "manager.index.readreplica.rotator.version", "alias": "version"} + # manager.index.readreplica.rotator.version -- version of readreplica rotator config + version: v0.0.0 + # @schema {"name": "manager.index.readreplica.rotator.agent_namespace", "type": "string"} + # manager.index.readreplica.rotator.agent_namespace -- namespace of agent pods to manage + agent_namespace: _MY_POD_NAMESPACE_ + # @schema {"name": "manager.index.readreplica.rotator.serviceAccountName", "type": "string"} + # manager.index.readreplica.rotator.serviceAccountName -- serviceAccountName -- Name of the service account to use. + serviceAccountName: vald-readreplica-rotate + # @schema {"name": "manager.index.readreplica.rotator.clusterRole", "type": "object"} + clusterRole: + # @schema {"name": "manager.index.readreplica.rotator.clusterRole.enabled", "type": "boolean"} + # manager.index.readreplica.rotator.clusterRole.enabled -- creates clusterRole resource + enabled: true + # @schema {"name": "manager.index.readreplica.rotator.clusterRole.name", "type": "string"} + # manager.index.readreplica.rotator.clusterRole.name -- name of clusterRole + name: vald-readreplica-rotate + # @schema {"name": "manager.index.readreplica.rotator.clusterRoleBinding", "type": "object"} + clusterRoleBinding: + # @schema {"name": "manager.index.readreplica.rotator.clusterRoleBinding.enabled", "type": "boolean"} + # manager.index.readreplica.rotator.clusterRoleBinding.enabled -- creates clusterRoleBinding resource + enabled: true + # @schema {"name": "manager.index.readreplica.rotator.clusterRoleBinding.name", "type": "string"} + # manager.index.readreplica.rotator.clusterRoleBinding.name -- name of clusterRoleBinding + name: vald-readreplica-rotate + # @schema {"name": "manager.index.operator", "type": "object"} + # manager.index.operator -- [THIS FEATURE IS WIP] operator that manages vald index + operator: + # @schema {"name": "manager.index.operator.enabled", "type": "boolean"} + # manager.index.operator.enabled -- index operator enabled + enabled: false + # @schema {"name": "manager.index.operator.version", "alias": "version"} + # manager.index.operator.version -- version of index operator config + version: v0.0.0 + # @schema {"name": "manager.index.operator.time_zone", "type": "string"} + # manager.index.operator.time_zone -- Time zone + time_zone: "" + # @schema {"name": "manager.index.operator.logging", "alias": "logging"} + # manager.index.operator.logging -- logging config (overrides defaults.logging) + logging: {} + # @schema {"name": "manager.index.operator.name", "type": "string"} + # manager.index.operator.name -- name of manager.index.operator deployment + name: vald-index-operator + # @schema {"name": "manager.index.operator.namespace", "type": "string"} + # manager.index.operator.namespace -- namespace to discovery + namespace: _MY_POD_NAMESPACE_ + # @schema {"name": "manager.index.operator.kind", "type": "string", "enum": ["Deployment", "DaemonSet"]} + # manager.index.operator.kind -- deployment kind: Deployment or DaemonSet + kind: Deployment + # @schema {"name": "manager.index.operator.progressDeadlineSeconds", "type": "integer"} + # manager.index.operator.progressDeadlineSeconds -- progress deadline seconds + progressDeadlineSeconds: 600 + # @schema {"name": "manager.index.operator.replicas", "type": "integer", "minimum": 0} + # manager.index.operator.replicas -- number of replicas. + replicas: 1 + # @schema {"name": "manager.index.operator.revisionHistoryLimit", "type": "integer", "minimum": 0} + # manager.index.operator.revisionHistoryLimit -- number of old history to retain to allow rollback + revisionHistoryLimit: 2 + # @schema {"name": "manager.index.operator.terminationGracePeriodSeconds", "type": "integer", "minimum": 0} + # manager.index.operator.terminationGracePeriodSeconds -- duration in seconds pod needs to terminate gracefully + terminationGracePeriodSeconds: 30 + # @schema {"name": "manager.index.operator.podSecurityContext", "type": "object"} + # manager.index.operator.podSecurityContext -- security context for pod + podSecurityContext: + runAsUser: 65532 + runAsNonRoot: true + runAsGroup: 65532 + fsGroup: 65532 + fsGroupChangePolicy: "OnRootMismatch" + # @schema {"name": "manager.index.operator.securityContext", "type": "object"} + # manager.index.operator.securityContext -- security context for container + securityContext: + runAsUser: 65532 + runAsNonRoot: true + runAsGroup: 65532 + privileged: false + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + capabilities: + drop: + - ALL + # @schema {"name": "manager.index.operator.podPriority", "alias": "podPriority"} + podPriority: + # manager.index.operator.podPriority.enabled -- manager.index.operator pod PriorityClass enabled + enabled: true + # manager.index.operator.podPriority.value -- manager.index.operator pod PriorityClass value + value: 1000000 + # @schema {"name": "manager.index.operator.annotations", "type": "object"} + # manager.index.operator.annotations -- deployment annotations + annotations: {} + # @schema {"name": "manager.index.operator.podAnnotations", "type": "object"} + # manager.index.operator.podAnnotations -- pod annotations + podAnnotations: {} + # @schema {"name": "manager.index.operator.image", "alias": "image"} + image: + # manager.index.operator.image.repository -- image repository + repository: vdaas/vald-index-operator + # manager.index.operator.image.tag -- image tag (overrides defaults.image.tag) + tag: "" + # manager.index.operator.image.pullPolicy -- image pull policy + pullPolicy: Always + # @schema {"name": "manager.index.operator.rollingUpdate", "alias": "rollingUpdate"} + rollingUpdate: + # manager.index.operator.rollingUpdate.maxSurge -- max surge of rolling update + maxSurge: 25% + # manager.index.operator.rollingUpdate.maxUnavailable -- max unavailable of rolling update + maxUnavailable: 25% + # @schema {"name": "manager.index.operator.initContainers", "alias": "initContainers"} + # manager.index.operator.initContainers -- init containers + initContainers: [] + # @schema {"name": "manager.index.operator.env", "alias": "env"} + # manager.index.operator.env -- environment variables + env: + - name: MY_NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + # @schema {"name": "manager.index.operator.volumeMounts", "alias": "volumeMounts"} + # manager.index.operator.volumeMounts -- volume mounts + volumeMounts: [] + # @schema {"name": "manager.index.operator.volumes", "alias": "volumes"} + # manager.index.operator.volumes -- volumes + volumes: [] + # @schema {"name": "manager.index.operator.nodeName", "type": "string"} + # manager.index.operator.nodeName -- node name + nodeName: "" + # @schema {"name": "manager.index.operator.nodeSelector", "alias": "nodeSelector"} + # manager.index.operator.nodeSelector -- node selector + nodeSelector: {} + # @schema {"name": "manager.index.operator.tolerations", "alias": "tolerations"} + # manager.index.operator.tolerations -- tolerations + tolerations: [] + # @schema {"name": "manager.index.operator.affinity", "alias": "affinity"} + affinity: + nodeAffinity: + # manager.index.operator.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution -- node affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + requiredDuringSchedulingIgnoredDuringExecution: + # manager.index.operator.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms -- node affinity required node selectors + nodeSelectorTerms: [] + podAffinity: + # manager.index.operator.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: [] + # manager.index.operator.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + podAntiAffinity: + # manager.index.operator.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity preferred scheduling terms + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + podAffinityTerm: + topologyKey: kubernetes.io/hostname + labelSelector: + matchExpressions: + - key: app + operator: In + values: + - vald-index-operator + # manager.index.operator.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity required scheduling terms + requiredDuringSchedulingIgnoredDuringExecution: [] + # @schema {"name": "manager.index.operator.topologySpreadConstraints", "alias": "topologySpreadConstraints"} + # manager.index.operator.topologySpreadConstraints -- topology spread constraints of manager.index.operator pods + topologySpreadConstraints: [] + # @schema {"name": "manager.index.operator.server_config", "alias": "server_config"} + # manager.index.operator.server_config -- server config (overrides defaults.server_config) + server_config: + servers: + rest: {} + grpc: {} + healths: + liveness: {} + readiness: {} + startup: {} + metrics: + pprof: {} + # @schema {"name": "manager.index.operator.observability", "alias": "observability"} + # manager.index.operator.observability -- observability config (overrides defaults.observability) + observability: + otlp: + attribute: + service_name: vald-index-operator + # @schema {"name": "manager.index.operator.resources", "alias": "resources"} + # manager.index.operator.resources -- compute resources + resources: + requests: + cpu: 200m + memory: 65Mi + limits: + cpu: 600m + memory: 200Mi + # @schema {"name": "manager.index.operator.serviceAccountName", "type": "string"} + # manager.index.operator.serviceAccountName -- serviceAccountName -- Name of the service account to use. + serviceAccountName: "vald-index-operator" + # @schema {"name": "manager.index.operator.clusterRole", "type": "object"} + clusterRole: + # @schema {"name": "manager.index.operator.clusterRole.enabled", "type": "boolean"} + # manager.index.operator.clusterRole.enabled -- creates clusterRole resource + enabled: true + # @schema {"name": "manager.index.operator.clusterRole.name", "type": "string"} + # manager.index.operator.clusterRole.name -- name of clusterRole + name: vald-index-operator + # @schema {"name": "manager.index.operator.clusterRoleBinding", "type": "object"} + clusterRoleBinding: + # @schema {"name": "manager.index.operator.clusterRoleBinding.enabled", "type": "boolean"} + # manager.index.operator.clusterRoleBinding.enabled -- creates clusterRoleBinding resource + enabled: true + # @schema {"name": "manager.index.operator.clusterRoleBinding.name", "type": "string"} + # manager.index.operator.clusterRoleBinding.name -- name of clusterRoleBinding + name: vald-index-operator + # @schema {"name": "manager.index.operator.rotation_job_concurrency", "type": "integer", "minimum": 1} + # manager.index.operator.rotation_job_concurrency -- maximum concurrent rotator job run. + rotation_job_concurrency: 2 diff --git a/charts/vald-with-tikv/README.md b/charts/vald-with-tikv/README.md index c117d8b721..bfc0ab9dc5 100644 --- a/charts/vald-with-tikv/README.md +++ b/charts/vald-with-tikv/README.md @@ -694,7 +694,7 @@ Vald + Metadata(TiKV) | gateway.filter.ingress.pathType | string | `"ImplementationSpecific"` | gateway ingress pathType | | gateway.filter.ingress.servicePort | string | `"grpc"` | service port to be exposed by ingress | | gateway.filter.ingress.tls | list | `[{"hosts":[],"secretName":""}]` | ingress tls config | -| gateway.filter.initContainers | list | `[{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-gateway-lb","sleepDuration":2,"target":"gateway-lb","type":"wait-for"}]` | init containers | +| gateway.filter.initContainers | list | `[{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-gateway-lb","sleepDuration":2,"target":"gateway-lb","type":"wait-for"}]` | init containers | | gateway.filter.internalTrafficPolicy | string | `""` | internal traffic policy (can be specified when service type is LoadBalancer or NodePort) : Cluster or Local | | gateway.filter.kind | string | `"Deployment"` | deployment kind: Deployment or DaemonSet | | gateway.filter.logging | object | `{}` | logging config (overrides defaults.logging) | @@ -760,7 +760,7 @@ Vald + Metadata(TiKV) | gateway.lb.ingress.pathType | string | `"ImplementationSpecific"` | gateway ingress pathType | | gateway.lb.ingress.servicePort | string | `"grpc"` | service port to be exposed by ingress | | gateway.lb.ingress.tls | list | `[{"hosts":[],"secretName":""}]` | ingress tls config | -| gateway.lb.initContainers | list | `[{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"},{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"}]` | init containers | +| gateway.lb.initContainers | list | `[{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"},{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"}]` | init containers | | gateway.lb.internalTrafficPolicy | string | `""` | internal traffic policy (can be specified when service type is LoadBalancer or NodePort) : Cluster or Local | | gateway.lb.kind | string | `"Deployment"` | deployment kind: Deployment or DaemonSet | | gateway.lb.logging | object | `{}` | logging config (overrides defaults.logging) | @@ -855,7 +855,7 @@ Vald + Metadata(TiKV) | gateway.mirror.ingress.servicePort | string | `"grpc"` | service port to be exposed by ingress | | gateway.mirror.ingress.tls[0].hosts | list | `[]` | | | gateway.mirror.ingress.tls[0].secretName | string | `""` | | -| gateway.mirror.initContainers | list | `[{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-gateway-lb","sleepDuration":2,"target":"gateway-lb","type":"wait-for"}]` | init containers | +| gateway.mirror.initContainers | list | `[{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-gateway-lb","sleepDuration":2,"target":"gateway-lb","type":"wait-for"}]` | init containers | | gateway.mirror.internalTrafficPolicy | string | `""` | internal traffic policy (can be specified when service type is LoadBalancer or NodePort) : Cluster or Local | | gateway.mirror.kind | string | `"Deployment"` | deployment kind: Deployment or DaemonSet | | gateway.mirror.logging | object | `{}` | logging config (overrides defaults.logging) | @@ -913,7 +913,7 @@ Vald + Metadata(TiKV) | manager.index.corrector.image.pullPolicy | string | `"Always"` | | | manager.index.corrector.image.repository | string | `"vdaas/vald-index-correction"` | image repository | | manager.index.corrector.image.tag | string | `""` | image tag (overrides defaults.image.tag) | -| manager.index.corrector.initContainers | list | `[{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"},{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"}]` | init containers | +| manager.index.corrector.initContainers | list | `[{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"},{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"}]` | init containers | | manager.index.corrector.kvs_background_compaction_interval | string | `"5s"` | interval of checked id list kvs compaction | | manager.index.corrector.kvs_background_sync_interval | string | `"5s"` | interval of checked id list kvs sync | | manager.index.corrector.name | string | `"vald-index-correction"` | name of index correction job | @@ -945,7 +945,7 @@ Vald + Metadata(TiKV) | manager.index.creator.image.pullPolicy | string | `"Always"` | | | manager.index.creator.image.repository | string | `"vdaas/vald-index-creation"` | image repository | | manager.index.creator.image.tag | string | `""` | image tag (overrides defaults.image.tag) | -| manager.index.creator.initContainers | list | `[{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"},{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"}]` | init containers | +| manager.index.creator.initContainers | list | `[{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"},{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"}]` | init containers | | manager.index.creator.name | string | `"vald-index-creation"` | name of index creation job | | manager.index.creator.nodeSelector | object | `{}` | node selector | | manager.index.creator.node_name | string | `""` | node name | @@ -975,13 +975,13 @@ Vald + Metadata(TiKV) | manager.index.deleter.image.repository | string | `"vdaas/vald-index-deletion"` | image repository | | manager.index.deleter.image.tag | string | `""` | image tag (overrides defaults.image.tag) | | manager.index.deleter.index_id | string | `""` | index id for deletion | -| manager.index.deleter.initContainers[0].image | string | `"busybox:1.37.0"` | | +| manager.index.deleter.initContainers[0].image | string | `"busybox:1.38.0"` | | | manager.index.deleter.initContainers[0].imagePullPolicy | string | `"Always"` | | | manager.index.deleter.initContainers[0].name | string | `"wait-for-agent"` | | | manager.index.deleter.initContainers[0].sleepDuration | int | `2` | | | manager.index.deleter.initContainers[0].target | string | `"agent"` | | | manager.index.deleter.initContainers[0].type | string | `"wait-for"` | | -| manager.index.deleter.initContainers[1].image | string | `"busybox:1.37.0"` | | +| manager.index.deleter.initContainers[1].image | string | `"busybox:1.38.0"` | | | manager.index.deleter.initContainers[1].imagePullPolicy | string | `"Always"` | | | manager.index.deleter.initContainers[1].name | string | `"wait-for-discoverer"` | | | manager.index.deleter.initContainers[1].sleepDuration | int | `2` | | @@ -1017,7 +1017,7 @@ Vald + Metadata(TiKV) | manager.index.indexer.discoverer.client | object | `{}` | gRPC client for discoverer (overrides defaults.grpc.client) | | manager.index.indexer.discoverer.duration | string | `"500ms"` | refresh duration to discover | | manager.index.indexer.node_name | string | `""` | node name | -| manager.index.initContainers | list | `[{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"},{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"}]` | init containers | +| manager.index.initContainers | list | `[{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"},{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"}]` | init containers | | manager.index.kind | string | `"Deployment"` | deployment kind: Deployment or DaemonSet | | manager.index.logging | object | `{}` | logging config (overrides defaults.logging) | | manager.index.maxUnavailable | string | `"50%"` | maximum number of unavailable replicas | @@ -1112,7 +1112,7 @@ Vald + Metadata(TiKV) | manager.index.saver.image.pullPolicy | string | `"Always"` | | | manager.index.saver.image.repository | string | `"vdaas/vald-index-save"` | image repository | | manager.index.saver.image.tag | string | `""` | image tag (overrides defaults.image.tag) | -| manager.index.saver.initContainers | list | `[{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"},{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"}]` | init containers | +| manager.index.saver.initContainers | list | `[{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"},{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"}]` | init containers | | manager.index.saver.name | string | `"vald-index-save"` | name of index save job | | manager.index.saver.nodeSelector | object | `{}` | node selector | | manager.index.saver.node_name | string | `""` | node name | diff --git a/charts/vald-with-tikv/values.yaml b/charts/vald-with-tikv/values.yaml index e3d9ac0fa4..5d466f0389 100644 --- a/charts/vald-with-tikv/values.yaml +++ b/charts/vald-with-tikv/values.yaml @@ -1133,13 +1133,13 @@ gateway: - type: wait-for name: wait-for-discoverer target: discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 - type: wait-for name: wait-for-agent target: agent - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 # @schema {"name": "gateway.lb.env", "type": "array", "items": {"type": "object"}, "anchor": "env"} @@ -1433,7 +1433,7 @@ gateway: - type: wait-for name: wait-for-gateway-lb target: gateway-lb - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 # @schema {"name": "gateway.filter.env", "type": "array", "items": {"type": "object"}, "anchor": "env"} @@ -1737,7 +1737,7 @@ gateway: - type: wait-for name: wait-for-gateway-lb target: gateway-lb - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 # @schema {"name": "gateway.mirror.env", "type": "array", "items": {"type": "object"}, "anchor": "env"} @@ -3259,13 +3259,13 @@ manager: - type: wait-for name: wait-for-agent target: agent - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 - type: wait-for name: wait-for-discoverer target: discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 # @schema {"name": "manager.index.env", "alias": "env"} @@ -3421,13 +3421,13 @@ manager: - type: wait-for name: wait-for-agent target: agent - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 - type: wait-for name: wait-for-discoverer target: discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 # @schema {"name": "manager.index.corrector.env", "alias": "env"} @@ -3557,13 +3557,13 @@ manager: - type: wait-for name: wait-for-agent target: agent - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 - type: wait-for name: wait-for-discoverer target: discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 # @schema {"name": "manager.index.creator.env", "alias": "env"} @@ -3690,13 +3690,13 @@ manager: - type: wait-for name: wait-for-agent target: agent - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 - type: wait-for name: wait-for-discoverer target: discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 # @schema {"name": "manager.index.deleter.env", "alias": "env"} @@ -3823,13 +3823,13 @@ manager: - type: wait-for name: wait-for-agent target: agent - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 - type: wait-for name: wait-for-discoverer target: discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 # @schema {"name": "manager.index.saver.env", "alias": "env"} diff --git a/charts/vald/README.md b/charts/vald/README.md index fd3fcf73b2..911a8448ea 100644 --- a/charts/vald/README.md +++ b/charts/vald/README.md @@ -731,7 +731,7 @@ Run the following command to install the chart, | gateway.filter.ingress.pathType | string | `"ImplementationSpecific"` | gateway ingress pathType | | gateway.filter.ingress.servicePort | string | `"grpc"` | service port to be exposed by ingress | | gateway.filter.ingress.tls | list | `[{"hosts":[],"secretName":""}]` | ingress tls config | -| gateway.filter.initContainers | list | `[{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-gateway-lb","sleepDuration":2,"target":"gateway-lb","type":"wait-for"}]` | init containers | +| gateway.filter.initContainers | list | `[{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-gateway-lb","sleepDuration":2,"target":"gateway-lb","type":"wait-for"}]` | init containers | | gateway.filter.internalTrafficPolicy | string | `""` | internal traffic policy (can be specified when service type is LoadBalancer or NodePort) : Cluster or Local | | gateway.filter.kind | string | `"Deployment"` | deployment kind: Deployment or DaemonSet | | gateway.filter.logging | object | `{}` | logging config (overrides defaults.logging) | @@ -796,7 +796,7 @@ Run the following command to install the chart, | gateway.lb.ingress.pathType | string | `"ImplementationSpecific"` | gateway ingress pathType | | gateway.lb.ingress.servicePort | string | `"grpc"` | service port to be exposed by ingress | | gateway.lb.ingress.tls | list | `[{"hosts":[],"secretName":""}]` | ingress tls config | -| gateway.lb.initContainers | list | `[{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"},{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"}]` | init containers | +| gateway.lb.initContainers | list | `[{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"},{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"}]` | init containers | | gateway.lb.internalTrafficPolicy | string | `""` | internal traffic policy (can be specified when service type is LoadBalancer or NodePort) : Cluster or Local | | gateway.lb.kind | string | `"Deployment"` | deployment kind: Deployment or DaemonSet | | gateway.lb.logging | object | `{}` | logging config (overrides defaults.logging) | @@ -890,7 +890,7 @@ Run the following command to install the chart, | gateway.mirror.ingress.servicePort | string | `"grpc"` | service port to be exposed by ingress | | gateway.mirror.ingress.tls[0].hosts | list | `[]` | | | gateway.mirror.ingress.tls[0].secretName | string | `""` | | -| gateway.mirror.initContainers | list | `[{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-gateway-lb","sleepDuration":2,"target":"gateway-lb","type":"wait-for"}]` | init containers | +| gateway.mirror.initContainers | list | `[{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-gateway-lb","sleepDuration":2,"target":"gateway-lb","type":"wait-for"}]` | init containers | | gateway.mirror.internalTrafficPolicy | string | `""` | internal traffic policy (can be specified when service type is LoadBalancer or NodePort) : Cluster or Local | | gateway.mirror.kind | string | `"Deployment"` | deployment kind: Deployment or DaemonSet | | gateway.mirror.logging | object | `{}` | logging config (overrides defaults.logging) | @@ -947,7 +947,7 @@ Run the following command to install the chart, | manager.index.corrector.image.pullPolicy | string | `"Always"` | | | manager.index.corrector.image.repository | string | `"vdaas/vald-index-correction"` | image repository | | manager.index.corrector.image.tag | string | `""` | image tag (overrides defaults.image.tag) | -| manager.index.corrector.initContainers | list | `[{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"},{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"}]` | init containers | +| manager.index.corrector.initContainers | list | `[{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"},{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"}]` | init containers | | manager.index.corrector.kvs_background_compaction_interval | string | `"5s"` | interval of checked id list kvs compaction | | manager.index.corrector.kvs_background_sync_interval | string | `"5s"` | interval of checked id list kvs sync | | manager.index.corrector.name | string | `"vald-index-correction"` | name of index correction job | @@ -980,7 +980,7 @@ Run the following command to install the chart, | manager.index.creator.image.pullPolicy | string | `"Always"` | | | manager.index.creator.image.repository | string | `"vdaas/vald-index-creation"` | image repository | | manager.index.creator.image.tag | string | `""` | image tag (overrides defaults.image.tag) | -| manager.index.creator.initContainers | list | `[{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"},{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"}]` | init containers | +| manager.index.creator.initContainers | list | `[{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"},{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"}]` | init containers | | manager.index.creator.name | string | `"vald-index-creation"` | name of index creation job | | manager.index.creator.nodeSelector | object | `{}` | node selector | | manager.index.creator.node_name | string | `""` | node name | @@ -1011,7 +1011,7 @@ Run the following command to install the chart, | manager.index.deleter.image.repository | string | `"vdaas/vald-index-deletion"` | image repository | | manager.index.deleter.image.tag | string | `""` | image tag (overrides defaults.image.tag) | | manager.index.deleter.index_id | string | `""` | index id for deletion | -| manager.index.deleter.initContainers | list | `[{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"},{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"}]` | init containers | +| manager.index.deleter.initContainers | list | `[{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"},{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"}]` | init containers | | manager.index.deleter.name | string | `"vald-index-deletion"` | name of index deletion job | | manager.index.deleter.nodeSelector | object | `{}` | node selector | | manager.index.deleter.node_name | string | `""` | node name | @@ -1043,7 +1043,7 @@ Run the following command to install the chart, | manager.index.indexer.discoverer.client | object | `{}` | gRPC client for discoverer (overrides defaults.grpc.client) | | manager.index.indexer.discoverer.duration | string | `"500ms"` | refresh duration to discover | | manager.index.indexer.node_name | string | `""` | node name | -| manager.index.initContainers | list | `[{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"},{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"}]` | init containers | +| manager.index.initContainers | list | `[{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"},{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"}]` | init containers | | manager.index.kind | string | `"Deployment"` | deployment kind: Deployment or DaemonSet | | manager.index.logging | object | `{}` | logging config (overrides defaults.logging) | | manager.index.maxUnavailable | string | `"50%"` | maximum number of unavailable replicas | @@ -1140,7 +1140,7 @@ Run the following command to install the chart, | manager.index.saver.image.pullPolicy | string | `"Always"` | | | manager.index.saver.image.repository | string | `"vdaas/vald-index-save"` | image repository | | manager.index.saver.image.tag | string | `""` | image tag (overrides defaults.image.tag) | -| manager.index.saver.initContainers | list | `[{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"},{"image":"busybox:1.37.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"}]` | init containers | +| manager.index.saver.initContainers | list | `[{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-agent","sleepDuration":2,"target":"agent","type":"wait-for"},{"image":"busybox:1.38.0","imagePullPolicy":"Always","name":"wait-for-discoverer","sleepDuration":2,"target":"discoverer","type":"wait-for"}]` | init containers | | manager.index.saver.name | string | `"vald-index-save"` | name of index save job | | manager.index.saver.nodeSelector | object | `{}` | node selector | | manager.index.saver.node_name | string | `""` | node name | diff --git a/charts/vald/values.yaml b/charts/vald/values.yaml index c9e5186c0d..6b279c77ea 100644 --- a/charts/vald/values.yaml +++ b/charts/vald/values.yaml @@ -1155,13 +1155,13 @@ gateway: - type: wait-for name: wait-for-discoverer target: discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 - type: wait-for name: wait-for-agent target: agent - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 # @schema {"name": "gateway.lb.env", "type": "array", "items": {"type": "object"}, "anchor": "env"} @@ -1451,7 +1451,7 @@ gateway: - type: wait-for name: wait-for-gateway-lb target: gateway-lb - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 # @schema {"name": "gateway.filter.env", "type": "array", "items": {"type": "object"}, "anchor": "env"} @@ -1751,7 +1751,7 @@ gateway: - type: wait-for name: wait-for-gateway-lb target: gateway-lb - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 # @schema {"name": "gateway.mirror.env", "type": "array", "items": {"type": "object"}, "anchor": "env"} @@ -3264,13 +3264,13 @@ manager: - type: wait-for name: wait-for-agent target: agent - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 - type: wait-for name: wait-for-discoverer target: discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 # @schema {"name": "manager.index.env", "alias": "env"} @@ -3429,13 +3429,13 @@ manager: - type: wait-for name: wait-for-agent target: agent - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 - type: wait-for name: wait-for-discoverer target: discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 # @schema {"name": "manager.index.corrector.env", "alias": "env"} @@ -3568,13 +3568,13 @@ manager: - type: wait-for name: wait-for-agent target: agent - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 - type: wait-for name: wait-for-discoverer target: discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 # @schema {"name": "manager.index.creator.env", "alias": "env"} @@ -3704,13 +3704,13 @@ manager: - type: wait-for name: wait-for-agent target: agent - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 - type: wait-for name: wait-for-discoverer target: discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 # @schema {"name": "manager.index.deleter.env", "alias": "env"} @@ -3840,13 +3840,13 @@ manager: - type: wait-for name: wait-for-agent target: agent - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 - type: wait-for name: wait-for-discoverer target: discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always sleepDuration: 2 # @schema {"name": "manager.index.saver.env", "alias": "env"} diff --git a/cmd/agent/core/faiss/doc.go b/cmd/agent/core/faiss/doc.go index 226707f12f..872afecdeb 100644 --- a/cmd/agent/core/faiss/doc.go +++ b/cmd/agent/core/faiss/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package main provides program main package main diff --git a/cmd/agent/core/faiss/main.go b/cmd/agent/core/faiss/main.go index 9a6308916f..ae569f721b 100644 --- a/cmd/agent/core/faiss/main.go +++ b/cmd/agent/core/faiss/main.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/cmd/agent/core/ngt/doc.go b/cmd/agent/core/ngt/doc.go index 226707f12f..872afecdeb 100644 --- a/cmd/agent/core/ngt/doc.go +++ b/cmd/agent/core/ngt/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package main provides program main package main diff --git a/cmd/agent/core/ngt/main.go b/cmd/agent/core/ngt/main.go index 9afd69a344..4b0d131778 100644 --- a/cmd/agent/core/ngt/main.go +++ b/cmd/agent/core/ngt/main.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/cmd/agent/core/ngt/main_test.go b/cmd/agent/core/ngt/main_test.go index 7e5ba5b22b..4051d18be8 100644 --- a/cmd/agent/core/ngt/main_test.go +++ b/cmd/agent/core/ngt/main_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/cmd/agent/sidecar/doc.go b/cmd/agent/sidecar/doc.go index 226707f12f..872afecdeb 100644 --- a/cmd/agent/sidecar/doc.go +++ b/cmd/agent/sidecar/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package main provides program main package main diff --git a/cmd/agent/sidecar/main.go b/cmd/agent/sidecar/main.go index dbaf0e003f..cfa6d7d2b7 100644 --- a/cmd/agent/sidecar/main.go +++ b/cmd/agent/sidecar/main.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/cmd/agent/sidecar/main_test.go b/cmd/agent/sidecar/main_test.go index 7e5ba5b22b..4051d18be8 100644 --- a/cmd/agent/sidecar/main_test.go +++ b/cmd/agent/sidecar/main_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/cmd/discoverer/k8s/doc.go b/cmd/discoverer/k8s/doc.go index 226707f12f..872afecdeb 100644 --- a/cmd/discoverer/k8s/doc.go +++ b/cmd/discoverer/k8s/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package main provides program main package main diff --git a/cmd/discoverer/k8s/main.go b/cmd/discoverer/k8s/main.go index 3908a903ef..c250ad7566 100644 --- a/cmd/discoverer/k8s/main.go +++ b/cmd/discoverer/k8s/main.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/cmd/discoverer/k8s/main_test.go b/cmd/discoverer/k8s/main_test.go index 7e5ba5b22b..4051d18be8 100644 --- a/cmd/discoverer/k8s/main_test.go +++ b/cmd/discoverer/k8s/main_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/cmd/gateway/filter/doc.go b/cmd/gateway/filter/doc.go index 226707f12f..872afecdeb 100644 --- a/cmd/gateway/filter/doc.go +++ b/cmd/gateway/filter/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package main provides program main package main diff --git a/cmd/gateway/filter/main.go b/cmd/gateway/filter/main.go index 0b4c3615ff..76f02988e7 100644 --- a/cmd/gateway/filter/main.go +++ b/cmd/gateway/filter/main.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/cmd/gateway/filter/main_test.go b/cmd/gateway/filter/main_test.go index 7e5ba5b22b..4051d18be8 100644 --- a/cmd/gateway/filter/main_test.go +++ b/cmd/gateway/filter/main_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/cmd/gateway/lb/doc.go b/cmd/gateway/lb/doc.go index 226707f12f..872afecdeb 100644 --- a/cmd/gateway/lb/doc.go +++ b/cmd/gateway/lb/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package main provides program main package main diff --git a/cmd/gateway/lb/main.go b/cmd/gateway/lb/main.go index 4eb4ad4c14..13a3d895e0 100644 --- a/cmd/gateway/lb/main.go +++ b/cmd/gateway/lb/main.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/cmd/gateway/lb/main_test.go b/cmd/gateway/lb/main_test.go index 7e5ba5b22b..4051d18be8 100644 --- a/cmd/gateway/lb/main_test.go +++ b/cmd/gateway/lb/main_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/cmd/gateway/mirror/doc.go b/cmd/gateway/mirror/doc.go index ed790d4e8b..4f892cb2be 100644 --- a/cmd/gateway/mirror/doc.go +++ b/cmd/gateway/mirror/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package main provides functionality for Vald. package main diff --git a/cmd/index/job/correction/doc.go b/cmd/index/job/correction/doc.go index ed790d4e8b..4f892cb2be 100644 --- a/cmd/index/job/correction/doc.go +++ b/cmd/index/job/correction/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package main provides functionality for Vald. package main diff --git a/cmd/index/job/creation/doc.go b/cmd/index/job/creation/doc.go index ed790d4e8b..4f892cb2be 100644 --- a/cmd/index/job/creation/doc.go +++ b/cmd/index/job/creation/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package main provides functionality for Vald. package main diff --git a/cmd/index/job/deletion/doc.go b/cmd/index/job/deletion/doc.go index ed790d4e8b..4f892cb2be 100644 --- a/cmd/index/job/deletion/doc.go +++ b/cmd/index/job/deletion/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package main provides functionality for Vald. package main diff --git a/cmd/index/job/readreplica/rotate/doc.go b/cmd/index/job/readreplica/rotate/doc.go index ed790d4e8b..4f892cb2be 100644 --- a/cmd/index/job/readreplica/rotate/doc.go +++ b/cmd/index/job/readreplica/rotate/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package main provides functionality for Vald. package main diff --git a/cmd/index/job/save/doc.go b/cmd/index/job/save/doc.go index ed790d4e8b..4f892cb2be 100644 --- a/cmd/index/job/save/doc.go +++ b/cmd/index/job/save/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package main provides functionality for Vald. package main diff --git a/cmd/index/operator/doc.go b/cmd/index/operator/doc.go index ed790d4e8b..4f892cb2be 100644 --- a/cmd/index/operator/doc.go +++ b/cmd/index/operator/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package main provides functionality for Vald. package main diff --git a/cmd/index/operator/sample.yaml b/cmd/index/operator/sample.yaml index 6cde32500f..4cd65d2745 100644 --- a/cmd/index/operator/sample.yaml +++ b/cmd/index/operator/sample.yaml @@ -311,7 +311,7 @@ operator: spec: initContainers: - name: wait-for-agent - image: busybox:1.37.0 + image: busybox:1.38.0 command: - /bin/sh - -e @@ -322,7 +322,7 @@ operator: sleep 2; done - name: wait-for-discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 command: - /bin/sh - -e @@ -426,7 +426,7 @@ operator: spec: initContainers: - name: wait-for-agent - image: busybox:1.37.0 + image: busybox:1.38.0 command: - /bin/sh - -e @@ -437,7 +437,7 @@ operator: sleep 2; done - name: wait-for-discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 command: - /bin/sh - -e @@ -541,7 +541,7 @@ operator: spec: initContainers: - name: wait-for-agent - image: busybox:1.37.0 + image: busybox:1.38.0 command: - /bin/sh - -e @@ -552,7 +552,7 @@ operator: sleep 2; done - name: wait-for-discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 command: - /bin/sh - -e diff --git a/cmd/manager/index/doc.go b/cmd/manager/index/doc.go index 226707f12f..872afecdeb 100644 --- a/cmd/manager/index/doc.go +++ b/cmd/manager/index/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package main provides program main package main diff --git a/cmd/manager/index/main.go b/cmd/manager/index/main.go index 43a1de91f1..4d763f964e 100644 --- a/cmd/manager/index/main.go +++ b/cmd/manager/index/main.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/cmd/manager/index/main_test.go b/cmd/manager/index/main_test.go index 7e5ba5b22b..4051d18be8 100644 --- a/cmd/manager/index/main_test.go +++ b/cmd/manager/index/main_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/cmd/tools/benchmark/job/doc.go b/cmd/tools/benchmark/job/doc.go index 226707f12f..872afecdeb 100644 --- a/cmd/tools/benchmark/job/doc.go +++ b/cmd/tools/benchmark/job/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package main provides program main package main diff --git a/cmd/tools/benchmark/job/main.go b/cmd/tools/benchmark/job/main.go index e64c0a7a67..69223ea640 100644 --- a/cmd/tools/benchmark/job/main.go +++ b/cmd/tools/benchmark/job/main.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/cmd/tools/benchmark/operator/doc.go b/cmd/tools/benchmark/operator/doc.go index 226707f12f..872afecdeb 100644 --- a/cmd/tools/benchmark/operator/doc.go +++ b/cmd/tools/benchmark/operator/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package main provides program main package main diff --git a/cmd/tools/benchmark/operator/main.go b/cmd/tools/benchmark/operator/main.go index 8902a05ca9..319c47f28c 100644 --- a/cmd/tools/benchmark/operator/main.go +++ b/cmd/tools/benchmark/operator/main.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/cmd/tools/cli/benchmark/core/doc.go b/cmd/tools/cli/benchmark/core/doc.go index f901d8fe00..f7d524d718 100644 --- a/cmd/tools/cli/benchmark/core/doc.go +++ b/cmd/tools/cli/benchmark/core/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package ngt provides implementation of Go API for https://github.com/NGT-labs/NGT package main diff --git a/cmd/tools/cli/benchmark/core/main.go b/cmd/tools/cli/benchmark/core/main.go index 84625227c8..30f1889108 100644 --- a/cmd/tools/cli/benchmark/core/main.go +++ b/cmd/tools/cli/benchmark/core/main.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/cmd/tools/cli/vdctl/doc.go b/cmd/tools/cli/vdctl/doc.go index ed790d4e8b..4f892cb2be 100644 --- a/cmd/tools/cli/vdctl/doc.go +++ b/cmd/tools/cli/vdctl/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package main provides functionality for Vald. package main diff --git a/cmd/tools/cli/vdctl/main.go b/cmd/tools/cli/vdctl/main.go index 2e59c446ea..d4442a1257 100644 --- a/cmd/tools/cli/vdctl/main.go +++ b/cmd/tools/cli/vdctl/main.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/cmd/tools/cli/vdctl/main_test.go b/cmd/tools/cli/vdctl/main_test.go index 7e5ba5b22b..4051d18be8 100644 --- a/cmd/tools/cli/vdctl/main_test.go +++ b/cmd/tools/cli/vdctl/main_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/codecov.yaml b/codecov.yaml index cbc3e66b9f..45427886b1 100644 --- a/codecov.yaml +++ b/codecov.yaml @@ -13,6 +13,19 @@ # See the License for the specific language governing permissions and # limitations under the License. # +coverage: + status: + project: + default: + target: auto + # Tolerate small project-coverage variance per PR (race-detector and + # parallel cgo tests fluctuate slightly run-to-run); still fail on a + # real regression larger than this. + threshold: 2% + patch: + default: + target: auto + threshold: 0% ignore: - "apis/docs/v1/docs.md" - "apis/grpc/**/*.pb.go" diff --git a/dockers/agent/core/agent/Dockerfile b/dockers/agent/core/agent/Dockerfile index 017e90eee3..6735d93f63 100644 --- a/dockers/agent/core/agent/Dockerfile +++ b/dockers/agent/core/agent/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=agent ENV DEBIAN_FRONTEND=noninteractive ENV HOME=/root @@ -34,16 +44,30 @@ ENV INITRD=No ENV LANG=en_US.UTF-8 ENV LANGUAGE=en_US.UTF-8 ENV LC_ALL=en_US.UTF-8 +ENV LIBZ_STATIC=1 +ENV OPENSSL_STATIC=1 ENV ORG=vdaas ENV PKG=agent/core/agent +ENV PKG_CONFIG_ALL_STATIC=1 ENV REPO=vald -ENV RUSTFLAGS="-Clinker=clang -Clink-arg=-fuse-ld=lld" +ENV RUSTFLAGS="-Clinker=clang -Clink-arg=-fuse-ld=lld -Clink-arg=-static-libstdc++ -Clink-arg=-static-libgcc" ENV RUST_HOME=/usr/local/lib/rust ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV CARGO_HOME=${RUST_HOME}/cargo ENV RUSTUP_HOME=${RUST_HOME}/rustup ENV PATH=${CARGO_HOME}/bin:${RUSTUP_HOME}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${HOME}/rust/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -58,26 +82,27 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ - cmake \ - g++ \ - gcc \ - libssl-dev \ - unzip \ + build-essential \ + clang \ + gfortran \ liblapack-dev \ libomp-dev \ libopenblas-dev \ - gfortran \ - pkgconf \ - protobuf-compiler \ libprotobuf-dev \ - clang \ + libssl-dev \ + libzstd-dev \ lld \ + llvm \ + pkg-config \ + protobuf-compiler \ + python3 \ + unzip \ + zlib1g-dev \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -87,8 +112,10 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make RUST_VERSION="${RUST_VERSION}" rust/install \ - && CC=clang CXX=clang++ make CFLAGS="-flto=thin" CXXFLAGS="-flto=thin" NGT_EXTRA_CMAKE_FLAGS="-DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=lld" ngt/install \ + && make ngt/install \ && make faiss/install \ && make rust/target/release/${APP_NAME} \ && mv "rust/target/release/${APP_NAME}" "/usr/bin/${APP_NAME}" \ diff --git a/dockers/agent/core/faiss/Dockerfile b/dockers/agent/core/faiss/Dockerfile index ad7025194a..93516d84d3 100644 --- a/dockers/agent/core/faiss/Dockerfile +++ b/dockers/agent/core/faiss/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=faiss ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -42,7 +52,18 @@ ENV PKG=agent/core/faiss ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -60,21 +81,25 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ - cmake \ - g++ \ - gcc \ - libssl-dev \ - unzip \ + build-essential \ + clang \ + gfortran \ liblapack-dev \ libomp-dev \ libopenblas-dev \ - gfortran \ + libprotobuf-dev \ + libssl-dev \ + libzstd-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ + unzip \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -84,6 +109,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make faiss/install \ diff --git a/dockers/agent/core/ngt/Dockerfile b/dockers/agent/core/ngt/Dockerfile index d4cbfa8287..f7a61b09e8 100644 --- a/dockers/agent/core/ngt/Dockerfile +++ b/dockers/agent/core/ngt/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=ngt ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -42,7 +52,18 @@ ENV PKG=agent/core/ngt ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -60,21 +81,25 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ - cmake \ - g++ \ - gcc \ - libssl-dev \ - unzip \ + build-essential \ + clang \ + gfortran \ liblapack-dev \ libomp-dev \ libopenblas-dev \ - gfortran \ + libprotobuf-dev \ + libssl-dev \ + libzstd-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ + unzip \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -84,6 +109,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make ngt/install \ diff --git a/dockers/agent/sidecar/Dockerfile b/dockers/agent/sidecar/Dockerfile index b257dff846..53277e76b7 100644 --- a/dockers/agent/sidecar/Dockerfile +++ b/dockers/agent/sidecar/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=sidecar ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -42,7 +52,18 @@ ENV PKG=agent/sidecar ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -60,12 +81,20 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ + build-essential \ + clang \ + libomp-dev \ + libssl-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ + unzip \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -75,6 +104,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make GOARCH="${TARGETARCH}" GOOS="${TARGETOS}" REPO="${ORG}/${REPO}" NAME="${REPO}" cmd/${PKG}/${APP_NAME} \ diff --git a/dockers/dev/Dockerfile b/dockers/dev/Dockerfile index 0f87e7ed93..5744d92db7 100644 --- a/dockers/dev/Dockerfile +++ b/dockers/dev/Dockerfile @@ -27,9 +27,17 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=dev-container -ENV CC=gcc -ENV CXX=g++ ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on ENV GOPATH=/go @@ -45,9 +53,20 @@ ENV REPO=vald ENV RUST_HOME=/usr/local/lib/rust ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV CARGO_HOME=${RUST_HOME}/cargo ENV RUSTUP_HOME=${RUST_HOME}/rustup ENV PATH=${CARGO_HOME}/bin:${GOPATH}/bin:${GOROOT}/bin:${RUSTUP_HOME}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -65,35 +84,33 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ - gnupg \ tzdata \ locales \ git \ - sudo \ - cmake \ - g++ \ - gcc \ - libssl-dev \ - unzip \ - liblapack-dev \ - libomp-dev \ - libopenblas-dev \ - gfortran \ - pkgconf \ - protobuf-compiler \ - libprotobuf-dev \ + build-essential \ + clang \ file \ gawk \ + gfortran \ git-lfs \ gnupg2 \ graphviz \ jq \ libaec-dev \ + liblapack-dev \ + libomp-dev \ + libopenblas-dev \ + libssl-dev \ + lld \ + llvm \ pigz \ + pkg-config \ + python3 \ sed \ + sudo \ + unzip \ zip \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ @@ -104,6 +121,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make RUST_VERSION="${RUST_VERSION}" rust/install \ @@ -113,7 +132,6 @@ RUN --mount=type=bind,target=.,rw \ && make GOARCH=${TARGETARCH} GOOS=${TARGETOS} deps GO_CLEAN_DEPS=false \ && make GOARCH=${TARGETARCH} GOOS=${TARGETOS} golangci-lint/install \ && make go/tools/install \ - && make cmake/install \ && make hdf5/install \ && make helm-docs/install \ && make helm/install \ diff --git a/dockers/discoverer/k8s/Dockerfile b/dockers/discoverer/k8s/Dockerfile index a50f8ed23d..b2d8dff8e4 100644 --- a/dockers/discoverer/k8s/Dockerfile +++ b/dockers/discoverer/k8s/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=discoverer ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -42,7 +52,18 @@ ENV PKG=discoverer/k8s ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -60,12 +81,20 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ + build-essential \ + clang \ + libomp-dev \ + libssl-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ + unzip \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -75,6 +104,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make GOARCH="${TARGETARCH}" GOOS="${TARGETOS}" REPO="${ORG}/${REPO}" NAME="${REPO}" cmd/${PKG}/${APP_NAME} \ diff --git a/dockers/example/client/Dockerfile b/dockers/example/client/Dockerfile index 296110a0b4..44dceadd49 100644 --- a/dockers/example/client/Dockerfile +++ b/dockers/example/client/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=client ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -42,7 +52,18 @@ ENV PKG=example/client ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -60,18 +81,21 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ - cmake \ - g++ \ - gcc \ + build-essential \ + clang \ + libaec-dev \ + libomp-dev \ libssl-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ unzip \ - libaec-dev \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -81,6 +105,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make hdf5/install \ diff --git a/dockers/gateway/filter/Dockerfile b/dockers/gateway/filter/Dockerfile index 406d604a8a..be54bd26d8 100644 --- a/dockers/gateway/filter/Dockerfile +++ b/dockers/gateway/filter/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=filter ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -42,7 +52,18 @@ ENV PKG=gateway/filter ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -60,12 +81,20 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ + build-essential \ + clang \ + libomp-dev \ + libssl-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ + unzip \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -75,6 +104,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make GOARCH="${TARGETARCH}" GOOS="${TARGETOS}" REPO="${ORG}/${REPO}" NAME="${REPO}" cmd/${PKG}/${APP_NAME} \ diff --git a/dockers/gateway/lb/Dockerfile b/dockers/gateway/lb/Dockerfile index 43f954f1b4..f5786ba2d2 100644 --- a/dockers/gateway/lb/Dockerfile +++ b/dockers/gateway/lb/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=lb ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -42,7 +52,18 @@ ENV PKG=gateway/lb ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -60,12 +81,20 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ + build-essential \ + clang \ + libomp-dev \ + libssl-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ + unzip \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -75,6 +104,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make GOARCH="${TARGETARCH}" GOOS="${TARGETOS}" REPO="${ORG}/${REPO}" NAME="${REPO}" cmd/${PKG}/${APP_NAME} \ diff --git a/dockers/gateway/mirror/Dockerfile b/dockers/gateway/mirror/Dockerfile index 494841961c..02ebae55d9 100644 --- a/dockers/gateway/mirror/Dockerfile +++ b/dockers/gateway/mirror/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=mirror ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -42,7 +52,18 @@ ENV PKG=gateway/mirror ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -60,12 +81,20 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ + build-essential \ + clang \ + libomp-dev \ + libssl-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ + unzip \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -75,6 +104,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make GOARCH="${TARGETARCH}" GOOS="${TARGETOS}" REPO="${ORG}/${REPO}" NAME="${REPO}" cmd/${PKG}/${APP_NAME} \ diff --git a/dockers/index/job/correction/Dockerfile b/dockers/index/job/correction/Dockerfile index 34f2251b8c..4b2e0dcab3 100644 --- a/dockers/index/job/correction/Dockerfile +++ b/dockers/index/job/correction/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=index-correction ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -42,7 +52,18 @@ ENV PKG=index/job/correction ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -60,12 +81,20 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ + build-essential \ + clang \ + libomp-dev \ + libssl-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ + unzip \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -75,6 +104,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make GOARCH="${TARGETARCH}" GOOS="${TARGETOS}" REPO="${ORG}/${REPO}" NAME="${REPO}" cmd/${PKG}/${APP_NAME} \ diff --git a/dockers/index/job/creation/Dockerfile b/dockers/index/job/creation/Dockerfile index 786662889b..bf95466b38 100644 --- a/dockers/index/job/creation/Dockerfile +++ b/dockers/index/job/creation/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=index-creation ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -42,7 +52,18 @@ ENV PKG=index/job/creation ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -60,12 +81,20 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ + build-essential \ + clang \ + libomp-dev \ + libssl-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ + unzip \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -75,6 +104,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make GOARCH="${TARGETARCH}" GOOS="${TARGETOS}" REPO="${ORG}/${REPO}" NAME="${REPO}" cmd/${PKG}/${APP_NAME} \ diff --git a/dockers/index/job/deletion/Dockerfile b/dockers/index/job/deletion/Dockerfile index 7c9fbb17a7..b37294f38e 100644 --- a/dockers/index/job/deletion/Dockerfile +++ b/dockers/index/job/deletion/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=index-deletion ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -42,7 +52,18 @@ ENV PKG=index/job/deletion ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -60,12 +81,20 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ + build-essential \ + clang \ + libomp-dev \ + libssl-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ + unzip \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -75,6 +104,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make GOARCH="${TARGETARCH}" GOOS="${TARGETOS}" REPO="${ORG}/${REPO}" NAME="${REPO}" cmd/${PKG}/${APP_NAME} \ diff --git a/dockers/index/job/exportation/Dockerfile b/dockers/index/job/exportation/Dockerfile index e6e9e2163e..74f7534326 100644 --- a/dockers/index/job/exportation/Dockerfile +++ b/dockers/index/job/exportation/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=index-exportation ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -42,7 +52,18 @@ ENV PKG=index/job/exportation ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -60,12 +81,20 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ + build-essential \ + clang \ + libomp-dev \ + libssl-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ + unzip \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -75,6 +104,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make GOARCH="${TARGETARCH}" GOOS="${TARGETOS}" REPO="${ORG}/${REPO}" NAME="${REPO}" cmd/${PKG}/${APP_NAME} \ diff --git a/dockers/index/job/readreplica/rotate/Dockerfile b/dockers/index/job/readreplica/rotate/Dockerfile index f9a0ea8895..a7f072e319 100644 --- a/dockers/index/job/readreplica/rotate/Dockerfile +++ b/dockers/index/job/readreplica/rotate/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=readreplica-rotate ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -42,7 +52,18 @@ ENV PKG=index/job/readreplica/rotate ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -60,12 +81,20 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ + build-essential \ + clang \ + libomp-dev \ + libssl-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ + unzip \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -75,6 +104,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make GOARCH="${TARGETARCH}" GOOS="${TARGETOS}" REPO="${ORG}/${REPO}" NAME="${REPO}" cmd/${PKG}/${APP_NAME} \ diff --git a/dockers/index/job/save/Dockerfile b/dockers/index/job/save/Dockerfile index e92b068bce..c566d1065d 100644 --- a/dockers/index/job/save/Dockerfile +++ b/dockers/index/job/save/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=index-save ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -42,7 +52,18 @@ ENV PKG=index/job/save ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -60,12 +81,20 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ + build-essential \ + clang \ + libomp-dev \ + libssl-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ + unzip \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -75,6 +104,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make GOARCH="${TARGETARCH}" GOOS="${TARGETOS}" REPO="${ORG}/${REPO}" NAME="${REPO}" cmd/${PKG}/${APP_NAME} \ diff --git a/dockers/index/operator/Dockerfile b/dockers/index/operator/Dockerfile index 7be713f173..677dcabcf7 100644 --- a/dockers/index/operator/Dockerfile +++ b/dockers/index/operator/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=index-operator ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -42,7 +52,18 @@ ENV PKG=index/operator ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -60,12 +81,20 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ + build-essential \ + clang \ + libomp-dev \ + libssl-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ + unzip \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -75,6 +104,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make GOARCH="${TARGETARCH}" GOOS="${TARGETOS}" REPO="${ORG}/${REPO}" NAME="${REPO}" cmd/${PKG}/${APP_NAME} \ diff --git a/dockers/manager/index/Dockerfile b/dockers/manager/index/Dockerfile index 4e33abcbfa..534541f3fa 100644 --- a/dockers/manager/index/Dockerfile +++ b/dockers/manager/index/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=index ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -42,7 +52,18 @@ ENV PKG=manager/index ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -60,12 +81,20 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ + build-essential \ + clang \ + libomp-dev \ + libssl-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ + unzip \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -75,6 +104,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make GOARCH="${TARGETARCH}" GOOS="${TARGETOS}" REPO="${ORG}/${REPO}" NAME="${REPO}" cmd/${PKG}/${APP_NAME} \ diff --git a/dockers/operator/helm/Dockerfile b/dockers/operator/helm/Dockerfile index 8500619658..c518a12e4b 100644 --- a/dockers/operator/helm/Dockerfile +++ b/dockers/operator/helm/Dockerfile @@ -30,6 +30,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=helm-operator ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -45,7 +55,18 @@ ENV PKG=operator/helm ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} COPY --from=operator /usr/local/bin/${APP_NAME} /usr/bin/${APP_NAME} SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -64,12 +85,20 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ + build-essential \ + clang \ + libomp-dev \ + libssl-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ + unzip \ upx \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ diff --git a/dockers/tests/v2/e2e/Dockerfile b/dockers/tests/v2/e2e/Dockerfile index 6f6c159b3d..b296e6ebd0 100644 --- a/dockers/tests/v2/e2e/Dockerfile +++ b/dockers/tests/v2/e2e/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=e2e ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -42,7 +52,18 @@ ENV PKG=tests/v2/e2e ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -60,18 +81,21 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ - cmake \ - g++ \ - gcc \ + build-essential \ + clang \ + libaec-dev \ + libomp-dev \ libssl-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ unzip \ - libaec-dev \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -81,6 +105,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make hdf5/install \ diff --git a/dockers/tools/benchmark/job/Dockerfile b/dockers/tools/benchmark/job/Dockerfile index 20c4f94171..f1897f9050 100644 --- a/dockers/tools/benchmark/job/Dockerfile +++ b/dockers/tools/benchmark/job/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=job ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -42,7 +52,18 @@ ENV PKG=tools/benchmark/job ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -60,18 +81,21 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ - cmake \ - g++ \ - gcc \ + build-essential \ + clang \ + libaec-dev \ + libomp-dev \ libssl-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ unzip \ - libaec-dev \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -81,6 +105,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make hdf5/install \ diff --git a/dockers/tools/benchmark/operator/Dockerfile b/dockers/tools/benchmark/operator/Dockerfile index c3edb2384d..73d2af1a79 100644 --- a/dockers/tools/benchmark/operator/Dockerfile +++ b/dockers/tools/benchmark/operator/Dockerfile @@ -27,6 +27,16 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO ENV APP_NAME=operator ENV DEBIAN_FRONTEND=noninteractive ENV GO111MODULE=on @@ -42,7 +52,18 @@ ENV PKG=tools/benchmark/operator ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root +ENV YEAR=2026 ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -60,12 +81,20 @@ RUN --mount=type=bind,target=.,rw \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ tzdata \ locales \ git \ + build-essential \ + clang \ + libomp-dev \ + libssl-dev \ + lld \ + llvm \ + pkg-config \ + python3 \ + unzip \ && ldconfig \ && echo "${LANG} UTF-8" > /etc/locale.gen \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ @@ -75,6 +104,8 @@ RUN --mount=type=bind,target=.,rw \ && apt-get clean \ && apt-get autoclean -y \ && apt-get autoremove -y \ + && make ninja/install \ + && make cmake/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/install \ && make GOPATH="${GOPATH}" GOROOT="${GOROOT}" GO_VERSION="${GO_VERSION}" go/download \ && make GOARCH="${TARGETARCH}" GOOS="${TARGETOS}" REPO="${ORG}/${REPO}" NAME="${REPO}" cmd/${PKG}/${APP_NAME} \ diff --git a/docs/contributing/contributing-guide.md b/docs/contributing/contributing-guide.md deleted file mode 120000 index f939e75f21..0000000000 --- a/docs/contributing/contributing-guide.md +++ /dev/null @@ -1 +0,0 @@ -../../CONTRIBUTING.md \ No newline at end of file diff --git a/docs/contributing/contributing-guide.md b/docs/contributing/contributing-guide.md new file mode 100644 index 0000000000..a19a710679 --- /dev/null +++ b/docs/contributing/contributing-guide.md @@ -0,0 +1,195 @@ +# Contributing to Vald + +Vald is an open source project. + +We appreciate your help! + +## Table of Contents + +- [Contributing Issue](#contributing-issue) + - [Bug Report](#bug-report) + - [Proposal](#proposal) + - [Feature Request](#feature-request) + - [Security Issue Report](#security-issue-report) +- [Contributing Source Code](#contributing-source-code) + - [Before contributing source code](#before-contributing-source-code) + - [How to contribute source code](#how-to-contribute-source-code) + - [How to contribute unit test code](#how-to-contribute-unit-test-code) + - [Branch naming convention](#branch-naming-convention) + +## Contributing Issue + +We use [GitHub Issues](https://github.com/vdaas/vald/issues) to track issues within this repository. +If you can determine the problem you are facing is a bug or issue, you can submit the issue. + +When unsure whether you have found a bug or security-related issue, please consider asking in the [Vald Slack](https://join.slack.com/t/vald-community/shared_invite/zt-db2ky9o4-R_9p2sVp8xRwztVa8gfnPA) first. +If the behavior you are seeing is confirmed as a bug or issue, it can be re-raised in the issue tracker. + +### Bug Report + +A bug is a demonstrable problem that produces an incorrect result or behaves in unintended ways.
+ +Bug reports are helpful for developers who maintain the Vald project.
+A good bug report should not leave others needing to constantly ask you for more information.
+Please try to write as detailed as possible in your bug report. + +When filing an issue, make sure to answer these five questions: + +1. What version of Vald are you using (Vald Docker image version)? +2. What operating system and processor architecture are you using? +3. What did you do? +4. What did you expect to see? +5. What did you see instead? + +Please submit the bug report [here](https://github.com/vdaas/vald/issues/new?assignees=&labels=type%2Fbug%2C+priority%2Fmedium%2C+team%2Fcore&template=bug_report.md&title=) + +### Proposal + +The Vald is being developed based on the design-driven process.
+The significant change to the library or the architecture should be discussed first. + +We may ask for detailed documentation before your proposal is accepted.
+Your proposal will be reviewed, discussed, and accepted or declined. + +Please submit the proposal [here](https://github.com/vdaas/vald/issues/new?assignees=&labels=type%2Ffeature%2C+priority%2Flow%2C+team%2Fcore&template=feature_request.md&title=) + +### Feature Request + +Feature request is welcome. + +Before opening an issue, please make sure your idea fits the project.
+You can request the feature and convince the project maintainers to accept your feature request. + +Please provide the problem and solution associated with the feature request in as much detail as possible. + +NOTE: If you’d like to contribute to the new feature which may affect the current Vald architecture or design, you should discuss it with the Vald team first. + +Please submit the feature request [here](https://github.com/vdaas/vald/issues/new?assignees=&labels=type%2Ffeature%2C+priority%2Flow%2C+team%2Fcore&template=feature_request.md&title=) + +### Security Issue Report + +The Vald team and community have a serious concern about security issues. + +Sensitive security-related issues should be reported to the security channel in [Vald Slack](https://join.slack.com/t/vald-community/shared_invite/zt-db2ky9o4-R_9p2sVp8xRwztVa8gfnPA). + +We appreciate your efforts to disclose your findings.
+If the security issue is caused by a third-party module, we will contact the module owner and ask for a fix. + +We will consider using another third-party module if the vulnerable module is not actively maintained anymore. + +Please submit the security issue report [here](https://github.com/vdaas/vald/issues/new?assignees=&labels=type%2Fsecurity%2C+priority%2Fmedium%2C+team%2Fcore%2C+team%2Fsre&template=security_issue_report.md&title=) + +## Contributing Source Code + +Please refer to our [development documentation](./docs/contributing/development.md) for information on setting up a development environment. + +### Before contributing source code + +Follow these steps to make a contribution to any of our open source repositories: + +1. Ensure that you have completed our [CLA Agreement](https://cla-assistant.io/vdaas/vald) +2. Set your name and email (these should match the information on your submitted CLA) + + ```bash + git config --global user.name "Your Name" + git config --global user.email "your_email@example.com" + ``` + +### How to contribute source code + +1. Fork the repository ( https://github.com/vdaas/vald/fork ) +2. Create your feature branch (git checkout -b [`[type]/[area]/[description]`](#Branch-naming-convention)) +3. Commit your changes on your branch (git commit -am 'Add some feature') +4. Run tests (make test) +5. Push to the forked branch (git push origin my-new-feature) +6. Create new Pull Request + +Each pull request and commit should be small enough to address a single purpose. + +Your pull request has a higher chance of being accepted if: + +- Your pull request includes tests + +- Your pull request includes benchmark results + +- Your pull request is small and focused with a clear message that conveys the intent of your change + +### How to contribute unit test code + +To contribute unit test code, the steps are almost the same as [contribute source code](#how-to-contribute-source-code), but there are some extra steps when adding a test function that has not been added before: + +1. Execute `make gotests/gen` command under Vald repository +1. Move the test function which you would like to write above the placeholder `// NOT IMPLEMENTED BELOW` +1. Remove the comment markers and write the test function + +Vald implements unit test code to ensure the quality of Vald. +Each implementation file comes with its unit test file, with `*_test.go` suffix. +In Vald, unit test files are looks like: + +```go +func Test_implementedTest(t *testing.T) { + // this unit test is implemented +} + +// NOT IMPLEMENTED BELOW +// +// func Test_notImplementedTest(t *testing.T) { +// // this unit test function is not implemented yet +// } +``` + +Vald defines a placeholder `// NOT IMPLEMENTED BELOW` to separate the implemented unit test from the unimplemented unit test. +Everything before the placeholder are already implemented, and everything below are not implemented yet. + +If no test functions are implemented in the test file, the placeholder will be placed below the package definition. + +```go +package test + +// NOT IMPLEMENTED BELOW +// func Test_unimplementedTest(t *testing.T) { +// // this unit test function is not implemented yet +// } + +// func Test_unimplementedTest2(t *testing.T) { +// // this unit test function is not implemented yet +// } +``` + +If all test functions are implemented, the placeholder will be placed on the bottom of the file. + +```go +package test + +func Test_implementedTest(t *testing.T) { + // this unit test is implemented +} + +func Test_implementedTest2(t *testing.T) { + // this unit test is implemented +} + +// NOT IMPLEMENTED BELOW +``` + +
+This implementation structure is generated by the make gotests/gen command for all unit test files by applying the custom unit test template using gotests. +
+When the test template is updated, the generated unit test functions will not be updated accordingly, so we need this unit test structure to help us regenerate the implementation with the latest template. +For the implemented unit test, we cannot deal with it by executing make gotests/gen command. +But we don't have to update implemented test soon. +
+ +### Branch naming convention + +Name your branches with prefixes: `[type]/[area]/[description]` + +| Field | Explanation | Naming Rule | +| :---------- | :------------------------------------ | :------------------------------------------------------------------------------------------------------------------------ | +| type | The PR type | Accepted PR types: feature, bug, refactoring, benchmark, security, documentation, dependencies, ci, test, etc. | +| area | Area of context | The area of PR can be gateway, agent, agent-sidecar, lb-gateway, or etc... | +| description | Summarized description of your branch | The description must be hyphenated. Please use [a-zA-Z0-9] and hyphen as characters, and do not use any other characters. | + +(\*) If you changed more than one area, please list each area with `-`. + +For example, when you add a new feature for internal/servers, the name of the branch will be `feature/internal/add-new-feature-for-servers`. diff --git a/example/client/go.mod b/example/client/go.mod index c8cc21ef1f..c9ead875bb 100644 --- a/example/client/go.mod +++ b/example/client/go.mod @@ -1,32 +1,32 @@ module github.com/vdaas/vald/example/client -go 1.26.1 +go 1.26.4 replace ( github.com/kpango/fuid => github.com/kpango/fuid v0.0.0-20221203053508-503b5ad89aa1 github.com/kpango/glg => github.com/kpango/glg v1.6.15 github.com/vdaas/vald-client-go => github.com/vdaas/vald-client-go v1.7.17 gonum.org/v1/hdf5 => gonum.org/v1/hdf5 v0.0.0-20210714002203-8c5d23bc6946 - google.golang.org/grpc => google.golang.org/grpc v1.80.0 + google.golang.org/grpc => google.golang.org/grpc v1.81.1 ) require ( github.com/kpango/fuid v0.0.0-00010101000000-000000000000 github.com/kpango/glg v1.6.14 - github.com/vdaas/vald-client-go v1.7.17 + github.com/vdaas/vald-client-go v0.0.0-00010101000000-000000000000 gonum.org/v1/hdf5 v0.0.0-00010101000000-000000000000 - google.golang.org/grpc v1.79.3 + google.golang.org/grpc v1.71.0 ) require ( - buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.11-20260209202127-80ab13bee0bf.1 // indirect - github.com/goccy/go-json v0.10.6 // indirect - github.com/kpango/fastime v1.1.10 // indirect + buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.6-20250625184727-c923a0c2a132.1 // indirect + github.com/goccy/go-json v0.10.2 // indirect + github.com/kpango/fastime v1.1.9 // indirect github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect - golang.org/x/net v0.52.0 // indirect + golang.org/x/net v0.51.0 // indirect golang.org/x/sys v0.42.0 // indirect - golang.org/x/text v0.35.0 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20260401024825-9d38bb4040a9 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20260401024825-9d38bb4040a9 // indirect + golang.org/x/text v0.34.0 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20260226221140-a57be14db171 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20260226221140-a57be14db171 // indirect google.golang.org/protobuf v1.36.11 // indirect ) diff --git a/example/client/go.mod.default b/example/client/go.mod.default index 3c66a111df..6621394ac1 100644 --- a/example/client/go.mod.default +++ b/example/client/go.mod.default @@ -1,6 +1,6 @@ module github.com/vdaas/vald/example/client -go 1.26.1 +go 1.26.4 replace ( github.com/kpango/fuid => github.com/kpango/fuid upgrade diff --git a/example/client/go.sum b/example/client/go.sum index 746b55d0f3..51549fdcb1 100644 --- a/example/client/go.sum +++ b/example/client/go.sum @@ -1,7 +1,5 @@ buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.6-20250625184727-c923a0c2a132.1 h1:6tCo3lsKNLqUjRPhyc8JuYWYUiQkulufxSDOfG1zgWQ= buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.6-20250625184727-c923a0c2a132.1/go.mod h1:avRlCjnFzl98VPaeCtJ24RrV/wwHFzB8sWXhj26+n/U= -buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.11-20260209202127-80ab13bee0bf.1 h1:PMmTMyvHScV9Mn8wc6ASge9uRcHy0jtqPd+fM35LmsQ= -buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.11-20260209202127-80ab13bee0bf.1/go.mod h1:tvtbpgaVXZX4g6Pn+AnzFycuRK3MOz5HJfEGeEllXYM= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= @@ -10,8 +8,6 @@ github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU= github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= -github.com/goccy/go-json v0.10.6 h1:p8HrPJzOakx/mn/bQtjgNjdTcN+/S6FcG2CTtQOrHVU= -github.com/goccy/go-json v0.10.6/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= @@ -20,8 +16,6 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/kpango/fastime v1.1.9 h1:xVQHcqyPt5M69DyFH7g1EPRns1YQNap9d5eLhl/Jy84= github.com/kpango/fastime v1.1.9/go.mod h1:vyD7FnUn08zxY4b/QFBZVG+9EWMYsNl+QF0uE46urD4= -github.com/kpango/fastime v1.1.10 h1:boywNfz1ulTHGtrCwT9T4e2ai1n+1XcUYTkjg6L8gH0= -github.com/kpango/fastime v1.1.10/go.mod h1:VHWSTmsA9C45meviJiU6k6CiWKMRKIuySw6/AYZedbQ= github.com/kpango/fuid v0.0.0-20221203053508-503b5ad89aa1 h1:rxyM+7uaZQ35P9fbixdnld/h4AgEhODoubuy6A4nDdk= github.com/kpango/fuid v0.0.0-20221203053508-503b5ad89aa1/go.mod h1:CAYeq6us9NfnRkSz67/xKVIR6/vaY5ZQZRe6IVcaIKg= github.com/kpango/glg v1.6.15 h1:nw0xSxpSyrDIWHeb3dvnE08PW+SCbK+aYFETT75IeLA= @@ -34,47 +28,37 @@ github.com/vdaas/vald-client-go v1.7.17 h1:BdFwjMYJUnCZwT1M5VIKmgSyWla6Cc8jbUrFD github.com/vdaas/vald-client-go v1.7.17/go.mod h1:fZkTV01L9iCIiJH3rKScBvWjVh+chrglhCVtHhPHzZk= go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= -go.opentelemetry.io/otel v1.39.0 h1:8yPrr/S0ND9QEfTfdP9V+SiwT4E0G7Y5MO7p85nis48= -go.opentelemetry.io/otel v1.39.0/go.mod h1:kLlFTywNWrFyEdH0oj2xK0bFYZtHRYUdv1NklR/tgc8= -go.opentelemetry.io/otel/metric v1.39.0 h1:d1UzonvEZriVfpNKEVmHXbdf909uGTOQjA0HF0Ls5Q0= -go.opentelemetry.io/otel/metric v1.39.0/go.mod h1:jrZSWL33sD7bBxg1xjrqyDjnuzTUB0x1nBERXd7Ftcs= -go.opentelemetry.io/otel/sdk v1.39.0 h1:nMLYcjVsvdui1B/4FRkwjzoRVsMK8uL/cj0OyhKzt18= -go.opentelemetry.io/otel/sdk v1.39.0/go.mod h1:vDojkC4/jsTJsE+kh+LXYQlbL8CgrEcwmt1ENZszdJE= -go.opentelemetry.io/otel/sdk/metric v1.39.0 h1:cXMVVFVgsIf2YL6QkRF4Urbr/aMInf+2WKg+sEJTtB8= -go.opentelemetry.io/otel/sdk/metric v1.39.0/go.mod h1:xq9HEVH7qeX69/JnwEfp6fVq5wosJsY1mt4lLfYdVew= -go.opentelemetry.io/otel/trace v1.39.0 h1:2d2vfpEDmCJ5zVYz7ijaJdOF59xLomrvj7bjt6/qCJI= -go.opentelemetry.io/otel/trace v1.39.0/go.mod h1:88w4/PnZSazkGzz/w84VHpQafiU4EtqqlVdxWy+rNOA= +go.opentelemetry.io/otel v1.43.0 h1:mYIM03dnh5zfN7HautFE4ieIig9amkNANT+xcVxAj9I= +go.opentelemetry.io/otel v1.43.0/go.mod h1:JuG+u74mvjvcm8vj8pI5XiHy1zDeoCS2LB1spIq7Ay0= +go.opentelemetry.io/otel/metric v1.43.0 h1:d7638QeInOnuwOONPp4JAOGfbCEpYb+K6DVWvdxGzgM= +go.opentelemetry.io/otel/metric v1.43.0/go.mod h1:RDnPtIxvqlgO8GRW18W6Z/4P462ldprJtfxHxyKd2PY= +go.opentelemetry.io/otel/sdk v1.43.0 h1:pi5mE86i5rTeLXqoF/hhiBtUNcrAGHLKQdhg4h4V9Dg= +go.opentelemetry.io/otel/sdk v1.43.0/go.mod h1:P+IkVU3iWukmiit/Yf9AWvpyRDlUeBaRg6Y+C58QHzg= +go.opentelemetry.io/otel/sdk/metric v1.43.0 h1:S88dyqXjJkuBNLeMcVPRFXpRw2fuwdvfCGLEo89fDkw= +go.opentelemetry.io/otel/sdk/metric v1.43.0/go.mod h1:C/RJtwSEJ5hzTiUz5pXF1kILHStzb9zFlIEe85bhj6A= +go.opentelemetry.io/otel/trace v1.43.0 h1:BkNrHpup+4k4w+ZZ86CZoHHEkohws8AY+WTX09nk+3A= +go.opentelemetry.io/otel/trace v1.43.0/go.mod h1:/QJhyVBUUswCphDVxq+8mld+AvhXZLhe+8WVFxiFff0= go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= -golang.org/x/net v0.49.0 h1:eeHFmOGUTtaaPSGNmjBKpbng9MulQsJURQUAfUwY++o= -golang.org/x/net v0.49.0/go.mod h1:/ysNB2EvaqvesRkuLAyjI1ycPZlQHM3q01F02UY/MV8= -golang.org/x/net v0.52.0 h1:He/TN1l0e4mmR3QqHMT2Xab3Aj3L9qjbhRm78/6jrW0= -golang.org/x/net v0.52.0/go.mod h1:R1MAz7uMZxVMualyPXb+VaqGSa3LIaUqk0eEt3w36Sw= -golang.org/x/sys v0.40.0 h1:DBZZqJ2Rkml6QMQsZywtnjnnGvHza6BTfYFWY9kjEWQ= -golang.org/x/sys v0.40.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= +golang.org/x/net v0.51.0 h1:94R/GTO7mt3/4wIKpcR5gkGmRLOuE/2hNGeWq/GBIFo= +golang.org/x/net v0.51.0/go.mod h1:aamm+2QF5ogm02fjy5Bb7CQ0WMt1/WVM7FtyaTLlA9Y= golang.org/x/sys v0.42.0 h1:omrd2nAlyT5ESRdCLYdm3+fMfNFE/+Rf4bDIQImRJeo= golang.org/x/sys v0.42.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= -golang.org/x/text v0.33.0 h1:B3njUFyqtHDUI5jMn1YIr5B0IE2U0qck04r6d4KPAxE= -golang.org/x/text v0.33.0/go.mod h1:LuMebE6+rBincTi9+xWTY8TztLzKHc/9C1uBCG27+q8= -golang.org/x/text v0.35.0 h1:JOVx6vVDFokkpaq1AEptVzLTpDe9KGpj5tR4/X+ybL8= -golang.org/x/text v0.35.0/go.mod h1:khi/HExzZJ2pGnjenulevKNX1W67CUy0AsXcNubPGCA= +golang.org/x/text v0.34.0 h1:oL/Qq0Kdaqxa1KbNeMKwQq0reLCCaFtqu2eNuSeNHbk= +golang.org/x/text v0.34.0/go.mod h1:homfLqTYRFyVYemLBFl5GgL/DWEiH5wcsQ5gSh1yziA= gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4= gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E= gonum.org/v1/hdf5 v0.0.0-20210714002203-8c5d23bc6946 h1:vJpL69PeUullhJyKtTjHjENEmZU3BkO4e+fod7nKzgM= gonum.org/v1/hdf5 v0.0.0-20210714002203-8c5d23bc6946/go.mod h1:BQUWDHIAygjdt1HnUPQ0eWqLN2n5FwJycrpYUVUOx2I= -google.golang.org/genproto/googleapis/api v0.0.0-20260120221211-b8f7ae30c516 h1:vmC/ws+pLzWjj/gzApyoZuSVrDtF1aod4u/+bbj8hgM= -google.golang.org/genproto/googleapis/api v0.0.0-20260120221211-b8f7ae30c516/go.mod h1:p3MLuOwURrGBRoEyFHBT3GjUwaCQVKeNqqWxlcISGdw= -google.golang.org/genproto/googleapis/api v0.0.0-20260401024825-9d38bb4040a9 h1:VPWxll4HlMw1Vs/qXtN7BvhZqsS9cdAittCNvVENElA= -google.golang.org/genproto/googleapis/api v0.0.0-20260401024825-9d38bb4040a9/go.mod h1:7QBABkRtR8z+TEnmXTqIqwJLlzrZKVfAUm7tY3yGv0M= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260120221211-b8f7ae30c516 h1:sNrWoksmOyF5bvJUcnmbeAmQi8baNhqg5IWaI3llQqU= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260120221211-b8f7ae30c516/go.mod h1:j9x/tPzZkyxcgEFkiKEEGxfvyumM01BEtsW8xzOahRQ= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260401024825-9d38bb4040a9 h1:m8qni9SQFH0tJc1X0vmnpw/0t+AImlSvp30sEupozUg= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260401024825-9d38bb4040a9/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8= -google.golang.org/grpc v1.80.0 h1:Xr6m2WmWZLETvUNvIUmeD5OAagMw3FiKmMlTdViWsHM= -google.golang.org/grpc v1.80.0/go.mod h1:ho/dLnxwi3EDJA4Zghp7k2Ec1+c2jqup0bFkw07bwF4= +google.golang.org/genproto/googleapis/api v0.0.0-20260226221140-a57be14db171 h1:tu/dtnW1o3wfaxCOjSLn5IRX4YDcJrtlpzYkhHhGaC4= +google.golang.org/genproto/googleapis/api v0.0.0-20260226221140-a57be14db171/go.mod h1:M5krXqk4GhBKvB596udGL3UyjL4I1+cTbK0orROM9ng= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260226221140-a57be14db171 h1:ggcbiqK8WWh6l1dnltU4BgWGIGo+EVYxCaAPih/zQXQ= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260226221140-a57be14db171/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8= +google.golang.org/grpc v1.81.1 h1:VnnIIZ88UzOOKLukQi+ImGz8O1Wdp8nAGGnvOfEIWQQ= +google.golang.org/grpc v1.81.1/go.mod h1:xGH9GfzOyMTGIOXBJmXt+BX/V0kcdQbdcuwQ/zNw42I= google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE= google.golang.org/protobuf v1.36.11/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= diff --git a/go.mod b/go.mod index 3cbad77dd3..8fd269884b 100644 --- a/go.mod +++ b/go.mod @@ -1,17 +1,17 @@ module github.com/vdaas/vald -go 1.26.1 +go 1.26.4 replace ( - buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go => buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.11-20260209202127-80ab13bee0bf.1 - cloud.google.com/go/storage => cloud.google.com/go/storage v1.61.3 - code.cloudfoundry.org/bytefmt => code.cloudfoundry.org/bytefmt v0.67.0 + buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go => buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.11-20260415201107-50325440f8f2.1 + cloud.google.com/go/storage => cloud.google.com/go/storage v1.62.3 + code.cloudfoundry.org/bytefmt => code.cloudfoundry.org/bytefmt v0.75.0 github.com/akrylysov/pogreb => github.com/akrylysov/pogreb v0.10.2 github.com/aws/aws-sdk-go => github.com/aws/aws-sdk-go v1.55.8 github.com/felixge/fgprof => github.com/felixge/fgprof v0.9.5 - github.com/fsnotify/fsnotify => github.com/fsnotify/fsnotify v1.9.0 + github.com/fsnotify/fsnotify => github.com/fsnotify/fsnotify v1.10.1 github.com/go-redis/redis/v8 => github.com/go-redis/redis/v8 v8.11.5 - github.com/go-sql-driver/mysql => github.com/go-sql-driver/mysql v1.9.3 + github.com/go-sql-driver/mysql => github.com/go-sql-driver/mysql v1.10.0 github.com/goccy/go-json => github.com/goccy/go-json v0.10.6 github.com/gocql/gocql => github.com/gocql/gocql v1.7.0 github.com/gocraft/dbr/v2 => github.com/gocraft/dbr/v2 v2.7.7 @@ -19,12 +19,12 @@ replace ( github.com/google/uuid => github.com/google/uuid v1.6.0 github.com/gorilla/mux => github.com/gorilla/mux v1.8.1 github.com/grafana/grafana-foundation-sdk/go => github.com/grafana/grafana-foundation-sdk/go v0.0.0-20260129154346-aba721fdefde - github.com/grafana/promql-builder/go => github.com/grafana/promql-builder/go v0.0.0-20250916111012-8fa9625b89a3 - github.com/grafana/pyroscope-go/godeltaprof => github.com/grafana/pyroscope-go/godeltaprof v0.1.9 + github.com/grafana/promql-builder/go => github.com/grafana/promql-builder/go v0.0.6 + github.com/grafana/pyroscope-go/godeltaprof => github.com/grafana/pyroscope-go/godeltaprof v0.1.11 github.com/hashicorp/go-version => github.com/hashicorp/go-version v1.9.0 - github.com/klauspost/compress => github.com/klauspost/compress v1.18.5 + github.com/klauspost/compress => github.com/klauspost/compress v1.18.6 github.com/kpango/fastime => github.com/kpango/fastime v1.1.10 - github.com/kpango/gache/v2 => github.com/kpango/gache/v2 v2.1.9 + github.com/kpango/gache/v2 => github.com/kpango/gache/v2 v2.1.10 github.com/kpango/glg => github.com/kpango/glg v1.6.15 github.com/kubernetes-csi/external-snapshotter/client/v6 => github.com/kubernetes-csi/external-snapshotter/client/v6 v6.3.0 github.com/leanovate/gopter => github.com/leanovate/gopter v0.2.11 @@ -33,51 +33,51 @@ replace ( github.com/planetscale/vtprotobuf => github.com/planetscale/vtprotobuf v0.6.0 github.com/quasilyte/go-ruleguard => github.com/quasilyte/go-ruleguard v0.4.5 github.com/quasilyte/go-ruleguard/dsl => github.com/quasilyte/go-ruleguard/dsl v0.3.23 - github.com/quic-go/quic-go => github.com/quic-go/quic-go v0.59.0 + github.com/quic-go/quic-go => github.com/quic-go/quic-go v0.60.0 github.com/scylladb/gocqlx => github.com/scylladb/gocqlx v1.5.0 github.com/stretchr/testify => github.com/stretchr/testify v1.11.1 github.com/zeebo/xxh3 => github.com/zeebo/xxh3 v1.1.0 go.etcd.io/bbolt => go.etcd.io/bbolt v1.4.3 - go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc => go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 - go.opentelemetry.io/otel => go.opentelemetry.io/otel v1.42.0 - go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc => go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.42.0 - go.opentelemetry.io/otel/exporters/otlp/otlptrace => go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.42.0 - go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc => go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.42.0 - go.opentelemetry.io/otel/metric => go.opentelemetry.io/otel/metric v1.42.0 - go.opentelemetry.io/otel/sdk => go.opentelemetry.io/otel/sdk v1.42.0 - go.opentelemetry.io/otel/sdk/metric => go.opentelemetry.io/otel/sdk/metric v1.42.0 - go.opentelemetry.io/otel/trace => go.opentelemetry.io/otel/trace v1.42.0 + go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc => go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.69.0 + go.opentelemetry.io/otel => go.opentelemetry.io/otel v1.44.0 + go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc => go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.44.0 + go.opentelemetry.io/otel/exporters/otlp/otlptrace => go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.44.0 + go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc => go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.44.0 + go.opentelemetry.io/otel/metric => go.opentelemetry.io/otel/metric v1.44.0 + go.opentelemetry.io/otel/sdk => go.opentelemetry.io/otel/sdk v1.44.0 + go.opentelemetry.io/otel/sdk/metric => go.opentelemetry.io/otel/sdk/metric v1.44.0 + go.opentelemetry.io/otel/trace => go.opentelemetry.io/otel/trace v1.44.0 go.uber.org/automaxprocs => go.uber.org/automaxprocs v1.6.0 go.uber.org/goleak => go.uber.org/goleak v1.3.0 go.uber.org/ratelimit => go.uber.org/ratelimit v0.3.1 - go.uber.org/zap => go.uber.org/zap v1.27.1 - gocloud.dev => gocloud.dev v0.45.0 - golang.org/x/net => golang.org/x/net v0.52.0 + go.uber.org/zap => go.uber.org/zap v1.28.0 + gocloud.dev => gocloud.dev v0.46.0 + golang.org/x/net => golang.org/x/net v0.55.0 golang.org/x/oauth2 => golang.org/x/oauth2 v0.36.0 golang.org/x/sync => golang.org/x/sync v0.20.0 - golang.org/x/sys => golang.org/x/sys v0.42.0 - golang.org/x/text => golang.org/x/text v0.35.0 + golang.org/x/sys => golang.org/x/sys v0.45.0 + golang.org/x/text => golang.org/x/text v0.37.0 golang.org/x/time => golang.org/x/time v0.15.0 - golang.org/x/tools => golang.org/x/tools v0.43.0 + golang.org/x/tools => golang.org/x/tools v0.45.0 gonum.org/v1/hdf5 => gonum.org/v1/hdf5 v0.0.0-20210714002203-8c5d23bc6946 - gonum.org/v1/plot => gonum.org/v1/plot v0.16.0 - google.golang.org/genproto/googleapis/api => google.golang.org/genproto/googleapis/api v0.0.0-20260401024825-9d38bb4040a9 - google.golang.org/genproto/googleapis/rpc => google.golang.org/genproto/googleapis/rpc v0.0.0-20260401024825-9d38bb4040a9 - google.golang.org/grpc => google.golang.org/grpc v1.80.0 + gonum.org/v1/plot => gonum.org/v1/plot v0.17.0 + google.golang.org/genproto/googleapis/api => google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa + google.golang.org/genproto/googleapis/rpc => google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa + google.golang.org/grpc => google.golang.org/grpc v1.81.1 google.golang.org/protobuf => google.golang.org/protobuf v1.36.11 gopkg.in/yaml.v2 => gopkg.in/yaml.v2 v2.4.0 gopkg.in/yaml.v3 => gopkg.in/yaml.v3 v3.0.1 - k8s.io/api => k8s.io/api v0.35.3 - k8s.io/apimachinery => k8s.io/apimachinery v0.35.3 - k8s.io/cli-runtime => k8s.io/cli-runtime v0.35.3 - k8s.io/metrics => k8s.io/metrics v0.35.3 - sigs.k8s.io/controller-runtime => sigs.k8s.io/controller-runtime v0.23.3 + k8s.io/api => k8s.io/api v0.36.1 + k8s.io/apimachinery => k8s.io/apimachinery v0.36.1 + k8s.io/cli-runtime => k8s.io/cli-runtime v0.36.1 + k8s.io/metrics => k8s.io/metrics v0.36.1 + sigs.k8s.io/controller-runtime => sigs.k8s.io/controller-runtime v0.24.1 sigs.k8s.io/yaml => sigs.k8s.io/yaml v1.6.0 ) require ( buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v0.0.0-00010101000000-000000000000 - cloud.google.com/go/storage v1.57.2 + cloud.google.com/go/storage v1.61.3 code.cloudfoundry.org/bytefmt v0.0.0-20190710193110-1eb035ffe2b6 github.com/akrylysov/pogreb v0.0.0-00010101000000-000000000000 github.com/aws/aws-sdk-go v1.55.8 @@ -95,7 +95,7 @@ require ( github.com/grafana/promql-builder/go v0.0.0-00010101000000-000000000000 github.com/grafana/pyroscope-go/godeltaprof v0.0.0-00010101000000-000000000000 github.com/hashicorp/go-version v1.2.0 - github.com/klauspost/compress v1.18.0 + github.com/klauspost/compress v1.18.6 github.com/kpango/fastime v1.1.10 github.com/kpango/gache/v2 v2.0.0-00010101000000-000000000000 github.com/kpango/glg v1.6.15 @@ -111,66 +111,65 @@ require ( github.com/stretchr/testify v1.11.1 github.com/zeebo/xxh3 v1.1.0 go.etcd.io/bbolt v1.4.3 - go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0 - go.opentelemetry.io/otel v1.42.0 - go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.38.0 - go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.42.0 - go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.38.0 - go.opentelemetry.io/otel/metric v1.42.0 - go.opentelemetry.io/otel/sdk v1.42.0 - go.opentelemetry.io/otel/sdk/metric v1.42.0 - go.opentelemetry.io/otel/trace v1.42.0 - go.uber.org/automaxprocs v1.6.0 + go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.68.0 + go.opentelemetry.io/otel v1.44.0 + go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.42.0 + go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.44.0 + go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.42.0 + go.opentelemetry.io/otel/metric v1.44.0 + go.opentelemetry.io/otel/sdk v1.44.0 + go.opentelemetry.io/otel/sdk/metric v1.44.0 + go.opentelemetry.io/otel/trace v1.44.0 + go.uber.org/automaxprocs v0.0.0-00010101000000-000000000000 go.uber.org/goleak v1.3.0 go.uber.org/ratelimit v0.0.0-00010101000000-000000000000 go.uber.org/zap v1.27.1 gocloud.dev v0.0.0-00010101000000-000000000000 - golang.org/x/net v0.52.0 + golang.org/x/net v0.55.0 golang.org/x/oauth2 v0.36.0 golang.org/x/sync v0.20.0 - golang.org/x/sys v0.42.0 - golang.org/x/text v0.35.0 + golang.org/x/sys v0.45.0 + golang.org/x/text v0.37.0 golang.org/x/time v0.15.0 - golang.org/x/tools v0.43.0 + golang.org/x/tools v0.45.0 gonum.org/v1/hdf5 v0.0.0-00010101000000-000000000000 gonum.org/v1/plot v0.15.2 - google.golang.org/genproto/googleapis/api v0.0.0-20260401001100-f93e5f3e9f0f - google.golang.org/genproto/googleapis/rpc v0.0.0-20260401001100-f93e5f3e9f0f - google.golang.org/grpc v1.79.3 - google.golang.org/protobuf v1.36.11 + google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa + google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa + google.golang.org/grpc v1.81.1 + google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af gopkg.in/yaml.v2 v2.4.0 gopkg.in/yaml.v3 v3.0.1 - k8s.io/api v0.35.3 - k8s.io/apimachinery v0.35.3 + k8s.io/api v0.36.1 + k8s.io/apimachinery v0.36.1 k8s.io/cli-runtime v0.0.0-00010101000000-000000000000 - k8s.io/client-go v0.35.3 + k8s.io/client-go v0.36.1 k8s.io/metrics v0.0.0-00010101000000-000000000000 sigs.k8s.io/controller-runtime v0.0.0-00010101000000-000000000000 sigs.k8s.io/yaml v1.6.0 ) require ( - cel.dev/expr v0.25.1 // indirect + cel.dev/expr v0.25.2 // indirect cloud.google.com/go v0.123.0 // indirect - cloud.google.com/go/auth v0.19.0 // indirect + cloud.google.com/go/auth v0.20.0 // indirect cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect cloud.google.com/go/compute/metadata v0.9.0 // indirect - cloud.google.com/go/iam v1.6.0 // indirect - cloud.google.com/go/monitoring v1.24.3 // indirect - codeberg.org/go-fonts/liberation v0.5.0 // indirect - codeberg.org/go-latex/latex v0.2.0 // indirect - codeberg.org/go-pdf/fpdf v0.11.1 // indirect + cloud.google.com/go/iam v1.11.0 // indirect + cloud.google.com/go/monitoring v1.29.0 // indirect + codeberg.org/go-fonts/liberation v0.6.0 // indirect + codeberg.org/go-latex/latex v0.3.0 // indirect + codeberg.org/go-pdf/fpdf v0.12.0 // indirect filippo.io/edwards25519 v1.2.0 // indirect - git.sr.ht/~sbinet/gg v0.7.0 // indirect + git.sr.ht/~sbinet/gg v0.8.0 // indirect github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect - github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.31.0 // indirect - github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.55.0 // indirect - github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.55.0 // indirect + github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.33.0 // indirect + github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.57.0 // indirect + github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.57.0 // indirect github.com/ajstarks/svgo v0.0.0-20211024235047-1546f124cd8b // indirect github.com/benbjohnson/clock v1.3.5 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/blang/semver/v4 v4.0.0 // indirect - github.com/campoy/embedmd v1.0.0 // indirect github.com/cenkalti/backoff/v5 v5.0.3 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2 // indirect @@ -181,39 +180,38 @@ require ( github.com/envoyproxy/protoc-gen-validate v1.3.3 // indirect github.com/evanphx/json-patch/v5 v5.9.11 // indirect github.com/felixge/httpsnoop v1.0.4 // indirect - github.com/fxamacker/cbor/v2 v2.9.1 // indirect + github.com/fxamacker/cbor/v2 v2.9.2 // indirect github.com/go-errors/errors v1.4.2 // indirect github.com/go-jose/go-jose/v4 v4.1.4 // indirect github.com/go-logr/logr v1.4.3 // indirect github.com/go-logr/stdr v1.2.2 // indirect - github.com/go-openapi/jsonpointer v0.22.5 // indirect - github.com/go-openapi/jsonreference v0.21.5 // indirect - github.com/go-openapi/swag v0.25.5 // indirect - github.com/go-openapi/swag/cmdutils v0.25.5 // indirect - github.com/go-openapi/swag/conv v0.25.5 // indirect - github.com/go-openapi/swag/fileutils v0.25.5 // indirect - github.com/go-openapi/swag/jsonname v0.25.5 // indirect - github.com/go-openapi/swag/jsonutils v0.25.5 // indirect - github.com/go-openapi/swag/loading v0.25.5 // indirect - github.com/go-openapi/swag/mangling v0.25.5 // indirect - github.com/go-openapi/swag/netutils v0.25.5 // indirect - github.com/go-openapi/swag/stringutils v0.25.5 // indirect - github.com/go-openapi/swag/typeutils v0.25.5 // indirect - github.com/go-openapi/swag/yamlutils v0.25.5 // indirect + github.com/go-openapi/jsonpointer v0.23.1 // indirect + github.com/go-openapi/jsonreference v0.21.6 // indirect + github.com/go-openapi/swag v0.26.1 // indirect + github.com/go-openapi/swag/cmdutils v0.26.1 // indirect + github.com/go-openapi/swag/conv v0.26.1 // indirect + github.com/go-openapi/swag/fileutils v0.26.1 // indirect + github.com/go-openapi/swag/jsonname v0.26.1 // indirect + github.com/go-openapi/swag/jsonutils v0.26.1 // indirect + github.com/go-openapi/swag/loading v0.26.1 // indirect + github.com/go-openapi/swag/mangling v0.26.1 // indirect + github.com/go-openapi/swag/netutils v0.26.1 // indirect + github.com/go-openapi/swag/stringutils v0.26.1 // indirect + github.com/go-openapi/swag/typeutils v0.26.1 // indirect + github.com/go-openapi/swag/yamlutils v0.26.1 // indirect github.com/go-toolsmith/astcopy v1.0.2 // indirect github.com/go-toolsmith/astequal v1.0.3 // indirect github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect github.com/golang/snappy v1.0.0 // indirect github.com/google/btree v1.1.3 // indirect github.com/google/gnostic-models v0.7.1 // indirect - github.com/google/pprof v0.0.0-20260302011040-a15ffb7f9dcc // indirect + github.com/google/pprof v0.0.0-20260604005048-7023385849c0 // indirect github.com/google/s2a-go v0.1.9 // indirect github.com/google/wire v0.7.0 // indirect - github.com/googleapis/enterprise-certificate-proxy v0.3.14 // indirect - github.com/googleapis/gax-go/v2 v2.21.0 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.3.16 // indirect + github.com/googleapis/gax-go/v2 v2.22.0 // indirect github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect - github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect - github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0 // indirect + github.com/grpc-ecosystem/grpc-gateway/v2 v2.29.0 // indirect github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect @@ -222,53 +220,53 @@ require ( github.com/klauspost/cpuid/v2 v2.3.0 // indirect github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect github.com/mailru/easyjson v0.9.2 // indirect - github.com/moby/spdystream v0.5.0 // indirect + github.com/moby/spdystream v0.5.1 // indirect github.com/moby/term v0.5.0 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect - github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect github.com/peterbourgon/diskv v2.0.1+incompatible // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/prometheus/client_golang v1.23.2 // indirect github.com/prometheus/client_model v0.6.2 // indirect - github.com/prometheus/common v0.67.5 // indirect + github.com/prometheus/common v0.68.1 // indirect github.com/prometheus/procfs v0.20.1 // indirect github.com/quasilyte/gogrep v0.5.0 // indirect github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect github.com/scylladb/go-reflectx v1.0.1 // indirect - github.com/spf13/cobra v1.10.0 // indirect + github.com/spf13/cobra v1.10.2 // indirect github.com/spf13/pflag v1.0.10 // indirect - github.com/spiffe/go-spiffe/v2 v2.6.0 // indirect + github.com/spiffe/go-spiffe/v2 v2.7.0 // indirect github.com/stretchr/objx v0.5.3 // indirect github.com/x448/float16 v0.8.4 // indirect github.com/xlab/treeprint v1.2.0 // indirect go.opentelemetry.io/auto/sdk v1.2.1 // indirect - go.opentelemetry.io/contrib/detectors/gcp v1.42.0 // indirect - go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 // indirect + go.opentelemetry.io/contrib/detectors/gcp v1.44.0 // indirect + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0 // indirect go.opentelemetry.io/proto/otlp v1.10.0 // indirect go.uber.org/multierr v1.11.0 // indirect go.yaml.in/yaml/v2 v2.4.4 // indirect go.yaml.in/yaml/v3 v3.0.4 // indirect - golang.org/x/crypto v0.49.0 // indirect + golang.org/x/crypto v0.52.0 // indirect golang.org/x/exp/typeparams v0.0.0-20240213143201-ec583247a57a // indirect - golang.org/x/image v0.38.0 // indirect - golang.org/x/mod v0.34.0 // indirect - golang.org/x/term v0.41.0 // indirect + golang.org/x/image v0.41.0 // indirect + golang.org/x/mod v0.36.0 // indirect + golang.org/x/term v0.43.0 // indirect golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect gomodules.xyz/jsonpatch/v2 v2.5.0 // indirect - google.golang.org/api v0.273.1 // indirect - google.golang.org/genproto v0.0.0-20260401024825-9d38bb4040a9 // indirect + google.golang.org/api v0.283.0 // indirect + google.golang.org/genproto v0.0.0-20260526163538-3dc84a4a5aaa // indirect gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect - k8s.io/apiextensions-apiserver v0.35.3 // indirect + k8s.io/apiextensions-apiserver v0.36.1 // indirect k8s.io/klog/v2 v2.140.0 // indirect - k8s.io/kube-openapi v0.0.0-20260330154417-16be699c7b31 // indirect - k8s.io/utils v0.0.0-20260319190234-28399d86e0b5 // indirect + k8s.io/kube-openapi v0.0.0-20260603220949-865597e52e25 // indirect + k8s.io/streaming v0.36.1 // indirect + k8s.io/utils v0.0.0-20260507154919-ff6756f316d2 // indirect sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect - sigs.k8s.io/kustomize/api v0.20.1 // indirect - sigs.k8s.io/kustomize/kyaml v0.20.1 // indirect + sigs.k8s.io/kustomize/api v0.21.1 // indirect + sigs.k8s.io/kustomize/kyaml v0.21.1 // indirect sigs.k8s.io/randfill v1.0.0 // indirect - sigs.k8s.io/structured-merge-diff/v6 v6.3.2 // indirect + sigs.k8s.io/structured-merge-diff/v6 v6.4.0 // indirect ) diff --git a/go.sum b/go.sum index 307f96999a..5d54e011aa 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.11-20260209202127-80ab13bee0bf.1 h1:PMmTMyvHScV9Mn8wc6ASge9uRcHy0jtqPd+fM35LmsQ= -buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.11-20260209202127-80ab13bee0bf.1/go.mod h1:tvtbpgaVXZX4g6Pn+AnzFycuRK3MOz5HJfEGeEllXYM= +buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.11-20260415201107-50325440f8f2.1 h1:s6hzCXtND/ICdGPTMGk7C+/BFlr2Jg5GyH0NKf4XGXg= +buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.11-20260415201107-50325440f8f2.1/go.mod h1:tvtbpgaVXZX4g6Pn+AnzFycuRK3MOz5HJfEGeEllXYM= cel.dev/expr v0.15.0/go.mod h1:TRSuuV7DlVCE/uwv5QbAiW/v8l5O8C4eEPHeu7gf7Sg= cel.dev/expr v0.16.0/go.mod h1:TRSuuV7DlVCE/uwv5QbAiW/v8l5O8C4eEPHeu7gf7Sg= cel.dev/expr v0.16.1/go.mod h1:AsGA5zb3WruAEQeQng1RZdGEXmBj0jvMWh6l5SnNuC8= @@ -11,6 +11,8 @@ cel.dev/expr v0.23.0/go.mod h1:hLPLo1W4QUmuYdA72RBX06QTs6MXw941piREPl3Yfiw= cel.dev/expr v0.24.0/go.mod h1:hLPLo1W4QUmuYdA72RBX06QTs6MXw941piREPl3Yfiw= cel.dev/expr v0.25.1 h1:1KrZg61W6TWSxuNZ37Xy49ps13NUovb66QLprthtwi4= cel.dev/expr v0.25.1/go.mod h1:hrXvqGP6G6gyx8UAHSHJ5RGk//1Oj5nXQ2NI02Nrsg4= +cel.dev/expr v0.25.2 h1:K6j46C81hXtZQfuX60cVWQFBJahKSE2gfRbNuvr5bFs= +cel.dev/expr v0.25.2/go.mod h1:hrXvqGP6G6gyx8UAHSHJ5RGk//1Oj5nXQ2NI02Nrsg4= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= @@ -138,6 +140,8 @@ cloud.google.com/go/aiplatform v1.89.0/go.mod h1:TzZtegPkinfXTtXVvZZpxx7noINFMVD cloud.google.com/go/aiplatform v1.102.0/go.mod h1:4rwKOMdubQOND81AlO3EckcskvEFCYSzXKfn42GMm8k= cloud.google.com/go/aiplatform v1.109.0/go.mod h1:4rwKOMdubQOND81AlO3EckcskvEFCYSzXKfn42GMm8k= cloud.google.com/go/aiplatform v1.114.0/go.mod h1:W5yMrpIuHG/CSK8iF7XnwIfCJu6dcLRQ0cTqGR5vwwE= +cloud.google.com/go/aiplatform v1.116.0/go.mod h1:AdvoUUSXh9ykwEazibd3Fj6OUGrIiZwvZrvm4j5OdkU= +cloud.google.com/go/aiplatform v1.120.0/go.mod h1:6mDthfmy0oS1EQhVFdijoxkVdI2+HIZkpuGTBpedeCg= cloud.google.com/go/analytics v0.11.0/go.mod h1:DjEWCu41bVbYcKyvlws9Er60YE4a//bK6mnhWvQeFNI= cloud.google.com/go/analytics v0.12.0/go.mod h1:gkfj9h6XRf9+TS4bmuhPEShsh3hH8PAZzm/41OOhQd4= cloud.google.com/go/analytics v0.17.0/go.mod h1:WXFa3WSym4IZ+JiKmavYdJwGG/CvpqiqczmL59bTD9M= @@ -265,6 +269,7 @@ cloud.google.com/go/area120 v0.9.2/go.mod h1:Ar/KPx51UbrTWGVGgGzFnT7hFYQuk/0VOXk cloud.google.com/go/area120 v0.9.3/go.mod h1:F3vxS/+hqzrjJo55Xvda3Jznjjbd+4Foo43SN5eMd8M= cloud.google.com/go/area120 v0.9.6/go.mod h1:qKSokqe0iTmwBDA3tbLWonMEnh0pMAH4YxiceiHUed4= cloud.google.com/go/area120 v0.9.7/go.mod h1:5nJ0yksmjOMfc4Zpk+okWfJ3A1004FvB82rfia+ZLaY= +cloud.google.com/go/area120 v0.10.0/go.mod h1:Xg3fKl4xU3UVai9wsI1FXwNU8wSCDYT7dFZfwJKViAM= cloud.google.com/go/artifactregistry v1.6.0/go.mod h1:IYt0oBPSAGYj/kprzsBjZ/4LnG/zOcHyFHjWPCi6SAQ= cloud.google.com/go/artifactregistry v1.7.0/go.mod h1:mqTOFOnGZx8EtSqK/ZWcsm/4U8B77rbcLP6ruDU2Ixk= cloud.google.com/go/artifactregistry v1.8.0/go.mod h1:w3GQXkJX8hiKN0v+at4b0qotwijQbYUqF2GWkZzAhC0= @@ -290,6 +295,7 @@ cloud.google.com/go/artifactregistry v1.16.1/go.mod h1:sPvFPZhfMavpiongKwfg93EOw cloud.google.com/go/artifactregistry v1.17.1/go.mod h1:06gLv5QwQPWtaudI2fWO37gfwwRUHwxm3gA8Fe568Hc= cloud.google.com/go/artifactregistry v1.17.2/go.mod h1:h4CIl9TJZskg9c9u1gC9vTsOTo1PrAnnxntprqS3AjM= cloud.google.com/go/artifactregistry v1.19.0/go.mod h1:UEAPCgHDFC1q+A8nnVxXHPEy9KCVOeavFBF1fEChQvU= +cloud.google.com/go/artifactregistry v1.20.0/go.mod h1:0G9wdbGyDFkvrYH+2AlQs9MuTJdbY8Vg45M8VjlI8rc= cloud.google.com/go/asset v1.5.0/go.mod h1:5mfs8UvcM5wHhqtSv8J1CtxxaQq3AdBxxQi2jGW/K4o= cloud.google.com/go/asset v1.7.0/go.mod h1:YbENsRK4+xTiL+Ofoj5Ckf+O17kJtgp3Y3nn4uzZz5s= cloud.google.com/go/asset v1.8.0/go.mod h1:mUNGKhiqIdbr8X7KNayoYvyc4HbbFO9URsjbytpUaW0= @@ -318,6 +324,7 @@ cloud.google.com/go/asset v1.20.4/go.mod h1:DP09pZ+SoFWUZyPZx26xVroHk+6+9umnQv+0 cloud.google.com/go/asset v1.21.0/go.mod h1:0lMJ0STdyImZDSCB8B3i/+lzIquLBpJ9KZ4pyRvzccM= cloud.google.com/go/asset v1.21.1/go.mod h1:7AzY1GCC+s1O73yzLM1IpHFLHz3ws2OigmCpOQHwebk= cloud.google.com/go/asset v1.22.0/go.mod h1:q80JP2TeWWzMCazYnrAfDf36aQKf1QiKzzpNLflJwf8= +cloud.google.com/go/asset v1.22.1/go.mod h1:NlvWwmca7CX6BIBEdRNxOocH6DowmBghAAHucOHuHng= cloud.google.com/go/assuredworkloads v1.5.0/go.mod h1:n8HOZ6pff6re5KYfBXcFvSViQjDwxFkAkmUFffJRbbY= cloud.google.com/go/assuredworkloads v1.6.0/go.mod h1:yo2YOk37Yc89Rsd5QMVECvjaMKymF9OP+QXWlKXUkXw= cloud.google.com/go/assuredworkloads v1.7.0/go.mod h1:z/736/oNmtGAyU47reJgGN+KVoYoxeLBoj4XkKYscNI= @@ -371,11 +378,13 @@ cloud.google.com/go/auth v0.16.3/go.mod h1:NucRGjaXfzP1ltpcQ7On/VTZ0H4kWB5Jy+Y9D cloud.google.com/go/auth v0.16.4/go.mod h1:j10ncYwjX/g3cdX7GpEzsdM+d+ZNsXAbb6qXA7p1Y5M= cloud.google.com/go/auth v0.16.5/go.mod h1:utzRfHMP+Vv0mpOkTRQoWD2q3BatTOoWbA7gCc2dUhQ= cloud.google.com/go/auth v0.17.0/go.mod h1:6wv/t5/6rOPAX4fJiRjKkJCvswLwdet7G8+UGXt7nCQ= +cloud.google.com/go/auth v0.18.0/go.mod h1:wwkPM1AgE1f2u6dG443MiWoD8C3BtOywNsUMcUTVDRo= cloud.google.com/go/auth v0.18.1/go.mod h1:GfTYoS9G3CWpRA3Va9doKN9mjPGRS+v41jmZAhBzbrA= -cloud.google.com/go/auth v0.18.2 h1:+Nbt5Ev0xEqxlNjd6c+yYUeosQ5TtEUaNcN/3FozlaM= cloud.google.com/go/auth v0.18.2/go.mod h1:xD+oY7gcahcu7G2SG2DsBerfFxgPAJz17zz2joOFF3M= cloud.google.com/go/auth v0.19.0 h1:DGYwtbcsGsT1ywuxsIoWi1u/vlks0moIblQHgSDgQkQ= cloud.google.com/go/auth v0.19.0/go.mod h1:2Aph7BT2KnaSFOM0JDPyiYgNh6PL9vGMiP8CUIXZ+IY= +cloud.google.com/go/auth v0.20.0 h1:kXTssoVb4azsVDoUiF8KvxAqrsQcQtB53DcSgta74CA= +cloud.google.com/go/auth v0.20.0/go.mod h1:942/yi/itH1SsmpyrbnTMDgGfdy2BUqIKyd0cyYLc5Q= cloud.google.com/go/auth/oauth2adapt v0.2.1/go.mod h1:tOdK/k+D2e4GEwfBRA48dKNQiDsqIXxLh7VU319eV0g= cloud.google.com/go/auth/oauth2adapt v0.2.2/go.mod h1:wcYjgpZI9+Yu7LyYBg4pqSiaRkfEK3GQcpb7C/uyF1Q= cloud.google.com/go/auth/oauth2adapt v0.2.3/go.mod h1:tMQXOfZzFuNuUxOypHlQEXgdfX5cuhwU+ffUuXRJE8I= @@ -501,6 +510,8 @@ cloud.google.com/go/bigquery v1.67.0/go.mod h1:HQeP1AHFuAz0Y55heDSb0cjZIhnEkuwFR cloud.google.com/go/bigquery v1.69.0/go.mod h1:TdGLquA3h/mGg+McX+GsqG9afAzTAcldMjqhdjHTLew= cloud.google.com/go/bigquery v1.70.0/go.mod h1:6lEAkgTJN+H2JcaX1eKiuEHTKyqBaJq5U3SpLGbSvwI= cloud.google.com/go/bigquery v1.72.0/go.mod h1:GUbRtmeCckOE85endLherHD9RsujY+gS7i++c1CqssQ= +cloud.google.com/go/bigquery v1.73.1/go.mod h1:KSLx1mKP/yGiA8U+ohSrqZM1WknUnjZAxHAQZ51/b1k= +cloud.google.com/go/bigquery v1.74.0/go.mod h1:iViO7Cx3A/cRKcHNRsHB3yqGAMInFBswrE9Pxazsc90= cloud.google.com/go/bigtable v1.18.1/go.mod h1:NAVyfJot9jlo+KmgWLUJ5DJGwNDoChzAcrecLpmuAmY= cloud.google.com/go/bigtable v1.20.0/go.mod h1:upJDn8frsjzpRMfybiWkD1PG6WCCL7CRl26MgVeoXY4= cloud.google.com/go/bigtable v1.27.1/go.mod h1:AMREzzQzYjiWYan7JvJXINc8dfqemnNBWDHlYONtPLw= @@ -516,6 +527,7 @@ cloud.google.com/go/bigtable v1.37.0/go.mod h1:HXqddP6hduwzrtiTCqZPpj9ij4hGZb4Zy cloud.google.com/go/bigtable v1.39.0/go.mod h1:zgL2Vxux9Bx+TcARDJDUxVyE+BCUfP2u4Zm9qeHF+g0= cloud.google.com/go/bigtable v1.40.1/go.mod h1:LtPzCcrAFaGRZ82Hs8xMueUeYW9Jw12AmNdUTMfDnh4= cloud.google.com/go/bigtable v1.41.0/go.mod h1:JlaltP06LEFXaxQdZiarGR9tKsX/II0IkNAKMDrWspI= +cloud.google.com/go/bigtable v1.42.0/go.mod h1:oZ30nofVB6/UYGg7lBwGLWSea7NZUvw/WvBBgLY07xU= cloud.google.com/go/billing v1.4.0/go.mod h1:g9IdKBEFlItS8bTtlrZdVLWSSdSyFUZKXNS02zKMOZY= cloud.google.com/go/billing v1.5.0/go.mod h1:mztb1tBc3QekhjSgmpf/CV4LzWXLzCArwpLmP2Gm88s= cloud.google.com/go/billing v1.6.0/go.mod h1:WoXzguj+BeHXPbKfNWkqVtDdzORazmCjraY+vrxcyvI= @@ -716,8 +728,8 @@ cloud.google.com/go/compute v1.38.0/go.mod h1:oAFNIuXOmXbK/ssXm3z4nZB8ckPdjltJ7x cloud.google.com/go/compute v1.47.0/go.mod h1:1uoZvP8Avyfhe3Y4he7sMOR16ZiAm2Q+Rc2P5rrJM28= cloud.google.com/go/compute v1.49.1/go.mod h1:1uoZvP8Avyfhe3Y4he7sMOR16ZiAm2Q+Rc2P5rrJM28= cloud.google.com/go/compute v1.54.0/go.mod h1:RfBj0L1x/pIM84BrzNX2V21oEv16EKRPBiTcBRRH1Ww= -cloud.google.com/go/compute v1.57.0 h1:uACoYJCUftJxxoI7si8u1S9szRDalftrWSjo1Dizfx4= -cloud.google.com/go/compute v1.57.0/go.mod h1:3shEe5By6FSIqBbZJBuqC0InvJKBKUiWZjrwGd1wkyA= +cloud.google.com/go/compute v1.64.0 h1:7MmuzeAxlG5MOG5PQD2NLtyYR6bWjkvGljRu7pByoRU= +cloud.google.com/go/compute v1.64.0/go.mod h1:eHhcRZ6vf70fQCS3VEsiWSh+nQ+tLvSMb7mwLQskgN0= cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU= cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= @@ -783,6 +795,7 @@ cloud.google.com/go/container v1.42.4/go.mod h1:wf9lKc3ayWVbbV/IxKIDzT7E+1KQgzkz cloud.google.com/go/container v1.43.0/go.mod h1:ETU9WZ1KM9ikEKLzrhRVao7KHtalDQu6aPqM34zDr/U= cloud.google.com/go/container v1.44.0/go.mod h1:tVK2o4UZUTkg9WpBcgj4qRzwGA1dSFdWA3mil3YkLIQ= cloud.google.com/go/container v1.45.0/go.mod h1:eB6jUfJLjne9VsTDGcH7mnj6JyZK+KOUIA6KZnYE/ds= +cloud.google.com/go/container v1.46.0/go.mod h1:A7gMqdQduTk46+zssWDTKbGS2z46UsJNXfKqvMI1ZO4= cloud.google.com/go/containeranalysis v0.5.1/go.mod h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I= cloud.google.com/go/containeranalysis v0.6.0/go.mod h1:HEJoiEIu+lEXM+k7+qLCci0h33lX3ZqoYFdmPcoO7s4= cloud.google.com/go/containeranalysis v0.7.0/go.mod h1:9aUL+/vZ55P2CXfuZjS4UjQ9AgXoSw8Ts6lemfmxBxI= @@ -877,6 +890,7 @@ cloud.google.com/go/dataform v0.10.3/go.mod h1:8SruzxHYCxtvG53gXqDZvZCx12BlsUchu cloud.google.com/go/dataform v0.11.2/go.mod h1:IMmueJPEKpptT2ZLWlvIYjw6P/mYHHxA7/SUBiXqZUY= cloud.google.com/go/dataform v0.12.0/go.mod h1:PuDIEY0lSVuPrZqcFji1fmr5RRvz3DGz4YP/cONc8g4= cloud.google.com/go/dataform v0.12.1/go.mod h1:atGS8ReRjfNDUQib0X/o/7Gi2bqHI2G7/J86LKiGimE= +cloud.google.com/go/dataform v0.13.0/go.mod h1:U3fqrPY5jAcFh1a8rQb4a+PQ7zKlc5qfgotFZ+luKPo= cloud.google.com/go/datafusion v1.4.0/go.mod h1:1Zb6VN+W6ALo85cXnM1IKiPw+yQMKMhB9TsTSRDo/38= cloud.google.com/go/datafusion v1.5.0/go.mod h1:Kz+l1FGHB0J+4XF2fud96WMmRiq/wj8N9u007vyXZ2w= cloud.google.com/go/datafusion v1.6.0/go.mod h1:WBsMF8F1RhSXvVM8rCV3AeyWVxcC2xY6vith3iw3S+8= @@ -967,6 +981,7 @@ cloud.google.com/go/dataproc/v2 v2.11.0/go.mod h1:9vgGrn57ra7KBqz+B2KD+ltzEXvnHA cloud.google.com/go/dataproc/v2 v2.11.2/go.mod h1:xwukBjtfiO4vMEa1VdqyFLqJmcv7t3lo+PbLDcTEw+g= cloud.google.com/go/dataproc/v2 v2.14.1/go.mod h1:tSdkodShfzrrUNPDVEL6MdH9/mIEvp/Z9s9PBdbsZg8= cloud.google.com/go/dataproc/v2 v2.15.0/go.mod h1:tSdkodShfzrrUNPDVEL6MdH9/mIEvp/Z9s9PBdbsZg8= +cloud.google.com/go/dataproc/v2 v2.16.0/go.mod h1:HlzFg8k1SK+bJN3Zsy2z5g6OZS1D4DYiDUgJtF0gJnE= cloud.google.com/go/dataqna v0.5.0/go.mod h1:90Hyk596ft3zUQ8NkFfvICSIfHFh1Bc7C4cK3vbhkeo= cloud.google.com/go/dataqna v0.6.0/go.mod h1:1lqNpM7rqNLVgWBJyk5NF6Uen2PHym0jtVJonplVsDA= cloud.google.com/go/dataqna v0.7.0/go.mod h1:Lx9OcIIeqCrw1a6KdO3/5KMP1wAmTc0slZWwP12Qq3c= @@ -1001,6 +1016,7 @@ cloud.google.com/go/datastore v1.18.1-0.20240822134219-d8887df4a12f/go.mod h1:Xv cloud.google.com/go/datastore v1.19.0/go.mod h1:KGzkszuj87VT8tJe67GuB+qLolfsOt6bZq/KFuWaahc= cloud.google.com/go/datastore v1.20.0/go.mod h1:uFo3e+aEpRfHgtp5pp0+6M0o147KoPaYNaPAKpfh8Ew= cloud.google.com/go/datastore v1.21.0/go.mod h1:9l+KyAHO+YVVcdBbNQZJu8svF17Nw5sMKuFR0LYf1nY= +cloud.google.com/go/datastore v1.22.0/go.mod h1:aopSX+Whx0lHspWWBj+AjWt68/zjYsPfDe3LjWtqZg8= cloud.google.com/go/datastream v1.2.0/go.mod h1:i/uTP8/fZwgATHS/XFu0TcNUhuA0twZxxQ3EyCUQMwo= cloud.google.com/go/datastream v1.3.0/go.mod h1:cqlOX8xlyYF/uxhiKn6Hbv6WjwPPuI9W2M9SAXwaLLQ= cloud.google.com/go/datastream v1.4.0/go.mod h1:h9dpzScPhDTs5noEMQVWP8Wx8AFBRyS0s8KWPx/9r0g= @@ -1088,6 +1104,8 @@ cloud.google.com/go/dialogflow v1.68.2/go.mod h1:E0Ocrhf5/nANZzBju8RX8rONf0PuIvz cloud.google.com/go/dialogflow v1.69.1/go.mod h1:mP4XrpgDvPYBP+cdLxFC1WJJlkwuy0H8L1Lada9No/M= cloud.google.com/go/dialogflow v1.71.0/go.mod h1:mP4XrpgDvPYBP+cdLxFC1WJJlkwuy0H8L1Lada9No/M= cloud.google.com/go/dialogflow v1.74.0/go.mod h1:jlKHmd3/KdvWWhGZjoCnWQAQNOMHOhDK6DQ430p3T1I= +cloud.google.com/go/dialogflow v1.75.0/go.mod h1:z1W1ZogmigYVtP5YmyeUh+D219VCjdd3VJqY76PG3gA= +cloud.google.com/go/dialogflow v1.76.0/go.mod h1:mdLkMmSCghfcP85X9dFBlirC1OssS65KE5hrrSz2GXY= cloud.google.com/go/dlp v1.6.0/go.mod h1:9eyB2xIhpU0sVwUixfBubDoRwP+GjeUoxxeueZmqvmM= cloud.google.com/go/dlp v1.7.0/go.mod h1:68ak9vCiMBjbasxeVD17hVPxDEck+ExiHavX8kiHG+Q= cloud.google.com/go/dlp v1.9.0/go.mod h1:qdgmqgTyReTz5/YNSSuueR8pl7hO0o9bQ39ZhtgkWp4= @@ -1146,6 +1164,8 @@ cloud.google.com/go/documentai v1.35.2/go.mod h1:oh/0YXosgEq3hVhyH4ZQ7VNXPaveRO4 cloud.google.com/go/documentai v1.37.0/go.mod h1:qAf3ewuIUJgvSHQmmUWvM3Ogsr5A16U2WPHmiJldvLA= cloud.google.com/go/documentai v1.38.1/go.mod h1:KmlLO93F7GRU8dENXRxvt+7V8o7eCG6Y6WDitKbcYJs= cloud.google.com/go/documentai v1.39.0/go.mod h1:KmlLO93F7GRU8dENXRxvt+7V8o7eCG6Y6WDitKbcYJs= +cloud.google.com/go/documentai v1.41.0/go.mod h1:AT+3TV4vXGT06eyNmVmyivzN/dlcVOXlh6ufl1X9rAI= +cloud.google.com/go/documentai v1.42.0/go.mod h1:CABOUzRNOuvb/QwJS2LS80Hpqbu3UW2afyRKTYuW7bo= cloud.google.com/go/domains v0.6.0/go.mod h1:T9Rz3GasrpYk6mEGHh4rymIhjlnIuB4ofT1wTxDeT4Y= cloud.google.com/go/domains v0.7.0/go.mod h1:PtZeqS1xjnXuRPKE/88Iru/LdfoRyEHYA9nFQf4UKpg= cloud.google.com/go/domains v0.8.0/go.mod h1:M9i3MMDzGFXsydri9/vW+EWz9sWb4I6WyHqdlAk0idE= @@ -1437,10 +1457,11 @@ cloud.google.com/go/iam v1.4.1/go.mod h1:2vUEJpUG3Q9p2UdsyksaKpDzlwOrnMzS30isdRe cloud.google.com/go/iam v1.4.2/go.mod h1:REGlrt8vSlh4dfCJfSEcNjLGq75wW75c5aU3FLOYq34= cloud.google.com/go/iam v1.5.0/go.mod h1:U+DOtKQltF/LxPEtcDLoobcsZMilSRwR7mgNL7knOpo= cloud.google.com/go/iam v1.5.2/go.mod h1:SE1vg0N81zQqLzQEwxL2WI6yhetBdbNQuTvIKCSkUHE= -cloud.google.com/go/iam v1.5.3 h1:+vMINPiDF2ognBJ97ABAYYwRgsaqxPbQDlMnbHMjolc= cloud.google.com/go/iam v1.5.3/go.mod h1:MR3v9oLkZCTlaqljW6Eb2d3HGDGK5/bDv93jhfISFvU= -cloud.google.com/go/iam v1.6.0 h1:JiSIcEi38dWBKhB3BtfKCW+dMvCZJEhBA2BsaGJgoxs= -cloud.google.com/go/iam v1.6.0/go.mod h1:ZS6zEy7QHmcNO18mjO2viYv/n+wOUkhJqGNkPPGueGU= +cloud.google.com/go/iam v1.7.0 h1:JD3zh0C6LHl16aCn5Akff0+GELdp1+4hmh6ndoFLl8U= +cloud.google.com/go/iam v1.7.0/go.mod h1:tetWZW1PD/m6vcuY2Zj/aU0eCHNPuxedbnbRTyKXvdY= +cloud.google.com/go/iam v1.11.0 h1:KieQ9Pb+LLPak1O3Rv3GgCxhnmkYf7Xyh0P5HfF1jFM= +cloud.google.com/go/iam v1.11.0/go.mod h1:KP+nKGugNJW4LcLx1uEZcq1ok5sQHFaQehQNl4QDgV4= cloud.google.com/go/iap v1.4.0/go.mod h1:RGFwRJdihTINIe4wZ2iCP0zF/qu18ZwyKxrhMhygBEc= cloud.google.com/go/iap v1.5.0/go.mod h1:UH/CGgKd4KyohZL5Pt0jSKE4m3FR51qg6FKQ/z/Ix9A= cloud.google.com/go/iap v1.6.0/go.mod h1:NSuvI9C/j7UdjGjIde7t7HBz+QTwBcapPE07+sSRcLk= @@ -1539,6 +1560,7 @@ cloud.google.com/go/kms v1.22.0/go.mod h1:U7mf8Sva5jpOb4bxYZdtw/9zsbIjrklYwPcvMk cloud.google.com/go/kms v1.23.0/go.mod h1:rZ5kK0I7Kn9W4erhYVoIRPtpizjunlrfU4fUkumUp8g= cloud.google.com/go/kms v1.23.2/go.mod h1:rZ5kK0I7Kn9W4erhYVoIRPtpizjunlrfU4fUkumUp8g= cloud.google.com/go/kms v1.25.0/go.mod h1:XIdHkzfj0bUO3E+LvwPg+oc7s58/Ns8Nd8Sdtljihbk= +cloud.google.com/go/kms v1.26.0/go.mod h1:pHKOdFJm63hxBsiPkYtowZPltu9dW0MWvBa6IA4HM58= cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic= cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI= cloud.google.com/go/language v1.7.0/go.mod h1:DJ6dYN/W+SQOjF8e1hLQXMF21AkH2w9wiPzPCJa2MIE= @@ -1589,9 +1611,10 @@ cloud.google.com/go/logging v1.10.0/go.mod h1:EHOwcxlltJrYGqMGfghSet736KR3hX1MAj cloud.google.com/go/logging v1.11.0/go.mod h1:5LDiJC/RxTt+fHc1LAt20R9TKiUTReDg6RuuFOZ67+A= cloud.google.com/go/logging v1.12.0/go.mod h1:wwYBt5HlYP1InnrtYI0wtwttpVU1rifnMT7RejksUAM= cloud.google.com/go/logging v1.13.0/go.mod h1:36CoKh6KA/M0PbhPKMq6/qety2DCAErbhXT62TuXALA= -cloud.google.com/go/logging v1.13.1 h1:O7LvmO0kGLaHY/gq8cV7T0dyp6zJhYAOtZPX4TF3QtY= cloud.google.com/go/logging v1.13.1/go.mod h1:XAQkfkMBxQRjQek96WLPNze7vsOmay9H5PqfsNYDqvw= cloud.google.com/go/logging v1.13.2 h1:qqlHCBvieJT9Cdq4QqYx1KPadCQ2noD4FK02eNqHAjA= +cloud.google.com/go/logging v1.13.2/go.mod h1:zaybliM3yun1J8mU2dVQ1/qDzjbOqEijZCn6hSBtKak= +cloud.google.com/go/logging v1.18.0 h1:KhzZq+1cSkPH9YUaKLLhLtQxIHitVayBmk0sGfoM9+k= cloud.google.com/go/longrunning v0.1.1/go.mod h1:UUFxuDWkv22EuY93jjmDMFT5GPQKeFVJBIF6QlTqdsE= cloud.google.com/go/longrunning v0.3.0/go.mod h1:qth9Y41RRSUE69rDcOn6DdK3HfQfsUI0YSmW3iIlLJc= cloud.google.com/go/longrunning v0.4.1/go.mod h1:4iWDqhBZ70CvZ6BfETbvam3T8FMvLK+eFj0E6AaRQTo= @@ -1616,8 +1639,10 @@ cloud.google.com/go/longrunning v0.6.5/go.mod h1:Et04XK+0TTLKa5IPYryKf5DkpwImy6T cloud.google.com/go/longrunning v0.6.6/go.mod h1:hyeGJUrPHcx0u2Uu1UFSoYZLn4lkMrccJig0t4FI7yw= cloud.google.com/go/longrunning v0.6.7/go.mod h1:EAFV3IZAKmM56TyiE6VAP3VoTzhZzySwI/YI1s/nRsY= cloud.google.com/go/longrunning v0.7.0/go.mod h1:ySn2yXmjbK9Ba0zsQqunhDkYi0+9rlXIwnoAf+h+TPY= -cloud.google.com/go/longrunning v0.8.0 h1:LiKK77J3bx5gDLi4SMViHixjD2ohlkwBi+mKA7EhfW8= cloud.google.com/go/longrunning v0.8.0/go.mod h1:UmErU2Onzi+fKDg2gR7dusz11Pe26aknR4kHmJJqIfk= +cloud.google.com/go/longrunning v0.9.0 h1:0EzbDEGsAvOZNbqXopgniY0w0a1phvu5IdUFq8grmqY= +cloud.google.com/go/longrunning v0.9.0/go.mod h1:pkTz846W7bF4o2SzdWJ40Hu0Re+UoNT6Q5t+igIcb8E= +cloud.google.com/go/longrunning v1.0.0 h1:lwzWEYD8+NkYV7dhexOz6kmlvajZA70+bW/xMhRVVdY= cloud.google.com/go/managedidentities v1.3.0/go.mod h1:UzlW3cBOiPrzucO5qWkNkh0w33KFtBJU281hacNvsdE= cloud.google.com/go/managedidentities v1.4.0/go.mod h1:NWSBYbEMgqmbZsLIyKvxrYbtqOsxY1ZrGM+9RgDqInM= cloud.google.com/go/managedidentities v1.5.0/go.mod h1:+dWcZ0JlUmpuxpIDfyP5pP5y0bLdRwOS4Lp7gMni/LA= @@ -1666,6 +1691,8 @@ cloud.google.com/go/maps v1.20.4/go.mod h1:Act0Ws4HffrECH+pL8YYy1scdSLegov7+0c6g cloud.google.com/go/maps v1.21.0/go.mod h1:cqzZ7+DWUKKbPTgqE+KuNQtiCRyg/o7WZF9zDQk+HQs= cloud.google.com/go/maps v1.23.0/go.mod h1:8tjxLplMV7FEoR9FIwqoY7siDnaOdE7FBWnjaXK/xts= cloud.google.com/go/maps v1.26.0/go.mod h1:+auempdONAP8emtm48aCfNo1ZC+3CJniRA1h8J4u7bY= +cloud.google.com/go/maps v1.27.0/go.mod h1:6EWjz3AFh52w3qe2reWShQDmGRtryhP7NAfGolnr9+g= +cloud.google.com/go/maps v1.29.0/go.mod h1:FNATcM5ziB2TDE2IVWH4f/yeXc+SbUk1X+bmKjR8HEA= cloud.google.com/go/mediatranslation v0.5.0/go.mod h1:jGPUhGTybqsPQn91pNXw0xVHfuJ3leR1wj37oU3y1f4= cloud.google.com/go/mediatranslation v0.6.0/go.mod h1:hHdBCTYNigsBxshbznuIMFNe5QXEowAuNmmC7h8pu5w= cloud.google.com/go/mediatranslation v0.7.0/go.mod h1:LCnB/gZr90ONOIQLgSXagp8XUW1ODs2UmUMvcgMfI2I= @@ -1758,6 +1785,8 @@ cloud.google.com/go/monitoring v1.24.1/go.mod h1:Z05d1/vn9NaujqY2voG6pVQXoJGbp+r cloud.google.com/go/monitoring v1.24.2/go.mod h1:x7yzPWcgDRnPEv3sI+jJGBkwl5qINf+6qY4eq0I9B4U= cloud.google.com/go/monitoring v1.24.3 h1:dde+gMNc0UhPZD1Azu6at2e79bfdztVDS5lvhOdsgaE= cloud.google.com/go/monitoring v1.24.3/go.mod h1:nYP6W0tm3N9H/bOw8am7t62YTzZY+zUeQ+Bi6+2eonI= +cloud.google.com/go/monitoring v1.29.0 h1:AHhDsFaSax1/4k+qlIDX/SDGe6hggnfXJ9dkgD9qBPY= +cloud.google.com/go/monitoring v1.29.0/go.mod h1:72NOVjJXHY/HBfoLT0+qlCZBT059+9VXLeAnL2PeeVM= cloud.google.com/go/networkconnectivity v1.4.0/go.mod h1:nOl7YL8odKyAOtzNX73/M5/mGZgqqMeryi6UPZTk/rA= cloud.google.com/go/networkconnectivity v1.5.0/go.mod h1:3GzqJx7uhtlM3kln0+x5wyFvuVH1pIBJjhCpjzSt75o= cloud.google.com/go/networkconnectivity v1.6.0/go.mod h1:OJOoEXW+0LAxHh89nXd64uGG+FbQoeH8DtxCHVOMlaM= @@ -1783,6 +1812,7 @@ cloud.google.com/go/networkconnectivity v1.16.1/go.mod h1:GBC1iOLkblcnhcnfRV92j4 cloud.google.com/go/networkconnectivity v1.17.1/go.mod h1:DTZCq8POTkHgAlOAAEDQF3cMEr/B9k1ZbpklqvHEBtg= cloud.google.com/go/networkconnectivity v1.19.1/go.mod h1:Q5v6uNNNz8BP232uuXM66XgWML9m379xhwv58Y+8Kb0= cloud.google.com/go/networkconnectivity v1.20.0/go.mod h1:9MzGwD4ljiq+Z2Pg3ue27OEewCuHz7IUfw1fITrIdSw= +cloud.google.com/go/networkconnectivity v1.21.0/go.mod h1:XC1UJ+tqBsLWz73dqrMc7kUvdTv0FIxtDGv6YntTBO0= cloud.google.com/go/networkmanagement v1.4.0/go.mod h1:Q9mdLLRn60AsOrPc8rs8iNV6OHXaGcDdsIQe1ohekq8= cloud.google.com/go/networkmanagement v1.5.0/go.mod h1:ZnOeZ/evzUdUsnvRt792H0uYEnHQEMaz+REhhzJRcf4= cloud.google.com/go/networkmanagement v1.6.0/go.mod h1:5pKPqyXjB/sgtvB5xqOemumoQNB7y95Q7S+4rjSOPYY= @@ -1806,6 +1836,8 @@ cloud.google.com/go/networkmanagement v1.18.0/go.mod h1:yTxpAFuvQOOKgL3W7+k2Rp1b cloud.google.com/go/networkmanagement v1.19.1/go.mod h1:icgk265dNnilxQzpr6rO9WuAuuCmUOqq9H6WBeM2Af4= cloud.google.com/go/networkmanagement v1.20.1/go.mod h1:clG/5Yt0wQ57qSH6Yh7oehQYlobHw3F6nb3Pn4ig5hU= cloud.google.com/go/networkmanagement v1.21.0/go.mod h1:clG/5Yt0wQ57qSH6Yh7oehQYlobHw3F6nb3Pn4ig5hU= +cloud.google.com/go/networkmanagement v1.22.0/go.mod h1:RGR62aLOlm72C7DT/3yaMUK43oill6hj9wqktUQ8h6Q= +cloud.google.com/go/networkmanagement v1.23.0/go.mod h1:QTYCWp5UxUnU280SqF7AX/mf6NhsqKblmLeCALQmx5c= cloud.google.com/go/networksecurity v0.5.0/go.mod h1:xS6fOCoqpVC5zx15Z/MqkfDwH4+m/61A3ODiDV1xmiQ= cloud.google.com/go/networksecurity v0.6.0/go.mod h1:Q5fjhTr9WMI5mbpRYEbiexTzROf7ZbDzvzCrNl14nyU= cloud.google.com/go/networksecurity v0.7.0/go.mod h1:mAnzoxx/8TBSyXEeESMy9OOYwo1v+gZ5eMRnsT5bC8k= @@ -1937,6 +1969,7 @@ cloud.google.com/go/osconfig v1.14.5/go.mod h1:XH+NjBVat41I/+xgQzKOJEhuC4xI7lX2I cloud.google.com/go/osconfig v1.14.6/go.mod h1:LS39HDBH0IJDFgOUkhSZUHFQzmcWaCpYXLrc3A4CVzI= cloud.google.com/go/osconfig v1.15.0/go.mod h1:0nY8bfGKWJB0Ft5bBKd2zMkjT4Uf0rM3NBFrAGUv1Lk= cloud.google.com/go/osconfig v1.15.1/go.mod h1:NegylQQl0+5m+I+4Ey/g3HGeQxKkncQ1q+Il4DZ8PME= +cloud.google.com/go/osconfig v1.16.0/go.mod h1:PRmLgZ1loD1hGaqnTBww1nETbqcqAvmTQOLYiIZ7Nvk= cloud.google.com/go/oslogin v1.4.0/go.mod h1:YdgMXWRaElXz/lDk1Na6Fh5orF7gvmJ0FGLIs9LId4E= cloud.google.com/go/oslogin v1.5.0/go.mod h1:D260Qj11W2qx/HVF29zBg+0fd6YCSjSqLUkY/qEenQU= cloud.google.com/go/oslogin v1.6.0/go.mod h1:zOJ1O3+dTU8WPlGEkFSh7qeHPPSoxrcMbbK1Nm2iX70= @@ -2207,6 +2240,7 @@ cloud.google.com/go/retail v1.20.0/go.mod h1:1CXWDZDJTOsK6lPjkv67gValP9+h1TMadTC cloud.google.com/go/retail v1.21.0/go.mod h1:LuG+QvBdLfKfO+7nnF3eA3l1j4TQw3Sg+UqlUorquRc= cloud.google.com/go/retail v1.25.0/go.mod h1:J75G8pd+DH0SHueL9IJw7Y5d2VhTsjFsk+F1t9f8jXc= cloud.google.com/go/retail v1.25.1/go.mod h1:J75G8pd+DH0SHueL9IJw7Y5d2VhTsjFsk+F1t9f8jXc= +cloud.google.com/go/retail v1.26.0/go.mod h1:gMfh6s174Mvy1rK4g50J9TH5sRim8px+Krml25kdrqo= cloud.google.com/go/run v0.2.0/go.mod h1:CNtKsTA1sDcnqqIFR3Pb5Tq0usWxJJvsWOCPldRU3Do= cloud.google.com/go/run v0.3.0/go.mod h1:TuyY1+taHxTjrD0ZFk2iAR+xyOXEA0ztb7U3UNA0zBo= cloud.google.com/go/run v0.8.0/go.mod h1:VniEnuBwqjigv0A7ONfQUaEItaiCRVujlMqerPPiktM= @@ -2406,6 +2440,7 @@ cloud.google.com/go/spanner v1.82.0/go.mod h1:BzybQHFQ/NqGxvE/M+/iU29xgutJf7Q85/ cloud.google.com/go/spanner v1.85.1/go.mod h1:bbwCXbM+zljwSPLZ44wZOdzcdmy89hbUGmM/r9sD0ws= cloud.google.com/go/spanner v1.86.1/go.mod h1:bbwCXbM+zljwSPLZ44wZOdzcdmy89hbUGmM/r9sD0ws= cloud.google.com/go/spanner v1.87.0/go.mod h1:tcj735Y2aqphB6/l+X5MmwG4NnV+X1NJIbFSZGaHYXw= +cloud.google.com/go/spanner v1.88.0/go.mod h1:MzulBwuuYwQUVdkZXBBFapmXee3N+sQrj2T/yup6uEE= cloud.google.com/go/speech v1.6.0/go.mod h1:79tcr4FHCimOp56lwC01xnt/WPJZc4v3gzyT7FoBkCM= cloud.google.com/go/speech v1.7.0/go.mod h1:KptqL+BAQIhMsj1kOP2la5DSEEerPDuOP/2mmkhHhZQ= cloud.google.com/go/speech v1.8.0/go.mod h1:9bYIl1/tjsAnMgKGHKmBZzXKEkGgtU+MpdDPTE9f7y0= @@ -2431,8 +2466,9 @@ cloud.google.com/go/speech v1.27.1/go.mod h1:efCfklHFL4Flxcdt9gpEMEJh9MupaBzw3Qi cloud.google.com/go/speech v1.28.0/go.mod h1:hJf6oa+1rzCW/CeDE/qCXedV20B2TXEUje5iaGwW+JI= cloud.google.com/go/speech v1.28.1/go.mod h1:+EN8Zuy6y2BKe9P1RAmMaFPAgBns6m+XMgXAfkYtSSE= cloud.google.com/go/speech v1.29.0/go.mod h1:wtUmIS/h0ZYU6cPA9klcyST3f6i2FdnvNDqENjrRDds= -cloud.google.com/go/storage v1.61.3 h1:VS//ZfBuPGDvakfD9xyPW1RGF1Vy3BWUoVZXgW1KMOg= -cloud.google.com/go/storage v1.61.3/go.mod h1:JtqK8BBB7TWv0HVGHubtUdzYYrakOQIsMLffZ2Z/HWk= +cloud.google.com/go/speech v1.30.0/go.mod h1:F2+NJujR8uzDLd6bwy5kgtVycxvEq06nzvzz5eQ/gMo= +cloud.google.com/go/storage v1.62.3 h1:SZq1t23NCI+e96dH77Dg3PEfsNNEjqO8zE5AnD8gVD0= +cloud.google.com/go/storage v1.62.3/go.mod h1:cpYz/kRVZ+UQAF1uHeea10/9ewcRbxGoGNKsS9daSXA= cloud.google.com/go/storagetransfer v1.5.0/go.mod h1:dxNzUopWy7RQevYFHewchb29POFv3/AaBgnhqzqiK0w= cloud.google.com/go/storagetransfer v1.6.0/go.mod h1:y77xm4CQV/ZhFZH75PLEXY0ROiS7Gh6pSKrM8dJyg6I= cloud.google.com/go/storagetransfer v1.7.0/go.mod h1:8Giuj1QNb1kfLAiWM1bN6dHzfdlDAVC9rv9abHot2W4= @@ -2541,6 +2577,7 @@ cloud.google.com/go/trace v1.11.5/go.mod h1:TwblCcqNInriu5/qzaeYEIH7wzUcchSdeY2l cloud.google.com/go/trace v1.11.6/go.mod h1:GA855OeDEBiBMzcckLPE2kDunIpC72N+Pq8WFieFjnI= cloud.google.com/go/trace v1.11.7 h1:kDNDX8JkaAG3R2nq1lIdkb7FCSi1rCmsEtKVsty7p+U= cloud.google.com/go/trace v1.11.7/go.mod h1:TNn9d5V3fQVf6s4SCveVMIBS2LJUqo73GACmq/Tky0s= +cloud.google.com/go/trace v1.16.0 h1:GmQovzFc5F0CNfl0VLgL64aoTtu7xsM0YajW2GlG9+E= cloud.google.com/go/translate v1.3.0/go.mod h1:gzMUwRjvOqj5i69y/LYLd8RrNQk+hOmIXTi9+nb3Djs= cloud.google.com/go/translate v1.4.0/go.mod h1:06Dn/ppvLD6WvA5Rhdp029IX2Mi3Mn7fpMRLPvXT5Wg= cloud.google.com/go/translate v1.5.0/go.mod h1:29YDSYveqqpA1CQFD7NQuP49xymq17RXNaUDdc0mNu0= @@ -2761,30 +2798,32 @@ cloud.google.com/go/workflows v1.13.2/go.mod h1:l5Wj2Eibqba4BsADIRzPLaevLmIuYF2W cloud.google.com/go/workflows v1.13.3/go.mod h1:Xi7wggEt/ljoEcyk+CB/Oa1AHBCk0T1f5UH/exBB5CE= cloud.google.com/go/workflows v1.14.2/go.mod h1:5nqKjMD+MsJs41sJhdVrETgvD5cOK3hUcAs8ygqYvXQ= cloud.google.com/go/workflows v1.14.3/go.mod h1:CC9+YdVI2Kvp0L58WajHpEfKJxhrtRh3uQ0SYWcmAk4= -code.cloudfoundry.org/bytefmt v0.67.0 h1:5zOnQBHYlHQMXXs42nzUJHUVTlhni0Kdlaxzwguxudg= -code.cloudfoundry.org/bytefmt v0.67.0/go.mod h1:JT2/SZbghzGk207djL8l4a1IMsxG/48vf+RbqTa/SBA= +code.cloudfoundry.org/bytefmt v0.75.0 h1:iEKNj6o2z+mC+XYCJILDKN89gaYZY2dkj4PzrqegKeM= +code.cloudfoundry.org/bytefmt v0.75.0/go.mod h1:XXsjlgeG46nCv0bDGG3atkR+JeLfjQLaYJtiVUIPi10= codeberg.org/go-fonts/dejavu v0.4.0 h1:2yn58Vkh4CFK3ipacWUAIE3XVBGNa0y1bc95Bmfx91I= codeberg.org/go-fonts/dejavu v0.4.0/go.mod h1:abni088lmhQJvso2Lsb7azCKzwkfcnttl6tL1UTWKzg= codeberg.org/go-fonts/latin-modern v0.4.0 h1:vkRCc1y3whKA7iL9Ep0fSGVuJfqjix0ica9UflHORO8= codeberg.org/go-fonts/latin-modern v0.4.0/go.mod h1:BF68mZznJ9QHn+hic9ks2DaFl4sR5YhfM6xTYaP9vNw= +codeberg.org/go-fonts/latin-modern v0.5.0 h1:5vzaHjM+3uTRHhqQUuTZ/4FoVZkqXufyuKB9SdpLGp0= codeberg.org/go-fonts/liberation v0.5.0 h1:SsKoMO1v1OZmzkG2DY+7ZkCL9U+rrWI09niOLfQ5Bo0= codeberg.org/go-fonts/liberation v0.5.0/go.mod h1:zS/2e1354/mJ4pGzIIaEtm/59VFCFnYC7YV6YdGl5GU= +codeberg.org/go-fonts/liberation v0.6.0 h1:15Gh6SdwYve22CWCm9jYpVpRuaTh726av2TgHTHvAtQ= +codeberg.org/go-fonts/liberation v0.6.0/go.mod h1:J15VAa+lyxdcI/Je7lDDDl6QOhLk9feNBnnwXqEHXOk= codeberg.org/go-fonts/stix v0.3.0/go.mod h1:1OSJSnA/PoHqbW2tjkkqTmNPp5xTtJQN2GRXJjO/+WA= -codeberg.org/go-latex/latex v0.1.0 h1:hoGO86rIbWVyjtlDLzCqZPjNykpWQ9YuTZqAzPcfL3c= codeberg.org/go-latex/latex v0.1.0/go.mod h1:LA0q/AyWIYrqVd+A9Upkgsb+IqPcmSTKc9Dny04MHMw= codeberg.org/go-latex/latex v0.2.0 h1:Ol/a6VHY06N+5gPfewswymoRb5ZcKDXWVaVegcx4hbI= codeberg.org/go-latex/latex v0.2.0/go.mod h1:VJAwQir7/T8LZxj7xAPivISKiVOwkMpQ8bTuPQ31X0Y= -codeberg.org/go-pdf/fpdf v0.10.0 h1:u+w669foDDx5Ds43mpiiayp40Ov6sZalgcPMDBcZRd4= +codeberg.org/go-latex/latex v0.3.0 h1:LKTaDHFbEC2PH1sh0sYv6PZ1pzs/g2aoeV1HItWj/bg= +codeberg.org/go-latex/latex v0.3.0/go.mod h1:8ETijTpK2bFtwRAXLXe1RZJrYxnc5pibibZfQBj+Lk4= codeberg.org/go-pdf/fpdf v0.10.0/go.mod h1:Y0DGRAdZ0OmnZPvjbMp/1bYxmIPxm0ws4tfoPOc4LjU= codeberg.org/go-pdf/fpdf v0.11.1 h1:U8+coOTDVLxHIXZgGvkfQEi/q0hYHYvEHFuGNX2GzGs= codeberg.org/go-pdf/fpdf v0.11.1/go.mod h1:Y0DGRAdZ0OmnZPvjbMp/1bYxmIPxm0ws4tfoPOc4LjU= +codeberg.org/go-pdf/fpdf v0.12.0 h1:g8E/1VqGqB2lZUUaqQrrTnA0IEJLPTTX1DZ0qS/ZmhU= +codeberg.org/go-pdf/fpdf v0.12.0/go.mod h1:WJNJ2bvCj81rZBdhOf7lKOGoSl+OKMXcIcXqDcP8r5Y= contrib.go.opencensus.io/exporter/stackdriver v0.13.15-0.20230702191903-2de6d2748484/go.mod h1:uxw+4/0SiKbbVSD/F2tk5pJTdVcfIBBcsQ8gwcu4X+E= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= dmitri.shuralyov.com/gpu/mtl v0.0.0-20201218220906-28db891af037/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= dmitri.shuralyov.com/gpu/mtl v0.0.0-20221208032759-85de2813cf6b/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4= -filippo.io/edwards25519 v1.1.1 h1:YpjwWWlNmGIDyXOn8zLzqiD+9TyIlPhGFG96P39uBpw= -filippo.io/edwards25519 v1.1.1/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4= filippo.io/edwards25519 v1.2.0 h1:crnVqOiS4jqYleHd9vaKZ+HKtHfllngJIiOpNpoJsjo= filippo.io/edwards25519 v1.2.0/go.mod h1:xzAOLCNug/yB62zG1bQ8uziwrIqIuxhctzJT18Q77mc= gioui.org v0.0.0-20210822154628-43a7030f6e0b/go.mod h1:jmZ349gZNGWyc5FIv/VWLBQ32Ki/FOvTgEz64kh9lnk= @@ -2794,10 +2833,11 @@ gioui.org/shader v1.0.0/go.mod h1:mWdiME581d/kV7/iEhLmUgUK5iZ09XR5XpduXzbePVM= git.sr.ht/~sbinet/cmpimg v0.1.0 h1:E0zPRk2muWuCqSKSVZIWsgtU9pjsw3eKHi8VmQeScxo= git.sr.ht/~sbinet/cmpimg v0.1.0/go.mod h1:FU12psLbF4TfNXkKH2ZZQ29crIqoiqTZmeQ7dkp/pxE= git.sr.ht/~sbinet/gg v0.3.1/go.mod h1:KGYtlADtqsqANL9ueOFkWymvzUvLMQllU5Ixo+8v3pc= -git.sr.ht/~sbinet/gg v0.6.0 h1:RIzgkizAk+9r7uPzf/VfbJHBMKUr0F5hRFxTUGMnt38= git.sr.ht/~sbinet/gg v0.6.0/go.mod h1:uucygbfC9wVPQIfrmwM2et0imr8L7KQWywX0xpFMm94= git.sr.ht/~sbinet/gg v0.7.0 h1:YmNf7YKd7diDMTPm86hZa1EM3pbkOyD/zzjl0LZUdNM= git.sr.ht/~sbinet/gg v0.7.0/go.mod h1:VYeli15tpMM4EvqlivlVbbyvWZlOU+EZn4XZmfBGUdM= +git.sr.ht/~sbinet/gg v0.8.0 h1:PjQ4AgUWRz7Dy6PVBKMLLg96eRCos1U+H6F3FJuKWHo= +git.sr.ht/~sbinet/gg v0.8.0/go.mod h1:XhlGCvSXts+BaZ1XMZLxLSFUDvwsJ/2El5F6XzPep6o= github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25UVaW/CKtUDjefjrs0SPonmDGUVOYP0= github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= @@ -2807,6 +2847,7 @@ github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.5.0/go.mod h1:dppbR7CwXD4pgtV9t3wD1812RaLDcBjtblcDF5f1vI0= github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.5.2/go.mod h1:dppbR7CwXD4pgtV9t3wD1812RaLDcBjtblcDF5f1vI0= github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.5.3/go.mod h1:dppbR7CwXD4pgtV9t3wD1812RaLDcBjtblcDF5f1vI0= +github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.6.0/go.mod h1:I7kE2kM3qCr9QPT4cU4cCFYkEpVyVr16YOGUHzy+nR0= github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.24.1/go.mod h1:itPGVDKf9cC/ov4MdvJ2QZ0khw4bfoo9jzwTJlaxy2k= github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.24.2/go.mod h1:itPGVDKf9cC/ov4MdvJ2QZ0khw4bfoo9jzwTJlaxy2k= github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.25.0/go.mod h1:obipzmGjfSjam60XLwGfqUkJsfiheAl+TUjG+4yzyPM= @@ -2815,6 +2856,8 @@ github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.29.0 github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.30.0/go.mod h1:P4WPRUkOhJC13W//jWpyfJNDAIpvRbAUIYLX/4jtlE0= github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.31.0 h1:DHa2U07rk8syqvCge0QIGMCE1WxGj9njT44GH7zNJLQ= github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.31.0/go.mod h1:P4WPRUkOhJC13W//jWpyfJNDAIpvRbAUIYLX/4jtlE0= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.33.0 h1:l7+6kwRMJNwdCvYdDl7Eax+wzEYHSnNY7zrrfbhDdTA= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.33.0/go.mod h1:pJTkW8hEUIIi3Pf65lPZOnn4Y81yCllX6IWk2jNXdkM= github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.48.1/go.mod h1:jyqM3eLpJ3IbIFDTKVz2rF9T/xWGW0rIriGwnz8l9Tk= github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.49.0/go.mod h1:6fTWu4m3jocfUZLYF5KsZC1TUfRvEjs7lM4crme/irw= github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.50.0/go.mod h1:ZV4VOm0/eHR06JLrXWe09068dHpr3TRpY9Uo7T+anuA= @@ -2823,6 +2866,8 @@ github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.53 github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.54.0/go.mod h1:l9rva3ApbBpEJxSNYnwT9N4CDLrWgtq3u8736C5hyJw= github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.55.0 h1:UnDZ/zFfG1JhH/DqxIZYU/1CUAlTUScoXD/LcM2Ykk8= github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.55.0/go.mod h1:IA1C1U7jO/ENqm/vhi7V9YYpBsp+IMyqNrEN94N7tVc= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.57.0 h1:jLdiS1vO+XJFyDSWRHBx56r4s/NNtcl5J6KyCcWUX/w= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.57.0/go.mod h1:8lmpHY+1VRoteiOwyrQMDt1YGXOrFKCz+1wJW7n3ODY= github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.48.1/go.mod h1:0wEl7vrAD8mehJyohS9HZy+WyEOaQO2mJx86Cvh93kM= github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.49.0/go.mod h1:l2fIqmwB+FKSfvn3bAD/0i+AXAxhIZjTK2svT/mgUXs= github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.50.0/go.mod h1:SZiPHWGOOk3bl8tkevxkoiwPgsIl6CwrWcbwjfHZpdM= @@ -2831,6 +2876,7 @@ github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0 github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.54.0/go.mod h1:vB2GH9GAYYJTO3mEn8oYwzEdhlayZIdQz6zdzgUIRvA= github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.55.0 h1:7t/qx5Ost0s0wbA/VDrByOooURhp+ikYwv20i9Y07TQ= github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.55.0/go.mod h1:vB2GH9GAYYJTO3mEn8oYwzEdhlayZIdQz6zdzgUIRvA= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.57.0 h1:cSjUzZ7KU8hicTgzaSv9NmSyM9fTVK3y5lsBUl3wOis= github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.48.1/go.mod h1:viRWSEhtMZqz1rhwmOVKkWl6SwmVowfL9O2YR5gI2PE= github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.49.0/go.mod h1:wRbFgBQUVm1YXrvWKofAEmq9HNJTDphbAaJSSX01KUI= github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.50.0/go.mod h1:otE2jQekW/PqXk1Awf5lmfokJx4uwuqcj1ab5SpGeW0= @@ -2839,11 +2885,13 @@ github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapp github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.54.0/go.mod h1:Mf6O40IAyB9zR/1J8nGDDPirZQQPbYJni8Yisy7NTMc= github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.55.0 h1:0s6TxfCu2KHkkZPnBfsQ2y5qia0jl3MMrmBhu3nCOYk= github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.55.0/go.mod h1:Mf6O40IAyB9zR/1J8nGDDPirZQQPbYJni8Yisy7NTMc= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.57.0 h1:RoO5+d7uCmDqovLrHCr2/BuViUXvdcrNxyNM1pN9dDQ= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.57.0/go.mod h1:YqwkQPrWSC7+byyc1VlKbWLBF5JsW5IoL6xUkemYSXk= github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c/go.mod h1:X0CRv0ky0k6m906ixxpzmDRLvX58TFUKS2eePweuyxk= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= -github.com/Masterminds/semver/v3 v3.3.1/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= -github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1Xbatp0= github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= +github.com/Masterminds/semver/v3 v3.5.0 h1:kQceYJfbupGfZOKZQg0kou0DgAKhzDg2NZPAwZ/2OOE= +github.com/Masterminds/semver/v3 v3.5.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU= github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= @@ -2895,82 +2943,80 @@ github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZw github.com/aws/aws-sdk-go-v2 v1.17.5/go.mod h1:uzbQtefpm44goOPmdKyAlXSNcwlRgF3ePWVW6EtJvvw= github.com/aws/aws-sdk-go-v2 v1.25.2/go.mod h1:Evoc5AsmtveRt1komDwIsjHFyrP5tDuF1D1U+6z6pNo= github.com/aws/aws-sdk-go-v2 v1.36.3/go.mod h1:LLXuLpgzEbD766Z5ECcRmi8AzSwfZItDtmABVkRLGzg= -github.com/aws/aws-sdk-go-v2 v1.40.0 h1:/WMUA0kjhZExjOQN2z3oLALDREea1A7TobfuiBrKlwc= -github.com/aws/aws-sdk-go-v2 v1.40.0/go.mod h1:c9pm7VwuW0UPxAEYGyTmyurVcNrbF6Rt/wixFqDhcjE= -github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.3 h1:DHctwEM8P8iTXFxC/QK0MRjwEpWQeM9yzidCRjldUz0= -github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.3/go.mod h1:xdCzcZEtnSTKVDOmUZs4l/j3pSV6rpo1WXl5ugNsL8Y= +github.com/aws/aws-sdk-go-v2 v1.41.9 h1:/rYeyO2+HrMztAmxAq9++XJtFMqSIpSsNA0yDGALYq4= +github.com/aws/aws-sdk-go-v2 v1.41.9/go.mod h1:+HsoOEX80qAVUitj1A2DhCNTjmb3edVyuDypb6LNEeo= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.11 h1:h5+3VT69KUBK24grGuuA5saDJTj2IIjLb9au668Fo5I= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.11/go.mod h1:dnakxebH6UwFvcvujL0LVggYQ8nEvBGjU4G/V79Nv94= github.com/aws/aws-sdk-go-v2/config v1.18.14/go.mod h1:0pI6JQBHKwd0JnwAZS3VCapLKMO++UL2BOkWwyyzTnA= github.com/aws/aws-sdk-go-v2/config v1.27.4/go.mod h1:zq2FFXK3A416kiukwpsd+rD4ny6JC7QSkp4QdN1Mp2g= github.com/aws/aws-sdk-go-v2/config v1.29.12/go.mod h1:xse1YTjmORlb/6fhkWi8qJh3cvZi4JoVNhc+NbJt4kI= -github.com/aws/aws-sdk-go-v2/config v1.32.2 h1:4liUsdEpUUPZs5WVapsJLx5NPmQhQdez7nYFcovrytk= -github.com/aws/aws-sdk-go-v2/config v1.32.2/go.mod h1:l0hs06IFz1eCT+jTacU/qZtC33nvcnLADAPL/XyrkZI= +github.com/aws/aws-sdk-go-v2/config v1.32.20 h1:8VMDnWc/kEzxsI/1ngGM9mG81a8IGmIHD8KLcYGwagc= +github.com/aws/aws-sdk-go-v2/config v1.32.20/go.mod h1:PuwEpciweIXGULWeOeSTXtSbH4CW9mWdWrhdCKQI1sM= github.com/aws/aws-sdk-go-v2/credentials v1.13.14/go.mod h1:85ckagDuzdIOnZRwws1eLKnymJs3ZM1QwVC1XcuNGOY= github.com/aws/aws-sdk-go-v2/credentials v1.17.4/go.mod h1:+30tpwrkOgvkJL1rUZuRLoxcJwtI/OkeBLYnHxJtVe0= github.com/aws/aws-sdk-go-v2/credentials v1.17.65/go.mod h1:4zyjAuGOdikpNYiSGpsGz8hLGmUzlY8pc8r9QQ/RXYQ= -github.com/aws/aws-sdk-go-v2/credentials v1.19.2 h1:qZry8VUyTK4VIo5aEdUcBjPZHL2v4FyQ3QEOaWcFLu4= -github.com/aws/aws-sdk-go-v2/credentials v1.19.2/go.mod h1:YUqm5a1/kBnoK+/NY5WEiMocZihKSo15/tJdmdXnM5g= +github.com/aws/aws-sdk-go-v2/credentials v1.19.19 h1:yuFzSV1U0aRNYCQGVaTY2zW2M/L93pYHnXnrJUphYhU= +github.com/aws/aws-sdk-go-v2/credentials v1.19.19/go.mod h1:7y63L1kGzeoDlJaQ3Z578KrnmfBut96JjvJUzGwR+YE= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.23/go.mod h1:mOtmAg65GT1HIL/HT/PynwPbS+UG0BgCZ6vhkPqnxWo= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.15.2/go.mod h1:iRlGzMix0SExQEviAyptRWRGdYNo3+ufW/lCzvKVTUc= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.30/go.mod h1:Jpne2tDnYiFascUEs2AWHJL9Yp7A5ZVy3TNyxaAjD6M= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.14 h1:WZVR5DbDgxzA0BJeudId89Kmgy6DIU4ORpxwsVHz0qA= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.14/go.mod h1:Dadl9QO0kHgbrH1GRqGiZdYtW5w+IXXaBNCHTIaheM4= -github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.20.12 h1:Zy6Tme1AA13kX8x3CnkHx5cqdGWGaj/anwOiWGnA0Xo= -github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.20.12/go.mod h1:ql4uXYKoTM9WUAUSmthY4AtPVrlTBZOvnBJTiCUdPxI= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.25 h1:0w6dCiO8iez+YKwRhRBlL1CH/E3GTfdkuzrwj1by8vo= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.25/go.mod h1:9FDWUothyr5RCRAHc45XOiVCzUR8n/IhCYX+uVqw6vk= +github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager v0.2.3 h1:w5OoDiMN6x53ROmiIImGzmVcxXv2q1GXY+aKV4WAJYM= +github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager v0.2.3/go.mod h1:dAhgYp776bX3LuWvnSCFwQEjNs6fuFg7YXIy5PXcP3Q= github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.29/go.mod h1:Dip3sIGv485+xerzVv24emnjX5Sg88utCL8fwGmCeWg= github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.2/go.mod h1:wRQv0nN6v9wDXuWThpovGQjqF1HFdcgWjporw14lS8k= github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.34/go.mod h1:p4VfIceZokChbA9FzMbRGz5OV+lekcVtHlPKEO0gSZY= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.14 h1:PZHqQACxYb8mYgms4RZbhZG0a7dPW06xOjmaH0EJC/I= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.14/go.mod h1:VymhrMJUWs69D8u0/lZ7jSB6WgaG/NqHi3gX0aYf6U0= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.25 h1:Uii3frf9ztec/ABM2/FSH9/z7PLzxfpG8h4RpkUFflQ= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.25/go.mod h1:G6kntsA2GorAxDPbap6xgB2F+amSLUF8GJTi7PUoX44= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.23/go.mod h1:mr6c4cHC+S/MMkrjtSlG4QA36kOznDep+0fga5L/fGQ= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.2/go.mod h1:tyF5sKccmDz0Bv4NrstEr+/9YkSPJHrcO7UsUKf7pWM= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.34/go.mod h1:dFZsC0BLo346mvKQLWmoJxT+Sjp+qcVR1tRVHQGOH9Q= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.14 h1:bOS19y6zlJwagBfHxs0ESzr1XCOU2KXJCWcq3E2vfjY= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.14/go.mod h1:1ipeGBMAxZ0xcTm6y6paC2C/J6f6OO7LBODV9afuAyM= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.25 h1:r1+/l6m+WaUJF9HISEsNOLHSNj5EXYQxK8VX6Cz9NlA= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.25/go.mod h1:cKf+D+NMDK1LndD7BowHbBZPgR9V0/5HubH0PFWvA+c= github.com/aws/aws-sdk-go-v2/internal/ini v1.3.30/go.mod h1:vsbq62AOBwQ1LJ/GWKFxX8beUEYeRp/Agitrxee2/qM= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0/go.mod h1:8tu/lYfQfFe6IGnaOdrpVgEL2IrrDOf6/m9RQum4NkY= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3/go.mod h1:H5O/EsxDWyU+LP/V8i5sm8cxoZgc2fdNR9bxlOFrQTo= -github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4 h1:WKuaxf++XKWlHWu9ECbMlha8WOEGm0OUEZqm4K/Gcfk= -github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4/go.mod h1:ZWy7j6v1vWGmPReu0iSGvRiise4YI5SkR3OHKTZ6Wuc= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.14 h1:ITi7qiDSv/mSGDSWNpZ4k4Ve0DQR6Ug2SJQ8zEHoDXg= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.14/go.mod h1:k1xtME53H1b6YpZt74YmwlONMWf4ecM+lut1WQLAF/U= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.26 h1:A1PmWU2zfkIm9EyFlJncFXL4W4phML+h8KjltUsCvNQ= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.26/go.mod h1:dY4MRzXEizrD4hqtpKvWVGPX7QleSGGVY+EBolo1RmM= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.1/go.mod h1:JKpmtYhhPs7D97NL/ltqz7yCkERFW5dOlHyVl66ZYF8= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.3/go.mod h1:0yKJC/kb8sAnmlYa6Zs3QVYqaC8ug2AbnNChv5Ox3uA= -github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.3 h1:x2Ibm/Af8Fi+BH+Hsn9TXGdT+hKbDd5XOTZxTMxDk7o= -github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.3/go.mod h1:IW1jwyrQgMdhisceG8fQLmQIydcT/jWY21rFhzgaKwo= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.5 h1:Hjkh7kE6D81PgrHlE/m9gx+4TyyeLHuY8xJs7yXN5C4= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.5/go.mod h1:nPRXgyCfAurhyaTMoBMwRBYBhaHI4lNPAnJmjM0Tslc= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.10 h1:d5/908OJ4bXg8lyjeMPvXetEKqoDoLi5Owy1zNue3yg= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.10/go.mod h1:a57l7Hwh+FWI+we50g5NPJHYUKeJKfXbc4w8SyXu8Ig= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.18 h1:W/EyPFl9A5rXrtoilfwHYEvzHER+K4SpBPtMXi24Mos= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.18/go.mod h1:UG50K+pvd/uy6xExbobg0rjqFBFZe6I3l75EPDZw4tg= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.23/go.mod h1:9uPh+Hrz2Vn6oMnQYiUi/zbh3ovbnQk19YKINkQny44= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.2/go.mod h1:Ru7vg1iQ7cR4i7SZ/JTLYN9kaXtbL69UdgG0OQWQxW0= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.15/go.mod h1:SwFBy2vjtA0vZbjjaFtfN045boopadnoVPhu4Fv66vY= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.14 h1:FIouAnCE46kyYqyhs0XEBDFFSREtdnr8HQuLPQPLCrY= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.14/go.mod h1:UTwDc5COa5+guonQU8qBikJo1ZJ4ln2r1MkF7Dqag1E= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.14 h1:FzQE21lNtUor0Fb7QNgnEyiRCBlolLTX/Z1j65S7teM= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.14/go.mod h1:s1ydyWG9pm3ZwmmYN21HKyG9WzAZhYVW85wMHs5FV6w= -github.com/aws/aws-sdk-go-v2/service/s3 v1.92.1 h1:OgQy/+0+Kc3khtqiEOk23xQAglXi3Tj0y5doOxbi5tg= -github.com/aws/aws-sdk-go-v2/service/s3 v1.92.1/go.mod h1:wYNqY3L02Z3IgRYxOBPH9I1zD9Cjh9hI5QOy/eOjQvw= -github.com/aws/aws-sdk-go-v2/service/signin v1.0.2 h1:MxMBdKTYBjPQChlJhi4qlEueqB1p1KcbTEa7tD5aqPs= -github.com/aws/aws-sdk-go-v2/service/signin v1.0.2/go.mod h1:iS6EPmNeqCsGo+xQmXv0jIMjyYtQfnwg36zl2FwEouk= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.25 h1:dD3dhHNglpd98gs72my22Ndqi1hqQGllFFg1F+twfxg= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.25/go.mod h1:0yAbjPfd64gG7mj85RW+fMEYdfBgCRZw8g/oWcL1pjc= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.25 h1:2pQEbwf+/6EDbiit/GcBE2K4IUpMZymaA0kOz3xK978= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.25/go.mod h1:KvT6NCcQ0EZ+ZkVRrlBMt04Po3ok23YELEp7WimhLhM= +github.com/aws/aws-sdk-go-v2/service/s3 v1.102.2 h1:ie4ElCmUKS26pzrZcIk/lmt4yWjAqLLcawstyQCh298= +github.com/aws/aws-sdk-go-v2/service/s3 v1.102.2/go.mod h1:zjsomFeX5duj+4PlMB+o4JoWTIx+G0XMyzjYrUbQkN0= +github.com/aws/aws-sdk-go-v2/service/signin v1.1.1 h1:1VwbP3qMNfxUDEXWki4rCE5iA+44VA1lokTz9HasGzw= +github.com/aws/aws-sdk-go-v2/service/signin v1.1.1/go.mod h1:vUtyoSj0OPji3kjIVSc/GlKuWEiL33f/WFxl6dmpy/A= github.com/aws/aws-sdk-go-v2/service/sso v1.12.3/go.mod h1:jtLIhd+V+lft6ktxpItycqHqiVXrPIRjWIsFIlzMriw= github.com/aws/aws-sdk-go-v2/service/sso v1.20.1/go.mod h1:RsYqzYr2F2oPDdpy+PdhephuZxTfjHQe7SOBcZGoAU8= github.com/aws/aws-sdk-go-v2/service/sso v1.25.2/go.mod h1:qs4a9T5EMLl/Cajiw2TcbNt2UNo/Hqlyp+GiuG4CFDI= -github.com/aws/aws-sdk-go-v2/service/sso v1.30.5 h1:ksUT5KtgpZd3SAiFJNJ0AFEJVva3gjBmN7eXUZjzUwQ= -github.com/aws/aws-sdk-go-v2/service/sso v1.30.5/go.mod h1:av+ArJpoYf3pgyrj6tcehSFW+y9/QvAY8kMooR9bZCw= +github.com/aws/aws-sdk-go-v2/service/sso v1.30.19 h1:N6pIsdFOW1Kd9S4KyFKXdGRBojPPxkP32+uHFWLv4Hc= +github.com/aws/aws-sdk-go-v2/service/sso v1.30.19/go.mod h1:3gt5WJArFooNmyLONS+h/R4J+o86II8du38IgCwj9dE= github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.3/go.mod h1:zVwRrfdSmbRZWkUkWjOItY7SOalnFnq/Yg2LVPqDjwc= github.com/aws/aws-sdk-go-v2/service/ssooidc v1.23.1/go.mod h1:YjAPFn4kGFqKC54VsHs5fn5B6d+PCY2tziEa3U/GB5Y= github.com/aws/aws-sdk-go-v2/service/ssooidc v1.30.0/go.mod h1:MlYRNmYu/fGPoxBQVvBYr9nyr948aY/WLUvwBMBJubs= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.10 h1:GtsxyiF3Nd3JahRBJbxLCCdYW9ltGQYrFWg8XdkGDd8= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.10/go.mod h1:/j67Z5XBVDx8nZVp9EuFM9/BS5dvBznbqILGuu73hug= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.36.2 h1:hc+lBYiiTr8Zk4MTzIsQ92MeDWCIDvWGmzKUWOaBcOg= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.36.2/go.mod h1:hU6fqB3OJA6/ePheD47LQnxvjYk6br6PtQxs+Q9ojvk= github.com/aws/aws-sdk-go-v2/service/sts v1.18.4/go.mod h1:1mKZHLLpDMHTNSYPJ7qrcnCQdHCWsNQaT0xRvq2u80s= github.com/aws/aws-sdk-go-v2/service/sts v1.28.1/go.mod h1:uQ7YYKZt3adCRrdCBREm1CD3efFLOUNH77MrUCvx5oA= github.com/aws/aws-sdk-go-v2/service/sts v1.33.17/go.mod h1:cQnB8CUnxbMU82JvlqjKR2HBOm3fe9pWorWBza6MBJ4= -github.com/aws/aws-sdk-go-v2/service/sts v1.41.2 h1:a5UTtD4mHBU3t0o6aHQZFJTNKVfxFWfPX7J0Lr7G+uY= -github.com/aws/aws-sdk-go-v2/service/sts v1.41.2/go.mod h1:6TxbXoDSgBQ225Qd8Q+MbxUxUh6TtNKwbRt/EPS9xso= +github.com/aws/aws-sdk-go-v2/service/sts v1.42.3 h1:ErklX/7uhSbkAAeyQD/Y1OoQ9hO3SJXQNEgksORW3Js= +github.com/aws/aws-sdk-go-v2/service/sts v1.42.3/go.mod h1:ULe4HCzfKPiR6R3HEurE3b1upEkuk8AkMrOKtaOxKO8= github.com/aws/smithy-go v1.13.5/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/aws/smithy-go v1.20.1/go.mod h1:krry+ya/rV9RDcV/Q16kpu6ypI4K2czasz0NC3qS14E= github.com/aws/smithy-go v1.22.2/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg= github.com/aws/smithy-go v1.22.3/go.mod h1:t1ufH5HMublsJYulve2RKmHDC15xu1f26kHCp/HgceI= -github.com/aws/smithy-go v1.24.0 h1:LpilSUItNPFr1eY85RYgTIg5eIEPtvFbskaFcmmIUnk= -github.com/aws/smithy-go v1.24.0/go.mod h1:LEj2LM3rBRQJxPZTB4KuzZkaZYnZPnvgIhb4pu07mx0= +github.com/aws/smithy-go v1.26.0 h1:9ouqbi+NyKP7fV3Te7UElCwdAb6Y8uk7LGwPE5tVe/s= +github.com/aws/smithy-go v1.26.0/go.mod h1:YE2RhdIuDbA5E5bTdciG9KrW3+TiEONeUWCqxX9i1Fc= github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= github.com/aymanbagabas/go-udiff v0.2.0/go.mod h1:RE4Ex0qsGkTAJoQdQQCA0uG+nAzJO/pI/QwceO5fgrA= github.com/bazelbuild/rules_go v0.49.0/go.mod h1:Dhcz716Kqg1RHNWos+N6MlXNkjNP2EwZQ0LukRKJfMs= @@ -2993,7 +3039,6 @@ github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 h1:DDGfHa7BWjL4Yn github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= github.com/boombuler/barcode v1.0.0/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= github.com/boombuler/barcode v1.0.1/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= -github.com/campoy/embedmd v1.0.0 h1:V4kI2qTJJLf4J29RzI/MAt2c3Bl4dQSYPuflzwFH2hY= github.com/campoy/embedmd v1.0.0/go.mod h1:oxyr9RCiSXg0M3VJ3ks0UGfp98BpSSGr0kpiX3MzVl8= github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= @@ -3050,7 +3095,8 @@ github.com/cncf/xds/go v0.0.0-20240905190251-b4127c9b8d78/go.mod h1:W+zGtBO5Y1Ig github.com/cncf/xds/go v0.0.0-20250121191232-2f005788dc42/go.mod h1:W+zGtBO5Y1IgJhy4+A9GOqVhqLpfZi+vwmdNXUehLA8= github.com/cncf/xds/go v0.0.0-20250326154945-ae57f3c0d45f/go.mod h1:W+zGtBO5Y1IgJhy4+A9GOqVhqLpfZi+vwmdNXUehLA8= github.com/cncf/xds/go v0.0.0-20250501225837-2ac532fd4443/go.mod h1:W+zGtBO5Y1IgJhy4+A9GOqVhqLpfZi+vwmdNXUehLA8= -github.com/cncf/xds/go v0.0.0-20251210132809-ee656c7534f5 h1:6xNmx7iTtyBRev0+D/Tv1FZd4SCg8axKApyNyRsAt/w= +github.com/cncf/xds/go v0.0.0-20251022180443-0feb69152e9f/go.mod h1:HlzOvOjVBOfTGSRXRyY0OiCS/3J1akRGQQpRO/7zyF4= +github.com/cncf/xds/go v0.0.0-20251110193048-8bfbf64dc13e/go.mod h1:KdCmV+x/BuvyMxRnYBlmVaq4OLiKW6iRQfvC62cvdkI= github.com/cncf/xds/go v0.0.0-20251210132809-ee656c7534f5/go.mod h1:KdCmV+x/BuvyMxRnYBlmVaq4OLiKW6iRQfvC62cvdkI= github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2 h1:aBangftG7EVZoUb69Os8IaYg++6uMOdKK83QtkkvJik= github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2/go.mod h1:qwXFYgsP6T7XnJtbKlf1HP8AjxZZyzxMmc+Lq5GjlU4= @@ -3087,8 +3133,6 @@ github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5m github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= -github.com/emicklei/go-restful/v3 v3.12.2 h1:DhwDP0vY3k8ZzE0RunuJy8GhNpPL6zqLkDf9B/a0/xU= -github.com/emicklei/go-restful/v3 v3.12.2/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/emicklei/go-restful/v3 v3.13.0 h1:C4Bl2xDndpU6nJ4bc1jXd+uTmYPVUwkD6bFY/oTyCes= github.com/emicklei/go-restful/v3 v3.13.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= @@ -3105,7 +3149,7 @@ github.com/envoyproxy/go-control-plane v0.14.0/go.mod h1:NcS5X47pLl/hfqxU70yPwL9 github.com/envoyproxy/go-control-plane/envoy v1.32.2/go.mod h1:eR2SOX2IedqlPvmiKjUH7Wu//S602JKI7HPC/L3SRq8= github.com/envoyproxy/go-control-plane/envoy v1.32.3/go.mod h1:F6hWupPfh75TBXGKA++MCT/CZHFq5r9/uwt/kQYkZfE= github.com/envoyproxy/go-control-plane/envoy v1.32.4/go.mod h1:Gzjc5k8JcJswLjAx1Zm+wSYE20UrLtt7JZMWiWQXQEw= -github.com/envoyproxy/go-control-plane/envoy v1.36.0 h1:yg/JjO5E7ubRyKX3m07GF3reDNEnfOboJ0QySbH736g= +github.com/envoyproxy/go-control-plane/envoy v1.35.0/go.mod h1:09qwbGVuSWWAyN5t/b3iyVfz5+z8QWGrzkoqm/8SbEs= github.com/envoyproxy/go-control-plane/envoy v1.36.0/go.mod h1:ty89S1YCCVruQAm9OtKeEkQLTb+Lkz0k8v9W0Oxsv98= github.com/envoyproxy/go-control-plane/envoy v1.37.0 h1:u3riX6BoYRfF4Dr7dwSOroNfdSbEPe9Yyl09/B6wBrQ= github.com/envoyproxy/go-control-plane/envoy v1.37.0/go.mod h1:DReE9MMrmecPy+YvQOAOHNYMALuowAnbjjEMkkWOi6A= @@ -3121,7 +3165,6 @@ github.com/envoyproxy/protoc-gen-validate v1.0.2/go.mod h1:GpiZQP3dDbg4JouG/NNS7 github.com/envoyproxy/protoc-gen-validate v1.0.4/go.mod h1:qys6tmnRsYrQqIhm2bvKZH4Blx/1gTIZ2UKVY1M+Yew= github.com/envoyproxy/protoc-gen-validate v1.1.0/go.mod h1:sXRDRVmzEbkM7CVcM06s9shE/m23dg3wzjl0UWqJ2q4= github.com/envoyproxy/protoc-gen-validate v1.2.1/go.mod h1:d/C80l/jxXLdfEIhX1W2TmLfsJ31lvEjwamM4DxlWXU= -github.com/envoyproxy/protoc-gen-validate v1.3.0 h1:TvGH1wof4H33rezVKWSpqKz5NXWg5VPuZ0uONDT6eb4= github.com/envoyproxy/protoc-gen-validate v1.3.0/go.mod h1:HvYl7zwPa5mffgyeTUHA9zHIH36nmrm7oCbo4YKoSWA= github.com/envoyproxy/protoc-gen-validate v1.3.3 h1:MVQghNeW+LZcmXe7SY1V36Z+WFMDjpqGAGacLe2T0ds= github.com/envoyproxy/protoc-gen-validate v1.3.3/go.mod h1:TsndJ/ngyIdQRhMcVVGDDHINPLWB7C82oDArY51KfB0= @@ -3143,12 +3186,12 @@ github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVB github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= github.com/frankban/quicktest v1.4.0 h1:rCSCih1FnSWJEel/eub9wclBSqpF2F/PuvxUWGWnbO8= github.com/frankban/quicktest v1.4.0/go.mod h1:36zfPVQyHxymz4cH7wlDmVwDrJuljRB60qkgn7rorfQ= -github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S9k= -github.com/fsnotify/fsnotify v1.9.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0= +github.com/fsnotify/fsnotify v1.10.1 h1:b0/UzAf9yR5rhf3RPm9gf3ehBPpf0oZKIjtpKrx59Ho= +github.com/fsnotify/fsnotify v1.10.1/go.mod h1:TLheqan6HD6GBK6PrDWyDPBaEV8LspOxvPSjC+bVfgo= github.com/fxamacker/cbor/v2 v2.9.0 h1:NpKPmjDBgUfBms6tr6JZkTHtfFGcMKsw3eGcmD/sapM= github.com/fxamacker/cbor/v2 v2.9.0/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ= -github.com/fxamacker/cbor/v2 v2.9.1 h1:2rWm8B193Ll4VdjsJY28jxs70IdDsHRWgQYAI80+rMQ= -github.com/fxamacker/cbor/v2 v2.9.1/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ= +github.com/fxamacker/cbor/v2 v2.9.2 h1:X4Ksno9+x3cz0TZv69ec1hxP/+tymuR8PXQJyDwfh78= +github.com/fxamacker/cbor/v2 v2.9.2/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gkampitakis/ciinfo v0.3.2/go.mod h1:1NIwaOcFChN4fa/B0hEBdAb6npDlFL8Bwx4dfRLRqAo= github.com/gkampitakis/go-diff v1.3.2/go.mod h1:LLgOrpqleQe26cte8s36HTWcTmMEur6OPYerdAAS9tk= @@ -3167,7 +3210,6 @@ github.com/go-jose/go-jose/v4 v4.0.4/go.mod h1:NKb5HO1EZccyMpiZNbdUw/14tiXNyUJh1 github.com/go-jose/go-jose/v4 v4.0.5/go.mod h1:s3P1lRrkT8igV8D9OjyL4WRyHvjB6a4JSllnOrmmBOA= github.com/go-jose/go-jose/v4 v4.1.1/go.mod h1:BdsZGqgdO3b6tTc6LSE56wcDbMMLuPsw5d4ZD5f94kA= github.com/go-jose/go-jose/v4 v4.1.2/go.mod h1:22cg9HWM1pOlnRiY+9cQYJ9XHmya1bYW8OeDM6Ku6Oo= -github.com/go-jose/go-jose/v4 v4.1.3 h1:CVLmWDhDVRa6Mi/IgCgaopNosCaHz7zrMeF9MlZRkrs= github.com/go-jose/go-jose/v4 v4.1.3/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08= github.com/go-jose/go-jose/v4 v4.1.4 h1:moDMcTHmvE6Groj34emNPLs/qtYXRVcd6S7NHbHz3kA= github.com/go-jose/go-jose/v4 v4.1.4/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08= @@ -3184,7 +3226,6 @@ github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= @@ -3198,39 +3239,39 @@ github.com/go-logr/zapr v1.3.0/go.mod h1:YKepepNBd1u/oyhd/yQmtjVXmm9uML4IXUgMOwR github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs= github.com/go-openapi/jsonpointer v0.21.0 h1:YgdVicSA9vH5RiHs9TZW5oyafXZFc6+2Vc1rr/O9oNQ= github.com/go-openapi/jsonpointer v0.21.0/go.mod h1:IUyH9l/+uyhIYQ/PXVA41Rexl+kOkAPDdXEYns6fzUY= -github.com/go-openapi/jsonpointer v0.22.5 h1:8on/0Yp4uTb9f4XvTrM2+1CPrV05QPZXu+rvu2o9jcA= -github.com/go-openapi/jsonpointer v0.22.5/go.mod h1:gyUR3sCvGSWchA2sUBJGluYMbe1zazrYWIkWPjjMUY0= +github.com/go-openapi/jsonpointer v0.23.1 h1:1HBACs7XIwR2RcmItfdSFlALhGbe6S92p0ry4d1GWg4= +github.com/go-openapi/jsonpointer v0.23.1/go.mod h1:iWRmZTrGn7XwYhtPt/fvdSFj1OfNBngqRT2UG3BxSqY= github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE= github.com/go-openapi/jsonreference v0.20.2/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k= -github.com/go-openapi/jsonreference v0.21.5 h1:6uCGVXU/aNF13AQNggxfysJ+5ZcU4nEAe+pJyVWRdiE= -github.com/go-openapi/jsonreference v0.21.5/go.mod h1:u25Bw85sX4E2jzFodh1FOKMTZLcfifd1Q+iKKOUxExw= +github.com/go-openapi/jsonreference v0.21.6 h1:NZ5nGfnaM1n4I43Xjm1e5/M2GjOwQwndQz22uhxwD+Y= +github.com/go-openapi/jsonreference v0.21.6/go.mod h1:xzbgtQ3ZbWxvET3AxdzCJlJt6vkovbf+IfSPJjD0tUY= github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= github.com/go-openapi/swag v0.23.0 h1:vsEVJDUo2hPJ2tu0/Xc+4noaxyEffXNIs3cOULZ+GrE= github.com/go-openapi/swag v0.23.0/go.mod h1:esZ8ITTYEsH1V2trKHjAN8Ai7xHb8RV+YSZ577vPjgQ= -github.com/go-openapi/swag v0.25.5 h1:pNkwbUEeGwMtcgxDr+2GBPAk4kT+kJ+AaB+TMKAg+TU= -github.com/go-openapi/swag v0.25.5/go.mod h1:B3RT6l8q7X803JRxa2e59tHOiZlX1t8viplOcs9CwTA= -github.com/go-openapi/swag/cmdutils v0.25.5 h1:yh5hHrpgsw4NwM9KAEtaDTXILYzdXh/I8Whhx9hKj7c= -github.com/go-openapi/swag/cmdutils v0.25.5/go.mod h1:pdae/AFo6WxLl5L0rq87eRzVPm/XRHM3MoYgRMvG4A0= -github.com/go-openapi/swag/conv v0.25.5 h1:wAXBYEXJjoKwE5+vc9YHhpQOFj2JYBMF2DUi+tGu97g= -github.com/go-openapi/swag/conv v0.25.5/go.mod h1:CuJ1eWvh1c4ORKx7unQnFGyvBbNlRKbnRyAvDvzWA4k= -github.com/go-openapi/swag/fileutils v0.25.5 h1:B6JTdOcs2c0dBIs9HnkyTW+5gC+8NIhVBUwERkFhMWk= -github.com/go-openapi/swag/fileutils v0.25.5/go.mod h1:V3cT9UdMQIaH4WiTrUc9EPtVA4txS0TOmRURmhGF4kc= -github.com/go-openapi/swag/jsonname v0.25.5 h1:8p150i44rv/Drip4vWI3kGi9+4W9TdI3US3uUYSFhSo= -github.com/go-openapi/swag/jsonname v0.25.5/go.mod h1:jNqqikyiAK56uS7n8sLkdaNY/uq6+D2m2LANat09pKU= -github.com/go-openapi/swag/jsonutils v0.25.5 h1:XUZF8awQr75MXeC+/iaw5usY/iM7nXPDwdG3Jbl9vYo= -github.com/go-openapi/swag/jsonutils v0.25.5/go.mod h1:48FXUaz8YsDAA9s5AnaUvAmry1UcLcNVWUjY42XkrN4= -github.com/go-openapi/swag/loading v0.25.5 h1:odQ/umlIZ1ZVRteI6ckSrvP6e2w9UTF5qgNdemJHjuU= -github.com/go-openapi/swag/loading v0.25.5/go.mod h1:I8A8RaaQ4DApxhPSWLNYWh9NvmX2YKMoB9nwvv6oW6g= -github.com/go-openapi/swag/mangling v0.25.5 h1:hyrnvbQRS7vKePQPHHDso+k6CGn5ZBs5232UqWZmJZw= -github.com/go-openapi/swag/mangling v0.25.5/go.mod h1:6hadXM/o312N/h98RwByLg088U61TPGiltQn71Iw0NY= -github.com/go-openapi/swag/netutils v0.25.5 h1:LZq2Xc2QI8+7838elRAaPCeqJnHODfSyOa7ZGfxDKlU= -github.com/go-openapi/swag/netutils v0.25.5/go.mod h1:lHbtmj4m57APG/8H7ZcMMSWzNqIQcu0RFiXrPUara14= -github.com/go-openapi/swag/stringutils v0.25.5 h1:NVkoDOA8YBgtAR/zvCx5rhJKtZF3IzXcDdwOsYzrB6M= -github.com/go-openapi/swag/stringutils v0.25.5/go.mod h1:PKK8EZdu4QJq8iezt17HM8RXnLAzY7gW0O1KKarrZII= -github.com/go-openapi/swag/typeutils v0.25.5 h1:EFJ+PCga2HfHGdo8s8VJXEVbeXRCYwzzr9u4rJk7L7E= -github.com/go-openapi/swag/typeutils v0.25.5/go.mod h1:itmFmScAYE1bSD8C4rS0W+0InZUBrB2xSPbWt6DLGuc= -github.com/go-openapi/swag/yamlutils v0.25.5 h1:kASCIS+oIeoc55j28T4o8KwlV2S4ZLPT6G0iq2SSbVQ= -github.com/go-openapi/swag/yamlutils v0.25.5/go.mod h1:Gek1/SjjfbYvM+Iq4QGwa/2lEXde9n2j4a3wI3pNuOQ= +github.com/go-openapi/swag v0.26.1 h1:l5sVEyVpwj+DDYeZyo7wQI/Ebn/mKYIyGB/pFwAfGoQ= +github.com/go-openapi/swag v0.26.1/go.mod h1:yNY38BbIVthxbkDtq1UHBCGasBqjakW3lCR6ANzdBEw= +github.com/go-openapi/swag/cmdutils v0.26.1 h1:f2iE1ijYaJ3nuu5PaEMx3zpEhzhZFgivCJObWEObLIQ= +github.com/go-openapi/swag/cmdutils v0.26.1/go.mod h1:Sm1MVFMkF6guJJ+pQqHnQA3N0j9qALV3NxzDSv6bETM= +github.com/go-openapi/swag/conv v0.26.1 h1:slr5FVkg9Wc3Y5zcwenD8Sd/PQ94b2I/QJI7N7KTBpg= +github.com/go-openapi/swag/conv v0.26.1/go.mod h1:mvQXgPptZk9GTrFgGwWvT4q+dN+zQej9JfmGwnipz1A= +github.com/go-openapi/swag/fileutils v0.26.1 h1:K1XCM2CGhfNsc6YDt6v7Q5+1e59rftYWdcu/isZhvFw= +github.com/go-openapi/swag/fileutils v0.26.1/go.mod h1:mYUgxQAKX4ShS3qvvySx+/9yrlUnDhjiD1CalaQl8lQ= +github.com/go-openapi/swag/jsonname v0.26.1 h1:VReupaV6WxlAsCn0e4DUfgV6bPmINnPpyJDLqSfNPcE= +github.com/go-openapi/swag/jsonname v0.26.1/go.mod h1:OvdW6BoWoj33pTfi7x9vFrgmT+fk7aw0BRwvCE0YOuc= +github.com/go-openapi/swag/jsonutils v0.26.1 h1:2hdBfFkHg+7Wrz2VsCbeyR6hzkRDs7AztnMR2u84yOY= +github.com/go-openapi/swag/jsonutils v0.26.1/go.mod h1:U+RMJH3wa+6BRiphuRtIyI8fW9HPFqFQ4sHk2oRx0UQ= +github.com/go-openapi/swag/loading v0.26.1 h1:E9K4wqXeROlhjFQ13K9zMz6ojFGXIggGe+ad1odrK9w= +github.com/go-openapi/swag/loading v0.26.1/go.mod h1:3qvRIlWzWdq1HvmldwmuJ2ohpcAryN6xVt2OTKd0/7E= +github.com/go-openapi/swag/mangling v0.26.1 h1:gpYI4WuPKFJJVjV5cDLGlDVJhFIxYjQc7yN5eEb4CqM= +github.com/go-openapi/swag/mangling v0.26.1/go.mod h1:POETDH01hqAdASXfw7ISEd9bCOE6xBHOt8NHmGZRmYM= +github.com/go-openapi/swag/netutils v0.26.1 h1:BNctoc39WTAUMxyAs355fExOPzMZtPbZ0ZZ1Am2FR5M= +github.com/go-openapi/swag/netutils v0.26.1/go.mod h1:y02vByhZhQPAVwOX+0KipXFZ/hUbk6G/Enhf5rGaOkQ= +github.com/go-openapi/swag/stringutils v0.26.1 h1:f88uYyTso7TnHrKM/bUBsQ5e2wKf37cpgo6pvbzd9yU= +github.com/go-openapi/swag/stringutils v0.26.1/go.mod h1:Sc6d3bU8fgk5AyZR8/8jEQ+Is/Ald+TD/IIggPN8UJk= +github.com/go-openapi/swag/typeutils v0.26.1 h1:yg42FgMzRR6PVQ3M3qHz1s+Y6/P4HoJ3cBarXa3OVnU= +github.com/go-openapi/swag/typeutils v0.26.1/go.mod h1:VfnV+oUtSP2vCSCn2aJgnr8OevUYemyIzzS1VOzS10o= +github.com/go-openapi/swag/yamlutils v0.26.1 h1:0TSLK+lXs9vfIhAWzBeI/lOzEnIoot6WTCO1aAeWFTk= +github.com/go-openapi/swag/yamlutils v0.26.1/go.mod h1:7W5b7PRX9MxwL7TjeG7H8HkyBGRsIDRObhyMWFgBI2M= github.com/go-pdf/fpdf v0.5.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= github.com/go-pdf/fpdf v0.6.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= @@ -3239,12 +3280,9 @@ github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+ github.com/go-playground/validator/v10 v10.4.1/go.mod h1:nlOn6nFhuKACm19sB/8EGNn9GlaMV7XkbRSipzJ0Ii4= github.com/go-redis/redis/v8 v8.11.5 h1:AcZZR7igkdvfVmQTPnu9WE37LRrO/YrBH5zWyjDC0oI= github.com/go-redis/redis/v8 v8.11.5/go.mod h1:gREzHqY1hg6oD9ngVRbLStwAWKhA0FEgq8Jd4h5lpwo= -github.com/go-sql-driver/mysql v1.9.3 h1:U/N249h2WzJ3Ukj8SowVFjdtZKfu9vlLZxjPXV1aweo= -github.com/go-sql-driver/mysql v1.9.3/go.mod h1:qn46aNg1333BRMNU69Lq93t8du/dwxI64Gl8i5p1WMU= +github.com/go-sql-driver/mysql v1.10.0 h1:Q+1LV8DkHJvSYAdR83XzuhDaTykuDx0l6fkXxoWCWfw= +github.com/go-sql-driver/mysql v1.10.0/go.mod h1:M+cqaI7+xxXGG9swrdeUIoPG3Y3KCkF0pZej+SK+nWk= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= -github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= -github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI= github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8= github.com/go-toolsmith/astcopy v1.0.2 h1:YnWf5Rnh1hUudj11kei53kI57quN/VH6Hp1n+erozn0= @@ -3355,20 +3393,16 @@ github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20221118152302-e6195bd50e26/go.mod h1:dDKJzRmX4S37WGHujM7tX//fmj1uioxKzKxz3lo4HJo= github.com/google/pprof v0.0.0-20240227163752-401108e1b7e7/go.mod h1:czg5+yv1E0ZGTi6S6vVK1mke0fV+FaUhNGcd6VRS9Ik= -github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6/go.mod h1:kf6iHlnVGwgKolg33glAes7Yg/8iWP8ukqeldJSO7jw= -github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8/go.mod h1:K1liHPHnj73Fdn/EKuT8nrFqBihUSKXoLYU0BuatOYo= -github.com/google/pprof v0.0.0-20240827171923-fa2c70bbbfe5/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144= -github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144= -github.com/google/pprof v0.0.0-20250403155104-27863c87afa6/go.mod h1:boTsfXsheKC2y+lKOCMpSfarhxDeIzfZG1jqGcPl3cA= -github.com/google/pprof v0.0.0-20260115054156-294ebfa9ad83/go.mod h1:MxpfABSjhmINe3F1It9d+8exIHFvUqtLIRCdOGNXqiI= -github.com/google/pprof v0.0.0-20260302011040-a15ffb7f9dcc h1:VBbFa1lDYWEeV5FZKUiYKYT0VxCp9twUmmaq9eb8sXw= -github.com/google/pprof v0.0.0-20260302011040-a15ffb7f9dcc/go.mod h1:MxpfABSjhmINe3F1It9d+8exIHFvUqtLIRCdOGNXqiI= +github.com/google/pprof v0.0.0-20260402051712-545e8a4df936/go.mod h1:MxpfABSjhmINe3F1It9d+8exIHFvUqtLIRCdOGNXqiI= +github.com/google/pprof v0.0.0-20260507013755-92041b743c96 h1:YDDnaZ9afWajDboPMt9Vikqca/yWAX7KAxVzb4lJU1M= +github.com/google/pprof v0.0.0-20260507013755-92041b743c96/go.mod h1:MxpfABSjhmINe3F1It9d+8exIHFvUqtLIRCdOGNXqiI= +github.com/google/pprof v0.0.0-20260604005048-7023385849c0 h1:h1QTMDl6q9wDvDCJVpKQSjgleGFYnd2fOxmg2K+6BGE= +github.com/google/pprof v0.0.0-20260604005048-7023385849c0/go.mod h1:MxpfABSjhmINe3F1It9d+8exIHFvUqtLIRCdOGNXqiI= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/s2a-go v0.1.0/go.mod h1:OJpEgntRZo8ugHpF9hkoLJbS5dSI20XZeXJ9JVywLlM= github.com/google/s2a-go v0.1.3/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= @@ -3403,6 +3437,8 @@ github.com/googleapis/enterprise-certificate-proxy v0.3.7/go.mod h1:MkHOF77EYAE7 github.com/googleapis/enterprise-certificate-proxy v0.3.11/go.mod h1:RFV7MUdlb7AgEq2v7FmMCfeSMCllAzWxFgRdusoGks8= github.com/googleapis/enterprise-certificate-proxy v0.3.14 h1:yh8ncqsbUY4shRD5dA6RlzjJaT4hi3kII+zYw8wmLb8= github.com/googleapis/enterprise-certificate-proxy v0.3.14/go.mod h1:vqVt9yG9480NtzREnTlmGSBmFrA+bzb0yl0TxoBQXOg= +github.com/googleapis/enterprise-certificate-proxy v0.3.16 h1:F/VPrx0YPBdksZJQdCAp0WUsqnNmZpUZszzfYt0M5Dw= +github.com/googleapis/enterprise-certificate-proxy v0.3.16/go.mod h1:9Yb0eAkH/Xqhvv3zbeKf/+wMJqCeocWc6KIhDvEAuYE= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= @@ -3429,10 +3465,14 @@ github.com/googleapis/gax-go/v2 v2.14.1/go.mod h1:Hb/NubMaVM88SrNkvl8X/o8XWwDJEP github.com/googleapis/gax-go/v2 v2.14.2/go.mod h1:ON64QhlJkhVtSqp4v1uaK92VyZ2gmvDQsweuyLV+8+w= github.com/googleapis/gax-go/v2 v2.15.0/go.mod h1:zVVkkxAQHa1RQpg9z2AUCMnKhi0Qld9rcmyfL1OZhoc= github.com/googleapis/gax-go/v2 v2.16.0/go.mod h1:o1vfQjjNZn4+dPnRdl/4ZD7S9414Y4xA+a/6Icj6l14= -github.com/googleapis/gax-go/v2 v2.17.0 h1:RksgfBpxqff0EZkDWYuz9q/uWsTVz+kf43LsZ1J6SMc= github.com/googleapis/gax-go/v2 v2.17.0/go.mod h1:mzaqghpQp4JDh3HvADwrat+6M3MOIDp5YKHhb9PAgDY= +github.com/googleapis/gax-go/v2 v2.18.0/go.mod h1:uSzZN4a356eRG985CzJ3WfbFSpqkLTjsnhWGJR6EwrE= +github.com/googleapis/gax-go/v2 v2.19.0/go.mod h1:w2ROXVdfGEVFXzmlciUU4EdjHgWvB5h2n6x/8XSTTJA= +github.com/googleapis/gax-go/v2 v2.20.0/go.mod h1:But/NJU6TnZsrLai/xBAQLLz+Hc7fHZJt/hsCz3Fih4= github.com/googleapis/gax-go/v2 v2.21.0 h1:h45NjjzEO3faG9Lg/cFrBh2PgegVVgzqKzuZl/wMbiI= github.com/googleapis/gax-go/v2 v2.21.0/go.mod h1:But/NJU6TnZsrLai/xBAQLLz+Hc7fHZJt/hsCz3Fih4= +github.com/googleapis/gax-go/v2 v2.22.0 h1:PjIWBpgGIVKGoCXuiCoP64altEJCj3/Ei+kSU5vlZD4= +github.com/googleapis/gax-go/v2 v2.22.0/go.mod h1:irWBbALSr0Sk3qlqb9SyJ1h68WjgeFuiOzI4Rqw5+aY= github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= @@ -3445,12 +3485,10 @@ github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 h1:JeSE6pjso5T github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674/go.mod h1:r4w70xmWCQKmi1ONH4KIaBptdivuRPyosB9RmPlGEwA= github.com/grafana/grafana-foundation-sdk/go v0.0.0-20260129154346-aba721fdefde h1:nAXbdOSfcusrQ7V3CbPH+vaHJgBjZXhXh7hGmL7bzMU= github.com/grafana/grafana-foundation-sdk/go v0.0.0-20260129154346-aba721fdefde/go.mod h1:48EA8jF85SrReYflLa39Sk34b6NpxwJPBwjF3TJgRpE= -github.com/grafana/promql-builder/go v0.0.0-20250916111012-8fa9625b89a3 h1:B5SncfJyapaCmCM/r5007X4hjkKTgQ1XaOpA5VgrboU= -github.com/grafana/promql-builder/go v0.0.0-20250916111012-8fa9625b89a3/go.mod h1:TsO1alA6DmSpsS8xh4lAknLlY2wLl4q3B/HFMlZvXaE= -github.com/grafana/pyroscope-go/godeltaprof v0.1.9 h1:c1Us8i6eSmkW+Ez05d3co8kasnuOY813tbMN8i/a3Og= -github.com/grafana/pyroscope-go/godeltaprof v0.1.9/go.mod h1:2+l7K7twW49Ct4wFluZD3tZ6e0SjanjcUUBPVD/UuGU= -github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 h1:+ngKgrYPPJrOjhax5N+uePQ0Fh1Z7PheYoUI/0nzkPA= -github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= +github.com/grafana/promql-builder/go v0.0.6 h1:PEhzPoDSK+8mOT5pBgMQU3QzOUdlvaNnLQrSmUdPGWg= +github.com/grafana/promql-builder/go v0.0.6/go.mod h1:TsO1alA6DmSpsS8xh4lAknLlY2wLl4q3B/HFMlZvXaE= +github.com/grafana/pyroscope-go/godeltaprof v0.1.11 h1:el5LYpXissAiCKZ5/6yjlr6mhYVV6Cp5lahTocxraXM= +github.com/grafana/pyroscope-go/godeltaprof v0.1.11/go.mod h1:jl1V8M4cWsXciROCPIDDG7CtjSjT/ECbp6eLVuMxYRI= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= @@ -3459,9 +3497,11 @@ github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFb github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks= github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU0GSB0f8Nhgmxx0VIRUvaC0w= github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0/go.mod h1:YN5jB8ie0yfIUg6VvR9Kz84aCaG7AsGZnLjhHbUqwPg= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3/go.mod h1:ndYquD05frm2vACXE1nsccT4oJzjhw2arTS2cpUD1PI= github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.1/go.mod h1:Zanoh4+gvIgluNqcfMVTJueD4wSS5hT7zTt4Mrutd90= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0 h1:HWRh5R2+9EifMyIHV7ZV+MIZqgz+PMpZ14Jynv3O2Zs= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0/go.mod h1:JfhWUomR1baixubs02l85lZYYOm7LV6om4ceouMv45c= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.2/go.mod h1:pkJQ2tZHJ0aFOVEEot6oZmaVEZcRme73eIFmhiVuRWs= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.29.0 h1:5VipnvEpbqr2gA2VbM+nYVbkIF28c5ZQfqCBQ5g2xfk= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.29.0/go.mod h1:Hyl3n6Twe1hvtd9XUXDec4pTvgMSEixRuQKPTMH2bNs= github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed h1:5upAirOpQc1Q53c0bnx2ufif5kANL7bfZWcc6VJWJd8= github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed/go.mod h1:tMWxXQ9wFIaZeTI9F+hmhFiGpFmhOHzyShyFUhRm0H4= github.com/hamba/avro/v2 v2.17.2/go.mod h1:Q9YK+qxAhtVrNqOhwlZTATLgLA8qxG2vtvkhK8fJ7Jo= @@ -3498,7 +3538,6 @@ github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1: github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20220319035150-800ac71e25c2/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= github.com/ianlancetaylor/demangle v0.0.0-20230524184225-eabc099b10ab/go.mod h1:gx7rwoVhcfuVKG5uya9Hs3Sxj7EIvldVofAWIUtGouw= -github.com/ianlancetaylor/demangle v0.0.0-20240312041847-bd984b5ce465/go.mod h1:gx7rwoVhcfuVKG5uya9Hs3Sxj7EIvldVofAWIUtGouw= github.com/ianlancetaylor/demangle v0.0.0-20250417193237-f615e6bd150b/go.mod h1:gx7rwoVhcfuVKG5uya9Hs3Sxj7EIvldVofAWIUtGouw= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= @@ -3536,8 +3575,8 @@ github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvW github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/asmfmt v1.3.2/go.mod h1:AG8TuvYojzulgDAMCnYn50l/5QV3Bs/tp6j0HLHbNSE= -github.com/klauspost/compress v1.18.5 h1:/h1gH5Ce+VWNLSWqPzOVn6XBO+vJbCNGvjoaGBFW2IE= -github.com/klauspost/compress v1.18.5/go.mod h1:cwPg85FWrGar70rWktvGQj8/hthj3wpl0PGDogxkrSQ= +github.com/klauspost/compress v1.18.6 h1:2jupLlAwFm95+YDR+NwD2MEfFO9d4z4Prjl1XXDjuao= +github.com/klauspost/compress v1.18.6/go.mod h1:cwPg85FWrGar70rWktvGQj8/hthj3wpl0PGDogxkrSQ= github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= github.com/klauspost/cpuid/v2 v2.2.3/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY= github.com/klauspost/cpuid/v2 v2.2.5/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= @@ -3548,8 +3587,8 @@ github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxv github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kpango/fastime v1.1.10 h1:boywNfz1ulTHGtrCwT9T4e2ai1n+1XcUYTkjg6L8gH0= github.com/kpango/fastime v1.1.10/go.mod h1:VHWSTmsA9C45meviJiU6k6CiWKMRKIuySw6/AYZedbQ= -github.com/kpango/gache/v2 v2.1.9 h1:kE4KVQeHlUnKbITCeWH1y2RJhJ4AAoDGmVyHiTUmehc= -github.com/kpango/gache/v2 v2.1.9/go.mod h1:yR5pMxMJel6MwA+3szber+NHbgWu++qZyLGd08Ie7Lw= +github.com/kpango/gache/v2 v2.1.10 h1:O65VN/TPsKg7Q9kQMIutwjJwjw3wPREPNcCR5l0zU4o= +github.com/kpango/gache/v2 v2.1.10/go.mod h1:yR5pMxMJel6MwA+3szber+NHbgWu++qZyLGd08Ie7Lw= github.com/kpango/glg v1.6.15 h1:nw0xSxpSyrDIWHeb3dvnE08PW+SCbK+aYFETT75IeLA= github.com/kpango/glg v1.6.15/go.mod h1:cmsc7Yeu8AS3wHLmN7bhwENXOpxfq+QoqxCIk2FneRk= github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= @@ -3571,8 +3610,8 @@ github.com/leanovate/gopter v0.2.11 h1:vRjThO1EKPb/1NsDXuDrzldR28RLkBflWYcU9CvzW github.com/leanovate/gopter v0.2.11/go.mod h1:aK3tzZP/C+p1m3SPRE4SYZFGP7jjkuSI4f7Xvpt0S9c= github.com/ledongthuc/pdf v0.0.0-20220302134840-0c2507a12d80/go.mod h1:imJHygn/1yfhB7XSJJKlFZKl/J+dCPAknuiaGOshXAs= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= -github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw= -github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +github.com/lib/pq v1.12.0 h1:mC1zeiNamwKBecjHarAr26c/+d8V5w/u4J0I/yASbJo= +github.com/lib/pq v1.12.0/go.mod h1:/p+8NSbOcwzAEI7wiMXFlgydTwcgTr3OSKMsD2BitpA= github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de h1:9TO3cAIGXtEhnIaL+V+BEER86oLrvS+kWobKpbJuye0= github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de/go.mod h1:zAbeS9B/r2mtpb6U+EI2rYA5OAXxsYw6wTamcNW+zcE= github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= @@ -3584,6 +3623,7 @@ github.com/lyft/protoc-gen-star v0.6.1/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuz github.com/lyft/protoc-gen-star/v2 v2.0.1/go.mod h1:RcCdONR2ScXaYnQC5tUzxzlpA3WVYF7/opLeUgcQs/o= github.com/lyft/protoc-gen-star/v2 v2.0.3/go.mod h1:amey7yeodaJhXSbf/TlLvWiqQfLOSpEk//mLlc+axEk= github.com/lyft/protoc-gen-star/v2 v2.0.4-0.20230330145011-496ad1ac90a4/go.mod h1:amey7yeodaJhXSbf/TlLvWiqQfLOSpEk//mLlc+axEk= +github.com/lyft/protoc-gen-star/v2 v2.0.4/go.mod h1:amey7yeodaJhXSbf/TlLvWiqQfLOSpEk//mLlc+axEk= github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= @@ -3626,8 +3666,8 @@ github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:F github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/moby/spdystream v0.5.0 h1:7r0J1Si3QO/kjRitvSLVVFUjxMEb/YLj6S9FF62JBCU= -github.com/moby/spdystream v0.5.0/go.mod h1:xBAYlnt/ay+11ShkdFKNAG7LsyK/tmNBVvVOwrfMgdI= +github.com/moby/spdystream v0.5.1 h1:9sNYeYZUcci9R6/w7KDaFWEWeV4LStVG78Mpyq/Zm/Y= +github.com/moby/spdystream v0.5.1/go.mod h1:xBAYlnt/ay+11ShkdFKNAG7LsyK/tmNBVvVOwrfMgdI= github.com/moby/term v0.5.0 h1:xt8Q1nalod/v7BqbG21f8mQPqH+xAaC9C3N3wfWbVP0= github.com/moby/term v0.5.0/go.mod h1:8FzsFHVUBGZdbDsJw/ot+X+d5HLUbvklYLJ9uGfcI3Y= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= @@ -3645,8 +3685,6 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f h1:y5//uYreIhSUg3J1GEMiLbxo1LJaP8RfCpH6pymGZus= -github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU= github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k= @@ -3656,7 +3694,6 @@ github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxzi github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86/go.mod h1:kHJEU3ofeGjhHklVoIGuVj85JJwZ6kWPaJwCIxgnFmo= github.com/neelance/sourcemap v0.0.0-20200213170602-2833bce08e4c/go.mod h1:Qr6/a/Q4r9LP1IltGz7tA7iOK1WonHEYhu1HRBA7ZiM= -github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= @@ -3665,66 +3702,15 @@ github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:v github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= -github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= -github.com/onsi/ginkgo/v2 v2.1.3/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= -github.com/onsi/ginkgo/v2 v2.1.4/go.mod h1:um6tUpWM/cxCK3/FK8BXqEiUMUwRgSM4JXG47RKZmLU= -github.com/onsi/ginkgo/v2 v2.1.6/go.mod h1:MEH45j8TBi6u9BMogfbp0stKC5cdGjumZj5Y7AG4VIk= -github.com/onsi/ginkgo/v2 v2.3.0/go.mod h1:Eew0uilEqZmIEZr8JrvYlvOM7Rr6xzTmMV8AyFNU9d0= -github.com/onsi/ginkgo/v2 v2.4.0/go.mod h1:iHkDK1fKGcBoEHT5W7YBq4RFWaQulw+caOMkAt4OrFo= -github.com/onsi/ginkgo/v2 v2.5.0/go.mod h1:Luc4sArBICYCS8THh8v3i3i5CuSZO+RaQRaJoeNwomw= -github.com/onsi/ginkgo/v2 v2.7.0/go.mod h1:yjiuMwPokqY1XauOgju45q3sJt6VzQ/Fict1LFVcsAo= -github.com/onsi/ginkgo/v2 v2.8.1/go.mod h1:N1/NbDngAFcSLdyZ+/aYTYGSlq9qMCS/cNKGJjy+csc= -github.com/onsi/ginkgo/v2 v2.9.0/go.mod h1:4xkjoL/tZv4SMWeww56BU5kAt19mVB47gTWxmrTcxyk= -github.com/onsi/ginkgo/v2 v2.9.1/go.mod h1:FEcmzVcCHl+4o9bQZVab+4dC9+j+91t2FHSzmGAPfuo= -github.com/onsi/ginkgo/v2 v2.9.2/go.mod h1:WHcJJG2dIlcCqVfBAwUCrJxSPFb6v4azBwgxeMeDuts= -github.com/onsi/ginkgo/v2 v2.9.5/go.mod h1:tvAoo1QUJwNEU2ITftXTpR7R1RbCzoZUOs3RonqW57k= -github.com/onsi/ginkgo/v2 v2.9.7/go.mod h1:cxrmXWykAwTwhQsJOPfdIDiJ+l2RYq7U8hFU+M/1uw0= -github.com/onsi/ginkgo/v2 v2.11.0/go.mod h1:ZhrRA5XmEE3x3rhlzamx/JJvujdZoJ2uvgI7kR0iZvM= -github.com/onsi/ginkgo/v2 v2.13.0/go.mod h1:TE309ZR8s5FsKKpuB1YAQYBzCaAfUgatB/xlT/ETL/o= -github.com/onsi/ginkgo/v2 v2.17.1/go.mod h1:llBI3WDLL9Z6taip6f33H76YcWtJv+7R3HigUjbIBOs= -github.com/onsi/ginkgo/v2 v2.17.2/go.mod h1:nP2DPOQoNsQmsVyv5rDA8JkXQoCs6goXIvr/PRJ1eCc= -github.com/onsi/ginkgo/v2 v2.19.0/go.mod h1:rlwLi9PilAFJ8jCg9UE1QP6VBpd6/xj3SRC0d6TU0To= -github.com/onsi/ginkgo/v2 v2.20.1/go.mod h1:lG9ey2Z29hR41WMVthyJBGUBcBhGOtoPF2VFMvBXFCI= -github.com/onsi/ginkgo/v2 v2.22.1/go.mod h1:S6aTpoRsSq2cZOd+pssHAlKW/Q/jZt6cPrPlnj4a1xM= -github.com/onsi/ginkgo/v2 v2.23.3/go.mod h1:zXTP6xIp3U8aVuXN8ENK9IXRaTjFnpVB9mGmaSRvxnM= -github.com/onsi/ginkgo/v2 v2.25.1/go.mod h1:ppTWQ1dh9KM/F1XgpeRqelR+zHVwV81DGRSDnFxK7Sk= -github.com/onsi/ginkgo/v2 v2.25.3/go.mod h1:43uiyQC4Ed2tkOzLsEYm7hnrb7UJTWHYNsuy3bG/snE= -github.com/onsi/ginkgo/v2 v2.28.0/go.mod h1:ArE1D/XhNXBXCBkKOLkbsb2c81dQHCRcF5zwn/ykDRo= -github.com/onsi/ginkgo/v2 v2.28.1 h1:S4hj+HbZp40fNKuLUQOYLDgZLwNUVn19N3Atb98NCyI= -github.com/onsi/ginkgo/v2 v2.28.1/go.mod h1:CLtbVInNckU3/+gC8LzkGUb9oF+e8W8TdUsxPwvdOgE= +github.com/onsi/ginkgo/v2 v2.29.0 h1:rfh+ZFjgJhYWRoIqVf3Uwx/W20yLrcrE2h2GmYVRaag= +github.com/onsi/ginkgo/v2 v2.29.0/go.mod h1:+aXOY+vzZ5mu2iI2HpTZUPmM//oQfsNFX6gU9kNcA44= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= -github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= -github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= -github.com/onsi/gomega v1.20.1/go.mod h1:DtrZpjmvpn2mPm4YWQa0/ALMDj9v4YxLgojwPeREyVo= -github.com/onsi/gomega v1.21.1/go.mod h1:iYAIXgPSaDHak0LCMA+AWBpIKBr8WZicMxnE8luStNc= -github.com/onsi/gomega v1.22.1/go.mod h1:x6n7VNe4hw0vkyYUM4mjIXx3JbLiPaBPNgB7PRQ1tuM= -github.com/onsi/gomega v1.24.0/go.mod h1:Z/NWtiqwBrwUt4/2loMmHL63EDLnYHmVbuBpDr2vQAg= -github.com/onsi/gomega v1.24.1/go.mod h1:3AOiACssS3/MajrniINInwbfOOtfZvplPzuRSmvt1jM= -github.com/onsi/gomega v1.26.0/go.mod h1:r+zV744Re+DiYCIPRlYOTxn0YkOLcAnW8k1xXdMPGhM= -github.com/onsi/gomega v1.27.1/go.mod h1:aHX5xOykVYzWOV4WqQy0sy8BQptgukenXpCXfadcIAw= -github.com/onsi/gomega v1.27.3/go.mod h1:5vG284IBtfDAmDyrK+eGyZmUgUlmi+Wngqo557cZ6Gw= -github.com/onsi/gomega v1.27.4/go.mod h1:riYq/GJKh8hhoM01HN6Vmuy93AarCXCBGpvFDK3q3fQ= -github.com/onsi/gomega v1.27.6/go.mod h1:PIQNjfQwkP3aQAH7lf7j87O/5FiNr+ZR8+ipb+qQlhg= -github.com/onsi/gomega v1.27.7/go.mod h1:1p8OOlwo2iUUDsHnOrjE5UKYJ+e3W8eQ3qSlRahPmr4= -github.com/onsi/gomega v1.27.8/go.mod h1:2J8vzI/s+2shY9XHRApDkdgPo1TKT7P2u6fXeJKFnNQ= -github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= -github.com/onsi/gomega v1.30.0/go.mod h1:9sxs+SwGrKI0+PWe4Fxa9tFQQBG5xSsSbMXOI8PPpoQ= -github.com/onsi/gomega v1.33.0/go.mod h1:+925n5YtiFsLzzafLUHzVMBpvvRAzrydIBiSIxjX3wY= -github.com/onsi/gomega v1.33.1/go.mod h1:U4R44UsT+9eLIaYRB2a5qajjtQYn0hauxvRm16AVYg0= -github.com/onsi/gomega v1.34.1/go.mod h1:kU1QgUvBDLXBJq618Xvm2LUX6rSAfRaFRTcdOeDLwwY= -github.com/onsi/gomega v1.36.1/go.mod h1:PvZbdDc8J6XJEpDK4HCuRBm8a6Fzp9/DmhC9C7yFlog= -github.com/onsi/gomega v1.36.2/go.mod h1:DdwyADRjrc825LhMEkD76cHR5+pUnjhUN8GlHlRPHzY= -github.com/onsi/gomega v1.37.0/go.mod h1:8D9+Txp43QWKhM24yyOBEdpkzN8FvJyAwecBgsU4KU0= -github.com/onsi/gomega v1.38.2/go.mod h1:W2MJcYxRGV63b418Ai34Ud0hEdTVXq9NW9+Sx6uXf3k= -github.com/onsi/gomega v1.39.0/go.mod h1:ZCU1pkQcXDO5Sl9/VVEGlDyp+zm0m1cmeG5TOzLgdh4= -github.com/onsi/gomega v1.39.1 h1:1IJLAad4zjPn2PsnhH70V4DKRFlrCzGBNrNaru+Vf28= -github.com/onsi/gomega v1.39.1/go.mod h1:hL6yVALoTOxeWudERyfppUcZXjMwIMLnuSfruD2lcfg= +github.com/onsi/gomega v1.40.0/go.mod h1:M/Uqpu/8qTjtzCLUA2zJHX9Iilrau25x1PdoSRbWh5A= +github.com/onsi/gomega v1.41.0 h1:OwKp4pXNgVxf6sCplzYo794OFNuoL2q2SBMU5NSWOjA= +github.com/onsi/gomega v1.41.0/go.mod h1:M/Uqpu/8qTjtzCLUA2zJHX9Iilrau25x1PdoSRbWh5A= github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis= github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74= @@ -3813,10 +3799,10 @@ github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5E github.com/prometheus/common v0.55.0/go.mod h1:2SECS4xJG1kd8XF9IcM1gMX6510RAEL65zxzNImwdc8= github.com/prometheus/common v0.62.0/go.mod h1:vyBcEuLSvWos9B1+CyL7JZ2up+uFzXhkqml0W5zIY1I= github.com/prometheus/common v0.63.0/go.mod h1:VVFF/fBIoToEnWRVkYoXEkq3R3paCoxG9PXP74SnV18= -github.com/prometheus/common v0.66.1 h1:h5E0h5/Y8niHc5DlaLlWLArTQI7tMrsfQjHV+d9ZoGs= -github.com/prometheus/common v0.66.1/go.mod h1:gcaUsgf3KfRSwHY4dIMXLPV0K/Wg1oZ8+SbZk/HH/dA= github.com/prometheus/common v0.67.5 h1:pIgK94WWlQt1WLwAC5j2ynLaBRDiinoAb86HZHTUGI4= github.com/prometheus/common v0.67.5/go.mod h1:SjE/0MzDEEAyrdr5Gqc6G+sXI67maCxzaT3A2+HqjUw= +github.com/prometheus/common v0.68.1 h1:omjRRl4QP4komogpXuhfeOiisQg7xdy8VM1UY+pStaY= +github.com/prometheus/common v0.68.1/go.mod h1:ZzL3f6u94qUxh9p+tJTrF+FvBS1XXbbRAZCQkytAL0Y= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= @@ -3830,8 +3816,8 @@ github.com/prometheus/procfs v0.11.1/go.mod h1:eesXgaPo1q7lBpVMoMy0ZOFTth9hBn4W/ github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo= github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk= github.com/prometheus/procfs v0.16.0/go.mod h1:8veyXUu3nGP7oaCxhX6yeaM5u4stL2FeMXnCqhDthZg= -github.com/prometheus/procfs v0.16.1 h1:hZ15bTNuirocR6u0JZ6BAHHmwS1p8B4P6MRqxtzMyRg= -github.com/prometheus/procfs v0.16.1/go.mod h1:teAbpZRB1iIAJYREa1LsoWUXykVXA1KlTmWl8x/U+Is= +github.com/prometheus/procfs v0.19.2 h1:zUMhqEW66Ex7OXIiDkll3tl9a1ZdilUOd/F6ZXw4Vws= +github.com/prometheus/procfs v0.19.2/go.mod h1:M0aotyiemPhBCM0z5w87kL22CxfcH05ZpYlu+b4J7mw= github.com/prometheus/procfs v0.20.1 h1:XwbrGOIplXW/AU3YhIhLODXMJYyC1isLFfYCsTEycfc= github.com/prometheus/procfs v0.20.1/go.mod h1:o9EMBZGRyvDrSPH1RqdxhojkuXstoe4UlK79eF5TGGo= github.com/quasilyte/go-ruleguard v0.4.5 h1:AGY0tiOT5hJX9BTdx/xBdoCubQUAE2grkqY2lSwvZcA= @@ -3842,8 +3828,10 @@ github.com/quasilyte/gogrep v0.5.0 h1:eTKODPXbI8ffJMN+W2aE0+oL0z/nh8/5eNdiO34SOA github.com/quasilyte/gogrep v0.5.0/go.mod h1:Cm9lpz9NZjEoL1tgZ2OgeUKPIxL1meE7eo60Z6Sk+Ng= github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 h1:M8mH9eK4OUR4lu7Gd+PU1fV2/qnDNfzT635KRSObncs= github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567/go.mod h1:DWNGW8A4Y+GyBgPuaQJuWiy0XYftx4Xm/y5Jqk9I6VQ= -github.com/quic-go/quic-go v0.59.0 h1:OLJkp1Mlm/aS7dpKgTc6cnpynnD2Xg7C1pwL6vy/SAw= -github.com/quic-go/quic-go v0.59.0/go.mod h1:upnsH4Ju1YkqpLXC305eW3yDZ4NfnNbmQRCMWS58IKU= +github.com/quic-go/go-ossfuzz-seeds v0.1.0 h1:APacT+iIaNF6fd8AGEiN3bT/Jtkd2jz4v4TzM7MFjy0= +github.com/quic-go/go-ossfuzz-seeds v0.1.0/go.mod h1:3IOHRbJIc+L6YKMwfDtJAM9Vj9k0YY4muhuyUYk5tbk= +github.com/quic-go/quic-go v0.60.0 h1:xcQioE8OM66UQLeUMHltK1CCcOu3JbVB4JAQdDQSB+0= +github.com/quic-go/quic-go v0.60.0/go.mod h1:wpKpjmPpftl30sL6pFh7REVpjbcCVy4zt2vDyK1TuJk= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= @@ -3873,8 +3861,8 @@ github.com/scylladb/go-reflectx v1.0.1/go.mod h1:rWnOfDIRWBGN0miMLIcoPt/Dhi2doCM github.com/scylladb/gocqlx v1.5.0 h1:p7NEqRaCMAtW2nvq62iyUNXmIYP29373YOC7D2Xd7Qg= github.com/scylladb/gocqlx v1.5.0/go.mod h1:QarZcw5kpYh31MXfxiN2JWWvF1cgZbYqfTfXwmwhpEQ= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= -github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= -github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/sergi/go-diff v1.4.0 h1:n/SP9D5ad1fORl+llWyN+D6qoUETXNZARKjyY2/KVCw= +github.com/sergi/go-diff v1.4.0/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4= github.com/shurcooL/go v0.0.0-20200502201357-93f07166e636/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk= github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= @@ -3895,17 +3883,17 @@ github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY52 github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= github.com/spf13/afero v1.10.0/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= +github.com/spf13/afero v1.15.0/go.mod h1:NC2ByUVxtQs4b3sIUphxK0NioZnmxgyCrfzeuq8lxMg= github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk= github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y= -github.com/spf13/cobra v1.10.0 h1:a5/WeUlSDCvV5a45ljW2ZFtV0bTDpkfSAj3uqB6Sc+0= -github.com/spf13/cobra v1.10.0/go.mod h1:9dhySC7dnTtEiqzmqfkLj47BslqLCUPMXjG2lj/NgoE= +github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU= +github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4= github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/pflag v1.0.8/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY= github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk= @@ -3914,6 +3902,8 @@ github.com/spf13/viper v1.8.1/go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH github.com/spiffe/go-spiffe/v2 v2.5.0/go.mod h1:P+NxobPc6wXhVtINNtFjNWGBTreew1GBUCwT2wPmb7g= github.com/spiffe/go-spiffe/v2 v2.6.0 h1:l+DolpxNWYgruGQVV0xsfeya3CsC7m8iBzDnMpsbLuo= github.com/spiffe/go-spiffe/v2 v2.6.0/go.mod h1:gm2SeUoMZEtpnzPNs2Csc0D/gX33k1xIx7lEzqblHEs= +github.com/spiffe/go-spiffe/v2 v2.7.0 h1:uXe1MflJoHw58wAUvxVlcM7WpKtijWG7I1UidcGh6g4= +github.com/spiffe/go-spiffe/v2 v2.7.0/go.mod h1:47Q0Q9/AqGha8QLHp+kxpH4Wca7X7EnOtlIJy3mxZ3U= github.com/stoewer/go-strcase v1.3.0/go.mod h1:fAH5hQ5pehh+j3nZfvwdk2RgEgQjAoM8wodgtPmh1xo= github.com/stoewer/go-strcase v1.3.1/go.mod h1:fAH5hQ5pehh+j3nZfvwdk2RgEgQjAoM8wodgtPmh1xo= github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= @@ -3985,12 +3975,14 @@ go.opentelemetry.io/contrib/detectors/gcp v1.33.0/go.mod h1:ZHrLmr4ikK2AwRj9QL+c go.opentelemetry.io/contrib/detectors/gcp v1.34.0/go.mod h1:cV4BMFcscUR/ckqLkbfQmF0PRsq8w/lMGzdbCSveBHo= go.opentelemetry.io/contrib/detectors/gcp v1.35.0/go.mod h1:qGWP8/+ILwMRIUf9uIVLloR1uo5ZYAslM4O6OqUi1DA= go.opentelemetry.io/contrib/detectors/gcp v1.36.0/go.mod h1:IbBN8uAIIx734PTonTPxAxnjc2pQTxWNkwfstZ+6H2k= -go.opentelemetry.io/contrib/detectors/gcp v1.39.0 h1:kWRNZMsfBHZ+uHjiH4y7Etn2FK26LAGkNFw7RHv1DhE= +go.opentelemetry.io/contrib/detectors/gcp v1.38.0/go.mod h1:SU+iU7nu5ud4oCb3LQOhIZ3nRLj6FNVrKgtflbaf2ts= go.opentelemetry.io/contrib/detectors/gcp v1.39.0/go.mod h1:t/OGqzHBa5v6RHZwrDBJ2OirWc+4q/w2fTbLZwAKjTk= go.opentelemetry.io/contrib/detectors/gcp v1.42.0 h1:kpt2PEJuOuqYkPcktfJqWWDjTEd/FNgrxcniL7kQrXQ= go.opentelemetry.io/contrib/detectors/gcp v1.42.0/go.mod h1:W9zQ439utxymRrXsUOzZbFX4JhLxXU4+ZnCt8GG7yA8= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 h1:yI1/OhfEPy7J9eoa6Sj051C7n5dvpj0QX8g4sRchg04= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0/go.mod h1:NoUCKYWK+3ecatC4HjkRktREheMeEtrXoQxrqYFeHSc= +go.opentelemetry.io/contrib/detectors/gcp v1.44.0 h1:NmLfL734pJhM0JKaYd2Y28+nY9dPRWYAAbxhRCrKXPw= +go.opentelemetry.io/contrib/detectors/gcp v1.44.0/go.mod h1:tNAsgd8avTGke1+MndXlU5Cru4PQ9Ai/cCNWQv/ZJ/s= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.69.0 h1:2yEATaop1/a1I4psnSLgWVPLWwCzkqWakgJy7xTDVy0= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.69.0/go.mod h1:D7J12YRapIekYyPWgGPlA/23pRmpSEZC5xJC/TTLI9U= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1/go.mod h1:sEGXWArGqc3tVa+ekntsN65DmVbVeW+7lTKTjZF3/Fo= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0/go.mod h1:SK2UL73Zy1quvRPonmOmRDiWk1KBV3LyIeeIxcEApWw= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.48.0/go.mod h1:rdENBZMT2OE6Ne/KLwpiXudnAsbdrdBaqBvTN8M8BgA= @@ -4001,35 +3993,37 @@ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0/go.mod h1: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.59.0/go.mod h1:FRmFuRJfag1IZ2dPkHnEoSFVgTVPUd2qf5Vi69hLb8I= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0/go.mod h1:69uWxva0WgAA/4bu2Yy70SLDBwZXuQ6PbBpbsa5iZrQ= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0/go.mod h1:UHB22Z8QsdRDrnAtX4PntOl36ajSxcdUMt1sF7Y6E7Q= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0 h1:RbKq8BG0FI8OiXhBfcRtqqHcZcka+gU3cskNuf05R18= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0/go.mod h1:h06DGIukJOevXaj/xrNjhi/2098RZzcLTbc0jDAUbsg= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 h1:OyrsyzuttWTSur2qN/Lm0m2a8yqyIjUVBZcxFPuXq2o= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0/go.mod h1:C2NGBr+kAB4bk3xtMXfZ94gqFDtg/GkI7e9zqGh5Beg= -go.opentelemetry.io/otel v1.42.0 h1:lSQGzTgVR3+sgJDAU/7/ZMjN9Z+vUip7leaqBKy4sho= -go.opentelemetry.io/otel v1.42.0/go.mod h1:lJNsdRMxCUIWuMlVJWzecSMuNjE7dOYyWlqOXWkdqCc= -go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.42.0 h1:MdKucPl/HbzckWWEisiNqMPhRrAOQX8r4jTuGr636gk= -go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.42.0/go.mod h1:RolT8tWtfHcjajEH5wFIZ4Dgh5jpPdFXYV9pTAk/qjc= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.42.0 h1:THuZiwpQZuHPul65w4WcwEnkX2QIuMT+UFoOrygtoJw= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.42.0/go.mod h1:J2pvYM5NGHofZ2/Ru6zw/TNWnEQp5crgyDeSrYpXkAw= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.42.0 h1:zWWrB1U6nqhS/k6zYB74CjRpuiitRtLLi68VcgmOEto= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.42.0/go.mod h1:2qXPNBX1OVRC0IwOnfo1ljoid+RD0QK3443EaqVlsOU= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0 h1:8tvICD4vSTOOsNrsI4Ljf6C+6UKvpTEH5XY3JMoyPoo= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0/go.mod h1:z9+yiacE0IHRqM4qFfkbt/JYlmYXgss8GY/jXoNuPJI= +go.opentelemetry.io/otel v1.44.0 h1:JjwHmHpA4iZ3wBxluu2fbbE7j4kqlE8jXyAyPXH7HqU= +go.opentelemetry.io/otel v1.44.0/go.mod h1:BMgjTHL9WPRlRjL2oZCBTL4whCGtXch2H4BhOPIAyYc= +go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.44.0 h1:SUplec5dp06reu1zaXmOXdvqH398taqrDXqUl99jxSc= +go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.44.0/go.mod h1:ho2g4N+ane+swq5I/VBkKWnRDY4kUINH3FuqyZqX/Ug= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.44.0 h1:4YsVu3B8+3qtWYYrsUYgn0OG78pN0rnNPRGX4SbokQI= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.44.0/go.mod h1:+wnlSn0mD1ADVMe3v9Z/WIaiz6q6gL2J/ejaAmdmv80= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.44.0 h1:qazEJlUOQzhCpzQpFETGby7EdqjI1wsd0W+6Gg1SCTU= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.44.0/go.mod h1:fOD2Yefuxixkx3ahVNf0O/PERb6r4OlbxfATVnYvzCo= go.opentelemetry.io/otel/exporters/prometheus v0.57.0/go.mod h1:QpFWz1QxqevfjwzYdbMb4Y1NnlJvqSGwyuU0B4iuc9c= -go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.40.0 h1:ZrPRak/kS4xI3AVXy8F7pipuDXmDsrO8Lg+yQjBLjw0= -go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.40.0/go.mod h1:3y6kQCWztq6hyW8Z9YxQDDm0Je9AJoFar2G0yDcmhRk= -go.opentelemetry.io/otel/metric v1.42.0 h1:2jXG+3oZLNXEPfNmnpxKDeZsFI5o4J+nz6xUlaFdF/4= -go.opentelemetry.io/otel/metric v1.42.0/go.mod h1:RlUN/7vTU7Ao/diDkEpQpnz3/92J9ko05BIwxYa2SSI= -go.opentelemetry.io/otel/sdk v1.42.0 h1:LyC8+jqk6UJwdrI/8VydAq/hvkFKNHZVIWuslJXYsDo= -go.opentelemetry.io/otel/sdk v1.42.0/go.mod h1:rGHCAxd9DAph0joO4W6OPwxjNTYWghRWmkHuGbayMts= -go.opentelemetry.io/otel/sdk/metric v1.42.0 h1:D/1QR46Clz6ajyZ3G8SgNlTJKBdGp84q9RKCAZ3YGuA= -go.opentelemetry.io/otel/sdk/metric v1.42.0/go.mod h1:Ua6AAlDKdZ7tdvaQKfSmnFTdHx37+J4ba8MwVCYM5hc= -go.opentelemetry.io/otel/trace v1.42.0 h1:OUCgIPt+mzOnaUTpOQcBiM/PLQ/Op7oq6g4LenLmOYY= -go.opentelemetry.io/otel/trace v1.42.0/go.mod h1:f3K9S+IFqnumBkKhRJMeaZeNk9epyhnCmQh/EysQCdc= +go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.43.0 h1:TC+BewnDpeiAmcscXbGMfxkO+mwYUwE/VySwvw88PfA= +go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.43.0/go.mod h1:J/ZyF4vfPwsSr9xJSPyQ4LqtcTPULFR64KwTikGLe+A= +go.opentelemetry.io/otel/metric v1.44.0 h1:1w0gILTcHdr3YI+ixLyjemwrVnsMURbTZFrSYCdDdmc= +go.opentelemetry.io/otel/metric v1.44.0/go.mod h1:8O7hanEPBNgEMmybD3s2VBKcgWOCsA6tzHBPODAiquo= +go.opentelemetry.io/otel/metric/x v0.66.0 h1:YkCrx1zLOChi9ZcZ6euupOcsgzbVlec7D/xoEU1+cTA= +go.opentelemetry.io/otel/metric/x v0.66.0/go.mod h1:d1+BDj9t96do0/1LoU1ayfCv79ZgNE41qbhBvnMOBZk= +go.opentelemetry.io/otel/sdk v1.44.0 h1:nHYwb9lK+fJPU/dnT6s7W7Z8itMWyqrnVfbheVYrZ58= +go.opentelemetry.io/otel/sdk v1.44.0/go.mod h1:Osuydd3Se74nqjAKxid74N5eC+jfEqfTegHRnq58oK0= +go.opentelemetry.io/otel/sdk/metric v1.44.0 h1:3LlKgI+VjbVsjNRFZJZAJ30WjXC5VkNRks6si09iEfI= +go.opentelemetry.io/otel/sdk/metric v1.44.0/go.mod h1:5B5pMARnXxKhltooO4xUuCBorl65a4EpnTalObqOigA= +go.opentelemetry.io/otel/trace v1.44.0 h1:jxF5CsGYCe74MCRx2X4g7WsY/VBKRqqpNvXlX/6gtIk= +go.opentelemetry.io/otel/trace v1.44.0/go.mod h1:oLl1jrMQAVo6v3GAggN+1VH9VIz9iUSvW53sW1Q8PIE= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= go.opentelemetry.io/proto/otlp v1.0.0/go.mod h1:Sy6pihPLfYHkr3NkUbEhGHFhINUSI/v80hjKIs5JXpM= +go.opentelemetry.io/proto/otlp v1.7.0/go.mod h1:fSKjH6YJ7HDlwzltzyMj036AJ3ejJLCgCSHGj4efDDo= go.opentelemetry.io/proto/otlp v1.7.1/go.mod h1:b2rVh6rfI/s2pHWNlB7ILJcRALpcNDzKhACevjI+ZnE= -go.opentelemetry.io/proto/otlp v1.9.0 h1:l706jCMITVouPOqEnii2fIAuO3IVGBRPV5ICjceRb/A= go.opentelemetry.io/proto/otlp v1.9.0/go.mod h1:xE+Cx5E/eEHw+ISFkwPLwCZefwVjY+pqKg1qcK03+/4= go.opentelemetry.io/proto/otlp v1.10.0 h1:IQRWgT5srOCYfiWnpqUYz9CVmbO8bFmKcwYxpuCSL2g= go.opentelemetry.io/proto/otlp v1.10.0/go.mod h1:/CV4QoCR/S9yaPj8utp3lvQPoqMtxXdzn7ozvvozVqk= @@ -4049,8 +4043,8 @@ go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= go.uber.org/ratelimit v0.3.1 h1:K4qVE+byfv/B3tC+4nYWP7v/6SimcO7HzHekoMNBma0= go.uber.org/ratelimit v0.3.1/go.mod h1:6euWsTB6U/Nb3X++xEUXA8ciPJvr19Q/0h1+oDcJhRk= -go.uber.org/zap v1.27.1 h1:08RqriUEv8+ArZRYSTXy1LeBScaMpVSTBhCeaZYfMYc= -go.uber.org/zap v1.27.1/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E= +go.uber.org/zap v1.28.0 h1:IZzaP1Fv73/T/pBMLk4VutPl36uNC+OSUh3JLG3FIjo= +go.uber.org/zap v1.28.0/go.mod h1:rDLpOi171uODNm/mxFcuYWxDsqWSAVkFdX4XojSKg/Q= go.yaml.in/yaml/v2 v2.4.2/go.mod h1:081UH+NErpNdqlCXm3TtEran0rJZGxAYx9hb/ELlsPU= go.yaml.in/yaml/v2 v2.4.3 h1:6gvOSjQoTB3vt1l+CU+tSyi/HOjfOjRLJ4YwYZGwRO0= go.yaml.in/yaml/v2 v2.4.3/go.mod h1:zSxWcmIDjOzPXpjlTTbAsKokqkDNAVtZO0WOMiT90s8= @@ -4059,8 +4053,8 @@ go.yaml.in/yaml/v2 v2.4.4/go.mod h1:gMZqIpDtDqOfM0uNfy0SkpRhvUryYH0Z6wdMYcacYXQ= go.yaml.in/yaml/v3 v3.0.3/go.mod h1:tBHosrYAkRZjRAOREWbDnBXUf08JOwYq++0QNwQiWzI= go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc= go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg= -gocloud.dev v0.45.0 h1:WknIK8IbRdmynDvara3Q7G6wQhmEiOGwpgJufbM39sY= -gocloud.dev v0.45.0/go.mod h1:0kXKmkCLG6d31N7NyLZWzt7jDSQura9zD/mWgiB6THI= +gocloud.dev v0.46.0 h1:niIuZwSjMtBx8K+ITB2s5kZullB13PGOS2ZoQPZxQ4Q= +gocloud.dev v0.46.0/go.mod h1:ACQe+2qO+hEO+pdcvvsM+RB63r8TyGD1W3ESCLFyzvM= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= @@ -4110,11 +4104,16 @@ golang.org/x/crypto v0.40.0/go.mod h1:Qr1vMER5WyS2dfPHAlsOj01wgLbsyWtFn/aY+5+Zdx golang.org/x/crypto v0.41.0/go.mod h1:pO5AFd7FA68rFak7rOAGVuygIISepHftHnr8dr6+sUc= golang.org/x/crypto v0.42.0/go.mod h1:4+rDnOTJhQCx2q7/j6rAN5XDw8kPjeaXEUR2eL94ix8= golang.org/x/crypto v0.43.0/go.mod h1:BFbav4mRNlXJL4wNeejLpWxB7wMbc79PdRGhWKncxR0= +golang.org/x/crypto v0.44.0/go.mod h1:013i+Nw79BMiQiMsOPcVCB5ZIJbYkerPrGnOa00tvmc= golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4= +golang.org/x/crypto v0.46.0/go.mod h1:Evb/oLKmMraqjZ2iQTwDwvCtJkczlDuTmdJXoZVzqU0= golang.org/x/crypto v0.47.0/go.mod h1:ff3Y9VzzKbwSSEzWqJsJVBnWmRwRSHt/6Op5n9bQc4A= golang.org/x/crypto v0.48.0/go.mod h1:r0kV5h3qnFPlQnBSrULhlsRfryS2pmewsg+XfMgkVos= -golang.org/x/crypto v0.49.0 h1:+Ng2ULVvLHnJ/ZFEq4KdcDd/cfjrrjjNSXNzxg0Y4U4= golang.org/x/crypto v0.49.0/go.mod h1:ErX4dUh2UM+CFYiXZRTcMpEcN8b/1gxEuv3nODoYtCA= +golang.org/x/crypto v0.51.0 h1:IBPXwPfKxY7cWQZ38ZCIRPI50YLeevDLlLnyC5wRGTI= +golang.org/x/crypto v0.51.0/go.mod h1:8AdwkbraGNABw2kOX6YFPs3WM22XqI4EXEd8g+x7Oc8= +golang.org/x/crypto v0.52.0 h1:RMs7fP2rXdep0CftQlK8Uf+kibLm7qkCcradZWYz988= +golang.org/x/crypto v0.52.0/go.mod h1:1QgfPxDqh0T2M/elOJtp9RvuR95kVjir0e6/BvEmGbc= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -4151,10 +4150,11 @@ golang.org/x/image v0.14.0/go.mod h1:HUYqC05R2ZcZ3ejNQsIHQDQiwWM4JBqmm6MKANTp4LE golang.org/x/image v0.15.0/go.mod h1:HUYqC05R2ZcZ3ejNQsIHQDQiwWM4JBqmm6MKANTp4LE= golang.org/x/image v0.21.0/go.mod h1:vUbsLavqK/W303ZroQQVKQ+Af3Yl6Uz1Ppu5J/cLz78= golang.org/x/image v0.24.0/go.mod h1:4b/ITuLfqYq1hqZcjofwctIhi7sZh2WaCjvsBNjjya8= -golang.org/x/image v0.25.0 h1:Y6uW6rH1y5y/LK1J8BPWZtr6yZ7hrsy6hFrXjgsc2fQ= golang.org/x/image v0.25.0/go.mod h1:tCAmOEGthTtkalusGp1g3xa2gke8J6c2N565dTyl9Rs= -golang.org/x/image v0.38.0 h1:5l+q+Y9JDC7mBOMjo4/aPhMDcxEptsX+Tt3GgRQRPuE= -golang.org/x/image v0.38.0/go.mod h1:/3f6vaXC+6CEanU4KJxbcUZyEePbyKbaLoDOe4ehFYY= +golang.org/x/image v0.30.0 h1:jD5RhkmVAnjqaCUXfbGBrn3lpxbknfN9w2UhHHU+5B4= +golang.org/x/image v0.30.0/go.mod h1:SAEUTxCCMWSrJcCy/4HwavEsfZZJlYxeHLc6tTiAe/c= +golang.org/x/image v0.41.0 h1:8wS72eGJMJaBxK6okTzd4WaXumUlTVlb753MlsSvTCo= +golang.org/x/image v0.41.0/go.mod h1:uIc348UZMSvS5Z65CVZ7iDPaNobNFEPeJ4kbqTOszmA= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= @@ -4200,19 +4200,23 @@ golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= golang.org/x/mod v0.23.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= golang.org/x/mod v0.26.0/go.mod h1:/j6NAhSk8iQ723BGAUyoAcn7SlD7s15Dp9Nd/SfeaFQ= golang.org/x/mod v0.27.0/go.mod h1:rWI627Fq0DEoudcK+MBkNkCe0EetEaDSwJJkCcjpazc= +golang.org/x/mod v0.30.0/go.mod h1:lAsf5O2EvJeSFMiBxXDki7sCgAxEUcZHXoXMKT4GJKc= +golang.org/x/mod v0.31.0/go.mod h1:43JraMp9cGx1Rx3AqioxrbrhNsLl2l/iNAvuBkrezpg= golang.org/x/mod v0.32.0/go.mod h1:SgipZ/3h2Ci89DlEtEXWUk/HteuRin+HHhN+WbNhguU= -golang.org/x/mod v0.33.0/go.mod h1:swjeQEj+6r7fODbD2cqrnje9PnziFuw4bmLbBZFrQ5w= -golang.org/x/mod v0.34.0 h1:xIHgNUUnW6sYkcM5Jleh05DvLOtwc6RitGHbDk4akRI= -golang.org/x/mod v0.34.0/go.mod h1:ykgH52iCZe79kzLLMhyCUzhMci+nQj+0XkbXpNYtVjY= -golang.org/x/net v0.52.0 h1:He/TN1l0e4mmR3QqHMT2Xab3Aj3L9qjbhRm78/6jrW0= -golang.org/x/net v0.52.0/go.mod h1:R1MAz7uMZxVMualyPXb+VaqGSa3LIaUqk0eEt3w36Sw= +golang.org/x/mod v0.35.0/go.mod h1:+GwiRhIInF8wPm+4AoT6L0FA1QWAad3OMdTRx4tFYlU= +golang.org/x/mod v0.36.0 h1:JJjpVx6myfUsUdAzZuOSTTmRE0PfZeNWzzvKrP7amb4= +golang.org/x/mod v0.36.0/go.mod h1:moc6ELqsWcOw5Ef3xVprK5ul/MvtVvkIXLziUOICjUQ= +golang.org/x/net v0.55.0 h1:bcvxaJn3e1U6InsFWt1JUq1aSjnRxLzT2rtD2KfkDF8= +golang.org/x/net v0.55.0/go.mod h1:L5U2KuzuOe1lY7Z+aWVIKK6qEeJXnXV9yzGA+WCHJww= golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs= golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q= golang.org/x/sync v0.20.0 h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4= golang.org/x/sync v0.20.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= -golang.org/x/sys v0.42.0 h1:omrd2nAlyT5ESRdCLYdm3+fMfNFE/+Rf4bDIQImRJeo= -golang.org/x/sys v0.42.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= -golang.org/x/telemetry v0.0.0-20260311193753-579e4da9a98c/go.mod h1:TpUTTEp9frx7rTdLpC9gFG9kdI7zVLFTFFlqaH2Cncw= +golang.org/x/sys v0.45.0 h1:dO4czNzziLiiXplLQgBCEpCvXQ3dnkn0SdaZSYdQ+FY= +golang.org/x/sys v0.45.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= +golang.org/x/telemetry v0.0.0-20251111182119-bc8e575c7b54/go.mod h1:hKdjCMrbv9skySur+Nek8Hd0uJ0GuxJIoIX2payrIdQ= +golang.org/x/telemetry v0.0.0-20251203150158-8fff8a5912fc/go.mod h1:hKdjCMrbv9skySur+Nek8Hd0uJ0GuxJIoIX2payrIdQ= +golang.org/x/telemetry v0.0.0-20260508192327-42602be52be6/go.mod h1:Eqhaxk/wZsWEH8CRxLwj6xzEJbz7k1EFGqx7nyCoabE= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= @@ -4244,18 +4248,19 @@ golang.org/x/term v0.34.0/go.mod h1:5jC53AEywhIVebHgPVeg0mj8OD3VO9OzclacVrqpaAw= golang.org/x/term v0.35.0/go.mod h1:TPGtkTLesOwf2DE8CgVYiZinHAOuy5AYUYT1lENIZnA= golang.org/x/term v0.36.0/go.mod h1:Qu394IJq6V6dCBRgwqshf3mPF85AqzYEzofzRdZkWss= golang.org/x/term v0.37.0/go.mod h1:5pB4lxRNYYVZuTLmy8oR2BH8dflOR+IbTYFD8fi3254= +golang.org/x/term v0.38.0/go.mod h1:bSEAKrOT1W+VSu9TSCMtoGEOUcKxOKgl3LE5QEF/xVg= golang.org/x/term v0.39.0/go.mod h1:yxzUCTP/U+FzoxfdKmLaA0RV1WgE0VY7hXBwKtY/4ww= golang.org/x/term v0.40.0/go.mod h1:w2P8uVp06p2iyKKuvXIm7N/y0UCRt3UfJTfZ7oOpglM= -golang.org/x/term v0.41.0 h1:QCgPso/Q3RTJx2Th4bDLqML4W6iJiaXFq2/ftQF13YU= golang.org/x/term v0.41.0/go.mod h1:3pfBgksrReYfZ5lvYM0kSO0LIkAl4Yl2bXOkKP7Ec2A= -golang.org/x/text v0.35.0 h1:JOVx6vVDFokkpaq1AEptVzLTpDe9KGpj5tR4/X+ybL8= -golang.org/x/text v0.35.0/go.mod h1:khi/HExzZJ2pGnjenulevKNX1W67CUy0AsXcNubPGCA= +golang.org/x/term v0.43.0 h1:S4RLU2sB31O/NCl+zFN9Aru9A/Cq2aqKpTZJ6B+DwT4= +golang.org/x/term v0.43.0/go.mod h1:lrhlHNdQJHO+1qVYiHfFKVuVioJIheAc3fBSMFYEIsk= +golang.org/x/text v0.37.0 h1:Cqjiwd9eSg8e0QAkyCaQTNHFIIzWtidPahFWR83rTrc= +golang.org/x/text v0.37.0/go.mod h1:a5sjxXGs9hsn/AJVwuElvCAo9v8QYLzvavO5z2PiM38= golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U= golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno= -golang.org/x/tools v0.43.0 h1:12BdW9CeB3Z+J/I/wj34VMl8X+fEXBxVR90JeMX5E7s= -golang.org/x/tools v0.43.0/go.mod h1:uHkMso649BX2cZK6+RpuIPXS3ho2hZo4FVwfoy1vIk0= +golang.org/x/tools v0.45.0 h1:18qN3FAooORvApf5XjCXgsuayZOEtXf6JK18I3+ONa8= +golang.org/x/tools v0.45.0/go.mod h1:LuUGqqaXcXMEFEruIVJVm5mgDD8vww/z/SR1gQ4uE/0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= @@ -4276,8 +4281,8 @@ gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4= gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E= gonum.org/v1/hdf5 v0.0.0-20210714002203-8c5d23bc6946 h1:vJpL69PeUullhJyKtTjHjENEmZU3BkO4e+fod7nKzgM= gonum.org/v1/hdf5 v0.0.0-20210714002203-8c5d23bc6946/go.mod h1:BQUWDHIAygjdt1HnUPQ0eWqLN2n5FwJycrpYUVUOx2I= -gonum.org/v1/plot v0.16.0 h1:dK28Qx/Ky4VmPUN/2zeW0ELyM6ucDnBAj5yun7M9n1g= -gonum.org/v1/plot v0.16.0/go.mod h1:Xz6U1yDMi6Ni6aaXILqmVIb6Vro8E+K7Q/GeeH+Pn0c= +gonum.org/v1/plot v0.17.0 h1:d0DwPVBe9jnEGqQBoZGl/P2M9WciJbG2CnV59C9QBT4= +gonum.org/v1/plot v0.17.0/go.mod h1:ipt2GUN1oqzr2O7wCjLDtw1ShfIYYNBp4o0O1Ez5B3Y= gonum.org/v1/tools v0.0.0-20200318103217-c168b003ce8c/go.mod h1:fy6Otjqbk477ELp8IXTpw1cObQtLbRCBVonY+bTTfcM= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= @@ -4396,11 +4401,17 @@ google.golang.org/api v0.249.0/go.mod h1:dGk9qyI0UYPwO/cjt2q06LG/EhUpwZGdAbYF14w google.golang.org/api v0.250.0/go.mod h1:Y9Uup8bDLJJtMzJyQnu+rLRJLA0wn+wTtc6vTlOvfXo= google.golang.org/api v0.256.0/go.mod h1:KIgPhksXADEKJlnEoRa9qAII4rXcy40vfI8HRqcU964= google.golang.org/api v0.257.0/go.mod h1:4eJrr+vbVaZSqs7vovFd1Jb/A6ml6iw2e6FBYf3GAO4= +google.golang.org/api v0.259.0/go.mod h1:LC2ISWGWbRoyQVpxGntWwLWN/vLNxxKBK9KuJRI8Te4= google.golang.org/api v0.264.0/go.mod h1:fAU1xtNNisHgOF5JooAs8rRaTkl2rT3uaoNGo9NS3R8= -google.golang.org/api v0.271.0 h1:cIPN4qcUc61jlh7oXu6pwOQqbJW2GqYh5PS6rB2C/JY= -google.golang.org/api v0.271.0/go.mod h1:CGT29bhwkbF+i11qkRUJb2KMKqcJ1hdFceEIRd9u64Q= -google.golang.org/api v0.273.1 h1:L7G/TmpAMz0nKx/ciAVssVmWQiOF6+pOuXeKrWVsquY= +google.golang.org/api v0.265.0/go.mod h1:uAvfEl3SLUj/7n6k+lJutcswVojHPp2Sp08jWCu8hLY= +google.golang.org/api v0.267.0/go.mod h1:Jzc0+ZfLnyvXma3UtaTl023TdhZu6OMBP9tJ+0EmFD0= +google.golang.org/api v0.270.0/go.mod h1:5+H3/8DlXpQWrSz4RjGGwz5HfJAQSEI8Bc6JqQNH77U= +google.golang.org/api v0.272.0/go.mod h1:wKjowi5LNJc5qarNvDCvNQBn3rVK8nSy6jg2SwRwzIA= google.golang.org/api v0.273.1/go.mod h1:JbAt7mF+XVmWu6xNP8/+CTiGH30ofmCmk9nM8d8fHew= +google.golang.org/api v0.274.0 h1:aYhycS5QQCwxHLwfEHRRLf9yNsfvp1JadKKWBE54RFA= +google.golang.org/api v0.274.0/go.mod h1:JbAt7mF+XVmWu6xNP8/+CTiGH30ofmCmk9nM8d8fHew= +google.golang.org/api v0.283.0 h1:0lkp8u0MPwJVHqRL+nJlMAoZVVzbmiXmFHXMOTmSPik= +google.golang.org/api v0.283.0/go.mod h1:6Wssta4c5n9qHq5CBhmlai5h/PUa1djdDAIhYEHyvcM= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -4578,12 +4589,15 @@ google.golang.org/genproto v0.0.0-20250505200425-f936aa4a68b2/go.mod h1:49MsLSx0 google.golang.org/genproto v0.0.0-20250603155806-513f23925822/go.mod h1:HubltRL7rMh0LfnQPkMH4NPDFEWp0jw3vixw7jEM53s= google.golang.org/genproto v0.0.0-20250922171735-9219d122eba9/go.mod h1:QFOrLhdAe2PsTp3vQY4quuLKTi9j3XG3r6JPPaw7MSc= google.golang.org/genproto v0.0.0-20251202230838-ff82c1b0f217/go.mod h1:yJ2HH4EHEDTd3JiLmhds6NkJ17ITVYOdV3m3VKOnws0= -google.golang.org/genproto v0.0.0-20260128011058-8636f8732409 h1:VQZ/yAbAtjkHgH80teYd2em3xtIkkHd7ZhqfH2N9CsM= google.golang.org/genproto v0.0.0-20260128011058-8636f8732409/go.mod h1:rxKD3IEILWEu3P44seeNOAwZN4SaoKaQ/2eTg4mM6EM= -google.golang.org/genproto v0.0.0-20260401024825-9d38bb4040a9 h1:w8JYjr7zHemS95YA5FFwk+fUv5tdQU4I8twN9bFdxVU= -google.golang.org/genproto v0.0.0-20260401024825-9d38bb4040a9/go.mod h1:YCEC8W7HTtK7iBv+pI7g7hGAi7qdGB6bQXw3BIYAusM= -google.golang.org/genproto/googleapis/api v0.0.0-20260401024825-9d38bb4040a9 h1:VPWxll4HlMw1Vs/qXtN7BvhZqsS9cdAittCNvVENElA= -google.golang.org/genproto/googleapis/api v0.0.0-20260401024825-9d38bb4040a9/go.mod h1:7QBABkRtR8z+TEnmXTqIqwJLlzrZKVfAUm7tY3yGv0M= +google.golang.org/genproto v0.0.0-20260217215200-42d3e9bedb6d/go.mod h1:0oz9d7g9QLSdv9/lgbIjowW1JoxMbxmBVNe8i6tORJI= +google.golang.org/genproto v0.0.0-20260316180232-0b37fe3546d5/go.mod h1:x5julN69+ED4PcFk/XWayw35O0lf/nGa4aNgODCmNmw= +google.golang.org/genproto v0.0.0-20260319201613-d00831a3d3e7 h1:XzmzkmB14QhVhgnawEVsOn6OFsnpyxNPRY9QV01dNB0= +google.golang.org/genproto v0.0.0-20260319201613-d00831a3d3e7/go.mod h1:L43LFes82YgSonw6iTXTxXUX1OlULt4AQtkik4ULL/I= +google.golang.org/genproto v0.0.0-20260526163538-3dc84a4a5aaa h1:mfj8IS4EA4VAR9a6QDVxTQkLY64iBybb5QI1B4pXrpE= +google.golang.org/genproto v0.0.0-20260526163538-3dc84a4a5aaa/go.mod h1:fuT7yonGw1Iq2oa+YC0fyqPPQJkgo/54gPNC6VitOkI= +google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa h1:Kjn0N0tCrDgiAFW+lGO4JZ3ck44CehvJQMAwj9QF0G8= +google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa/go.mod h1:q4lMZS6kskjT5HvCPrnnypcDPVJqT/f4nfxmkE7gryY= google.golang.org/genproto/googleapis/bytestream v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:ylj+BE99M198VPbBh6A8d9n3w8fChvyLK3wwBOjXBFA= google.golang.org/genproto/googleapis/bytestream v0.0.0-20230807174057-1744710a1577/go.mod h1:NjCQG/D8JandXxM57PZbAJL1DCNL6EypA0vPPwfsc7c= google.golang.org/genproto/googleapis/bytestream v0.0.0-20231012201019-e917dd12ba7a/go.mod h1:+34luvCflYKiKylNwGJfn9cFBbcL/WrkciMmDmsTQ/A= @@ -4632,12 +4646,17 @@ google.golang.org/genproto/googleapis/bytestream v0.0.0-20250818200422-3122310a4 google.golang.org/genproto/googleapis/bytestream v0.0.0-20250908214217-97024824d090/go.mod h1:Zm0W1CckZuSE8rNxJRJ0+pbZP3UOe8WQpyr0KGPtjAQ= google.golang.org/genproto/googleapis/bytestream v0.0.0-20251103181224-f26f9409b101/go.mod h1:ejCb7yLmK6GCVHp5qpeKbm4KZew/ldg+9b8kq5MONgk= google.golang.org/genproto/googleapis/bytestream v0.0.0-20251124214823-79d6a2a48846/go.mod h1:G3Q0qS3k/oFEmVMddPsSYcFnm2+Mq2XRmxujrtu5hr0= +google.golang.org/genproto/googleapis/bytestream v0.0.0-20251222181119-0a764e51fe1b/go.mod h1:Tej9lWiwVvQJP+b43pjJIsr/3mZycXWCIyoiXmbFf40= google.golang.org/genproto/googleapis/bytestream v0.0.0-20260122232226-8e98ce8d340d/go.mod h1:Tej9lWiwVvQJP+b43pjJIsr/3mZycXWCIyoiXmbFf40= +google.golang.org/genproto/googleapis/bytestream v0.0.0-20260202165425-ce8ad4cf556b/go.mod h1:Tej9lWiwVvQJP+b43pjJIsr/3mZycXWCIyoiXmbFf40= +google.golang.org/genproto/googleapis/bytestream v0.0.0-20260203192932-546029d2fa20/go.mod h1:Tej9lWiwVvQJP+b43pjJIsr/3mZycXWCIyoiXmbFf40= google.golang.org/genproto/googleapis/bytestream v0.0.0-20260226221140-a57be14db171/go.mod h1:9amqk/8LQWEC4RjyUxMx1DebyQ7hZB9gvl67bHmgZ2E= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260401024825-9d38bb4040a9 h1:m8qni9SQFH0tJc1X0vmnpw/0t+AImlSvp30sEupozUg= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260401024825-9d38bb4040a9/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8= -google.golang.org/grpc v1.80.0 h1:Xr6m2WmWZLETvUNvIUmeD5OAagMw3FiKmMlTdViWsHM= -google.golang.org/grpc v1.80.0/go.mod h1:ho/dLnxwi3EDJA4Zghp7k2Ec1+c2jqup0bFkw07bwF4= +google.golang.org/genproto/googleapis/bytestream v0.0.0-20260311181403-84a4fc48630c/go.mod h1:9amqk/8LQWEC4RjyUxMx1DebyQ7hZB9gvl67bHmgZ2E= +google.golang.org/genproto/googleapis/bytestream v0.0.0-20260319201613-d00831a3d3e7/go.mod h1:6TABGosqSqU2l1+fJ3jdvOYPPVryeKybxYF0cCZkTBE= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa h1:mZHHdPZl0dbGHCflZgAq/Q468DWVFcU2whhB2KAo8fk= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8= +google.golang.org/grpc v1.81.1 h1:VnnIIZ88UzOOKLukQi+ImGz8O1Wdp8nAGGnvOfEIWQQ= +google.golang.org/grpc v1.81.1/go.mod h1:xGH9GfzOyMTGIOXBJmXt+BX/V0kcdQbdcuwQ/zNw42I= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0/go.mod h1:Dk1tviKTvMCz5tvh7t+fh94dhmQVHuCt2OzJB3CTW9Y= google.golang.org/grpc/examples v0.0.0-20201112215255-90f1b3ee835b/go.mod h1:IBqQ7wSUJ2Ep09a8rMWFsg4fmI2r38zwsq8a0GgxXpM= @@ -4680,32 +4699,32 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.1.3/go.mod h1:NgwopIslSNH47DimFoV78dnkksY2EFtX0ajyb3K/las= -k8s.io/api v0.35.3 h1:pA2fiBc6+N9PDf7SAiluKGEBuScsTzd2uYBkA5RzNWQ= -k8s.io/api v0.35.3/go.mod h1:9Y9tkBcFwKNq2sxwZTQh1Njh9qHl81D0As56tu42GA4= -k8s.io/apiextensions-apiserver v0.35.0 h1:3xHk2rTOdWXXJM+RDQZJvdx0yEOgC0FgQ1PlJatA5T4= -k8s.io/apiextensions-apiserver v0.35.0/go.mod h1:E1Ahk9SADaLQ4qtzYFkwUqusXTcaV2uw3l14aqpL2LU= -k8s.io/apiextensions-apiserver v0.35.3 h1:2fQUhEO7P17sijylbdwt0nBdXP0TvHrHj0KeqHD8FiU= -k8s.io/apiextensions-apiserver v0.35.3/go.mod h1:tK4Kz58ykRpwAEkXUb634HD1ZAegEElktz/B3jgETd8= -k8s.io/apimachinery v0.35.3 h1:MeaUwQCV3tjKP4bcwWGgZ/cp/vpsRnQzqO6J6tJyoF8= -k8s.io/apimachinery v0.35.3/go.mod h1:jQCgFZFR1F4Ik7hvr2g84RTJSZegBc8yHgFWKn//hns= -k8s.io/cli-runtime v0.35.3 h1:UZq4ipNimtzBmhN7PPKbfAdqo8quK0H0UdGl6qAQnqI= -k8s.io/cli-runtime v0.35.3/go.mod h1:O7MUmCqcKSd5xI+O5X7/pRkB5l0O2NIhOdUVwbHLXu4= -k8s.io/client-go v0.35.3 h1:s1lZbpN4uI6IxeTM2cpdtrwHcSOBML1ODNTCCfsP1pg= -k8s.io/client-go v0.35.3/go.mod h1:RzoXkc0mzpWIDvBrRnD+VlfXP+lRzqQjCmKtiwZ8Q9c= -k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk= -k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE= +k8s.io/api v0.36.1 h1:XbL/EMj8K2aJpJtePmqUyQMsM0D4QI2pvl7YKJ20FTY= +k8s.io/api v0.36.1/go.mod h1:KOWo4ey3TINlXjeHVuwB3i+tXXnu+UcwFBHlI/9dvEo= +k8s.io/apiextensions-apiserver v0.36.0 h1:Wt7E8J+VBCbj4FjiBfDTK/neXDDjyJVJc7xfuOHImZ0= +k8s.io/apiextensions-apiserver v0.36.0/go.mod h1:kGDjH0msuiIB3tgsYRV0kS9GqpMYMUsQ3GHv7TApyug= +k8s.io/apiextensions-apiserver v0.36.1 h1:6JfYmPUsuUIHuN+3QxutXYWj492RqF5fBSx67GYK5Ks= +k8s.io/apiextensions-apiserver v0.36.1/go.mod h1:pLzZin90riwisdzKwv/GoTwENooytoIx5zWJb4Hkby8= +k8s.io/apimachinery v0.36.1 h1:G63Gjx2W+q0YD+72Vo8oY0nDnePVwnuzTmmy5ENrVSA= +k8s.io/apimachinery v0.36.1/go.mod h1:ibYOR00vW/I1kzvi5SF0dRuJ52BvKtfvRdOn35GPQ+8= +k8s.io/cli-runtime v0.36.1 h1:yuC/BGnnj1YYPh6D1P+pZnzinCs6DvMq86yAeNqoqzM= +k8s.io/cli-runtime v0.36.1/go.mod h1:ZQWHGt8xAF7KnviB79vX0lYNyUUqKIpU+LQg7exuFAw= +k8s.io/client-go v0.36.1 h1:FN/K8QIT2CEDt+2WB2HnWrUANZ50AP5GII43/SP2JR0= +k8s.io/client-go v0.36.1/go.mod h1:s6rAnCtTGYDQnpNjEhSaISV+2O8jwruZ6m3QOYBFbtU= k8s.io/klog/v2 v2.140.0 h1:Tf+J3AH7xnUzZyVVXhTgGhEKnFqye14aadWv7bzXdzc= k8s.io/klog/v2 v2.140.0/go.mod h1:o+/RWfJ6PwpnFn7OyAG3QnO47BFsymfEfrz6XyYSSp0= -k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 h1:Y3gxNAuB0OBLImH611+UDZcmKS3g6CthxToOb37KgwE= -k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912/go.mod h1:kdmbQkyfwUagLfXIad1y2TdrjPFWp2Q89B3qkRwf/pQ= -k8s.io/kube-openapi v0.0.0-20260330154417-16be699c7b31 h1:V+sn9a/1fEYDGwnllCmqXBk8x7obZ+hl869Q3Abumkg= -k8s.io/kube-openapi v0.0.0-20260330154417-16be699c7b31/go.mod h1:uGBT7iTA6c6MvqUvSXIaYZo9ukscABYi2btjhvgKGZ0= -k8s.io/metrics v0.35.3 h1:WonA18pEwrtb7a6XfhFg1ZY1Le0RFkcEw7CFApMTZos= -k8s.io/metrics v0.35.3/go.mod h1:/O8UBb5QVyAekR2QvL/WWxskpdV1wVSEl4MSLAy4Ql4= -k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 h1:SjGebBtkBqHFOli+05xYbK8YF1Dzkbzn+gDM4X9T4Ck= -k8s.io/utils v0.0.0-20251002143259-bc988d571ff4/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -k8s.io/utils v0.0.0-20260319190234-28399d86e0b5 h1:kBawHLSnx/mYHmRnNUf9d4CpjREbeZuxoSGOX/J+aYM= -k8s.io/utils v0.0.0-20260319190234-28399d86e0b5/go.mod h1:xDxuJ0whA3d0I4mf/C4ppKHxXynQ+fxnkmQH0vTHnuk= +k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a h1:xCeOEAOoGYl2jnJoHkC3hkbPJgdATINPMAxaynU2Ovg= +k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a/go.mod h1:uGBT7iTA6c6MvqUvSXIaYZo9ukscABYi2btjhvgKGZ0= +k8s.io/kube-openapi v0.0.0-20260603220949-865597e52e25 h1:mPMaPMpBij2V1Wv/fR+HW124vVGXXvOSS9ver/9yjWs= +k8s.io/kube-openapi v0.0.0-20260603220949-865597e52e25/go.mod h1:V/QaCUYDa+0QpcHhVVc5l99Uz56wEMEXBSj9oCDkNDY= +k8s.io/metrics v0.36.1 h1:MQPb+G4RhrKEpt8NETPssbW8QgGUc4Jbqu1jx+kPqGk= +k8s.io/metrics v0.36.1/go.mod h1:xqS8XcWLjDzo6E7DJm/GfjKpRKdN5/MtJAQFuV6nLUc= +k8s.io/streaming v0.36.1 h1:L+K68n4Gg940BGNNYtUBvL1WTLL0YnKT3s+P1MNAmR4= +k8s.io/streaming v0.36.1/go.mod h1:z6fV3D+NVkoeqRMtWwlUZK6U17SY/LqNzOxWL6GyR/s= +k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2 h1:AZYQSJemyQB5eRxqcPky+/7EdBj0xi3g0ZcxxJ7vbWU= +k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2/go.mod h1:xDxuJ0whA3d0I4mf/C4ppKHxXynQ+fxnkmQH0vTHnuk= +k8s.io/utils v0.0.0-20260507154919-ff6756f316d2 h1:wU4tMEhLGgIbLvXQb1cfN+EcM0wf7zC6CPF+C79jroc= +k8s.io/utils v0.0.0-20260507154919-ff6756f316d2/go.mod h1:xDxuJ0whA3d0I4mf/C4ppKHxXynQ+fxnkmQH0vTHnuk= lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= lukechampine.com/uint128 v1.2.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= lukechampine.com/uint128 v1.3.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= @@ -4771,20 +4790,20 @@ rsc.io/pdf v0.1.1 h1:k1MczvYDUvJBe93bYd7wrZLLUEcLZAuF824/I4e5Xr4= rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= -sigs.k8s.io/controller-runtime v0.23.3 h1:VjB/vhoPoA9l1kEKZHBMnQF33tdCLQKJtydy4iqwZ80= -sigs.k8s.io/controller-runtime v0.23.3/go.mod h1:B6COOxKptp+YaUT5q4l6LqUJTRpizbgf9KSRNdQGns0= +sigs.k8s.io/controller-runtime v0.24.1 h1:miPEwrmirImAvgME1L9qebGHrOnGJoVmVdtOU9fRfo4= +sigs.k8s.io/controller-runtime v0.24.1/go.mod h1:vFkfY5fGt5xAC/sKb8IBFKgWPNKG9OUG29dR8Y2wImw= sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 h1:IpInykpT6ceI+QxKBbEflcR5EXP7sU1kvOlxwZh5txg= sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg= -sigs.k8s.io/kustomize/api v0.20.1 h1:iWP1Ydh3/lmldBnH/S5RXgT98vWYMaTUL1ADcr+Sv7I= -sigs.k8s.io/kustomize/api v0.20.1/go.mod h1:t6hUFxO+Ph0VxIk1sKp1WS0dOjbPCtLJ4p8aADLwqjM= -sigs.k8s.io/kustomize/kyaml v0.20.1 h1:PCMnA2mrVbRP3NIB6v9kYCAc38uvFLVs8j/CD567A78= -sigs.k8s.io/kustomize/kyaml v0.20.1/go.mod h1:0EmkQHRUsJxY8Ug9Niig1pUMSCGHxQ5RklbpV/Ri6po= +sigs.k8s.io/kustomize/api v0.21.1 h1:lzqbzvz2CSvsjIUZUBNFKtIMsEw7hVLJp0JeSIVmuJs= +sigs.k8s.io/kustomize/api v0.21.1/go.mod h1:f3wkKByTrgpgltLgySCntrYoq5d3q7aaxveSagwTlwI= +sigs.k8s.io/kustomize/kyaml v0.21.1 h1:IVlbmhC076nf6foyL6Taw4BkrLuEsXUXNpsE+ScX7fI= +sigs.k8s.io/kustomize/kyaml v0.21.1/go.mod h1:hmxADesM3yUN2vbA5z1/YTBnzLJ1dajdqpQonwBL1FQ= sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU= sigs.k8s.io/randfill v1.0.0/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY= -sigs.k8s.io/structured-merge-diff/v6 v6.3.2-0.20260122202528-d9cc6641c482 h1:2WOzJpHUBVrrkDjU4KBT8n5LDcj824eX0I5UKcgeRUs= -sigs.k8s.io/structured-merge-diff/v6 v6.3.2-0.20260122202528-d9cc6641c482/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE= sigs.k8s.io/structured-merge-diff/v6 v6.3.2 h1:kwVWMx5yS1CrnFWA/2QHyRVJ8jM6dBA80uLmm0wJkk8= sigs.k8s.io/structured-merge-diff/v6 v6.3.2/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE= +sigs.k8s.io/structured-merge-diff/v6 v6.4.0 h1:qmp2e3ZfFi1/jJbDGpD4mt3wyp6PE1NfKHCYLqgNQJo= +sigs.k8s.io/structured-merge-diff/v6 v6.4.0/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE= sigs.k8s.io/yaml v1.6.0 h1:G8fkbMSAFqgEFgh4b1wmtzDnioxFCUgTZhlbj5P9QYs= sigs.k8s.io/yaml v1.6.0/go.mod h1:796bPqUfzR/0jLAl6XjHl3Ck7MiyVv8dbTdyT3/pMf4= sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= diff --git a/hack/benchmark/core/benchmark/benchmark.go b/hack/benchmark/core/benchmark/benchmark.go index 2b9df2bdbf..301a140328 100644 --- a/hack/benchmark/core/benchmark/benchmark.go +++ b/hack/benchmark/core/benchmark/benchmark.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package benchmark provides benchmark frame package benchmark diff --git a/hack/benchmark/core/benchmark/benchmark_test.go b/hack/benchmark/core/benchmark/benchmark_test.go index 0789f35023..45dec8d0cf 100644 --- a/hack/benchmark/core/benchmark/benchmark_test.go +++ b/hack/benchmark/core/benchmark/benchmark_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package benchmark provides benchmark frame package benchmark diff --git a/hack/benchmark/core/benchmark/option.go b/hack/benchmark/core/benchmark/option.go index eae844503c..bff4812518 100644 --- a/hack/benchmark/core/benchmark/option.go +++ b/hack/benchmark/core/benchmark/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package benchmark provides benchmark frame package benchmark diff --git a/hack/benchmark/core/benchmark/option_test.go b/hack/benchmark/core/benchmark/option_test.go index 3200895c0d..26fe728167 100644 --- a/hack/benchmark/core/benchmark/option_test.go +++ b/hack/benchmark/core/benchmark/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package benchmark provides benchmark frame package benchmark diff --git a/hack/benchmark/core/benchmark/strategy.go b/hack/benchmark/core/benchmark/strategy.go index 44c70622aa..352b4d2c95 100644 --- a/hack/benchmark/core/benchmark/strategy.go +++ b/hack/benchmark/core/benchmark/strategy.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package benchmark provides benchmark frame package benchmark diff --git a/hack/benchmark/core/benchmark/strategy/bulk_insert.go b/hack/benchmark/core/benchmark/strategy/bulk_insert.go index d97b28b597..6488668f34 100644 --- a/hack/benchmark/core/benchmark/strategy/bulk_insert.go +++ b/hack/benchmark/core/benchmark/strategy/bulk_insert.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/benchmark/strategy/bulk_insert_commit.go b/hack/benchmark/core/benchmark/strategy/bulk_insert_commit.go index 26bf59c07e..e358e92935 100644 --- a/hack/benchmark/core/benchmark/strategy/bulk_insert_commit.go +++ b/hack/benchmark/core/benchmark/strategy/bulk_insert_commit.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/benchmark/strategy/bulk_insert_commit_test.go b/hack/benchmark/core/benchmark/strategy/bulk_insert_commit_test.go index 4e056c61a5..961f33b8e0 100644 --- a/hack/benchmark/core/benchmark/strategy/bulk_insert_commit_test.go +++ b/hack/benchmark/core/benchmark/strategy/bulk_insert_commit_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/benchmark/strategy/bulk_insert_test.go b/hack/benchmark/core/benchmark/strategy/bulk_insert_test.go index d3251a7b60..b614216f0f 100644 --- a/hack/benchmark/core/benchmark/strategy/bulk_insert_test.go +++ b/hack/benchmark/core/benchmark/strategy/bulk_insert_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/benchmark/strategy/get_vector.go b/hack/benchmark/core/benchmark/strategy/get_vector.go index 8c3d8d1400..472e56f3ab 100644 --- a/hack/benchmark/core/benchmark/strategy/get_vector.go +++ b/hack/benchmark/core/benchmark/strategy/get_vector.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/benchmark/strategy/get_vector_test.go b/hack/benchmark/core/benchmark/strategy/get_vector_test.go index 0245cb8b9e..a3b03ac750 100644 --- a/hack/benchmark/core/benchmark/strategy/get_vector_test.go +++ b/hack/benchmark/core/benchmark/strategy/get_vector_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/benchmark/strategy/insert.go b/hack/benchmark/core/benchmark/strategy/insert.go index 9f872ac79e..d728a5841b 100644 --- a/hack/benchmark/core/benchmark/strategy/insert.go +++ b/hack/benchmark/core/benchmark/strategy/insert.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/benchmark/strategy/insert_commit.go b/hack/benchmark/core/benchmark/strategy/insert_commit.go index 679b18164a..3dfb0c4127 100644 --- a/hack/benchmark/core/benchmark/strategy/insert_commit.go +++ b/hack/benchmark/core/benchmark/strategy/insert_commit.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/benchmark/strategy/insert_commit_test.go b/hack/benchmark/core/benchmark/strategy/insert_commit_test.go index ef7b97f4f1..c0607229a1 100644 --- a/hack/benchmark/core/benchmark/strategy/insert_commit_test.go +++ b/hack/benchmark/core/benchmark/strategy/insert_commit_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/benchmark/strategy/insert_test.go b/hack/benchmark/core/benchmark/strategy/insert_test.go index 25e47d8e6c..c52d9725ea 100644 --- a/hack/benchmark/core/benchmark/strategy/insert_test.go +++ b/hack/benchmark/core/benchmark/strategy/insert_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/benchmark/strategy/remove.go b/hack/benchmark/core/benchmark/strategy/remove.go index 0f868a58f0..6824702eda 100644 --- a/hack/benchmark/core/benchmark/strategy/remove.go +++ b/hack/benchmark/core/benchmark/strategy/remove.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/benchmark/strategy/remove_test.go b/hack/benchmark/core/benchmark/strategy/remove_test.go index db328bfc70..9be4f2059d 100644 --- a/hack/benchmark/core/benchmark/strategy/remove_test.go +++ b/hack/benchmark/core/benchmark/strategy/remove_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/benchmark/strategy/search.go b/hack/benchmark/core/benchmark/strategy/search.go index 56a7e8a8ac..0ead793ea9 100644 --- a/hack/benchmark/core/benchmark/strategy/search.go +++ b/hack/benchmark/core/benchmark/strategy/search.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/benchmark/strategy/search_test.go b/hack/benchmark/core/benchmark/strategy/search_test.go index 8aef532d45..1d152cf531 100644 --- a/hack/benchmark/core/benchmark/strategy/search_test.go +++ b/hack/benchmark/core/benchmark/strategy/search_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/benchmark/strategy/strategy.go b/hack/benchmark/core/benchmark/strategy/strategy.go index f6edccb9c3..713447bedd 100644 --- a/hack/benchmark/core/benchmark/strategy/strategy.go +++ b/hack/benchmark/core/benchmark/strategy/strategy.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/benchmark/strategy/strategy_option.go b/hack/benchmark/core/benchmark/strategy/strategy_option.go index cea5d61ed6..e5455b642e 100644 --- a/hack/benchmark/core/benchmark/strategy/strategy_option.go +++ b/hack/benchmark/core/benchmark/strategy/strategy_option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/benchmark/strategy/strategy_option_test.go b/hack/benchmark/core/benchmark/strategy/strategy_option_test.go index a6ea23fc5b..2605fe6012 100644 --- a/hack/benchmark/core/benchmark/strategy/strategy_option_test.go +++ b/hack/benchmark/core/benchmark/strategy/strategy_option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/benchmark/strategy/strategy_test.go b/hack/benchmark/core/benchmark/strategy/strategy_test.go index 563b84601e..b0a67933b1 100644 --- a/hack/benchmark/core/benchmark/strategy/strategy_test.go +++ b/hack/benchmark/core/benchmark/strategy/strategy_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/benchmark/strategy/util.go b/hack/benchmark/core/benchmark/strategy/util.go index 85cb497a97..9f82e027e6 100644 --- a/hack/benchmark/core/benchmark/strategy/util.go +++ b/hack/benchmark/core/benchmark/strategy/util.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/benchmark/strategy/util_test.go b/hack/benchmark/core/benchmark/strategy/util_test.go index e168397fb0..ed17d25d42 100644 --- a/hack/benchmark/core/benchmark/strategy/util_test.go +++ b/hack/benchmark/core/benchmark/strategy/util_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strategy provides benchmark strategy package strategy diff --git a/hack/benchmark/core/ngt/ngt_bench_test.go b/hack/benchmark/core/ngt/ngt_bench_test.go index a18db3427c..62d59a2d97 100644 --- a/hack/benchmark/core/ngt/ngt_bench_test.go +++ b/hack/benchmark/core/ngt/ngt_bench_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package ngt provides benchmark program package ngt diff --git a/hack/benchmark/internal/core/algorithm/algorithm.go b/hack/benchmark/internal/core/algorithm/algorithm.go index 3324a140df..ce0cb23d46 100644 --- a/hack/benchmark/internal/core/algorithm/algorithm.go +++ b/hack/benchmark/internal/core/algorithm/algorithm.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package algorithm provides core interface package algorithm diff --git a/hack/benchmark/internal/core/algorithm/ngt/ngt.go b/hack/benchmark/internal/core/algorithm/ngt/ngt.go index 2997b2ca9b..c670ed0a21 100644 --- a/hack/benchmark/internal/core/algorithm/ngt/ngt.go +++ b/hack/benchmark/internal/core/algorithm/ngt/ngt.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package ngt provides ngt package ngt diff --git a/hack/benchmark/internal/core/algorithm/ngt/ngt_test.go b/hack/benchmark/internal/core/algorithm/ngt/ngt_test.go index d78fd75fa3..77d471929f 100644 --- a/hack/benchmark/internal/core/algorithm/ngt/ngt_test.go +++ b/hack/benchmark/internal/core/algorithm/ngt/ngt_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package ngt provides ngt package ngt diff --git a/hack/benchmark/internal/core/algorithm/ngt/option.go b/hack/benchmark/internal/core/algorithm/ngt/option.go index 76d0cbce99..9dedc57a5f 100644 --- a/hack/benchmark/internal/core/algorithm/ngt/option.go +++ b/hack/benchmark/internal/core/algorithm/ngt/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package ngt provides ngt package ngt diff --git a/hack/benchmark/internal/core/algorithm/ngt/option_test.go b/hack/benchmark/internal/core/algorithm/ngt/option_test.go index 8cd7706bd7..037808e941 100644 --- a/hack/benchmark/internal/core/algorithm/ngt/option_test.go +++ b/hack/benchmark/internal/core/algorithm/ngt/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package ngt provides ngt package ngt diff --git a/hack/benchmark/internal/db/nosql/cassandra/cassandra_test.go b/hack/benchmark/internal/db/nosql/cassandra/cassandra_test.go index 359041f37f..c1232aa8ec 100644 --- a/hack/benchmark/internal/db/nosql/cassandra/cassandra_test.go +++ b/hack/benchmark/internal/db/nosql/cassandra/cassandra_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package cassandra diff --git a/hack/benchmark/internal/starter/agent/core/ngt/ngt.go b/hack/benchmark/internal/starter/agent/core/ngt/ngt.go index 28234ee12e..e433c08b90 100644 --- a/hack/benchmark/internal/starter/agent/core/ngt/ngt.go +++ b/hack/benchmark/internal/starter/agent/core/ngt/ngt.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package ngt provides ngt agent starter functionality package ngt diff --git a/hack/benchmark/internal/starter/agent/core/ngt/ngt_test.go b/hack/benchmark/internal/starter/agent/core/ngt/ngt_test.go index 9b56c0306b..1fbd00fcbe 100644 --- a/hack/benchmark/internal/starter/agent/core/ngt/ngt_test.go +++ b/hack/benchmark/internal/starter/agent/core/ngt/ngt_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package ngt provides ngt agent starter functionality package ngt diff --git a/hack/benchmark/internal/starter/agent/core/ngt/option.go b/hack/benchmark/internal/starter/agent/core/ngt/option.go index d56d0dbe3e..b840390e8f 100644 --- a/hack/benchmark/internal/starter/agent/core/ngt/option.go +++ b/hack/benchmark/internal/starter/agent/core/ngt/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package ngt provides ngt agent starter functionality package ngt diff --git a/hack/benchmark/internal/starter/agent/core/ngt/option_test.go b/hack/benchmark/internal/starter/agent/core/ngt/option_test.go index 9b56c0306b..1fbd00fcbe 100644 --- a/hack/benchmark/internal/starter/agent/core/ngt/option_test.go +++ b/hack/benchmark/internal/starter/agent/core/ngt/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package ngt provides ngt agent starter functionality package ngt diff --git a/hack/benchmark/internal/starter/gateway/vald/option.go b/hack/benchmark/internal/starter/gateway/vald/option.go index 21b5a948b4..5c2f5e4318 100644 --- a/hack/benchmark/internal/starter/gateway/vald/option.go +++ b/hack/benchmark/internal/starter/gateway/vald/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package vald provides vald starter functionality package vald diff --git a/hack/benchmark/internal/starter/gateway/vald/vald.go b/hack/benchmark/internal/starter/gateway/vald/vald.go index 4284de876f..430f266e21 100644 --- a/hack/benchmark/internal/starter/gateway/vald/vald.go +++ b/hack/benchmark/internal/starter/gateway/vald/vald.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package vald provides vald starter functionality package vald diff --git a/hack/benchmark/internal/starter/gateway/vald/vald_test.go b/hack/benchmark/internal/starter/gateway/vald/vald_test.go index e5ece79191..d2c2639fdc 100644 --- a/hack/benchmark/internal/starter/gateway/vald/vald_test.go +++ b/hack/benchmark/internal/starter/gateway/vald/vald_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package vald provides vald starter functionality package vald diff --git a/hack/benchmark/internal/starter/starter.go b/hack/benchmark/internal/starter/starter.go index 363b91ae6a..7de6c31931 100644 --- a/hack/benchmark/internal/starter/starter.go +++ b/hack/benchmark/internal/starter/starter.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package starter provides starter interfaces package starter diff --git a/hack/docker/gen/main.go b/hack/docker/gen/main.go index 90ba1cb4d5..aaba20f550 100644 --- a/hack/docker/gen/main.go +++ b/hack/docker/gen/main.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main @@ -82,6 +80,7 @@ const ( defaultLanguage = "en_US.UTF-8" defaultMaintainer = organization + ".org " + vald + " team <" + vald + "@" + organization + ".org>" defaultRuntimeImage = "gcr.io/distroless/static" + defaultCCRuntimeImage = "gcr.io/distroless/cc-debian12" nonrootUser = "nonroot" rootUser = "root" defaultRuntimeTag = nonrootUser @@ -97,10 +96,9 @@ const ( goWorkdir = "${GOPATH}/src/github.com" rustWorkdir = "${HOME}/rust/src/github.com" - ngtPreprocess = "make ngt/install" - ngtClangLTOPreprocess = `CC=clang CXX=clang++ make CFLAGS="-flto=thin" CXXFLAGS="-flto=thin" NGT_EXTRA_CMAKE_FLAGS="-DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=lld" ngt/install` - faissPreprocess = "make faiss/install" - usearchPreprocess = "make usearch/install" + ngtPreprocess = "make ngt/install" + faissPreprocess = "make faiss/install" + usearchPreprocess = "make usearch/install" helmOperatorRootdir = "/opt/helm" helmOperatorWatchFile = helmOperatorRootdir + "/watches.yaml" @@ -237,9 +235,29 @@ ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +ARG CC +ARG CXX +ARG LLD +ARG AR +ARG NM +ARG RANLIB +ARG CFLAGS +ARG CXXFLAGS +ARG LDFLAGS +ARG SUDO {{- range $keyValue := .EnvironmentsSlice }} ENV {{$keyValue}} {{- end}} +ENV CC=${CC:-${CC}} +ENV CXX=${CXX:-${CXX}} +ENV LLD=${LLD:-${LLD}} +ENV AR=${AR:-${AR}} +ENV NM=${NM:-${NM}} +ENV RANLIB=${RANLIB:-${RANLIB}} +ENV CFLAGS=${CFLAGS:-${CFLAGS}} +ENV CXXFLAGS=${CXXFLAGS:-${CXXFLAGS}} +ENV LDFLAGS=${LDFLAGS:-${LDFLAGS}} +ENV SUDO=${SUDO:-${SUDO}} WORKDIR {{.RootDir}}/${ORG}/${REPO} {{- range $files := .ExtraCopies }} COPY {{$files}} @@ -254,12 +272,8 @@ RUN {{RunMounts .RunMounts}} \ && apt-get update -y \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends --fix-missing \ - build-essential \ ca-certificates \ curl \ -{{- if eq (ContainerName .ContainerType) "%s"}} - gnupg \ -{{- end}} tzdata \ locales \ git \ @@ -296,7 +310,6 @@ ENTRYPOINT [{{Entrypoint .Entrypoints}}] ENTRYPOINT ["{{.BinDir}}/{{.AppName}}"] {{- end}} {{- end}}`, header, DevContainer.String(), - DevContainer.String(), DevContainer.String(), DevContainer.String()))) @@ -378,6 +391,7 @@ type ( Year int AliasImage bool ConfigExists bool + BuildCmakeClang bool } ContainerType int ) @@ -428,12 +442,16 @@ var ( "CARGO_HOME": "${RUST_HOME}/cargo", "PATH": "${PATH}:${RUSTUP_HOME}/bin:${CARGO_HOME}/bin:" + usrLocalBinaryDir, } - clangDefaultEnvironments = map[string]string{ - "CC": "gcc", - "CXX": "g++", - } clangLTOEnvironments = map[string]string{ - "RUSTFLAGS": `"-Clinker=clang -Clink-arg=-fuse-ld=lld"`, + // RUSTFLAGS applies to all Rust compilations including build scripts. + // -static-libstdc++ and -static-libgcc only affect their specific libraries + // and are safe for build scripts (no glibc TLS SIGSEGV risk). + // Full libc static linking is NOT used here to avoid NSS/DNS issues. + "RUSTFLAGS": `"-Clinker=clang -Clink-arg=-fuse-ld=lld -Clink-arg=-static-libstdc++ -Clink-arg=-static-libgcc"`, + // Force per-library static linking via sys crates' env var conventions. + "OPENSSL_STATIC": "1", + "LIBZ_STATIC": "1", + "PKG_CONFIG_ALL_STATIC": "1", } goInstallCommands = []string{ "make GOPATH=\"${GOPATH}\" GOROOT=\"${GOROOT}\" GO_VERSION=\"${GO_VERSION}\" go/install", @@ -473,27 +491,21 @@ var ( } clangBuildDeps = []string{ - "cmake", - "g++", - "gcc", + "build-essential", + "llvm", + "clang", + "lld", + "pkg-config", + "python3", "libssl-dev", "unzip", + "libomp-dev", } ngtBuildDeps = []string{ "liblapack-dev", - "libomp-dev", "libopenblas-dev", "gfortran", } - rustBuildDeps = []string{ - "pkgconf", - "protobuf-compiler", - "libprotobuf-dev", - } - clangLTOBuildDeps = []string{ - "clang", - "lld", - } devContainerDeps = []string{ "file", "gawk", @@ -514,7 +526,6 @@ var ( "make GOARCH=${TARGETARCH} GOOS=${TARGETOS} deps GO_CLEAN_DEPS=false", "make GOARCH=${TARGETARCH} GOOS=${TARGETOS} golangci-lint/install", "make go/tools/install", - "make cmake/install", "make hdf5/install", "make helm-docs/install", "make helm/install", @@ -528,6 +539,14 @@ var ( "make yq/install", "make docker-cli/install", } + + clangNgtBuildDeps = append(clangBuildDeps, ngtBuildDeps...) + clangHdf5BuildDeps = append(clangBuildDeps, "libaec-dev") + hdf5Preprocesses = []string{ + "make hdf5/install", + } + devContainerExtraPackages = append([]string{"sudo"}, append(clangNgtBuildDeps, devContainerDeps...)...) + goRunMounts = append(defaultMounts, goDefaultMounts...) ) func appendM[K comparable](maps ...map[K]string) map[K]string { @@ -677,33 +696,35 @@ func main() { year = y.Year() } eg, egctx := errgroup.New(ctx) + + rootDir := os.Args[1] + for n, d := range map[string]Data{ vald + "-" + agentNGT: { - AppName: "ngt", - PackageDir: agent + "/core/ngt", - // RuntimeImage: "gcr.io/distroless/cc-debian12", - ExtraPackages: append(clangBuildDeps, ngtBuildDeps...), - Preprocess: []string{ngtPreprocess}, + AppName: "ngt", + PackageDir: agent + "/core/ngt", + ExtraPackages: append(clangNgtBuildDeps, "libprotobuf-dev", "libzstd-dev"), + Preprocess: []string{ngtPreprocess}, + BuildCmakeClang: true, }, vald + "-" + agentFaiss: { - AppName: "faiss", - PackageDir: agent + "/core/faiss", - // RuntimeImage: "gcr.io/distroless/cc-debian12", - ExtraPackages: append(clangBuildDeps, ngtBuildDeps...), - Preprocess: []string{faissPreprocess}, + AppName: "faiss", + PackageDir: agent + "/core/faiss", + ExtraPackages: append(clangNgtBuildDeps, "libprotobuf-dev", "libzstd-dev"), + Preprocess: []string{faissPreprocess}, + BuildCmakeClang: true, }, vald + "-" + agent: { AppName: agent, PackageDir: agent + "/core/" + agent, ContainerType: Rust, - RuntimeImage: "gcr.io/distroless/cc-debian12", - ExtraPackages: append(clangBuildDeps, - append(ngtBuildDeps, - append(rustBuildDeps, clangLTOBuildDeps...)...)...), + RuntimeImage: defaultCCRuntimeImage, + ExtraPackages: append(clangNgtBuildDeps, "libprotobuf-dev", "libzstd-dev", "protobuf-compiler", "zlib1g-dev"), Preprocess: []string{ - ngtClangLTOPreprocess, + ngtPreprocess, faissPreprocess, }, + BuildCmakeClang: true, }, vald + "-" + agentSidecar: { AppName: "sidecar", @@ -758,12 +779,11 @@ func main() { PackageDir: "index/operator", }, vald + "-" + benchJob: { - AppName: "job", - PackageDir: "tools/benchmark/job", - ExtraPackages: append(clangBuildDeps, "libaec-dev"), - Preprocess: []string{ - "make hdf5/install", - }, + AppName: "job", + PackageDir: "tools/benchmark/job", + ExtraPackages: clangHdf5BuildDeps, + Preprocess: hdf5Preprocesses, + BuildCmakeClang: true, }, vald + "-" + benchOperator: { AppName: "operator", @@ -816,165 +836,310 @@ func main() { RuntimeUser: defaultBuildUser, ContainerType: DevContainer, PackageDir: "dev", - ExtraPackages: append([]string{"sudo"}, append(clangBuildDeps, - append(ngtBuildDeps, - append(rustBuildDeps, - devContainerDeps...)...)...)...), + ExtraPackages: devContainerExtraPackages, Preprocess: append(devContainerPreprocess, ngtPreprocess, faissPreprocess, usearchPreprocess), + BuildCmakeClang: true, }, vald + "-" + exampleContainer: { - AppName: "client", - PackageDir: "example/client", - ExtraPackages: append(clangBuildDeps, "libaec-dev"), - Preprocess: []string{ - "make hdf5/install", - }, + AppName: "client", + PackageDir: "example/client", + ExtraPackages: clangHdf5BuildDeps, + Preprocess: hdf5Preprocesses, + BuildCmakeClang: true, }, vald + "-" + e2e: { - AppName: e2e, - PackageDir: e2eV2TestPath + "/" + e2e, - ExtraPackages: append(clangBuildDeps, "libaec-dev"), - Preprocess: []string{ - "make hdf5/install", - }, + AppName: e2e, + PackageDir: e2eV2TestPath + "/" + e2e, + ExtraPackages: clangHdf5BuildDeps, + Preprocess: hdf5Preprocesses, + BuildCmakeClang: true, }, vald + "-" + buildbase: { - AppName: buildbase, - AliasImage: true, - PackageDir: buildbase, - BuilderImage: "ubuntu", - BuilderTag: "latest", + AppName: buildbase, + AliasImage: true, + ContainerType: Other, + PackageDir: buildbase, + BuilderImage: "ubuntu", + BuilderTag: "latest", }, vald + "-" + buildkit: { - AppName: buildkit, - AliasImage: true, - PackageDir: buildkit, - BuilderImage: "moby/" + buildkit, - BuilderTag: "master", + AppName: buildkit, + AliasImage: true, + ContainerType: Other, + PackageDir: buildkit, + BuilderImage: "moby/" + buildkit, + BuilderTag: "master", }, vald + "-" + binfmt: { - AppName: binfmt, - AliasImage: true, - PackageDir: binfmt, - BuilderImage: "tonistiigi/" + binfmt, - BuilderTag: "master", + AppName: binfmt, + AliasImage: true, + ContainerType: Other, + PackageDir: binfmt, + BuilderImage: "tonistiigi/" + binfmt, + BuilderTag: "master", }, vald + "-" + buildkitSyftScanner: { AppName: "scanner", AliasImage: true, + ContainerType: Other, PackageDir: buildkit + "/syft/scanner", BuilderImage: "docker/" + buildkitSyftScanner, BuilderTag: "edge", BuildStageName: "scanner", }, } { - name := n - data := d - + data := prepareData(n, d, maintainer, year, rootDir) eg.Go(safety.RecoverFunc(func() error { - data.Name = strings.TrimPrefix(name, vald+"-") - switch data.ContainerType { - case HelmOperator: - data.PullRequestPaths = append(data.PullRequestPaths, - chartPath, - valuesPath, - templatesPath, - helmOperatorChartPath, - helmOperatorValuesPath, - helmOperatorTemplatesPath, - operatorSDKVersionPath, - ) - case DevContainer: - data.PullRequestPaths = append(data.PullRequestPaths, - apisProtoPath, - hackPath, - goModPath, - goSumPath, - goVersionPath, - ) - case Go: - data.PullRequestPaths = append(data.PullRequestPaths, - apisProtoPath, - goModPath, - goSumPath, - goVersionPath, - excludeTestFilesPath, - excludeMockFilesPath, - ) - mainFile := file.Join(os.Args[1], "cmd", data.PackageDir, "main.go") - if file.Exists(mainFile) { - ns, err := buildDependencyTree(os.Args[1], mainFile) - if err != nil { - log.Error(err) - } - pkgs := make([]string, 0, len(ns)+1) - pkgs = append(pkgs, file.Join("cmd", data.PackageDir)) - for _, pnode := range ns { - pkgs = append(pkgs, pnode.ToSlice()...) - } - slices.Sort(pkgs) - pkgs = slices.Compact(pkgs) - root, err := os.Getwd() - if err != nil { - root = os.Getenv("HOME") - } - if root != "" && !strings.HasSuffix(root, string(os.PathSeparator)) { - root += string(os.PathSeparator) - } - for i, pkg := range pkgs { - const splitWord = "/" + repository + "/" - pkg = file.Join(pkg, "*.go") - index := strings.LastIndex(pkg, splitWord) - if index != -1 { - pkg = pkg[index+len(splitWord):] - } - if root != "" { - pkg = strings.TrimPrefix(pkg, root) - } - pkgs[i] = pkg - } - data.PullRequestPaths = append(data.PullRequestPaths, pkgs...) - } - case Rust: - data.PullRequestPaths = append(data.PullRequestPaths, - apisProtoPath, - cargoLockPath, - cargoTomlPath, - rustBinAgentDirPath, - rustNgtRsPath, - rustNgtPath, - rustProtoPath, - rustVersionPath, - ) + return genWorkflow(egctx, rootDir, data) + })) + eg.Go(safety.RecoverFunc(func() error { + return genDockerfile(egctx, rootDir, data) + })) + } + eg.Wait() +} + +// PackageNode represents a node in the dependency tree. +type PackageNode struct { + Name string + Imports []*PackageNode +} + +// ToSlice traverses the dependency tree and returns all dependencies as a slice. +func (n PackageNode) ToSlice() (pkgs []string) { + pkgs = make([]string, 0, len(n.Imports)+1) + if n.Name != "command-line-arguments" { + pkgs = append(pkgs, n.Name) + } + for _, node := range n.Imports { + pkgs = append(pkgs, node.ToSlice()...) + } + return pkgs +} + +func prepareData(name string, data Data, maintainer string, year int, rootDir string) Data { + data.Name = strings.TrimPrefix(name, vald+"-") + data.Year = year + data.Maintainer = maintainer + + switch data.ContainerType { + case HelmOperator: + data.PullRequestPaths = append(data.PullRequestPaths, + chartPath, + valuesPath, + templatesPath, + helmOperatorChartPath, + helmOperatorValuesPath, + helmOperatorTemplatesPath, + operatorSDKVersionPath, + ) + case DevContainer: + data.PullRequestPaths = append(data.PullRequestPaths, + apisProtoPath, + hackPath, + goModPath, + goSumPath, + goVersionPath, + ) + case Go: + data.PullRequestPaths = append(data.PullRequestPaths, + apisProtoPath, + goModPath, + goSumPath, + goVersionPath, + excludeTestFilesPath, + excludeMockFilesPath, + ) + mainFile := file.Join(rootDir, "cmd", data.PackageDir, "main.go") + if file.Exists(mainFile) { + ns, err := buildDependencyTree(rootDir, mainFile) + if err != nil { + log.Error(err) } - if strings.EqualFold(data.Name, agentFaiss) || data.ContainerType == Rust { - data.PullRequestPaths = append(data.PullRequestPaths, faissVersionPath) + pkgs := make([]string, 0, len(ns)+1) + pkgs = append(pkgs, file.Join("cmd", data.PackageDir)) + for _, pnode := range ns { + pkgs = append(pkgs, pnode.ToSlice()...) } - if strings.EqualFold(data.Name, agentNGT) || data.ContainerType == Rust { - data.PullRequestPaths = append(data.PullRequestPaths, ngtVersionPath) + slices.Sort(pkgs) + pkgs = slices.Compact(pkgs) + root, err := os.Getwd() + if err != nil { + root = os.Getenv("HOME") } - - if !data.AliasImage { - data.PullRequestPaths = append(data.PullRequestPaths, makefilePath, makefileDirPath) + if root != "" && !strings.HasSuffix(root, string(os.PathSeparator)) { + root += string(os.PathSeparator) } - - if data.AliasImage { - data.BuildPlatforms = multiPlatforms + for i, pkg := range pkgs { + const splitWord = "/" + repository + "/" + pkg = file.Join(pkg, "*.go") + index := strings.LastIndex(pkg, splitWord) + if index != -1 { + pkg = pkg[index+len(splitWord):] + } + if root != "" { + pkg = strings.TrimPrefix(pkg, root) + } + pkgs[i] = pkg } + data.PullRequestPaths = append(data.PullRequestPaths, pkgs...) + } + case Rust: + data.PullRequestPaths = append(data.PullRequestPaths, + apisProtoPath, + cargoLockPath, + cargoTomlPath, + rustBinAgentDirPath, + rustNgtRsPath, + rustNgtPath, + rustProtoPath, + rustVersionPath, + ) + } + if strings.EqualFold(data.Name, agentFaiss) || data.ContainerType == Rust { + data.PullRequestPaths = append(data.PullRequestPaths, faissVersionPath) + } + if strings.EqualFold(data.Name, agentNGT) || data.ContainerType == Rust { + data.PullRequestPaths = append(data.PullRequestPaths, ngtVersionPath) + } - data.Year = year - if maintainer := os.Getenv(maintainerKey); maintainer != "" { - data.Maintainer = maintainer - } else { - data.Maintainer = defaultMaintainer - } + if !data.AliasImage { + data.PullRequestPaths = append(data.PullRequestPaths, makefilePath, makefileDirPath) + } + + if data.AliasImage { + data.BuildPlatforms = multiPlatforms + } + + if data.BinDir == "" { + data.BinDir = defaultBinaryDir + } + if data.RuntimeImage == "" { + data.RuntimeImage = defaultRuntimeImage + } + if data.RuntimeTag == "" { + data.RuntimeTag = defaultRuntimeTag + } + if data.BuilderImage == "" { + data.BuilderImage = defaultBuilderImage + } + if data.BuilderTag == "" { + data.BuilderTag = defaultBuilderTag + } + if data.RuntimeUser == "" { + data.RuntimeUser = defaultRuntimeUser + } + if data.BuildUser == "" { + data.BuildUser = defaultBuildUser + } + if data.BuildStageName == "" { + data.BuildStageName = defaultBuildStageName + } + if data.Environments == nil { + data.Environments = make(map[string]string, len(defaultEnvironments)) + } + data.Environments = appendM(data.Environments, defaultEnvironments) + + cppInstallCommands := []string{ + "make ninja/install", + "make cmake/install", + } + switch data.ContainerType { + case Go: + data.BuildCmakeClang = true + data.ExtraPackages = append(data.ExtraPackages, clangBuildDeps...) + data.Environments = appendM(data.Environments, goDefaultEnvironments) + data.RootDir = goWorkdir + commands := make([]string, 0, len(cppInstallCommands)+len(goInstallCommands)+len(data.Preprocess)+len(goBuildCommands)) + if data.BuildCmakeClang { + commands = append(commands, cppInstallCommands...) + } + commands = append(commands, goInstallCommands...) + if data.Preprocess != nil { + commands = append(commands, data.Preprocess...) + } + if file.Exists(file.Join(rootDir, "cmd", data.PackageDir)) { + commands = append(commands, goBuildCommands...) + } else if strings.HasPrefix(data.PackageDir, "example") && file.Exists(file.Join(rootDir, data.PackageDir)) { + commands = append(commands, goExampleBuildCommands...) + } else if strings.HasPrefix(data.PackageDir, e2eV2TestPath+"/"+e2e) && file.Exists(file.Join(rootDir, data.PackageDir)) { + commands = append(commands, e2eBuildCommands...) + } + data.RunCommands = commands + data.RunMounts = goRunMounts + case Rust: + data.Environments = appendM(data.Environments, rustDefaultEnvironments, clangLTOEnvironments) + data.RootDir = rustWorkdir + commands := make([]string, 0, len(cppInstallCommands)+len(rustInstallCommands)+len(data.Preprocess)+len(rustBuildCommands)) + if data.BuildCmakeClang { + commands = append(commands, cppInstallCommands...) + } + commands = append(commands, rustInstallCommands...) + if data.Preprocess != nil { + commands = append(commands, data.Preprocess...) + } + commands = append(commands, rustBuildCommands...) + data.RunCommands = commands + data.RunMounts = defaultMounts + case DevContainer: + data.Environments = appendM(data.Environments, goDefaultEnvironments, rustDefaultEnvironments) + data.RootDir = goWorkdir + commands := make([]string, 0, len(cppInstallCommands)+len(goInstallCommands)+len(rustInstallCommands)+len(data.Preprocess)+1) + if data.BuildCmakeClang { + commands = append(commands, cppInstallCommands...) + } + commands = append(commands, append(goInstallCommands, rustInstallCommands...)...) + if data.Preprocess != nil { + commands = append(commands, data.Preprocess...) + } + commands = append(commands, "rm -rf {{.RootDir}}/${ORG}/${REPO}/*") + data.RunCommands = commands + data.RunMounts = goRunMounts + case HelmOperator: + data.ExtraPackages = append(data.ExtraPackages, clangBuildDeps...) + data.Environments = appendM(data.Environments, goDefaultEnvironments) + data.RootDir = goWorkdir + commands := make([]string, 0, len(cppInstallCommands)+len(goInstallCommands)+len(data.Preprocess)) + if data.BuildCmakeClang { + commands = append(commands, cppInstallCommands...) + } + commands = append(commands, goInstallCommands...) + if data.Preprocess != nil { + commands = append(commands, data.Preprocess...) + } + data.RunCommands = commands + data.RunMounts = goRunMounts + default: + data.RootDir = "${HOME}" + data.Environments["ROOTDIR"] = rootDir + } + if strings.Contains(data.BuildUser, rootUser) { + data.Environments["HOME"] = "/" + rootUser + data.Environments["USER"] = rootUser + } else { + user, _, _ := strings.Cut(data.BuildUser, ":") + data.Environments["HOME"] = "/home/" + user + data.Environments["USER"] = user + } + + data.Environments["APP_NAME"] = data.AppName + data.Environments["PKG"] = data.PackageDir + data.Environments["YEAR"] = fmt.Sprintf("%d", data.Year) + data.EnvironmentsSlice = topologicalSort(data.Environments) + data.ConfigExists = file.Exists(file.Join(rootDir, "cmd", data.PackageDir, "sample.yaml")) + + slices.Sort(data.ExtraPackages) + data.ExtraPackages = slices.Compact(data.ExtraPackages) + return data +} - log.Infof("Generating %s's workflow", data.Name) - workflow := new(Workflow) - err := yaml.Unmarshal(conv.Atob(`name: "Build docker image: `+data.Name+`" +func genWorkflow(ctx context.Context, rootDir string, data Data) error { + log.Infof("Generating %s's workflow", data.Name) + workflow := new(Workflow) + err := yaml.Unmarshal(conv.Atob(`name: "Build docker image: `+data.Name+`" on: schedule: - cron: "0 * * * *" @@ -1007,209 +1172,78 @@ jobs: target: "`+data.Name+`" platforms: "" `), &workflow) - if err != nil { - return errors.Wrap(err, "failed to decode YAML") - } - - if !data.AliasImage { - workflow.On.Schedule = nil - } - workflow.On.PullRequest.Paths = append(workflow.On.PullRequest.Paths, data.PullRequestPaths...) - if strings.EqualFold(data.Name, exampleContainer) { - workflow.On.PullRequest.Paths = slices.DeleteFunc(workflow.On.PullRequest.Paths, func(path string) bool { - return strings.HasPrefix(path, "cmd") || strings.HasPrefix(path, "pkg") - }) - workflow.On.PullRequest.Paths = append(workflow.On.PullRequest.Paths, data.PackageDir+"/**") - } - slices.Sort(workflow.On.PullRequest.Paths) - workflow.On.PullRequest.Paths = slices.Compact(workflow.On.PullRequest.Paths) - - workflow.On.PullRequestTarget.Paths = workflow.On.PullRequest.Paths - workflow.Jobs.Build.With.Platforms = data.BuildPlatforms - - workflow.Jobs.Build.Permissions = map[string]string{ - "contents": "read", - } + if err != nil { + return errors.Wrap(err, "failed to decode YAML") + } - workflow.Jobs.Build.Secrets = map[string]string{ - "PACKAGE_USER": "${{ secrets.PACKAGE_USER }}", - "PACKAGE_TOKEN": "${{ secrets.PACKAGE_TOKEN }}", - "DOCKERHUB_USER": "${{ secrets.DOCKERHUB_USER }}", - "DOCKERHUB_PASS": "${{ secrets.DOCKERHUB_PASS }}", - "SLACK_NOTIFY_WEBHOOK_URL": "${{ secrets.SLACK_NOTIFY_WEBHOOK_URL }}", - } + if !data.AliasImage { + workflow.On.Schedule = nil + } + workflow.On.PullRequest.Paths = append(workflow.On.PullRequest.Paths, data.PullRequestPaths...) + if strings.EqualFold(data.Name, exampleContainer) { + workflow.On.PullRequest.Paths = slices.DeleteFunc(workflow.On.PullRequest.Paths, func(path string) bool { + return strings.HasPrefix(path, "cmd") || strings.HasPrefix(path, "pkg") + }) + workflow.On.PullRequest.Paths = append(workflow.On.PullRequest.Paths, data.PackageDir+"/**") + } + slices.Sort(workflow.On.PullRequest.Paths) + workflow.On.PullRequest.Paths = slices.Compact(workflow.On.PullRequest.Paths) - workflowYamlTmp, err := yaml.Marshal(workflow) - if err != nil { - return errors.Wrap(err, "failed to marshal workflow struct to YAML") - } + workflow.On.PullRequestTarget.Paths = workflow.On.PullRequest.Paths + workflow.Jobs.Build.With.Platforms = data.BuildPlatforms - // remove the double quotation marks from the generated key "on": (note that the word "on" is a reserved word in sigs.k8s.io/yaml) - workflowYaml := strings.Replace(string(workflowYamlTmp), "\"on\":", "on:", 1) + workflow.Jobs.Build.Permissions = map[string]string{ + "contents": "read", + } - if len(header) > (int(^uint(0)>>1) - len(workflowYaml)) { - return errors.New("size computation for allocation may overflow") - } - totalLen := len(header) + len(workflowYaml) + workflow.Jobs.Build.Secrets = map[string]string{ + "PACKAGE_USER": "${{ secrets.PACKAGE_USER }}", + "PACKAGE_TOKEN": "${{ secrets.PACKAGE_TOKEN }}", + "DOCKERHUB_USER": "${{ secrets.DOCKERHUB_USER }}", + "DOCKERHUB_PASS": "${{ secrets.DOCKERHUB_PASS }}", + "SLACK_NOTIFY_WEBHOOK_URL": "${{ secrets.SLACK_NOTIFY_WEBHOOK_URL }}", + } - buf := bytes.NewBuffer(make([]byte, 0, totalLen)) - err = license.Execute(buf, data) - if err != nil { - return errors.Wrap(err, "failed to execute template") - } - buf.WriteString("\r\n") - buf.WriteString(workflowYaml) - fileName := file.Join(os.Args[1], ".github/workflows", "dockers-"+data.Name+"-image.yaml") - _, err = file.OverWriteFile(egctx, fileName, buf, fs.ModePerm) - if err != nil { - return errors.Wrapf(err, "failed to writing workflow file for %s", fileName) - } - return nil - })) + workflowYamlTmp, err := yaml.Marshal(workflow) + if err != nil { + return errors.Wrap(err, "failed to marshal workflow struct to YAML") + } - eg.Go(safety.RecoverFunc(func() error { - data.Maintainer = maintainer - data.Year = year - if data.BinDir == "" { - data.BinDir = defaultBinaryDir - } - if data.RuntimeImage == "" { - data.RuntimeImage = defaultRuntimeImage - } - if data.RuntimeTag == "" { - data.RuntimeTag = defaultRuntimeTag - } - if data.BuilderImage == "" { - data.BuilderImage = defaultBuilderImage - } - if data.BuilderTag == "" { - data.BuilderTag = defaultBuilderTag - } - if data.RuntimeUser == "" { - data.RuntimeUser = defaultRuntimeUser - } - if data.BuildUser == "" { - data.BuildUser = defaultBuildUser - } - if data.BuildStageName == "" { - data.BuildStageName = defaultBuildStageName - } - if data.Environments != nil { - data.Environments = appendM(data.Environments, defaultEnvironments) - } else { - data.Environments = make(map[string]string, len(defaultEnvironments)) - data.Environments = appendM(data.Environments, defaultEnvironments) - } - switch data.ContainerType { - case Go: - data.Environments = appendM(data.Environments, goDefaultEnvironments) - data.RootDir = goWorkdir - commands := make([]string, 0, len(goInstallCommands)+len(data.Preprocess)+len(goBuildCommands)) - commands = append(commands, goInstallCommands...) - if data.Preprocess != nil { - commands = append(commands, data.Preprocess...) - } - if file.Exists(file.Join(os.Args[1], "cmd", data.PackageDir)) { - commands = append(commands, goBuildCommands...) - } else if strings.HasPrefix(data.PackageDir, "example") && file.Exists(file.Join(os.Args[1], data.PackageDir)) { - commands = append(commands, goExampleBuildCommands...) - } else if strings.HasPrefix(data.PackageDir, e2eV2TestPath+"/"+e2e) && file.Exists(file.Join(os.Args[1], data.PackageDir)) { - commands = append(commands, e2eBuildCommands...) - } - data.RunCommands = commands - mounts := make([]string, 0, len(defaultMounts)+len(goDefaultMounts)) - mounts = append(mounts, defaultMounts...) - mounts = append(mounts, goDefaultMounts...) - data.RunMounts = mounts - case Rust: - data.Environments = appendM(data.Environments, rustDefaultEnvironments, clangLTOEnvironments) - data.RootDir = rustWorkdir - commands := make([]string, 0, len(rustInstallCommands)+len(data.Preprocess)+len(rustBuildCommands)) - commands = append(commands, rustInstallCommands...) - if data.Preprocess != nil { - commands = append(commands, data.Preprocess...) - } - commands = append(commands, rustBuildCommands...) - data.RunCommands = commands - data.RunMounts = defaultMounts - case DevContainer: - data.Environments = appendM(data.Environments, goDefaultEnvironments, rustDefaultEnvironments, clangDefaultEnvironments) - data.RootDir = goWorkdir - commands := make([]string, 0, len(goInstallCommands)+len(rustInstallCommands)+len(data.Preprocess)+1) - commands = append(commands, append(goInstallCommands, rustInstallCommands...)...) - if data.Preprocess != nil { - commands = append(commands, data.Preprocess...) - } - commands = append(commands, "rm -rf {{.RootDir}}/${ORG}/${REPO}/*") - data.RunCommands = commands - mounts := make([]string, 0, len(defaultMounts)+len(goDefaultMounts)) - mounts = append(mounts, defaultMounts...) - mounts = append(mounts, goDefaultMounts...) - data.RunMounts = mounts - case HelmOperator: - data.Environments = appendM(data.Environments, goDefaultEnvironments) - data.RootDir = goWorkdir - commands := make([]string, 0, len(goInstallCommands)+len(data.Preprocess)) - commands = append(commands, goInstallCommands...) - if data.Preprocess != nil { - commands = append(commands, data.Preprocess...) - } - data.RunCommands = commands - mounts := make([]string, 0, len(defaultMounts)+len(goDefaultMounts)) - mounts = append(mounts, defaultMounts...) - mounts = append(mounts, goDefaultMounts...) - data.RunMounts = mounts - default: - data.RootDir = "${HOME}" - data.Environments["ROOTDIR"] = os.Args[1] - } - if strings.Contains(data.BuildUser, rootUser) { - data.Environments["HOME"] = "/" + rootUser - data.Environments["USER"] = rootUser - } else { - user, _, _ := strings.Cut(data.BuildUser, ":") - data.Environments["HOME"] = "/home/" + user - data.Environments["USER"] = user - } + // remove the double quotation marks from the generated key "on": (note that the word "on" is a reserved word in sigs.k8s.io/yaml) + workflowYaml := strings.Replace(string(workflowYamlTmp), "\"on\":", "on:", 1) - data.Environments["APP_NAME"] = data.AppName - data.Environments["PKG"] = data.PackageDir - data.EnvironmentsSlice = topologicalSort(data.Environments) - data.ConfigExists = file.Exists(file.Join(os.Args[1], "cmd", data.PackageDir, "sample.yaml")) - - buf := bytes.NewBuffer(make([]byte, 0, 1024)) - log.Infof("Generating %s's Dockerfile", name) - docker.Execute(buf, data) - tpl := buf.String() - buf.Reset() - template.Must(template.New("Dockerfile").Parse(tpl)).Execute(buf, data) - fileName := file.Join(os.Args[1], "dockers", data.PackageDir, "Dockerfile") - _, err := file.OverWriteFile(egctx, fileName, buf, fs.ModePerm) - if err != nil { - return errors.Wrapf(err, "failed to writing Dockerfile for %s", fileName) - } - return nil - })) + if len(header) > (int(^uint(0)>>1) - len(workflowYaml)) { + return errors.New("size computation for allocation may overflow") } - eg.Wait() -} + totalLen := len(header) + len(workflowYaml) -// PackageNode represents a node in the dependency tree. -type PackageNode struct { - Name string - Imports []*PackageNode + buf := bytes.NewBuffer(make([]byte, 0, totalLen)) + err = license.Execute(buf, data) + if err != nil { + return errors.Wrap(err, "failed to execute template") + } + buf.WriteString(workflowYaml) + fileName := file.Join(rootDir, ".github/workflows", "dockers-"+data.Name+"-image.yaml") + _, err = file.OverWriteFile(ctx, fileName, buf, fs.ModePerm) + if err != nil { + return errors.Wrapf(err, "failed to writing workflow file for %s", fileName) + } + return nil } -// ToSlice traverses the dependency tree and returns all dependencies as a slice. -func (n PackageNode) ToSlice() (pkgs []string) { - pkgs = make([]string, 0, len(n.Imports)+1) - if n.Name != "command-line-arguments" { - pkgs = append(pkgs, n.Name) - } - for _, node := range n.Imports { - pkgs = append(pkgs, node.ToSlice()...) +func genDockerfile(ctx context.Context, rootDir string, data Data) error { + buf := bytes.NewBuffer(make([]byte, 0, 1024)) + log.Infof("Generating %s's Dockerfile", data.Name) + docker.Execute(buf, data) + tpl := buf.String() + buf.Reset() + template.Must(template.New("Dockerfile").Parse(tpl)).Execute(buf, data) + fileName := file.Join(rootDir, "dockers", data.PackageDir, "Dockerfile") + _, err := file.OverWriteFile(ctx, fileName, buf, fs.ModePerm) + if err != nil { + return errors.Wrapf(err, "failed to writing Dockerfile for %s", fileName) } - return pkgs + return nil } // String returns string of the dependency tree in a readable format. diff --git a/hack/go.mod.default b/hack/go.mod.default index 06b7ac3eff..852e9573b4 100644 --- a/hack/go.mod.default +++ b/hack/go.mod.default @@ -1,6 +1,6 @@ module github.com/vdaas/vald -go 1.26.1 +go 1.26.4 replace ( buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go => buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go upgrade @@ -71,6 +71,6 @@ replace ( k8s.io/apimachinery => k8s.io/apimachinery upgrade k8s.io/cli-runtime => k8s.io/cli-runtime upgrade k8s.io/metrics => k8s.io/metrics upgrade - sigs.k8s.io/controller-runtime => sigs.k8s.io/controller-runtime v0.23.3 + sigs.k8s.io/controller-runtime => sigs.k8s.io/controller-runtime v0.24.1 sigs.k8s.io/yaml => sigs.k8s.io/yaml upgrade ) diff --git a/hack/grafana/gen/src/agent.go b/hack/grafana/gen/src/agent.go index 6b8c15b37f..13ba3407ac 100644 --- a/hack/grafana/gen/src/agent.go +++ b/hack/grafana/gen/src/agent.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/hack/grafana/gen/src/benchmark.go b/hack/grafana/gen/src/benchmark.go index d111294cb7..ebf3d2a03d 100644 --- a/hack/grafana/gen/src/benchmark.go +++ b/hack/grafana/gen/src/benchmark.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/hack/grafana/gen/src/common.go b/hack/grafana/gen/src/common.go index d74e81375e..9c7ffd1aba 100644 --- a/hack/grafana/gen/src/common.go +++ b/hack/grafana/gen/src/common.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/hack/grafana/gen/src/const.go b/hack/grafana/gen/src/const.go index aa944ffedf..ae8c47e12c 100644 --- a/hack/grafana/gen/src/const.go +++ b/hack/grafana/gen/src/const.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/hack/grafana/gen/src/helm.go b/hack/grafana/gen/src/helm.go index e92bde5771..e67e8c4aed 100644 --- a/hack/grafana/gen/src/helm.go +++ b/hack/grafana/gen/src/helm.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/hack/grafana/gen/src/index_correction.go b/hack/grafana/gen/src/index_correction.go index 5a3415a5bb..27c239ad63 100644 --- a/hack/grafana/gen/src/index_correction.go +++ b/hack/grafana/gen/src/index_correction.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/hack/grafana/gen/src/overview.go b/hack/grafana/gen/src/overview.go index 844239d2dd..2d84ca8833 100644 --- a/hack/grafana/gen/src/overview.go +++ b/hack/grafana/gen/src/overview.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/hack/grafana/gen/src/puzzle.go b/hack/grafana/gen/src/puzzle.go index 0569d09dab..14a2c02000 100644 --- a/hack/grafana/gen/src/puzzle.go +++ b/hack/grafana/gen/src/puzzle.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // This file is a workaround for placing panels from top left. // This file can be removed when https://github.com/grafana/grafana-foundation-sdk/issues/673 is resolved. diff --git a/hack/grafana/gen/src/stat.go b/hack/grafana/gen/src/stat.go index 26283479c8..68ed6ffff3 100644 --- a/hack/grafana/gen/src/stat.go +++ b/hack/grafana/gen/src/stat.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/hack/helm/schema/crd/main.go b/hack/helm/schema/crd/main.go index 8b5c8f7351..87413d251a 100644 --- a/hack/helm/schema/crd/main.go +++ b/hack/helm/schema/crd/main.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/hack/helm/schema/crd/main_test.go b/hack/helm/schema/crd/main_test.go index ec9fbd3777..53db13e806 100644 --- a/hack/helm/schema/crd/main_test.go +++ b/hack/helm/schema/crd/main_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/hack/helm/schema/gen/main.go b/hack/helm/schema/gen/main.go index b9516058fb..22ad40b13f 100644 --- a/hack/helm/schema/gen/main.go +++ b/hack/helm/schema/gen/main.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/hack/helm/schema/gen/main_test.go b/hack/helm/schema/gen/main_test.go index bd9aaa3339..88ce288e46 100644 --- a/hack/helm/schema/gen/main_test.go +++ b/hack/helm/schema/gen/main_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/hack/license/gen/main.go b/hack/license/gen/main.go index 9ec4328187..247e81979d 100644 --- a/hack/license/gen/main.go +++ b/hack/license/gen/main.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main @@ -34,21 +32,19 @@ import ( ) var ( - apache = template.Must(template.New("Apache License").Parse(`{{.Escape}} -{{.Escape}} Copyright (C) 2019-{{.Year}} {{.Maintainer}} + apache = template.Must(template.New("Apache License").Parse(`{{.Escape}} Copyright (C) 2019-{{.Year}} {{.Maintainer}} {{.Escape}} {{.Escape}} Licensed under the Apache License, Version 2.0 (the "License"); {{.Escape}} You may not use this file except in compliance with the License. {{.Escape}} You may obtain a copy of the License at {{.Escape}} -{{.Escape}} https://www.apache.org/licenses/LICENSE-2.0 +{{.Escape}} https://www.apache.org/licenses/LICENSE-2.0 {{.Escape}} {{.Escape}} Unless required by applicable law or agreed to in writing, software {{.Escape}} distributed under the License is distributed on an "AS IS" BASIS, {{.Escape}} WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. {{.Escape}} See the License for the specific language governing permissions and {{.Escape}} limitations under the License. -{{.Escape}} `)) docker = template.Must(template.New("Apache License").Parse(`{{.Escape}} syntax = docker/dockerfile:latest {{.Escape}} check=error=true @@ -69,9 +65,8 @@ var ( {{.Escape}} `)) - googleProtoApache = template.Must(template.New("Google Proto Apache License").Parse(`{{.Escape}} -{{.Escape}} Copyright (C) {{.Year}} Google LLC -{{.Escape}} Modified by {{.Maintainer}} + sharpApache = template.Must(template.New("Apache License Sharp").Parse(`{{.Escape}} +{{.Escape}} Copyright (C) 2019-{{.Year}} {{.Maintainer}} {{.Escape}} {{.Escape}} Licensed under the Apache License, Version 2.0 (the "License"); {{.Escape}} You may not use this file except in compliance with the License. @@ -87,8 +82,23 @@ var ( {{.Escape}} `)) - goStandard = template.Must(template.New("Go License").Parse(`{{.Escape}} -{{.Escape}} Copyright (c) 2009-{{.Year}} The Go Authors. All rights resered. + googleProtoApache = template.Must(template.New("Google Proto Apache License").Parse(`{{.Escape}} Copyright (C) {{.Year}} Google LLC +{{.Escape}} Modified by {{.Maintainer}} +{{.Escape}} +{{.Escape}} Licensed under the Apache License, Version 2.0 (the "License"); +{{.Escape}} You may not use this file except in compliance with the License. +{{.Escape}} You may obtain a copy of the License at +{{.Escape}} +{{.Escape}} https://www.apache.org/licenses/LICENSE-2.0 +{{.Escape}} +{{.Escape}} Unless required by applicable law or agreed to in writing, software +{{.Escape}} distributed under the License is distributed on an "AS IS" BASIS, +{{.Escape}} WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +{{.Escape}} See the License for the specific language governing permissions and +{{.Escape}} limitations under the License. +`)) + + goStandard = template.Must(template.New("Go License").Parse(`{{.Escape}} Copyright (c) 2009-{{.Year}} The Go Authors. All rights resered. {{.Escape}} Modified by {{.Maintainer}} {{.Escape}} {{.Escape}} Redistribution and use in source and binary forms, with or without @@ -116,7 +126,6 @@ var ( {{.Escape}} THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT {{.Escape}} (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE {{.Escape}} OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -{{.Escape}} `)) slushEscape = "//" @@ -335,6 +344,8 @@ func readAndRewrite(path string) error { default: if fi.Name() == "Dockerfile" { tmpl = docker + } else { + tmpl = sharpApache } } lf := true diff --git a/hack/license/gen/main_test.go b/hack/license/gen/main_test.go index a73e2832db..b323899ac1 100644 --- a/hack/license/gen/main_test.go +++ b/hack/license/gen/main_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/hack/tools/kvsdb/main.go b/hack/tools/kvsdb/main.go index 011bdddba5..78ace509bf 100644 --- a/hack/tools/kvsdb/main.go +++ b/hack/tools/kvsdb/main.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package main diff --git a/internal/backoff/backoff.go b/internal/backoff/backoff.go index ffafdc58b5..9b69bb8e77 100644 --- a/internal/backoff/backoff.go +++ b/internal/backoff/backoff.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package backoff diff --git a/internal/backoff/backoff_test.go b/internal/backoff/backoff_test.go index 2595c37cc0..5f9d865b16 100644 --- a/internal/backoff/backoff_test.go +++ b/internal/backoff/backoff_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package backoff diff --git a/internal/backoff/doc.go b/internal/backoff/doc.go index 321c8a97dc..e2b9cfcccd 100644 --- a/internal/backoff/doc.go +++ b/internal/backoff/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package backoff provides backoff function controller package backoff diff --git a/internal/backoff/option.go b/internal/backoff/option.go index 1e6ca9bc46..d8643bc3de 100644 --- a/internal/backoff/option.go +++ b/internal/backoff/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package backoff diff --git a/internal/cache/cache.go b/internal/cache/cache.go index 8d216ba5ce..d3c4b8a9d1 100644 --- a/internal/cache/cache.go +++ b/internal/cache/cache.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package cache diff --git a/internal/cache/cache_test.go b/internal/cache/cache_test.go index 135d1fb8cb..4e86d7d616 100644 --- a/internal/cache/cache_test.go +++ b/internal/cache/cache_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package cache diff --git a/internal/cache/cacher/cacher.go b/internal/cache/cacher/cacher.go index 97b020e162..1f3614b834 100644 --- a/internal/cache/cacher/cacher.go +++ b/internal/cache/cacher/cacher.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package cacher diff --git a/internal/cache/cacher/cacher_test.go b/internal/cache/cacher/cacher_test.go index f3fdd4b146..63d942dfdc 100644 --- a/internal/cache/cacher/cacher_test.go +++ b/internal/cache/cacher/cacher_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package cacher diff --git a/internal/cache/cacher/doc.go b/internal/cache/cacher/doc.go index 8ecf76cfd2..7be04cd49c 100644 --- a/internal/cache/cacher/doc.go +++ b/internal/cache/cacher/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package cacher provides implementation of cache type definition package cacher diff --git a/internal/cache/doc.go b/internal/cache/doc.go index af731820af..43fe90a43c 100644 --- a/internal/cache/doc.go +++ b/internal/cache/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package cache provides implementation of cache package cache diff --git a/internal/cache/gache/doc.go b/internal/cache/gache/doc.go index b4de773947..90754e1686 100644 --- a/internal/cache/gache/doc.go +++ b/internal/cache/gache/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package gache provides implementation of cache using gache package gache diff --git a/internal/cache/gache/gache.go b/internal/cache/gache/gache.go index 8b75e5b1d1..6aa9fb00b1 100644 --- a/internal/cache/gache/gache.go +++ b/internal/cache/gache/gache.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package gache diff --git a/internal/cache/gache/gache_test.go b/internal/cache/gache/gache_test.go index 75ca7fa05c..cb79523c40 100644 --- a/internal/cache/gache/gache_test.go +++ b/internal/cache/gache/gache_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package gache diff --git a/internal/cache/gache/option.go b/internal/cache/gache/option.go index b16269ba41..3891fc44ba 100644 --- a/internal/cache/gache/option.go +++ b/internal/cache/gache/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package gache diff --git a/internal/cache/gache/option_test.go b/internal/cache/gache/option_test.go index 05c0fa55ee..506386f388 100644 --- a/internal/cache/gache/option_test.go +++ b/internal/cache/gache/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package gache diff --git a/internal/cache/option.go b/internal/cache/option.go index 7b19db35c9..7dc8c7e5a5 100644 --- a/internal/cache/option.go +++ b/internal/cache/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package cache diff --git a/internal/cache/option_test.go b/internal/cache/option_test.go index d4af02a1e3..321a274e28 100644 --- a/internal/cache/option_test.go +++ b/internal/cache/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package cache diff --git a/internal/circuitbreaker/doc.go b/internal/circuitbreaker/doc.go index d8b2993c72..f6c060ece2 100644 --- a/internal/circuitbreaker/doc.go +++ b/internal/circuitbreaker/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package circuitbreaker provides functionality for Vald. package circuitbreaker diff --git a/internal/client/v1/client/agent/core/client.go b/internal/client/v1/client/agent/core/client.go index 13db3204c4..e3a1297745 100644 --- a/internal/client/v1/client/agent/core/client.go +++ b/internal/client/v1/client/agent/core/client.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package core diff --git a/internal/client/v1/client/agent/core/client_test.go b/internal/client/v1/client/agent/core/client_test.go index cfd346002f..688119dce3 100644 --- a/internal/client/v1/client/agent/core/client_test.go +++ b/internal/client/v1/client/agent/core/client_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package core diff --git a/internal/client/v1/client/agent/core/doc.go b/internal/client/v1/client/agent/core/doc.go index 8b5ff87abf..964d3c69fd 100644 --- a/internal/client/v1/client/agent/core/doc.go +++ b/internal/client/v1/client/agent/core/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package core provides agent ngt gRPC client functions package core diff --git a/internal/client/v1/client/agent/core/option.go b/internal/client/v1/client/agent/core/option.go index 29c89ab76f..fd15f86615 100644 --- a/internal/client/v1/client/agent/core/option.go +++ b/internal/client/v1/client/agent/core/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package core diff --git a/internal/client/v1/client/agent/core/option_test.go b/internal/client/v1/client/agent/core/option_test.go index ed6917dce4..079babbb64 100644 --- a/internal/client/v1/client/agent/core/option_test.go +++ b/internal/client/v1/client/agent/core/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package core diff --git a/internal/client/v1/client/client.go b/internal/client/v1/client/client.go index c5da0c948a..02f03bc3e2 100644 --- a/internal/client/v1/client/client.go +++ b/internal/client/v1/client/client.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package client diff --git a/internal/client/v1/client/discoverer/discover.go b/internal/client/v1/client/discoverer/discover.go index 6f39bbf7e6..1b12038515 100644 --- a/internal/client/v1/client/discoverer/discover.go +++ b/internal/client/v1/client/discoverer/discover.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package discoverer package discoverer diff --git a/internal/client/v1/client/discoverer/discover_test.go b/internal/client/v1/client/discoverer/discover_test.go index 72a8b2d199..8ebcf6e582 100644 --- a/internal/client/v1/client/discoverer/discover_test.go +++ b/internal/client/v1/client/discoverer/discover_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package discoverer package discoverer diff --git a/internal/client/v1/client/discoverer/doc.go b/internal/client/v1/client/discoverer/doc.go index 74ed6b9f61..170a6f07b7 100644 --- a/internal/client/v1/client/discoverer/doc.go +++ b/internal/client/v1/client/discoverer/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package discoverer provides functionality for Vald. package discoverer diff --git a/internal/client/v1/client/discoverer/option.go b/internal/client/v1/client/discoverer/option.go index 0ebb9019cc..3d0f9e338a 100644 --- a/internal/client/v1/client/discoverer/option.go +++ b/internal/client/v1/client/discoverer/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package discoverer package discoverer diff --git a/internal/client/v1/client/discoverer/option_test.go b/internal/client/v1/client/discoverer/option_test.go index 5abded099d..d6b5b07250 100644 --- a/internal/client/v1/client/discoverer/option_test.go +++ b/internal/client/v1/client/discoverer/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package discoverer package discoverer diff --git a/internal/client/v1/client/doc.go b/internal/client/v1/client/doc.go index aa462286f5..f174a7c372 100644 --- a/internal/client/v1/client/doc.go +++ b/internal/client/v1/client/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package client provides vald component client interfaces package client diff --git a/internal/client/v1/client/filter/egress/client.go b/internal/client/v1/client/filter/egress/client.go index ae5d9a90bd..2798d102ea 100644 --- a/internal/client/v1/client/filter/egress/client.go +++ b/internal/client/v1/client/filter/egress/client.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package egress diff --git a/internal/client/v1/client/filter/egress/client_test.go b/internal/client/v1/client/filter/egress/client_test.go index 7f8941cc7c..89606da203 100644 --- a/internal/client/v1/client/filter/egress/client_test.go +++ b/internal/client/v1/client/filter/egress/client_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package egress diff --git a/internal/client/v1/client/filter/egress/doc.go b/internal/client/v1/client/filter/egress/doc.go index 119ffa56aa..77343846bc 100644 --- a/internal/client/v1/client/filter/egress/doc.go +++ b/internal/client/v1/client/filter/egress/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package egress provides egress filter client logic package egress diff --git a/internal/client/v1/client/filter/egress/option.go b/internal/client/v1/client/filter/egress/option.go index 8446f899bb..2ebdc59fdc 100644 --- a/internal/client/v1/client/filter/egress/option.go +++ b/internal/client/v1/client/filter/egress/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package egress diff --git a/internal/client/v1/client/filter/egress/option_test.go b/internal/client/v1/client/filter/egress/option_test.go index 3ab3a61b0a..d211ec36c1 100644 --- a/internal/client/v1/client/filter/egress/option_test.go +++ b/internal/client/v1/client/filter/egress/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package egress diff --git a/internal/client/v1/client/filter/ingress/client.go b/internal/client/v1/client/filter/ingress/client.go index e2a9334eba..5694be9d8c 100644 --- a/internal/client/v1/client/filter/ingress/client.go +++ b/internal/client/v1/client/filter/ingress/client.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package ingress diff --git a/internal/client/v1/client/filter/ingress/client_test.go b/internal/client/v1/client/filter/ingress/client_test.go index 165b578bac..0956440dab 100644 --- a/internal/client/v1/client/filter/ingress/client_test.go +++ b/internal/client/v1/client/filter/ingress/client_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package ingress diff --git a/internal/client/v1/client/filter/ingress/doc.go b/internal/client/v1/client/filter/ingress/doc.go index d261bc523b..a345d50e72 100644 --- a/internal/client/v1/client/filter/ingress/doc.go +++ b/internal/client/v1/client/filter/ingress/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package ingress provides ingress filter client logic package ingress diff --git a/internal/client/v1/client/filter/ingress/option.go b/internal/client/v1/client/filter/ingress/option.go index b10f3093af..90fb697716 100644 --- a/internal/client/v1/client/filter/ingress/option.go +++ b/internal/client/v1/client/filter/ingress/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package ingress diff --git a/internal/client/v1/client/filter/ingress/option_test.go b/internal/client/v1/client/filter/ingress/option_test.go index 8ff9d3ed64..7309bb5ebd 100644 --- a/internal/client/v1/client/filter/ingress/option_test.go +++ b/internal/client/v1/client/filter/ingress/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package ingress diff --git a/internal/client/v1/client/mirror/doc.go b/internal/client/v1/client/mirror/doc.go index 7f34a2f5d4..d09be049f7 100644 --- a/internal/client/v1/client/mirror/doc.go +++ b/internal/client/v1/client/mirror/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package mirror provides functionality for Vald. package mirror diff --git a/internal/client/v1/client/vald/doc.go b/internal/client/v1/client/vald/doc.go index 4e1e2dad5c..4d2be08904 100644 --- a/internal/client/v1/client/vald/doc.go +++ b/internal/client/v1/client/vald/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package vald provides vald gRPC client library package vald diff --git a/internal/client/v1/client/vald/option.go b/internal/client/v1/client/vald/option.go index 751f9242bf..8654d08707 100644 --- a/internal/client/v1/client/vald/option.go +++ b/internal/client/v1/client/vald/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package vald diff --git a/internal/client/v1/client/vald/option_test.go b/internal/client/v1/client/vald/option_test.go index ce1110a034..02dc75ceb2 100644 --- a/internal/client/v1/client/vald/option_test.go +++ b/internal/client/v1/client/vald/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package vald diff --git a/internal/client/v1/client/vald/vald.go b/internal/client/v1/client/vald/vald.go index d9f8d962b4..68654b57dd 100644 --- a/internal/client/v1/client/vald/vald.go +++ b/internal/client/v1/client/vald/vald.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package vald diff --git a/internal/client/v1/client/vald/vald_test.go b/internal/client/v1/client/vald/vald_test.go index 7509c8d8ca..15308d0e39 100644 --- a/internal/client/v1/client/vald/vald_test.go +++ b/internal/client/v1/client/vald/vald_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package vald diff --git a/internal/compress/compress.go b/internal/compress/compress.go index 65d6097877..bbcf249d8d 100644 --- a/internal/compress/compress.go +++ b/internal/compress/compress.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package compress diff --git a/internal/compress/compress_test.go b/internal/compress/compress_test.go index a04f0544ec..60bc6805c4 100644 --- a/internal/compress/compress_test.go +++ b/internal/compress/compress_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package compress diff --git a/internal/compress/doc.go b/internal/compress/doc.go index c89fa9b750..1982ef9f6b 100644 --- a/internal/compress/doc.go +++ b/internal/compress/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package compress provides compressor interface package compress diff --git a/internal/compress/gob.go b/internal/compress/gob.go index 83fa4638ed..d9b973bff2 100644 --- a/internal/compress/gob.go +++ b/internal/compress/gob.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package compress diff --git a/internal/compress/gob/doc.go b/internal/compress/gob/doc.go index 06842c400f..1b6286eb80 100644 --- a/internal/compress/gob/doc.go +++ b/internal/compress/gob/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package gob provides functionality for Vald. package gob diff --git a/internal/compress/gob_option.go b/internal/compress/gob_option.go index 7ee74446f5..6d96140263 100644 --- a/internal/compress/gob_option.go +++ b/internal/compress/gob_option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package compress diff --git a/internal/compress/gob_test.go b/internal/compress/gob_test.go index 34da8a3bd7..945bd0bcda 100644 --- a/internal/compress/gob_test.go +++ b/internal/compress/gob_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package compress diff --git a/internal/compress/gzip.go b/internal/compress/gzip.go index 50cb747483..35fec17cd0 100644 --- a/internal/compress/gzip.go +++ b/internal/compress/gzip.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package compress diff --git a/internal/compress/gzip/doc.go b/internal/compress/gzip/doc.go index 80c83b58ce..8d70fdc12a 100644 --- a/internal/compress/gzip/doc.go +++ b/internal/compress/gzip/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package gzip provides functionality for Vald. package gzip diff --git a/internal/compress/gzip_option.go b/internal/compress/gzip_option.go index 06d6de9e94..b67fbd4861 100644 --- a/internal/compress/gzip_option.go +++ b/internal/compress/gzip_option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package compress diff --git a/internal/compress/gzip_option_test.go b/internal/compress/gzip_option_test.go index 33125a58e6..1612d6b8a2 100644 --- a/internal/compress/gzip_option_test.go +++ b/internal/compress/gzip_option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package compress diff --git a/internal/compress/gzip_test.go b/internal/compress/gzip_test.go index 539aa2fa2e..7ad482b5c4 100644 --- a/internal/compress/gzip_test.go +++ b/internal/compress/gzip_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package compress diff --git a/internal/compress/lz4.go b/internal/compress/lz4.go index f93c172105..d9f8f57950 100644 --- a/internal/compress/lz4.go +++ b/internal/compress/lz4.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package compress diff --git a/internal/compress/lz4/doc.go b/internal/compress/lz4/doc.go index 7e5c257687..2a98c51995 100644 --- a/internal/compress/lz4/doc.go +++ b/internal/compress/lz4/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package lz4 provides functionality for Vald. package lz4 diff --git a/internal/compress/lz4_option.go b/internal/compress/lz4_option.go index d981146ac0..9016b9b5aa 100644 --- a/internal/compress/lz4_option.go +++ b/internal/compress/lz4_option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package compress diff --git a/internal/compress/lz4_option_test.go b/internal/compress/lz4_option_test.go index 640ead5507..2f826185d1 100644 --- a/internal/compress/lz4_option_test.go +++ b/internal/compress/lz4_option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package compress diff --git a/internal/compress/lz4_test.go b/internal/compress/lz4_test.go index 708c7d8bf4..33c3871cf6 100644 --- a/internal/compress/lz4_test.go +++ b/internal/compress/lz4_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package compress diff --git a/internal/compress/zstd.go b/internal/compress/zstd.go index 498d4356e3..26d226afd2 100644 --- a/internal/compress/zstd.go +++ b/internal/compress/zstd.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package compress diff --git a/internal/compress/zstd/doc.go b/internal/compress/zstd/doc.go index 51904ac738..3b57b4c0c8 100644 --- a/internal/compress/zstd/doc.go +++ b/internal/compress/zstd/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package zstd provides functionality for Vald. package zstd diff --git a/internal/compress/zstd_option.go b/internal/compress/zstd_option.go index 85d049f573..7692f01834 100644 --- a/internal/compress/zstd_option.go +++ b/internal/compress/zstd_option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package compress diff --git a/internal/compress/zstd_option_test.go b/internal/compress/zstd_option_test.go index 738422ebed..7667c8f115 100644 --- a/internal/compress/zstd_option_test.go +++ b/internal/compress/zstd_option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package compress diff --git a/internal/compress/zstd_test.go b/internal/compress/zstd_test.go index d3df67f146..94721d748f 100644 --- a/internal/compress/zstd_test.go +++ b/internal/compress/zstd_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package compress diff --git a/internal/config/backoff.go b/internal/config/backoff.go index f1b763471c..923e4c98d4 100644 --- a/internal/config/backoff.go +++ b/internal/config/backoff.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/backoff_test.go b/internal/config/backoff_test.go index d968d5e4cc..86861951be 100644 --- a/internal/config/backoff_test.go +++ b/internal/config/backoff_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/backup.go b/internal/config/backup.go index 0e36cc56e3..72063558f4 100644 --- a/internal/config/backup.go +++ b/internal/config/backup.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/backup_test.go b/internal/config/backup_test.go index f9bcde7bb9..e6950d4c6f 100644 --- a/internal/config/backup_test.go +++ b/internal/config/backup_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/benchmark.go b/internal/config/benchmark.go index 965cd3a4bc..3b0fe03f1b 100644 --- a/internal/config/benchmark.go +++ b/internal/config/benchmark.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/blob.go b/internal/config/blob.go index d7fd9c5148..1afcb801e6 100644 --- a/internal/config/blob.go +++ b/internal/config/blob.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/blob_test.go b/internal/config/blob_test.go index ec283de86f..4c3c20929a 100644 --- a/internal/config/blob_test.go +++ b/internal/config/blob_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/cassandra.go b/internal/config/cassandra.go index a904994af2..1a900e6e2f 100644 --- a/internal/config/cassandra.go +++ b/internal/config/cassandra.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/cassandra_test.go b/internal/config/cassandra_test.go index 6609b43da6..9e9c1ecb26 100644 --- a/internal/config/cassandra_test.go +++ b/internal/config/cassandra_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/client.go b/internal/config/client.go index 635ce0d374..c9cd406671 100644 --- a/internal/config/client.go +++ b/internal/config/client.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/client_test.go b/internal/config/client_test.go index 1e4e262c17..1b1f9279c9 100644 --- a/internal/config/client_test.go +++ b/internal/config/client_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/compress.go b/internal/config/compress.go index 9d6709cf17..a95882d205 100644 --- a/internal/config/compress.go +++ b/internal/config/compress.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/compress_test.go b/internal/config/compress_test.go index a196fc20b8..251d08783e 100644 --- a/internal/config/compress_test.go +++ b/internal/config/compress_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/config.go b/internal/config/config.go index ad58a72a64..3a410a11f1 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package config providers configuration type and load configuration logic package config diff --git a/internal/config/config_test.go b/internal/config/config_test.go index 57d0ac6275..5e399e13bc 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package config providers configuration type and load configuration logic package config diff --git a/internal/config/corrector.go b/internal/config/corrector.go index fe2afb3309..89d26fe698 100644 --- a/internal/config/corrector.go +++ b/internal/config/corrector.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/discoverer.go b/internal/config/discoverer.go index 5e2fb42064..407450907b 100644 --- a/internal/config/discoverer.go +++ b/internal/config/discoverer.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/discoverer_test.go b/internal/config/discoverer_test.go index 000744c43d..6e46785cb2 100644 --- a/internal/config/discoverer_test.go +++ b/internal/config/discoverer_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/doc.go b/internal/config/doc.go index 664a366cfd..17623795c5 100644 --- a/internal/config/doc.go +++ b/internal/config/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config providers configuration type and load configuration logic package config diff --git a/internal/config/faiss.go b/internal/config/faiss.go index 3b6aead70e..bee7706d03 100644 --- a/internal/config/faiss.go +++ b/internal/config/faiss.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/filter.go b/internal/config/filter.go index 0541716ce2..beff4053d4 100644 --- a/internal/config/filter.go +++ b/internal/config/filter.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/filter_test.go b/internal/config/filter_test.go index ed06896b98..082f092a7d 100644 --- a/internal/config/filter_test.go +++ b/internal/config/filter_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/gateway.go b/internal/config/gateway.go index ead82148cb..9ee11bd4de 100644 --- a/internal/config/gateway.go +++ b/internal/config/gateway.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/gateway_test.go b/internal/config/gateway_test.go index 03b149b5b8..56eac6920a 100644 --- a/internal/config/gateway_test.go +++ b/internal/config/gateway_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/grpc.go b/internal/config/grpc.go index acb433554f..e9ed14e222 100644 --- a/internal/config/grpc.go +++ b/internal/config/grpc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/grpc_test.go b/internal/config/grpc_test.go index a48d088e51..8500586475 100644 --- a/internal/config/grpc_test.go +++ b/internal/config/grpc_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/index.go b/internal/config/index.go index 10a13111c2..b98e3967a0 100644 --- a/internal/config/index.go +++ b/internal/config/index.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/index_test.go b/internal/config/index_test.go index a5bf918303..29fb41c0fd 100644 --- a/internal/config/index_test.go +++ b/internal/config/index_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/lb.go b/internal/config/lb.go index 21fc1f2af7..de63273c76 100644 --- a/internal/config/lb.go +++ b/internal/config/lb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/lb_test.go b/internal/config/lb_test.go index 6335323424..30be70e71c 100644 --- a/internal/config/lb_test.go +++ b/internal/config/lb_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/log.go b/internal/config/log.go index cee0c34af7..49f8c2d2c8 100644 --- a/internal/config/log.go +++ b/internal/config/log.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/log_test.go b/internal/config/log_test.go index 489842f823..236a9e3b19 100644 --- a/internal/config/log_test.go +++ b/internal/config/log_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/meta.go b/internal/config/meta.go index eb7a3aa8ac..1552cdf2fc 100644 --- a/internal/config/meta.go +++ b/internal/config/meta.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/meta_test.go b/internal/config/meta_test.go index 7c199403aa..cb4b02e48d 100644 --- a/internal/config/meta_test.go +++ b/internal/config/meta_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/mysql.go b/internal/config/mysql.go index a226d8d179..3bdc76deac 100644 --- a/internal/config/mysql.go +++ b/internal/config/mysql.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/mysql_test.go b/internal/config/mysql_test.go index 6d0dc90c61..af0ba2e758 100644 --- a/internal/config/mysql_test.go +++ b/internal/config/mysql_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/net.go b/internal/config/net.go index 39f94d4e93..adb6878137 100644 --- a/internal/config/net.go +++ b/internal/config/net.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/net_test.go b/internal/config/net_test.go index b3e5922f29..e1c9572109 100644 --- a/internal/config/net_test.go +++ b/internal/config/net_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/ngt.go b/internal/config/ngt.go index 82494ef156..1f533bd00a 100644 --- a/internal/config/ngt.go +++ b/internal/config/ngt.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/ngt_test.go b/internal/config/ngt_test.go index 90bc154629..d2819ac823 100644 --- a/internal/config/ngt_test.go +++ b/internal/config/ngt_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/observability.go b/internal/config/observability.go index ea5c81ca4e..19435e8c94 100644 --- a/internal/config/observability.go +++ b/internal/config/observability.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/observability_test.go b/internal/config/observability_test.go index b62741be46..b91dbfe14e 100644 --- a/internal/config/observability_test.go +++ b/internal/config/observability_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/redis.go b/internal/config/redis.go index 62aaff889a..a34d5b08cb 100644 --- a/internal/config/redis.go +++ b/internal/config/redis.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/redis_test.go b/internal/config/redis_test.go index 35b29feb11..abf003ad27 100644 --- a/internal/config/redis_test.go +++ b/internal/config/redis_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/server.go b/internal/config/server.go index 1b946da3ee..3fa549bace 100644 --- a/internal/config/server.go +++ b/internal/config/server.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/server_test.go b/internal/config/server_test.go index adcbccf141..e2a9ca3e45 100644 --- a/internal/config/server_test.go +++ b/internal/config/server_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/sidecar.go b/internal/config/sidecar.go index ab946c2936..b041fec81e 100644 --- a/internal/config/sidecar.go +++ b/internal/config/sidecar.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/sidecar_test.go b/internal/config/sidecar_test.go index 0e4a90c6b2..98a01ee8d2 100644 --- a/internal/config/sidecar_test.go +++ b/internal/config/sidecar_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/tls.go b/internal/config/tls.go index e221a2770b..44b16f90a0 100644 --- a/internal/config/tls.go +++ b/internal/config/tls.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/tls_test.go b/internal/config/tls_test.go index 8e7a177e48..1aef9e440b 100644 --- a/internal/config/tls_test.go +++ b/internal/config/tls_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/transport.go b/internal/config/transport.go index 037da5a155..7d4ee090d2 100644 --- a/internal/config/transport.go +++ b/internal/config/transport.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/config/transport_test.go b/internal/config/transport_test.go index d63c95120b..5ee4b562e2 100644 --- a/internal/config/transport_test.go +++ b/internal/config/transport_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/internal/conv/doc.go b/internal/conv/doc.go index c790dc4d82..19eba6514a 100644 --- a/internal/conv/doc.go +++ b/internal/conv/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package conv provides functionality for Vald. package conv diff --git a/internal/core/algorithm/algorithm.go b/internal/core/algorithm/algorithm.go index e4a745150c..dea35f12f3 100644 --- a/internal/core/algorithm/algorithm.go +++ b/internal/core/algorithm/algorithm.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package algorithm diff --git a/internal/core/algorithm/doc.go b/internal/core/algorithm/doc.go index 5153cc31f4..46117e9014 100644 --- a/internal/core/algorithm/doc.go +++ b/internal/core/algorithm/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package algorithm defines vald's core ann algorithm interface & constraint. package algorithm diff --git a/internal/core/algorithm/faiss/Capi.cpp b/internal/core/algorithm/faiss/Capi.cpp index cf932e1464..baaad331dc 100644 --- a/internal/core/algorithm/faiss/Capi.cpp +++ b/internal/core/algorithm/faiss/Capi.cpp @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// #include #include diff --git a/internal/core/algorithm/faiss/Capi.h b/internal/core/algorithm/faiss/Capi.h index 1e6ed67ab9..c74812f4fc 100644 --- a/internal/core/algorithm/faiss/Capi.h +++ b/internal/core/algorithm/faiss/Capi.h @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// #ifdef __cplusplus extern "C" { diff --git a/internal/core/algorithm/faiss/doc.go b/internal/core/algorithm/faiss/doc.go index 4ba37ef965..21827bc9dd 100644 --- a/internal/core/algorithm/faiss/doc.go +++ b/internal/core/algorithm/faiss/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package faiss provides implementation of Go API for https://github.com/facebookresearch/faiss package faiss diff --git a/internal/core/algorithm/faiss/faiss.go b/internal/core/algorithm/faiss/faiss.go index 3c8d1dfc56..88f40799ab 100644 --- a/internal/core/algorithm/faiss/faiss.go +++ b/internal/core/algorithm/faiss/faiss.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package faiss diff --git a/internal/core/algorithm/faiss/option.go b/internal/core/algorithm/faiss/option.go index 04c6353276..d28d17f0fa 100644 --- a/internal/core/algorithm/faiss/option.go +++ b/internal/core/algorithm/faiss/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package faiss diff --git a/internal/core/algorithm/ngt/Makefile b/internal/core/algorithm/ngt/Makefile index 57c76b0649..0d7fec9c23 100644 --- a/internal/core/algorithm/ngt/Makefile +++ b/internal/core/algorithm/ngt/Makefile @@ -15,11 +15,21 @@ # bench: + CC="$(CC)" \ + CXX="$(CXX)" \ + AR="$(AR)" \ + NM="$(NM)" \ + RANLIB="$(RANLIB)" \ GOARCH=$(GOARCH) \ GOOS=$(GOOS) \ go test -count=5 -run=NONE -bench . -benchmem bench-lite: + CC="$(CC)" \ + CXX="$(CXX)" \ + AR="$(AR)" \ + NM="$(NM)" \ + RANLIB="$(RANLIB)" \ GOARCH=$(GOARCH) \ GOOS=$(GOOS) \ - go test -count=1 -run=NONE -bench . -benchmem + go test -count=1 -run=NONE -bench . -benchmem \ No newline at end of file diff --git a/internal/core/algorithm/ngt/doc.go b/internal/core/algorithm/ngt/doc.go index af7b99e0ea..303e6c9d80 100644 --- a/internal/core/algorithm/ngt/doc.go +++ b/internal/core/algorithm/ngt/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package ngt provides implementation of Go API for https://github.com/NGT-labs/NGT package ngt diff --git a/internal/core/algorithm/ngt/ngt.go b/internal/core/algorithm/ngt/ngt.go index 2696bf1734..195b7669fa 100644 --- a/internal/core/algorithm/ngt/ngt.go +++ b/internal/core/algorithm/ngt/ngt.go @@ -1,23 +1,21 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package ngt /* -#cgo LDFLAGS: -lngt +#cgo LDFLAGS: -L/usr/local/lib -lngt #include #include */ @@ -716,6 +714,10 @@ func (n *ngt) Search( return nil, errors.ErrIncompatibleDimensionSize(len(vec), int(n.dimension)) } + var pinner runtime.Pinner + pinner.Pin(&vec[0]) + defer pinner.Unpin() + ne := n.GetErrorBuffer() results := C.ngt_create_empty_results(ne.err) defer C.ngt_destroy_results(results) @@ -742,7 +744,6 @@ func (n *ngt) Search( results, C.int(edgeSize), ne.err) - vec = nil if ret == ErrorCode { n.rUnlock(true) return nil, n.newGoError(ne) @@ -799,6 +800,10 @@ func (n *ngt) LinearSearch( return nil, errors.ErrIncompatibleDimensionSize(len(vec), int(n.dimension)) } + var pinner runtime.Pinner + pinner.Pin(&vec[0]) + defer pinner.Unpin() + ne := n.GetErrorBuffer() results := C.ngt_create_empty_results(ne.err) defer C.ngt_destroy_results(results) @@ -815,7 +820,6 @@ func (n *ngt) LinearSearch( *(*C.size_t)(unsafe.Pointer(&size)), results, ne.err) - vec = nil if ret == ErrorCode { n.rUnlock(true) @@ -874,6 +878,11 @@ func (n *ngt) Insert(vec []float32) (id uint, err error) { if len(vec) != int(n.dimension) { return 0, errors.ErrIncompatibleDimensionSize(len(vec), int(n.dimension)) } + + var pinner runtime.Pinner + pinner.Pin(&vec[0]) + defer pinner.Unpin() + dim := C.uint32_t(n.dimension) cvec := (*C.float)(&vec[0]) ne := n.GetErrorBuffer() @@ -881,9 +890,6 @@ func (n *ngt) Insert(vec []float32) (id uint, err error) { oid := C.ngt_insert_index_as_float(n.index, cvec, dim, ne.err) n.unlock(true) id = uint(oid) - cvec = nil - vec = vec[:0:0] - vec = nil if id == 0 { return 0, n.newGoError(ne) } diff --git a/internal/core/algorithm/ngt/ngt_bench_test.go b/internal/core/algorithm/ngt/ngt_bench_test.go index 559efe963a..392ab59429 100644 --- a/internal/core/algorithm/ngt/ngt_bench_test.go +++ b/internal/core/algorithm/ngt/ngt_bench_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package ngt diff --git a/internal/core/algorithm/ngt/ngt_test.go b/internal/core/algorithm/ngt/ngt_test.go index 772e0a52ce..058617c37c 100644 --- a/internal/core/algorithm/ngt/ngt_test.go +++ b/internal/core/algorithm/ngt/ngt_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package ngt diff --git a/internal/core/algorithm/ngt/option.go b/internal/core/algorithm/ngt/option.go index 7fdab3a2b4..75f2ffdfcc 100644 --- a/internal/core/algorithm/ngt/option.go +++ b/internal/core/algorithm/ngt/option.go @@ -1,23 +1,21 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package ngt /* -#cgo LDFLAGS: -lngt +#cgo LDFLAGS: -L/usr/local/lib -lngt #include */ import "C" diff --git a/internal/core/algorithm/ngt/option_test.go b/internal/core/algorithm/ngt/option_test.go index 16cb5700b0..af9c8070bf 100644 --- a/internal/core/algorithm/ngt/option_test.go +++ b/internal/core/algorithm/ngt/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package ngt diff --git a/internal/db/kvs/bbolt/doc.go b/internal/db/kvs/bbolt/doc.go index bf5245f029..20f5aa2edf 100644 --- a/internal/db/kvs/bbolt/doc.go +++ b/internal/db/kvs/bbolt/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package bbolt provides functionality for Vald. package bbolt diff --git a/internal/db/kvs/pogreb/doc.go b/internal/db/kvs/pogreb/doc.go index 7876942a87..4808b52f3a 100644 --- a/internal/db/kvs/pogreb/doc.go +++ b/internal/db/kvs/pogreb/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package pogreb provides functionality for Vald. package pogreb diff --git a/internal/db/kvs/redis/delete.go b/internal/db/kvs/redis/delete.go index 7922d1b427..76b61ef92c 100644 --- a/internal/db/kvs/redis/delete.go +++ b/internal/db/kvs/redis/delete.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package redis diff --git a/internal/db/kvs/redis/doc.go b/internal/db/kvs/redis/doc.go index 542746d220..21e07846ce 100644 --- a/internal/db/kvs/redis/doc.go +++ b/internal/db/kvs/redis/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package redis provides implementation of Go API for redis interface package redis diff --git a/internal/db/kvs/redis/get.go b/internal/db/kvs/redis/get.go index ed50842f2d..78f0056398 100644 --- a/internal/db/kvs/redis/get.go +++ b/internal/db/kvs/redis/get.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package redis diff --git a/internal/db/kvs/redis/hook.go b/internal/db/kvs/redis/hook.go index cd79df5bb7..d4c27b3118 100644 --- a/internal/db/kvs/redis/hook.go +++ b/internal/db/kvs/redis/hook.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package redis diff --git a/internal/db/kvs/redis/limiter.go b/internal/db/kvs/redis/limiter.go index 9c949573be..0ff25591f3 100644 --- a/internal/db/kvs/redis/limiter.go +++ b/internal/db/kvs/redis/limiter.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package redis diff --git a/internal/db/kvs/redis/list.go b/internal/db/kvs/redis/list.go index bf0a8cd3cb..06de974b9d 100644 --- a/internal/db/kvs/redis/list.go +++ b/internal/db/kvs/redis/list.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package redis diff --git a/internal/db/kvs/redis/option.go b/internal/db/kvs/redis/option.go index d098702f8e..6e975c5f70 100644 --- a/internal/db/kvs/redis/option.go +++ b/internal/db/kvs/redis/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package redis diff --git a/internal/db/kvs/redis/option_test.go b/internal/db/kvs/redis/option_test.go index 826f43fb17..821af1e22e 100644 --- a/internal/db/kvs/redis/option_test.go +++ b/internal/db/kvs/redis/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package redis diff --git a/internal/db/kvs/redis/redis.go b/internal/db/kvs/redis/redis.go index 6ff5ca571e..3a1332bd9b 100644 --- a/internal/db/kvs/redis/redis.go +++ b/internal/db/kvs/redis/redis.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package redis diff --git a/internal/db/kvs/redis/redis_test.go b/internal/db/kvs/redis/redis_test.go index 4b7a658c81..7316dbde21 100644 --- a/internal/db/kvs/redis/redis_test.go +++ b/internal/db/kvs/redis/redis_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package redis diff --git a/internal/db/kvs/redis/set.go b/internal/db/kvs/redis/set.go index c0ec0ee5df..8a2b16e85f 100644 --- a/internal/db/kvs/redis/set.go +++ b/internal/db/kvs/redis/set.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package redis diff --git a/internal/db/nosql/cassandra/cassandra.go b/internal/db/nosql/cassandra/cassandra.go index e897536381..09832cb9ed 100644 --- a/internal/db/nosql/cassandra/cassandra.go +++ b/internal/db/nosql/cassandra/cassandra.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package cassandra diff --git a/internal/db/nosql/cassandra/cassandra_test.go b/internal/db/nosql/cassandra/cassandra_test.go index c08cfb4211..ff1ba3598c 100644 --- a/internal/db/nosql/cassandra/cassandra_test.go +++ b/internal/db/nosql/cassandra/cassandra_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package cassandra diff --git a/internal/db/nosql/cassandra/conviction.go b/internal/db/nosql/cassandra/conviction.go index d2f9a89882..af237cdeb4 100644 --- a/internal/db/nosql/cassandra/conviction.go +++ b/internal/db/nosql/cassandra/conviction.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package cassandra diff --git a/internal/db/nosql/cassandra/conviction_test.go b/internal/db/nosql/cassandra/conviction_test.go index 618811e92b..4327ce8da7 100644 --- a/internal/db/nosql/cassandra/conviction_test.go +++ b/internal/db/nosql/cassandra/conviction_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package cassandra diff --git a/internal/db/nosql/cassandra/delete.go b/internal/db/nosql/cassandra/delete.go index 49f57ede62..54307740ea 100644 --- a/internal/db/nosql/cassandra/delete.go +++ b/internal/db/nosql/cassandra/delete.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package cassandra diff --git a/internal/db/nosql/cassandra/doc.go b/internal/db/nosql/cassandra/doc.go index b852d42dab..3e5c31bbd6 100644 --- a/internal/db/nosql/cassandra/doc.go +++ b/internal/db/nosql/cassandra/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package cassandra provides implementation of Go API for cassandra interface package cassandra diff --git a/internal/db/nosql/cassandra/observer.go b/internal/db/nosql/cassandra/observer.go index 193639175a..0a15fb0e8f 100644 --- a/internal/db/nosql/cassandra/observer.go +++ b/internal/db/nosql/cassandra/observer.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package cassandra diff --git a/internal/db/nosql/cassandra/option.go b/internal/db/nosql/cassandra/option.go index 2d1c567e8e..dd2a8a0c53 100644 --- a/internal/db/nosql/cassandra/option.go +++ b/internal/db/nosql/cassandra/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package cassandra diff --git a/internal/db/nosql/cassandra/option_test.go b/internal/db/nosql/cassandra/option_test.go index 1bb6fd70fb..231b32f2b8 100644 --- a/internal/db/nosql/cassandra/option_test.go +++ b/internal/db/nosql/cassandra/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package cassandra diff --git a/internal/db/rdb/mysql/dbr/connection.go b/internal/db/rdb/mysql/dbr/connection.go index abdbbe0ad2..5c5a0ad9da 100644 --- a/internal/db/rdb/mysql/dbr/connection.go +++ b/internal/db/rdb/mysql/dbr/connection.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package dbr diff --git a/internal/db/rdb/mysql/dbr/dbr.go b/internal/db/rdb/mysql/dbr/dbr.go index 2dd8844bd3..57a9b5a750 100644 --- a/internal/db/rdb/mysql/dbr/dbr.go +++ b/internal/db/rdb/mysql/dbr/dbr.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package dbr diff --git a/internal/db/rdb/mysql/dbr/dbr_mock.go b/internal/db/rdb/mysql/dbr/dbr_mock.go index a9ef332cb9..dc5c130b5f 100644 --- a/internal/db/rdb/mysql/dbr/dbr_mock.go +++ b/internal/db/rdb/mysql/dbr/dbr_mock.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package dbr diff --git a/internal/db/rdb/mysql/dbr/delete.go b/internal/db/rdb/mysql/dbr/delete.go index bab7957624..192ced8cdb 100644 --- a/internal/db/rdb/mysql/dbr/delete.go +++ b/internal/db/rdb/mysql/dbr/delete.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package dbr diff --git a/internal/db/rdb/mysql/dbr/doc.go b/internal/db/rdb/mysql/dbr/doc.go index 935db34e29..b983901cda 100644 --- a/internal/db/rdb/mysql/dbr/doc.go +++ b/internal/db/rdb/mysql/dbr/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package dbr provides the dbr functions for handling with databases. // This package is wrapping package of "https://github.com/gocraft/dbr/v2". diff --git a/internal/db/rdb/mysql/dbr/insert.go b/internal/db/rdb/mysql/dbr/insert.go index 5847e45893..ea5e7eb6b3 100644 --- a/internal/db/rdb/mysql/dbr/insert.go +++ b/internal/db/rdb/mysql/dbr/insert.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package dbr diff --git a/internal/db/rdb/mysql/dbr/select.go b/internal/db/rdb/mysql/dbr/select.go index 9a706d78a1..a2135d5ab9 100644 --- a/internal/db/rdb/mysql/dbr/select.go +++ b/internal/db/rdb/mysql/dbr/select.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package dbr diff --git a/internal/db/rdb/mysql/dbr/session.go b/internal/db/rdb/mysql/dbr/session.go index 36f00e1031..9b3ddb6232 100644 --- a/internal/db/rdb/mysql/dbr/session.go +++ b/internal/db/rdb/mysql/dbr/session.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package dbr diff --git a/internal/db/rdb/mysql/dbr/tx.go b/internal/db/rdb/mysql/dbr/tx.go index 10e6d395c9..eedd0f4ca7 100644 --- a/internal/db/rdb/mysql/dbr/tx.go +++ b/internal/db/rdb/mysql/dbr/tx.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package dbr diff --git a/internal/db/rdb/mysql/doc.go b/internal/db/rdb/mysql/doc.go index 817b47c547..6d374a3b56 100644 --- a/internal/db/rdb/mysql/doc.go +++ b/internal/db/rdb/mysql/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package mysql provides the functions for handling vald's data with MySQL. package mysql diff --git a/internal/db/rdb/mysql/get.go b/internal/db/rdb/mysql/get.go index fea27ca0d9..f36b1a76cd 100644 --- a/internal/db/rdb/mysql/get.go +++ b/internal/db/rdb/mysql/get.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package mysql diff --git a/internal/db/rdb/mysql/model.go b/internal/db/rdb/mysql/model.go index d658bb91f9..c870bdfd44 100644 --- a/internal/db/rdb/mysql/model.go +++ b/internal/db/rdb/mysql/model.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package mysql diff --git a/internal/db/rdb/mysql/model_test.go b/internal/db/rdb/mysql/model_test.go index 306befecd8..86442980bf 100644 --- a/internal/db/rdb/mysql/model_test.go +++ b/internal/db/rdb/mysql/model_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package mysql diff --git a/internal/db/rdb/mysql/mysql.go b/internal/db/rdb/mysql/mysql.go index abdece970b..1d96ab6316 100644 --- a/internal/db/rdb/mysql/mysql.go +++ b/internal/db/rdb/mysql/mysql.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package mysql diff --git a/internal/db/rdb/mysql/mysql_test.go b/internal/db/rdb/mysql/mysql_test.go index 29816960ed..abdac7298e 100644 --- a/internal/db/rdb/mysql/mysql_test.go +++ b/internal/db/rdb/mysql/mysql_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package mysql diff --git a/internal/db/rdb/mysql/option.go b/internal/db/rdb/mysql/option.go index 977399faa5..2c7ed446b7 100644 --- a/internal/db/rdb/mysql/option.go +++ b/internal/db/rdb/mysql/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package mysql diff --git a/internal/db/rdb/mysql/option_test.go b/internal/db/rdb/mysql/option_test.go index 3a09ccbb4a..b7d893e0ef 100644 --- a/internal/db/rdb/mysql/option_test.go +++ b/internal/db/rdb/mysql/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package mysql diff --git a/internal/db/rdb/mysql/receiver.go b/internal/db/rdb/mysql/receiver.go index 1ac1729f5e..2c6860f008 100644 --- a/internal/db/rdb/mysql/receiver.go +++ b/internal/db/rdb/mysql/receiver.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package mysql diff --git a/internal/db/rdb/mysql/set.go b/internal/db/rdb/mysql/set.go index 615846e50f..b56411be49 100644 --- a/internal/db/rdb/mysql/set.go +++ b/internal/db/rdb/mysql/set.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package mysql diff --git a/internal/db/storage/blob/blob.go b/internal/db/storage/blob/blob.go index c50aeb52f0..aba0622c0a 100644 --- a/internal/db/storage/blob/blob.go +++ b/internal/db/storage/blob/blob.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package blob diff --git a/internal/db/storage/blob/cloudstorage/doc.go b/internal/db/storage/blob/cloudstorage/doc.go index 55b37812d4..0d02541fcf 100644 --- a/internal/db/storage/blob/cloudstorage/doc.go +++ b/internal/db/storage/blob/cloudstorage/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package cloudstorage provides functionality for Vald. package cloudstorage diff --git a/internal/db/storage/blob/cloudstorage/urlopener/doc.go b/internal/db/storage/blob/cloudstorage/urlopener/doc.go index 6cab23d71c..3d927b00ea 100644 --- a/internal/db/storage/blob/cloudstorage/urlopener/doc.go +++ b/internal/db/storage/blob/cloudstorage/urlopener/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package urlopener provides functionality for Vald. package urlopener diff --git a/internal/db/storage/blob/doc.go b/internal/db/storage/blob/doc.go index 9f7e0052de..b1c27d1e84 100644 --- a/internal/db/storage/blob/doc.go +++ b/internal/db/storage/blob/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package blob provides functionality for Vald. package blob diff --git a/internal/db/storage/blob/s3/doc.go b/internal/db/storage/blob/s3/doc.go index 4148fbd7cc..070a9a64c9 100644 --- a/internal/db/storage/blob/s3/doc.go +++ b/internal/db/storage/blob/s3/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package s3 provides functionality for Vald. package s3 diff --git a/internal/db/storage/blob/s3/option.go b/internal/db/storage/blob/s3/option.go index 35a2df69ea..9f00da28de 100644 --- a/internal/db/storage/blob/s3/option.go +++ b/internal/db/storage/blob/s3/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package s3 diff --git a/internal/db/storage/blob/s3/option_test.go b/internal/db/storage/blob/s3/option_test.go index 0c66863379..eb9dffe6ec 100644 --- a/internal/db/storage/blob/s3/option_test.go +++ b/internal/db/storage/blob/s3/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package s3 diff --git a/internal/db/storage/blob/s3/reader/doc.go b/internal/db/storage/blob/s3/reader/doc.go index 2bfa633b1c..9a3617d688 100644 --- a/internal/db/storage/blob/s3/reader/doc.go +++ b/internal/db/storage/blob/s3/reader/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package reader provides the reader functions for handling with s3. package reader diff --git a/internal/db/storage/blob/s3/reader/io/doc.go b/internal/db/storage/blob/s3/reader/io/doc.go index 2a2c683c62..ba9ca8a7b4 100644 --- a/internal/db/storage/blob/s3/reader/io/doc.go +++ b/internal/db/storage/blob/s3/reader/io/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package io provides functionality for Vald. package io diff --git a/internal/db/storage/blob/s3/reader/option.go b/internal/db/storage/blob/s3/reader/option.go index 4830094277..9402c643fc 100644 --- a/internal/db/storage/blob/s3/reader/option.go +++ b/internal/db/storage/blob/s3/reader/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package reader diff --git a/internal/db/storage/blob/s3/reader/option_test.go b/internal/db/storage/blob/s3/reader/option_test.go index 2e2d78b0a5..930acc2b49 100644 --- a/internal/db/storage/blob/s3/reader/option_test.go +++ b/internal/db/storage/blob/s3/reader/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package reader diff --git a/internal/db/storage/blob/s3/reader/reader.go b/internal/db/storage/blob/s3/reader/reader.go index 9fd439a747..2ec9fb15f9 100644 --- a/internal/db/storage/blob/s3/reader/reader.go +++ b/internal/db/storage/blob/s3/reader/reader.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package reader diff --git a/internal/db/storage/blob/s3/reader/reader_mock.go b/internal/db/storage/blob/s3/reader/reader_mock.go index e448c77a2b..35583cf28b 100644 --- a/internal/db/storage/blob/s3/reader/reader_mock.go +++ b/internal/db/storage/blob/s3/reader/reader_mock.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package reader diff --git a/internal/db/storage/blob/s3/reader/reader_test.go b/internal/db/storage/blob/s3/reader/reader_test.go index 558487d958..c7454afde4 100644 --- a/internal/db/storage/blob/s3/reader/reader_test.go +++ b/internal/db/storage/blob/s3/reader/reader_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package reader diff --git a/internal/db/storage/blob/s3/s3.go b/internal/db/storage/blob/s3/s3.go index 455ba6964c..68ddaed1e5 100644 --- a/internal/db/storage/blob/s3/s3.go +++ b/internal/db/storage/blob/s3/s3.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package s3 diff --git a/internal/db/storage/blob/s3/s3_test.go b/internal/db/storage/blob/s3/s3_test.go index fd55d04d3c..a7cf82c9de 100644 --- a/internal/db/storage/blob/s3/s3_test.go +++ b/internal/db/storage/blob/s3/s3_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package s3 diff --git a/internal/db/storage/blob/s3/sdk/s3/doc.go b/internal/db/storage/blob/s3/sdk/s3/doc.go index 4148fbd7cc..070a9a64c9 100644 --- a/internal/db/storage/blob/s3/sdk/s3/doc.go +++ b/internal/db/storage/blob/s3/sdk/s3/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package s3 provides functionality for Vald. package s3 diff --git a/internal/db/storage/blob/s3/sdk/s3/s3iface/doc.go b/internal/db/storage/blob/s3/sdk/s3/s3iface/doc.go index 150119be28..6c39f19151 100644 --- a/internal/db/storage/blob/s3/sdk/s3/s3iface/doc.go +++ b/internal/db/storage/blob/s3/sdk/s3/s3iface/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package s3iface provides functionality for Vald. package s3iface diff --git a/internal/db/storage/blob/s3/sdk/s3/s3manager/doc.go b/internal/db/storage/blob/s3/sdk/s3/s3manager/doc.go index 11e4b6eac6..defde8d81d 100644 --- a/internal/db/storage/blob/s3/sdk/s3/s3manager/doc.go +++ b/internal/db/storage/blob/s3/sdk/s3/s3manager/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package s3manager provides functionality for Vald. package s3manager diff --git a/internal/db/storage/blob/s3/session/doc.go b/internal/db/storage/blob/s3/session/doc.go index dd2d4ebdad..8b5114f724 100644 --- a/internal/db/storage/blob/s3/session/doc.go +++ b/internal/db/storage/blob/s3/session/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package session provides functionality for Vald. package session diff --git a/internal/db/storage/blob/s3/session/option.go b/internal/db/storage/blob/s3/session/option.go index 8753def018..e7bf3e0148 100644 --- a/internal/db/storage/blob/s3/session/option.go +++ b/internal/db/storage/blob/s3/session/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package session diff --git a/internal/db/storage/blob/s3/session/option_test.go b/internal/db/storage/blob/s3/session/option_test.go index 9aa65a74a9..590cfccc4c 100644 --- a/internal/db/storage/blob/s3/session/option_test.go +++ b/internal/db/storage/blob/s3/session/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package session diff --git a/internal/db/storage/blob/s3/session/session.go b/internal/db/storage/blob/s3/session/session.go index e3cb99a417..74cb4ede60 100644 --- a/internal/db/storage/blob/s3/session/session.go +++ b/internal/db/storage/blob/s3/session/session.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package session diff --git a/internal/db/storage/blob/s3/session/session_test.go b/internal/db/storage/blob/s3/session/session_test.go index 1087cfb814..22ca088b67 100644 --- a/internal/db/storage/blob/s3/session/session_test.go +++ b/internal/db/storage/blob/s3/session/session_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package session diff --git a/internal/db/storage/blob/s3/writer/doc.go b/internal/db/storage/blob/s3/writer/doc.go index e7aabd00ad..a9075cf633 100644 --- a/internal/db/storage/blob/s3/writer/doc.go +++ b/internal/db/storage/blob/s3/writer/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package writer provides functionality for Vald. package writer diff --git a/internal/db/storage/blob/s3/writer/option.go b/internal/db/storage/blob/s3/writer/option.go index 20ce5901d7..614b104751 100644 --- a/internal/db/storage/blob/s3/writer/option.go +++ b/internal/db/storage/blob/s3/writer/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package writer diff --git a/internal/db/storage/blob/s3/writer/option_test.go b/internal/db/storage/blob/s3/writer/option_test.go index a93ac4e814..415cc58dab 100644 --- a/internal/db/storage/blob/s3/writer/option_test.go +++ b/internal/db/storage/blob/s3/writer/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package writer diff --git a/internal/db/storage/blob/s3/writer/writer.go b/internal/db/storage/blob/s3/writer/writer.go index 1bf3438d55..a8200a6bab 100644 --- a/internal/db/storage/blob/s3/writer/writer.go +++ b/internal/db/storage/blob/s3/writer/writer.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package writer diff --git a/internal/db/storage/blob/s3/writer/writer_test.go b/internal/db/storage/blob/s3/writer/writer_test.go index aa17b660dc..b783bfffdc 100644 --- a/internal/db/storage/blob/s3/writer/writer_test.go +++ b/internal/db/storage/blob/s3/writer/writer_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package writer diff --git a/internal/encoding/json/doc.go b/internal/encoding/json/doc.go index 7625123ddf..7cfea13e79 100644 --- a/internal/encoding/json/doc.go +++ b/internal/encoding/json/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package json provides functionality for Vald. package json diff --git a/internal/encoding/json/json.go b/internal/encoding/json/json.go index 5e859f7daf..afb11067d8 100644 --- a/internal/encoding/json/json.go +++ b/internal/encoding/json/json.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package json diff --git a/internal/errors/agent.go b/internal/errors/agent.go index ab0d26b66b..51bed039bd 100644 --- a/internal/errors/agent.go +++ b/internal/errors/agent.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/agent_test.go b/internal/errors/agent_test.go index 1446d6d75a..f602eddfae 100644 --- a/internal/errors/agent_test.go +++ b/internal/errors/agent_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package errors package errors diff --git a/internal/errors/backup.go b/internal/errors/backup.go index 6ebdc6a98b..21df15058b 100644 --- a/internal/errors/backup.go +++ b/internal/errors/backup.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/benchmark.go b/internal/errors/benchmark.go index 5388146878..e5a9f085d5 100644 --- a/internal/errors/benchmark.go +++ b/internal/errors/benchmark.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/blob.go b/internal/errors/blob.go index dc6330425b..5e83a704e9 100644 --- a/internal/errors/blob.go +++ b/internal/errors/blob.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/blob_test.go b/internal/errors/blob_test.go index 857480ebc5..55727fd523 100644 --- a/internal/errors/blob_test.go +++ b/internal/errors/blob_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/cache.go b/internal/errors/cache.go index 333762eccc..add6200a98 100644 --- a/internal/errors/cache.go +++ b/internal/errors/cache.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/cassandra.go b/internal/errors/cassandra.go index 798bfb5db0..4641f7dddf 100644 --- a/internal/errors/cassandra.go +++ b/internal/errors/cassandra.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/cassandra_test.go b/internal/errors/cassandra_test.go index e9cec60ecb..2cae0cd0ef 100644 --- a/internal/errors/cassandra_test.go +++ b/internal/errors/cassandra_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/client.go b/internal/errors/client.go index eb7324161c..a4c19f08bf 100644 --- a/internal/errors/client.go +++ b/internal/errors/client.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/compressor.go b/internal/errors/compressor.go index 0cec903ae4..1c9a1d2393 100644 --- a/internal/errors/compressor.go +++ b/internal/errors/compressor.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/config.go b/internal/errors/config.go index 0e3725695b..c88cc91530 100644 --- a/internal/errors/config.go +++ b/internal/errors/config.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/corrector.go b/internal/errors/corrector.go index 44077510f3..9417c1628f 100644 --- a/internal/errors/corrector.go +++ b/internal/errors/corrector.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/discoverer.go b/internal/errors/discoverer.go index 9f1809faa2..d00e71a6d9 100644 --- a/internal/errors/discoverer.go +++ b/internal/errors/discoverer.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/doc.go b/internal/errors/doc.go index 0646a5bc37..89c5c5a7d5 100644 --- a/internal/errors/doc.go +++ b/internal/errors/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package errors provides error types and function package errors diff --git a/internal/errors/errors.go b/internal/errors/errors.go index 45bd3c32e9..0bcd37f125 100644 --- a/internal/errors/errors.go +++ b/internal/errors/errors.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/faiss.go b/internal/errors/faiss.go index 134fb1612d..86018ae760 100644 --- a/internal/errors/faiss.go +++ b/internal/errors/faiss.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/file.go b/internal/errors/file.go index 2e4a133fa5..105466bfb9 100644 --- a/internal/errors/file.go +++ b/internal/errors/file.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/filter.go b/internal/errors/filter.go index 737c0dcbb8..bc34c93f96 100644 --- a/internal/errors/filter.go +++ b/internal/errors/filter.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/filter_test.go b/internal/errors/filter_test.go index 410ea09242..849bfd732d 100644 --- a/internal/errors/filter_test.go +++ b/internal/errors/filter_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/gongt.go b/internal/errors/gongt.go index e4a3bbaffd..f1301c96b6 100644 --- a/internal/errors/gongt.go +++ b/internal/errors/gongt.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/grpc.go b/internal/errors/grpc.go index 44f30502b7..955d9ed69a 100644 --- a/internal/errors/grpc.go +++ b/internal/errors/grpc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/http.go b/internal/errors/http.go index bdb42d9870..283f96a4a0 100644 --- a/internal/errors/http.go +++ b/internal/errors/http.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/info_test.go b/internal/errors/info_test.go index 3b107f8da0..24efc4cdd9 100644 --- a/internal/errors/info_test.go +++ b/internal/errors/info_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/io.go b/internal/errors/io.go index a42117eea0..f5e56de22d 100644 --- a/internal/errors/io.go +++ b/internal/errors/io.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/k8s.go b/internal/errors/k8s.go index 5c8677ac46..8c3f3ca609 100644 --- a/internal/errors/k8s.go +++ b/internal/errors/k8s.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/lb.go b/internal/errors/lb.go index 3fadfd5830..20e6c3d24a 100644 --- a/internal/errors/lb.go +++ b/internal/errors/lb.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/meta.go b/internal/errors/meta.go index a9d883056f..18068a3f76 100644 --- a/internal/errors/meta.go +++ b/internal/errors/meta.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/mysql.go b/internal/errors/mysql.go index 9ade98cef0..4e59969f45 100644 --- a/internal/errors/mysql.go +++ b/internal/errors/mysql.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/mysql_test.go b/internal/errors/mysql_test.go index 168a1b84d5..eda2a62c99 100644 --- a/internal/errors/mysql_test.go +++ b/internal/errors/mysql_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/net.go b/internal/errors/net.go index 533c237619..1354d9b3ce 100644 --- a/internal/errors/net.go +++ b/internal/errors/net.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/ngt.go b/internal/errors/ngt.go index fb2d1332e8..14f8e8cd56 100644 --- a/internal/errors/ngt.go +++ b/internal/errors/ngt.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/ngt_test.go b/internal/errors/ngt_test.go index cab98b7b7f..4ad15dec56 100644 --- a/internal/errors/ngt_test.go +++ b/internal/errors/ngt_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package errors package errors diff --git a/internal/errors/observability.go b/internal/errors/observability.go index 89c7abed1e..9efd08abac 100644 --- a/internal/errors/observability.go +++ b/internal/errors/observability.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/params.go b/internal/errors/params.go index 322b2ba9c6..928a88711e 100644 --- a/internal/errors/params.go +++ b/internal/errors/params.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/redis.go b/internal/errors/redis.go index 0afaf4e8a4..d228b522ef 100644 --- a/internal/errors/redis.go +++ b/internal/errors/redis.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/redis_test.go b/internal/errors/redis_test.go index fc4a7c4a74..0654fbbc10 100644 --- a/internal/errors/redis_test.go +++ b/internal/errors/redis_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/rotator.go b/internal/errors/rotator.go index 445edfe06f..d8a38f865e 100644 --- a/internal/errors/rotator.go +++ b/internal/errors/rotator.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/runner.go b/internal/errors/runner.go index 1c98c8c945..36ead96384 100644 --- a/internal/errors/runner.go +++ b/internal/errors/runner.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/runtime.go b/internal/errors/runtime.go index bb84a84f7c..2def3d3044 100644 --- a/internal/errors/runtime.go +++ b/internal/errors/runtime.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/runtime_test.go b/internal/errors/runtime_test.go index 894e4a4094..73c4f540ad 100644 --- a/internal/errors/runtime_test.go +++ b/internal/errors/runtime_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/stats.go b/internal/errors/stats.go index 7fc15e5da7..6f9388ddac 100644 --- a/internal/errors/stats.go +++ b/internal/errors/stats.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/storage.go b/internal/errors/storage.go index 2b8c608aea..da000e09ea 100644 --- a/internal/errors/storage.go +++ b/internal/errors/storage.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/tikv.go b/internal/errors/tikv.go index 9eef3acdfc..0536c0159e 100644 --- a/internal/errors/tikv.go +++ b/internal/errors/tikv.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/tls.go b/internal/errors/tls.go index 476b6179d4..650dcc42b7 100644 --- a/internal/errors/tls.go +++ b/internal/errors/tls.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/unit.go b/internal/errors/unit.go index aa20b7b281..728a1ea3f8 100644 --- a/internal/errors/unit.go +++ b/internal/errors/unit.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/usearch.go b/internal/errors/usearch.go index 2241a96201..bd75eecb4a 100644 --- a/internal/errors/usearch.go +++ b/internal/errors/usearch.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/vald.go b/internal/errors/vald.go index a6ba47864e..15c6aee171 100644 --- a/internal/errors/vald.go +++ b/internal/errors/vald.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/vqueue.go b/internal/errors/vqueue.go index d84d911862..e9280a27e5 100644 --- a/internal/errors/vqueue.go +++ b/internal/errors/vqueue.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/worker.go b/internal/errors/worker.go index a872ed150a..0ae1c11284 100644 --- a/internal/errors/worker.go +++ b/internal/errors/worker.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/errors/worker_test.go b/internal/errors/worker_test.go index 789fd23297..c8fa6e8565 100644 --- a/internal/errors/worker_test.go +++ b/internal/errors/worker_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errors diff --git a/internal/file/doc.go b/internal/file/doc.go index 1e21a84d8c..1ceba008fd 100644 --- a/internal/file/doc.go +++ b/internal/file/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package file provides file I/O functionality package file diff --git a/internal/file/file.go b/internal/file/file.go index 3287016ac8..75c0c7a7c5 100644 --- a/internal/file/file.go +++ b/internal/file/file.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package file diff --git a/internal/file/file_test.go b/internal/file/file_test.go index 29e33b2daf..3ee34400f0 100644 --- a/internal/file/file_test.go +++ b/internal/file/file_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package file diff --git a/internal/file/watch/doc.go b/internal/file/watch/doc.go index 593af319ff..9fc9ad25b2 100644 --- a/internal/file/watch/doc.go +++ b/internal/file/watch/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package watch provides functionality for Vald. package watch diff --git a/internal/file/watch/option.go b/internal/file/watch/option.go index 01396abe8f..26ec593401 100644 --- a/internal/file/watch/option.go +++ b/internal/file/watch/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package watch diff --git a/internal/file/watch/option_test.go b/internal/file/watch/option_test.go index 331792c260..39e74c6ea5 100644 --- a/internal/file/watch/option_test.go +++ b/internal/file/watch/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package watch diff --git a/internal/file/watch/watch.go b/internal/file/watch/watch.go index 1305f2126f..77a3052790 100644 --- a/internal/file/watch/watch.go +++ b/internal/file/watch/watch.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package watch diff --git a/internal/file/watch/watch_test.go b/internal/file/watch/watch_test.go index ab8c33c397..1f440b1b6a 100644 --- a/internal/file/watch/watch_test.go +++ b/internal/file/watch/watch_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package watch diff --git a/internal/hash/doc.go b/internal/hash/doc.go index 1db3a72e80..fc8aa512ea 100644 --- a/internal/hash/doc.go +++ b/internal/hash/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package hash provides hash functionality package hash diff --git a/internal/hash/hash.go b/internal/hash/hash.go index fd6b7e2129..258e0e991f 100644 --- a/internal/hash/hash.go +++ b/internal/hash/hash.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package hash diff --git a/internal/hash/hash_test.go b/internal/hash/hash_test.go index b1a1828cb6..b93d6ccc6c 100644 --- a/internal/hash/hash_test.go +++ b/internal/hash/hash_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package hash diff --git a/internal/info/doc.go b/internal/info/doc.go index 04aefcb034..8d14c1a0aa 100644 --- a/internal/info/doc.go +++ b/internal/info/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package info provides build-time info package info diff --git a/internal/info/info.go b/internal/info/info.go index 330c85f151..49e7e0da80 100644 --- a/internal/info/info.go +++ b/internal/info/info.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package info diff --git a/internal/io/copy.go b/internal/io/copy.go index a4b2561ffd..e8d25a4861 100644 --- a/internal/io/copy.go +++ b/internal/io/copy.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package io diff --git a/internal/io/copy_bench_test.go b/internal/io/copy_bench_test.go index c96908ecbc..d0670f054c 100644 --- a/internal/io/copy_bench_test.go +++ b/internal/io/copy_bench_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package io diff --git a/internal/io/copy_test.go b/internal/io/copy_test.go index 15ee6f0a27..527c830679 100644 --- a/internal/io/copy_test.go +++ b/internal/io/copy_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package io diff --git a/internal/io/doc.go b/internal/io/doc.go index 6c07be317f..fba0d22c27 100644 --- a/internal/io/doc.go +++ b/internal/io/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package io provides io functions package io diff --git a/internal/io/io.go b/internal/io/io.go index 25df3b67a4..027c196512 100644 --- a/internal/io/io.go +++ b/internal/io/io.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package io diff --git a/internal/io/io_test.go b/internal/io/io_test.go index a7c7c817b3..acebc66a19 100644 --- a/internal/io/io_test.go +++ b/internal/io/io_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package io diff --git a/internal/iter/doc.go b/internal/iter/doc.go index ec347766bc..ef13196b89 100644 --- a/internal/iter/doc.go +++ b/internal/iter/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package iter provides functionality for Vald. package iter diff --git a/internal/iter/iter.go b/internal/iter/iter.go index a22d117b04..98b2be5fae 100644 --- a/internal/iter/iter.go +++ b/internal/iter/iter.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package iter package iter diff --git a/internal/jsonpath/jsonpath.go b/internal/jsonpath/jsonpath.go index a1d07d8675..d0dba30ad5 100644 --- a/internal/jsonpath/jsonpath.go +++ b/internal/jsonpath/jsonpath.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package jsonpath provides utilities for working with JSONPath in Go. package jsonpath diff --git a/internal/jsonpath/jsonpath_test.go b/internal/jsonpath/jsonpath_test.go index e113957473..564bf31924 100644 --- a/internal/jsonpath/jsonpath_test.go +++ b/internal/jsonpath/jsonpath_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package jsonpath provides utilities for working with JSONPath in Go. package jsonpath diff --git a/internal/k8s/client/client.go b/internal/k8s/client/client.go index 9384e1d087..03c4f2d95e 100644 --- a/internal/k8s/client/client.go +++ b/internal/k8s/client/client.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package client diff --git a/internal/k8s/client/doc.go b/internal/k8s/client/doc.go index 0c378f3c04..ff2066132b 100644 --- a/internal/k8s/client/doc.go +++ b/internal/k8s/client/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package client is Kubernetes client for getting resource from Kubernetes cluster. package client diff --git a/internal/k8s/client/option.go b/internal/k8s/client/option.go index 84011bd99b..8f311f3820 100644 --- a/internal/k8s/client/option.go +++ b/internal/k8s/client/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package client diff --git a/internal/k8s/doc.go b/internal/k8s/doc.go index c8fe63e690..4951b984fb 100644 --- a/internal/k8s/doc.go +++ b/internal/k8s/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package k8s provides functionality for Vald. package k8s diff --git a/internal/k8s/job/doc.go b/internal/k8s/job/doc.go index cbf1688a13..093cd494c5 100644 --- a/internal/k8s/job/doc.go +++ b/internal/k8s/job/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package job provides functionality for Vald. package job diff --git a/internal/k8s/metrics/node/doc.go b/internal/k8s/metrics/node/doc.go index de1eec9d7e..be4e961da9 100644 --- a/internal/k8s/metrics/node/doc.go +++ b/internal/k8s/metrics/node/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package node provides kubernetes node information and preriodically update package node diff --git a/internal/k8s/metrics/node/node.go b/internal/k8s/metrics/node/node.go index 315faef307..07130fe592 100644 --- a/internal/k8s/metrics/node/node.go +++ b/internal/k8s/metrics/node/node.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package node diff --git a/internal/k8s/metrics/node/node_test.go b/internal/k8s/metrics/node/node_test.go index 426174624f..13e8456bdf 100644 --- a/internal/k8s/metrics/node/node_test.go +++ b/internal/k8s/metrics/node/node_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package node diff --git a/internal/k8s/metrics/node/option.go b/internal/k8s/metrics/node/option.go index a55e919361..6f113dd7d3 100644 --- a/internal/k8s/metrics/node/option.go +++ b/internal/k8s/metrics/node/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package node diff --git a/internal/k8s/metrics/node/option_test.go b/internal/k8s/metrics/node/option_test.go index 3b92b6b0af..76ae354fd7 100644 --- a/internal/k8s/metrics/node/option_test.go +++ b/internal/k8s/metrics/node/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package node diff --git a/internal/k8s/metrics/pod/doc.go b/internal/k8s/metrics/pod/doc.go index e51182a3e2..418fa406e1 100644 --- a/internal/k8s/metrics/pod/doc.go +++ b/internal/k8s/metrics/pod/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package pod provides kubernetes pod information and preriodically update package pod diff --git a/internal/k8s/metrics/pod/option.go b/internal/k8s/metrics/pod/option.go index 8f58653262..787ab83f85 100644 --- a/internal/k8s/metrics/pod/option.go +++ b/internal/k8s/metrics/pod/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package pod diff --git a/internal/k8s/metrics/pod/option_test.go b/internal/k8s/metrics/pod/option_test.go index 0a86f5fc6b..752d60374a 100644 --- a/internal/k8s/metrics/pod/option_test.go +++ b/internal/k8s/metrics/pod/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package pod diff --git a/internal/k8s/metrics/pod/pod.go b/internal/k8s/metrics/pod/pod.go index 7a47c16ef8..b73d66a592 100644 --- a/internal/k8s/metrics/pod/pod.go +++ b/internal/k8s/metrics/pod/pod.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package pod diff --git a/internal/k8s/metrics/pod/pod_test.go b/internal/k8s/metrics/pod/pod_test.go index c63d450d46..8f82d7481c 100644 --- a/internal/k8s/metrics/pod/pod_test.go +++ b/internal/k8s/metrics/pod/pod_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package pod diff --git a/internal/k8s/node/doc.go b/internal/k8s/node/doc.go index de1eec9d7e..be4e961da9 100644 --- a/internal/k8s/node/doc.go +++ b/internal/k8s/node/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package node provides kubernetes node information and preriodically update package node diff --git a/internal/k8s/node/node.go b/internal/k8s/node/node.go index dc4340a29f..37ed316241 100644 --- a/internal/k8s/node/node.go +++ b/internal/k8s/node/node.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package node diff --git a/internal/k8s/node/node_test.go b/internal/k8s/node/node_test.go index f84bb3e42c..bc0c861dd5 100644 --- a/internal/k8s/node/node_test.go +++ b/internal/k8s/node/node_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package node diff --git a/internal/k8s/node/option.go b/internal/k8s/node/option.go index d294cbd541..cc201f7db7 100644 --- a/internal/k8s/node/option.go +++ b/internal/k8s/node/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package node diff --git a/internal/k8s/node/option_test.go b/internal/k8s/node/option_test.go index ec0d61486a..96630e9c9f 100644 --- a/internal/k8s/node/option_test.go +++ b/internal/k8s/node/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package node diff --git a/internal/k8s/option.go b/internal/k8s/option.go index a12ca54b58..db76614a46 100644 --- a/internal/k8s/option.go +++ b/internal/k8s/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package k8s provides kubernetes control functionality package k8s diff --git a/internal/k8s/option_test.go b/internal/k8s/option_test.go index acf0f5e791..fe47f6708d 100644 --- a/internal/k8s/option_test.go +++ b/internal/k8s/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package k8s provides kubernetes control functionality package k8s diff --git a/internal/k8s/pod/doc.go b/internal/k8s/pod/doc.go index e51182a3e2..418fa406e1 100644 --- a/internal/k8s/pod/doc.go +++ b/internal/k8s/pod/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package pod provides kubernetes pod information and preriodically update package pod diff --git a/internal/k8s/pod/option.go b/internal/k8s/pod/option.go index 18d727640b..3b79b37da2 100644 --- a/internal/k8s/pod/option.go +++ b/internal/k8s/pod/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package pod diff --git a/internal/k8s/pod/option_test.go b/internal/k8s/pod/option_test.go index 9460c0a455..929f5a36e5 100644 --- a/internal/k8s/pod/option_test.go +++ b/internal/k8s/pod/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package pod diff --git a/internal/k8s/pod/pod.go b/internal/k8s/pod/pod.go index ff2d47373a..d4837167e0 100644 --- a/internal/k8s/pod/pod.go +++ b/internal/k8s/pod/pod.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package pod diff --git a/internal/k8s/pod/pod_test.go b/internal/k8s/pod/pod_test.go index 88fe2df381..61be209d7e 100644 --- a/internal/k8s/pod/pod_test.go +++ b/internal/k8s/pod/pod_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package pod diff --git a/internal/k8s/reconciler.go b/internal/k8s/reconciler.go index 3782d683f0..8a6595be81 100644 --- a/internal/k8s/reconciler.go +++ b/internal/k8s/reconciler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package k8s provides kubernetes control functionality package k8s diff --git a/internal/k8s/reconciler_test.go b/internal/k8s/reconciler_test.go index 8d6612b631..0bfbed5a9f 100644 --- a/internal/k8s/reconciler_test.go +++ b/internal/k8s/reconciler_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package k8s provides kubernetes control functionality package k8s diff --git a/internal/k8s/service/doc.go b/internal/k8s/service/doc.go index 062f87819c..e94837b7d3 100644 --- a/internal/k8s/service/doc.go +++ b/internal/k8s/service/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package svc provides kubernetes svc information and preriodically update package service diff --git a/internal/k8s/service/option.go b/internal/k8s/service/option.go index ebd2c27a14..82adf0425e 100644 --- a/internal/k8s/service/option.go +++ b/internal/k8s/service/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package service diff --git a/internal/k8s/service/service.go b/internal/k8s/service/service.go index c796650495..a6896b33ed 100644 --- a/internal/k8s/service/service.go +++ b/internal/k8s/service/service.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package service diff --git a/internal/k8s/types.go b/internal/k8s/types.go index 3312a39d1c..e0fcce5c1c 100644 --- a/internal/k8s/types.go +++ b/internal/k8s/types.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package k8s diff --git a/internal/k8s/v2/pod/doc.go b/internal/k8s/v2/pod/doc.go index e51182a3e2..418fa406e1 100644 --- a/internal/k8s/v2/pod/doc.go +++ b/internal/k8s/v2/pod/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package pod provides kubernetes pod information and preriodically update package pod diff --git a/internal/k8s/v2/pod/option.go b/internal/k8s/v2/pod/option.go index bddbbb6fe2..28dba87087 100644 --- a/internal/k8s/v2/pod/option.go +++ b/internal/k8s/v2/pod/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package pod diff --git a/internal/k8s/v2/pod/pod.go b/internal/k8s/v2/pod/pod.go index 770448557d..8776a66367 100644 --- a/internal/k8s/v2/pod/pod.go +++ b/internal/k8s/v2/pod/pod.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package pod diff --git a/internal/k8s/vald/annotations.go b/internal/k8s/vald/annotations.go index f3e15a3cfd..8b30e07a1d 100644 --- a/internal/k8s/vald/annotations.go +++ b/internal/k8s/vald/annotations.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package vald diff --git a/internal/k8s/vald/benchmark/api/v1/doc.go b/internal/k8s/vald/benchmark/api/v1/doc.go index 29b45f69fe..927d048a52 100644 --- a/internal/k8s/vald/benchmark/api/v1/doc.go +++ b/internal/k8s/vald/benchmark/api/v1/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package v1 provides functionality for Vald. package v1 diff --git a/internal/k8s/vald/benchmark/api/v1/info.go b/internal/k8s/vald/benchmark/api/v1/info.go index a1ad3df516..10fe9430b9 100644 --- a/internal/k8s/vald/benchmark/api/v1/info.go +++ b/internal/k8s/vald/benchmark/api/v1/info.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package v1 diff --git a/internal/k8s/vald/benchmark/api/v1/job_types.go b/internal/k8s/vald/benchmark/api/v1/job_types.go index 7a519b0eeb..46b8abc988 100644 --- a/internal/k8s/vald/benchmark/api/v1/job_types.go +++ b/internal/k8s/vald/benchmark/api/v1/job_types.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package v1 diff --git a/internal/k8s/vald/benchmark/api/v1/scenario_types.go b/internal/k8s/vald/benchmark/api/v1/scenario_types.go index 1117e51744..cbd74d1cef 100644 --- a/internal/k8s/vald/benchmark/api/v1/scenario_types.go +++ b/internal/k8s/vald/benchmark/api/v1/scenario_types.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package v1 diff --git a/internal/k8s/vald/benchmark/job/doc.go b/internal/k8s/vald/benchmark/job/doc.go index 836ec5b079..946833466c 100644 --- a/internal/k8s/vald/benchmark/job/doc.go +++ b/internal/k8s/vald/benchmark/job/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package job provides benchmark job crd information and preriodically update package job diff --git a/internal/k8s/vald/benchmark/job/job.go b/internal/k8s/vald/benchmark/job/job.go index 954c37109e..85158a1b7e 100644 --- a/internal/k8s/vald/benchmark/job/job.go +++ b/internal/k8s/vald/benchmark/job/job.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package job diff --git a/internal/k8s/vald/benchmark/job/job_template.go b/internal/k8s/vald/benchmark/job/job_template.go index 26eeef25e3..7941c12654 100644 --- a/internal/k8s/vald/benchmark/job/job_template.go +++ b/internal/k8s/vald/benchmark/job/job_template.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package job manages the main logic of benchmark job. package job diff --git a/internal/k8s/vald/benchmark/job/job_template_option.go b/internal/k8s/vald/benchmark/job/job_template_option.go index 8aa73be3ba..6dbb6ceef7 100644 --- a/internal/k8s/vald/benchmark/job/job_template_option.go +++ b/internal/k8s/vald/benchmark/job/job_template_option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package job diff --git a/internal/k8s/vald/benchmark/job/option.go b/internal/k8s/vald/benchmark/job/option.go index ed8cbfbfc9..6bde0f54bf 100644 --- a/internal/k8s/vald/benchmark/job/option.go +++ b/internal/k8s/vald/benchmark/job/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package job diff --git a/internal/k8s/vald/benchmark/scenario/doc.go b/internal/k8s/vald/benchmark/scenario/doc.go index 3dde4793cd..96db9bf577 100644 --- a/internal/k8s/vald/benchmark/scenario/doc.go +++ b/internal/k8s/vald/benchmark/scenario/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package operator provides benchmark operator crd information and preriodically update package scenario diff --git a/internal/k8s/vald/benchmark/scenario/option.go b/internal/k8s/vald/benchmark/scenario/option.go index f47ef1fcf8..e59cbe4801 100644 --- a/internal/k8s/vald/benchmark/scenario/option.go +++ b/internal/k8s/vald/benchmark/scenario/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package scenario diff --git a/internal/k8s/vald/benchmark/scenario/scenario.go b/internal/k8s/vald/benchmark/scenario/scenario.go index e6315f26e2..23d488631e 100644 --- a/internal/k8s/vald/benchmark/scenario/scenario.go +++ b/internal/k8s/vald/benchmark/scenario/scenario.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package scenario diff --git a/internal/k8s/vald/doc.go b/internal/k8s/vald/doc.go index 93e32e58b5..26d62d670c 100644 --- a/internal/k8s/vald/doc.go +++ b/internal/k8s/vald/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package vald provides functionality for Vald. package vald diff --git a/internal/k8s/vald/mirror/api/v1/doc.go b/internal/k8s/vald/mirror/api/v1/doc.go index 29b45f69fe..927d048a52 100644 --- a/internal/k8s/vald/mirror/api/v1/doc.go +++ b/internal/k8s/vald/mirror/api/v1/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package v1 provides functionality for Vald. package v1 diff --git a/internal/log/doc.go b/internal/log/doc.go index 2c7c5c6ae3..91710b7783 100644 --- a/internal/log/doc.go +++ b/internal/log/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package log provides functionality for Vald. package log diff --git a/internal/log/format/doc.go b/internal/log/format/doc.go index 4ee5795e89..c8a4b707a6 100644 --- a/internal/log/format/doc.go +++ b/internal/log/format/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package format provides functionality for Vald. package format diff --git a/internal/log/format/format.go b/internal/log/format/format.go index e49c0bc57a..7bec269425 100644 --- a/internal/log/format/format.go +++ b/internal/log/format/format.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package format diff --git a/internal/log/glg/doc.go b/internal/log/glg/doc.go index a1117cab8f..1eac1a6d0b 100644 --- a/internal/log/glg/doc.go +++ b/internal/log/glg/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package glg provides functionality for Vald. package glg diff --git a/internal/log/glg/glg.go b/internal/log/glg/glg.go index cb75e404bd..5b466c727e 100644 --- a/internal/log/glg/glg.go +++ b/internal/log/glg/glg.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package glg diff --git a/internal/log/glg/option.go b/internal/log/glg/option.go index 3544c6ba36..105642936e 100644 --- a/internal/log/glg/option.go +++ b/internal/log/glg/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package glg diff --git a/internal/log/level/doc.go b/internal/log/level/doc.go index daa4d16815..e728b6919e 100644 --- a/internal/log/level/doc.go +++ b/internal/log/level/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package level provides functionality for Vald. package level diff --git a/internal/log/level/level.go b/internal/log/level/level.go index 6d6f2e73d0..318a988091 100644 --- a/internal/log/level/level.go +++ b/internal/log/level/level.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package level diff --git a/internal/log/log.go b/internal/log/log.go index 895361ba23..7f98c9f66d 100644 --- a/internal/log/log.go +++ b/internal/log/log.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package log diff --git a/internal/log/log_test.go b/internal/log/log_test.go index 2569460888..a061527956 100644 --- a/internal/log/log_test.go +++ b/internal/log/log_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package log diff --git a/internal/log/logger/doc.go b/internal/log/logger/doc.go index 46b41878c5..875c2ed876 100644 --- a/internal/log/logger/doc.go +++ b/internal/log/logger/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package logger provides functionality for Vald. package logger diff --git a/internal/log/logger/iface.go b/internal/log/logger/iface.go index 8ec2fe2b75..e80f1dc7d2 100644 --- a/internal/log/logger/iface.go +++ b/internal/log/logger/iface.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package logger diff --git a/internal/log/logger/type.go b/internal/log/logger/type.go index 85bafcff18..ccc1dcb01e 100644 --- a/internal/log/logger/type.go +++ b/internal/log/logger/type.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package logger diff --git a/internal/log/logger/type_test.go b/internal/log/logger/type_test.go index cdc4626b93..afa0ecca59 100644 --- a/internal/log/logger/type_test.go +++ b/internal/log/logger/type_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package logger diff --git a/internal/log/mock/doc.go b/internal/log/mock/doc.go index 9b1a6d73b3..dc0016761b 100644 --- a/internal/log/mock/doc.go +++ b/internal/log/mock/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package mock provides functionality for Vald. package mock diff --git a/internal/log/nop/doc.go b/internal/log/nop/doc.go index 3ad034bfa3..9df155c4b1 100644 --- a/internal/log/nop/doc.go +++ b/internal/log/nop/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package nop provides functionality for Vald. package nop diff --git a/internal/log/retry/doc.go b/internal/log/retry/doc.go index 422392b365..276c53de5d 100644 --- a/internal/log/retry/doc.go +++ b/internal/log/retry/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package retry provides functionality for Vald. package retry diff --git a/internal/log/zap/doc.go b/internal/log/zap/doc.go index de6d0852a0..33db9e5752 100644 --- a/internal/log/zap/doc.go +++ b/internal/log/zap/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package zap provides functionality for Vald. package zap diff --git a/internal/net/control/control.go b/internal/net/control/control.go index 79337a7f86..49b29a80fe 100644 --- a/internal/net/control/control.go +++ b/internal/net/control/control.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package control diff --git a/internal/net/control/control_darwin.go b/internal/net/control/control_darwin.go index 2d300d0335..47387ffdd0 100644 --- a/internal/net/control/control_darwin.go +++ b/internal/net/control/control_darwin.go @@ -1,20 +1,18 @@ //go:build darwin && !linux && !windows && !wasm && !js -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package control diff --git a/internal/net/control/control_other.go b/internal/net/control/control_other.go index 2fd555286b..b884786d9d 100644 --- a/internal/net/control/control_other.go +++ b/internal/net/control/control_other.go @@ -1,20 +1,18 @@ //go:build wasm && js && !windows && !linux && !darwin -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package control diff --git a/internal/net/control/control_test.go b/internal/net/control/control_test.go index 8b3adea7e1..41aac60385 100644 --- a/internal/net/control/control_test.go +++ b/internal/net/control/control_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package control diff --git a/internal/net/control/control_unix.go b/internal/net/control/control_unix.go index 408e762c52..00531dd720 100644 --- a/internal/net/control/control_unix.go +++ b/internal/net/control/control_unix.go @@ -1,20 +1,18 @@ //go:build linux && !windows && !wasm && !js && !darwin -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package control diff --git a/internal/net/control/control_windows.go b/internal/net/control/control_windows.go index 4b96a83773..d96aa5765f 100644 --- a/internal/net/control/control_windows.go +++ b/internal/net/control/control_windows.go @@ -1,20 +1,18 @@ //go:build windows -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package control diff --git a/internal/net/control/doc.go b/internal/net/control/doc.go index 8873188c58..704239ca12 100644 --- a/internal/net/control/doc.go +++ b/internal/net/control/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package control provides network socket option package control diff --git a/internal/net/dialer.go b/internal/net/dialer.go index a7c9e1ef53..1222f1d867 100644 --- a/internal/net/dialer.go +++ b/internal/net/dialer.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package net diff --git a/internal/net/dialer_test.go b/internal/net/dialer_test.go index 58870d147c..729888011d 100644 --- a/internal/net/dialer_test.go +++ b/internal/net/dialer_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package net diff --git a/internal/net/doc.go b/internal/net/doc.go index f1e8356808..6a9ab4ea5c 100644 --- a/internal/net/doc.go +++ b/internal/net/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package net provides net functionality for vald's network connection package net diff --git a/internal/net/grpc/admin/admin.go b/internal/net/grpc/admin/admin.go index bd91d3b403..4f69f58a79 100644 --- a/internal/net/grpc/admin/admin.go +++ b/internal/net/grpc/admin/admin.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package admin diff --git a/internal/net/grpc/admin/doc.go b/internal/net/grpc/admin/doc.go index 46ed676ba3..792f895252 100644 --- a/internal/net/grpc/admin/doc.go +++ b/internal/net/grpc/admin/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package admin provides grpc admin metrics registration API for providing grpc metrics endpoints package admin diff --git a/internal/net/grpc/client.go b/internal/net/grpc/client.go index c1013e1ea3..ceb7501835 100644 --- a/internal/net/grpc/client.go +++ b/internal/net/grpc/client.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/internal/net/grpc/client_test.go b/internal/net/grpc/client_test.go index e14397f893..663e853a31 100644 --- a/internal/net/grpc/client_test.go +++ b/internal/net/grpc/client_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/internal/net/grpc/codec.go b/internal/net/grpc/codec.go index fdd3a8e2c7..a8de501bde 100644 --- a/internal/net/grpc/codec.go +++ b/internal/net/grpc/codec.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/internal/net/grpc/codec_test.go b/internal/net/grpc/codec_test.go index 4ff282bf71..3287c81a10 100644 --- a/internal/net/grpc/codec_test.go +++ b/internal/net/grpc/codec_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/internal/net/grpc/codes/codes.go b/internal/net/grpc/codes/codes.go index 7e3671edd4..a29eb24b6e 100644 --- a/internal/net/grpc/codes/codes.go +++ b/internal/net/grpc/codes/codes.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package codes diff --git a/internal/net/grpc/codes/doc.go b/internal/net/grpc/codes/doc.go index 4ef9525f43..7b439c2a3a 100644 --- a/internal/net/grpc/codes/doc.go +++ b/internal/net/grpc/codes/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package codes provides status codes of grpc package codes diff --git a/internal/net/grpc/credentials/credentials.go b/internal/net/grpc/credentials/credentials.go index b8f6bc1a1b..ecccb60897 100644 --- a/internal/net/grpc/credentials/credentials.go +++ b/internal/net/grpc/credentials/credentials.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package credentials diff --git a/internal/net/grpc/credentials/credentials_test.go b/internal/net/grpc/credentials/credentials_test.go index ed042da78e..0ed3355ea1 100644 --- a/internal/net/grpc/credentials/credentials_test.go +++ b/internal/net/grpc/credentials/credentials_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package credentials diff --git a/internal/net/grpc/credentials/doc.go b/internal/net/grpc/credentials/doc.go index dbd7e4e37e..9a65a7784b 100644 --- a/internal/net/grpc/credentials/doc.go +++ b/internal/net/grpc/credentials/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package credentials provides generic functionality for grpc credentials setting package credentials diff --git a/internal/net/grpc/doc.go b/internal/net/grpc/doc.go index f912dda6e4..1bae0cbbb0 100644 --- a/internal/net/grpc/doc.go +++ b/internal/net/grpc/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package grpc provides generic functionality for grpc package grpc diff --git a/internal/net/grpc/errdetails/doc.go b/internal/net/grpc/errdetails/doc.go index eb63d85bee..a1168f55e4 100644 --- a/internal/net/grpc/errdetails/doc.go +++ b/internal/net/grpc/errdetails/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package errdetails provides error detail for gRPC status package errdetails diff --git a/internal/net/grpc/errdetails/errdetails.go b/internal/net/grpc/errdetails/errdetails.go index 2af23b0dcb..dee2752a96 100644 --- a/internal/net/grpc/errdetails/errdetails.go +++ b/internal/net/grpc/errdetails/errdetails.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errdetails diff --git a/internal/net/grpc/errdetails/errdetails_test.go b/internal/net/grpc/errdetails/errdetails_test.go index c664c3bc0e..0d44ca09a9 100644 --- a/internal/net/grpc/errdetails/errdetails_test.go +++ b/internal/net/grpc/errdetails/errdetails_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errdetails diff --git a/internal/net/grpc/handler.go b/internal/net/grpc/handler.go index 6969aa15b2..8cc4e7114c 100644 --- a/internal/net/grpc/handler.go +++ b/internal/net/grpc/handler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/internal/net/grpc/health/doc.go b/internal/net/grpc/health/doc.go index 98511a65a5..696504626b 100644 --- a/internal/net/grpc/health/doc.go +++ b/internal/net/grpc/health/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package health provides generic functionality for grpc health checks. package health diff --git a/internal/net/grpc/health/health.go b/internal/net/grpc/health/health.go index bf96b7cbbd..3b75b6fa88 100644 --- a/internal/net/grpc/health/health.go +++ b/internal/net/grpc/health/health.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package health diff --git a/internal/net/grpc/health/health_test.go b/internal/net/grpc/health/health_test.go index da4d38fd9d..ca21fa45cf 100644 --- a/internal/net/grpc/health/health_test.go +++ b/internal/net/grpc/health/health_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package health diff --git a/internal/net/grpc/interceptor.go b/internal/net/grpc/interceptor.go index 65726b319b..2284258cca 100644 --- a/internal/net/grpc/interceptor.go +++ b/internal/net/grpc/interceptor.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/internal/net/grpc/interceptor/client/metric/doc.go b/internal/net/grpc/interceptor/client/metric/doc.go index 51b3922b49..3067d7ad63 100644 --- a/internal/net/grpc/interceptor/client/metric/doc.go +++ b/internal/net/grpc/interceptor/client/metric/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package metric provides gRPC client interceptors for client metric package metric diff --git a/internal/net/grpc/interceptor/client/metric/metric.go b/internal/net/grpc/interceptor/client/metric/metric.go index 20158ba24b..168af5b32a 100644 --- a/internal/net/grpc/interceptor/client/metric/metric.go +++ b/internal/net/grpc/interceptor/client/metric/metric.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package metric diff --git a/internal/net/grpc/interceptor/client/trace/doc.go b/internal/net/grpc/interceptor/client/trace/doc.go index a081b297c0..8df3f0583f 100644 --- a/internal/net/grpc/interceptor/client/trace/doc.go +++ b/internal/net/grpc/interceptor/client/trace/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package trace provides functionality for Vald. package trace diff --git a/internal/net/grpc/interceptor/server/logging/accesslog.go b/internal/net/grpc/interceptor/server/logging/accesslog.go index 0ce92137e0..3ddc85ef44 100644 --- a/internal/net/grpc/interceptor/server/logging/accesslog.go +++ b/internal/net/grpc/interceptor/server/logging/accesslog.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package logging diff --git a/internal/net/grpc/interceptor/server/logging/accesslog_test.go b/internal/net/grpc/interceptor/server/logging/accesslog_test.go index d20c116836..089e44e2d3 100644 --- a/internal/net/grpc/interceptor/server/logging/accesslog_test.go +++ b/internal/net/grpc/interceptor/server/logging/accesslog_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package logging diff --git a/internal/net/grpc/interceptor/server/logging/doc.go b/internal/net/grpc/interceptor/server/logging/doc.go index b186891737..92be30d827 100644 --- a/internal/net/grpc/interceptor/server/logging/doc.go +++ b/internal/net/grpc/interceptor/server/logging/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package logging provides gRPC interceptors for access logging package logging diff --git a/internal/net/grpc/interceptor/server/metric/doc.go b/internal/net/grpc/interceptor/server/metric/doc.go index 1fd3792523..dd56ab0f19 100644 --- a/internal/net/grpc/interceptor/server/metric/doc.go +++ b/internal/net/grpc/interceptor/server/metric/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package metric provides functionality for Vald. package metric diff --git a/internal/net/grpc/interceptor/server/recover/doc.go b/internal/net/grpc/interceptor/server/recover/doc.go index 64467c890c..9ab58c1167 100644 --- a/internal/net/grpc/interceptor/server/recover/doc.go +++ b/internal/net/grpc/interceptor/server/recover/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package recover provides gRPC interceptors for recovery package recover diff --git a/internal/net/grpc/interceptor/server/recover/recover.go b/internal/net/grpc/interceptor/server/recover/recover.go index 52744a151f..037b82b136 100644 --- a/internal/net/grpc/interceptor/server/recover/recover.go +++ b/internal/net/grpc/interceptor/server/recover/recover.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package recover diff --git a/internal/net/grpc/interceptor/server/recover/recover_test.go b/internal/net/grpc/interceptor/server/recover/recover_test.go index eca3be0559..ddca7a0652 100644 --- a/internal/net/grpc/interceptor/server/recover/recover_test.go +++ b/internal/net/grpc/interceptor/server/recover/recover_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package recover diff --git a/internal/net/grpc/interceptor/server/trace/doc.go b/internal/net/grpc/interceptor/server/trace/doc.go index a081b297c0..8df3f0583f 100644 --- a/internal/net/grpc/interceptor/server/trace/doc.go +++ b/internal/net/grpc/interceptor/server/trace/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package trace provides functionality for Vald. package trace diff --git a/internal/net/grpc/keepalive/doc.go b/internal/net/grpc/keepalive/doc.go index a28ba85319..9cda85590f 100644 --- a/internal/net/grpc/keepalive/doc.go +++ b/internal/net/grpc/keepalive/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package keepalive provides grpc keepalive configuration package keepalive diff --git a/internal/net/grpc/keepalive/keepalive.go b/internal/net/grpc/keepalive/keepalive.go index b6bd545abc..3236292098 100644 --- a/internal/net/grpc/keepalive/keepalive.go +++ b/internal/net/grpc/keepalive/keepalive.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package keepalive diff --git a/internal/net/grpc/logger/doc.go b/internal/net/grpc/logger/doc.go index 46b41878c5..875c2ed876 100644 --- a/internal/net/grpc/logger/doc.go +++ b/internal/net/grpc/logger/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package logger provides functionality for Vald. package logger diff --git a/internal/net/grpc/metadata.go b/internal/net/grpc/metadata.go index 8f6cfaab90..b08da3b455 100644 --- a/internal/net/grpc/metadata.go +++ b/internal/net/grpc/metadata.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/internal/net/grpc/option.go b/internal/net/grpc/option.go index a7b3b00807..89affbf3a5 100644 --- a/internal/net/grpc/option.go +++ b/internal/net/grpc/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/internal/net/grpc/option_test.go b/internal/net/grpc/option_test.go index 2ef44cf661..aac6db40ca 100644 --- a/internal/net/grpc/option_test.go +++ b/internal/net/grpc/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/internal/net/grpc/pool/doc.go b/internal/net/grpc/pool/doc.go index f56adb7d26..e69970abb7 100644 --- a/internal/net/grpc/pool/doc.go +++ b/internal/net/grpc/pool/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package pool provides gRPC connection pool client package pool diff --git a/internal/net/grpc/pool/option.go b/internal/net/grpc/pool/option.go index 39c2c05d26..f36abb5666 100644 --- a/internal/net/grpc/pool/option.go +++ b/internal/net/grpc/pool/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package pool diff --git a/internal/net/grpc/pool/option_test.go b/internal/net/grpc/pool/option_test.go index ab3e6edfdf..d6dacdfc85 100644 --- a/internal/net/grpc/pool/option_test.go +++ b/internal/net/grpc/pool/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package pool diff --git a/internal/net/grpc/pool/pool.go b/internal/net/grpc/pool/pool.go index a4611a8a5e..3ec43610a8 100644 --- a/internal/net/grpc/pool/pool.go +++ b/internal/net/grpc/pool/pool.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package pool provides grpc connection pooling functionality for better performance. package pool diff --git a/internal/net/grpc/pool/pool_bench_test.go b/internal/net/grpc/pool/pool_bench_test.go index fe6364ff00..57efad9643 100644 --- a/internal/net/grpc/pool/pool_bench_test.go +++ b/internal/net/grpc/pool/pool_bench_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package pool diff --git a/internal/net/grpc/proto/doc.go b/internal/net/grpc/proto/doc.go index a24e8fd7dc..9c0f24c0fe 100644 --- a/internal/net/grpc/proto/doc.go +++ b/internal/net/grpc/proto/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package proto provides proto file logic package proto diff --git a/internal/net/grpc/proto/proto.go b/internal/net/grpc/proto/proto.go index 1da0ef3e54..f906cdd892 100644 --- a/internal/net/grpc/proto/proto.go +++ b/internal/net/grpc/proto/proto.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package proto diff --git a/internal/net/grpc/proto/proto_test.go b/internal/net/grpc/proto/proto_test.go index 8dde81f416..ae787c7afb 100644 --- a/internal/net/grpc/proto/proto_test.go +++ b/internal/net/grpc/proto/proto_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package proto diff --git a/internal/net/grpc/reflection/doc.go b/internal/net/grpc/reflection/doc.go index bc26f3639e..103dc0ece3 100644 --- a/internal/net/grpc/reflection/doc.go +++ b/internal/net/grpc/reflection/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package reflection provides grpc reflection for providing grpc server proto specs package reflection diff --git a/internal/net/grpc/reflection/reflection.go b/internal/net/grpc/reflection/reflection.go index 0a79d72ef6..c5692fb08f 100644 --- a/internal/net/grpc/reflection/reflection.go +++ b/internal/net/grpc/reflection/reflection.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package reflection diff --git a/internal/net/grpc/server.go b/internal/net/grpc/server.go index 40eea4fabe..dc4350d78e 100644 --- a/internal/net/grpc/server.go +++ b/internal/net/grpc/server.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/internal/net/grpc/server_test.go b/internal/net/grpc/server_test.go index 479eb8aeff..c73bd6300a 100644 --- a/internal/net/grpc/server_test.go +++ b/internal/net/grpc/server_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/internal/net/grpc/stats/doc.go b/internal/net/grpc/stats/doc.go index 397ad5e07f..ad116a3383 100644 --- a/internal/net/grpc/stats/doc.go +++ b/internal/net/grpc/stats/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package stats provides generic functionality for grpc stats. package stats diff --git a/internal/net/grpc/stats/stats.go b/internal/net/grpc/stats/stats.go index 1eb4e5021e..b871956b5c 100644 --- a/internal/net/grpc/stats/stats.go +++ b/internal/net/grpc/stats/stats.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package stats diff --git a/internal/net/grpc/stats/stats_test.go b/internal/net/grpc/stats/stats_test.go index 115a78217a..1342687cd5 100644 --- a/internal/net/grpc/stats/stats_test.go +++ b/internal/net/grpc/stats/stats_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package stats diff --git a/internal/net/grpc/status/doc.go b/internal/net/grpc/status/doc.go index 91b13e6641..31cdaec8b5 100644 --- a/internal/net/grpc/status/doc.go +++ b/internal/net/grpc/status/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package status provides statuses and errors returned by grpc handler functions package status diff --git a/internal/net/grpc/status/status.go b/internal/net/grpc/status/status.go index b22daa8d94..3b99bd676f 100644 --- a/internal/net/grpc/status/status.go +++ b/internal/net/grpc/status/status.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package status diff --git a/internal/net/grpc/status/status_test.go b/internal/net/grpc/status/status_test.go index 30f585ea33..81670596b7 100644 --- a/internal/net/grpc/status/status_test.go +++ b/internal/net/grpc/status/status_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package status diff --git a/internal/net/grpc/stream.go b/internal/net/grpc/stream.go index 60cf1fe16e..a31681ef25 100644 --- a/internal/net/grpc/stream.go +++ b/internal/net/grpc/stream.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/internal/net/grpc/stream_test.go b/internal/net/grpc/stream_test.go index d14cf87c04..71ba509b81 100644 --- a/internal/net/grpc/stream_test.go +++ b/internal/net/grpc/stream_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/internal/net/grpc/types/doc.go b/internal/net/grpc/types/doc.go index 2b54baff48..e94841c123 100644 --- a/internal/net/grpc/types/doc.go +++ b/internal/net/grpc/types/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package types provides alias of protobuf library types package types diff --git a/internal/net/grpc/types/types.go b/internal/net/grpc/types/types.go index c60cf81a96..f613b769d9 100644 --- a/internal/net/grpc/types/types.go +++ b/internal/net/grpc/types/types.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package types diff --git a/internal/net/grpc/types/types_test.go b/internal/net/grpc/types/types_test.go index b6b4506dfe..5baa4219ee 100644 --- a/internal/net/grpc/types/types_test.go +++ b/internal/net/grpc/types/types_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package types diff --git a/internal/net/http/client/client.go b/internal/net/http/client/client.go index 53c8983566..cf4b7f666a 100644 --- a/internal/net/http/client/client.go +++ b/internal/net/http/client/client.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package client diff --git a/internal/net/http/client/client_test.go b/internal/net/http/client/client_test.go index 58d289dee3..95aac7dff9 100644 --- a/internal/net/http/client/client_test.go +++ b/internal/net/http/client/client_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package client diff --git a/internal/net/http/client/doc.go b/internal/net/http/client/doc.go index 16e68e8b26..50f5dc1c9f 100644 --- a/internal/net/http/client/doc.go +++ b/internal/net/http/client/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package client provides functionality for Vald. package client diff --git a/internal/net/http/client/option.go b/internal/net/http/client/option.go index 35987ad842..63ac0016bb 100644 --- a/internal/net/http/client/option.go +++ b/internal/net/http/client/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package client diff --git a/internal/net/http/client/option_test.go b/internal/net/http/client/option_test.go index 96549e91c3..b3d6282475 100644 --- a/internal/net/http/client/option_test.go +++ b/internal/net/http/client/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package client diff --git a/internal/net/http/dump/doc.go b/internal/net/http/dump/doc.go index 79a96814e7..846b1b1c4b 100644 --- a/internal/net/http/dump/doc.go +++ b/internal/net/http/dump/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package dump provides http request/response dump logic package dump diff --git a/internal/net/http/dump/dump.go b/internal/net/http/dump/dump.go index 03854d7ce8..aa458be821 100644 --- a/internal/net/http/dump/dump.go +++ b/internal/net/http/dump/dump.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package dump diff --git a/internal/net/http/json/doc.go b/internal/net/http/json/doc.go index 7625123ddf..7cfea13e79 100644 --- a/internal/net/http/json/doc.go +++ b/internal/net/http/json/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package json provides functionality for Vald. package json diff --git a/internal/net/http/json/json.go b/internal/net/http/json/json.go index 86616107fc..5a51d14588 100644 --- a/internal/net/http/json/json.go +++ b/internal/net/http/json/json.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package json diff --git a/internal/net/http/metrics/doc.go b/internal/net/http/metrics/doc.go index e69d39650f..52974634e9 100644 --- a/internal/net/http/metrics/doc.go +++ b/internal/net/http/metrics/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package metrics provides pprof profiler handler package metrics diff --git a/internal/net/http/metrics/pprof.go b/internal/net/http/metrics/pprof.go index 93d7ae7c97..5f56c9e953 100644 --- a/internal/net/http/metrics/pprof.go +++ b/internal/net/http/metrics/pprof.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package metrics diff --git a/internal/net/http/middleware/doc.go b/internal/net/http/middleware/doc.go index 64bc6e55f1..8711cd9f74 100644 --- a/internal/net/http/middleware/doc.go +++ b/internal/net/http/middleware/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package middleware provides rest.Func Middleware package middleware diff --git a/internal/net/http/middleware/middleware.go b/internal/net/http/middleware/middleware.go index a7733be027..ec6c43e649 100644 --- a/internal/net/http/middleware/middleware.go +++ b/internal/net/http/middleware/middleware.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package middleware diff --git a/internal/net/http/middleware/option.go b/internal/net/http/middleware/option.go index 84f43e8188..1f54a43c44 100644 --- a/internal/net/http/middleware/option.go +++ b/internal/net/http/middleware/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package middleware diff --git a/internal/net/http/middleware/timeout.go b/internal/net/http/middleware/timeout.go index 295b7c027b..475efeb298 100644 --- a/internal/net/http/middleware/timeout.go +++ b/internal/net/http/middleware/timeout.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package middleware diff --git a/internal/net/http/rest/doc.go b/internal/net/http/rest/doc.go index 887b4fd1f7..c0111eca4a 100644 --- a/internal/net/http/rest/doc.go +++ b/internal/net/http/rest/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package rest provides REST API common logic & variable package rest diff --git a/internal/net/http/rest/rest.go b/internal/net/http/rest/rest.go index 001d10b94d..8ebc1df0a0 100644 --- a/internal/net/http/rest/rest.go +++ b/internal/net/http/rest/rest.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rest diff --git a/internal/net/http/routing/doc.go b/internal/net/http/routing/doc.go index fc0a534b32..fdf9a6bedc 100644 --- a/internal/net/http/routing/doc.go +++ b/internal/net/http/routing/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package routing provides implementation of Go API for routing http Handler wrapped by rest.Func package routing diff --git a/internal/net/http/routing/option.go b/internal/net/http/routing/option.go index ad5d58050e..7226d8885a 100644 --- a/internal/net/http/routing/option.go +++ b/internal/net/http/routing/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package routing diff --git a/internal/net/http/routing/router.go b/internal/net/http/routing/router.go index 971fd79097..f379e615d3 100644 --- a/internal/net/http/routing/router.go +++ b/internal/net/http/routing/router.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package routing diff --git a/internal/net/http/routing/routes.go b/internal/net/http/routing/routes.go index c4a1c1cba2..c6d37ef3c2 100644 --- a/internal/net/http/routing/routes.go +++ b/internal/net/http/routing/routes.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package routing diff --git a/internal/net/http/transport/doc.go b/internal/net/http/transport/doc.go index 0fdbcf1673..ab54c1558a 100644 --- a/internal/net/http/transport/doc.go +++ b/internal/net/http/transport/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package transport provides http transport roundtrip option package transport diff --git a/internal/net/http/transport/option.go b/internal/net/http/transport/option.go index 1b32b92511..77497e02ba 100644 --- a/internal/net/http/transport/option.go +++ b/internal/net/http/transport/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package transport diff --git a/internal/net/http/transport/option_test.go b/internal/net/http/transport/option_test.go index 7546303ba6..75abbd7ec4 100644 --- a/internal/net/http/transport/option_test.go +++ b/internal/net/http/transport/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package transport diff --git a/internal/net/http/transport/roundtrip.go b/internal/net/http/transport/roundtrip.go index 1c42413245..26a7711039 100644 --- a/internal/net/http/transport/roundtrip.go +++ b/internal/net/http/transport/roundtrip.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package transport diff --git a/internal/net/http/transport/roundtrip_test.go b/internal/net/http/transport/roundtrip_test.go index 4cbba225ca..3799451619 100644 --- a/internal/net/http/transport/roundtrip_test.go +++ b/internal/net/http/transport/roundtrip_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package transport diff --git a/internal/net/net.go b/internal/net/net.go index 5eb34042a6..de08c3c5c7 100644 --- a/internal/net/net.go +++ b/internal/net/net.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package net diff --git a/internal/net/net_test.go b/internal/net/net_test.go index 630fbf5381..fffbfe341e 100644 --- a/internal/net/net_test.go +++ b/internal/net/net_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package net @@ -323,10 +321,20 @@ func TestParse(t *testing.T) { want: want{ wantHost: "google.com", wantPort: uint16(8080), - isV4: true, - isV6: false, isLocal: false, }, + checkFunc: func(w want, gotHost string, gotPort uint16, gotIsLocal bool, gotIsV4 bool, gotIsV6 bool, err error) error { + if gotHost != w.wantHost { + return errors.Errorf("gotHost: %q, want: %q", gotHost, w.wantHost) + } + if gotPort != w.wantPort { + return errors.Errorf("gotPort: %d, want: %d", gotPort, w.wantPort) + } + if gotIsLocal != w.isLocal { + return errors.Errorf("gotIsLocal: %v, want: %v", gotIsLocal, w.isLocal) + } + return nil + }, }, { name: "return default port when parse failed if it is not an address", diff --git a/internal/net/option.go b/internal/net/option.go index 5ad41d6ced..0b9cdd485b 100644 --- a/internal/net/option.go +++ b/internal/net/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package net diff --git a/internal/net/option_test.go b/internal/net/option_test.go index 881c594fa4..291e3ea141 100644 --- a/internal/net/option_test.go +++ b/internal/net/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package net diff --git a/internal/net/quic/doc.go b/internal/net/quic/doc.go index acd0ba81b0..38bbdef5f7 100644 --- a/internal/net/quic/doc.go +++ b/internal/net/quic/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package quic provides functionality for Vald. package quic diff --git a/internal/observability/attribute/doc.go b/internal/observability/attribute/doc.go index 8741cf5903..2a279e64a7 100644 --- a/internal/observability/attribute/doc.go +++ b/internal/observability/attribute/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package attribute provides functionality for Vald. package attribute diff --git a/internal/observability/doc.go b/internal/observability/doc.go index e42eea5b7e..2efe51ec14 100644 --- a/internal/observability/doc.go +++ b/internal/observability/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package observability provides functionality for Vald. package observability diff --git a/internal/observability/exporter/doc.go b/internal/observability/exporter/doc.go index c070d632dc..0200e529bc 100644 --- a/internal/observability/exporter/doc.go +++ b/internal/observability/exporter/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package exporter provides functionality for Vald. package exporter diff --git a/internal/observability/exporter/otlp/doc.go b/internal/observability/exporter/otlp/doc.go index c64d1e9938..51d5f97690 100644 --- a/internal/observability/exporter/otlp/doc.go +++ b/internal/observability/exporter/otlp/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package otlp provides functionality for Vald. package otlp diff --git a/internal/observability/metrics/agent/core/faiss/doc.go b/internal/observability/metrics/agent/core/faiss/doc.go index 42ee59398a..397b519434 100644 --- a/internal/observability/metrics/agent/core/faiss/doc.go +++ b/internal/observability/metrics/agent/core/faiss/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package faiss provides functionality for Vald. package faiss diff --git a/internal/observability/metrics/agent/core/ngt/doc.go b/internal/observability/metrics/agent/core/ngt/doc.go index b20586c6cc..353ceb9dfa 100644 --- a/internal/observability/metrics/agent/core/ngt/doc.go +++ b/internal/observability/metrics/agent/core/ngt/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package ngt provides functionality for Vald. package ngt diff --git a/internal/observability/metrics/agent/sidecar/doc.go b/internal/observability/metrics/agent/sidecar/doc.go index e727755f78..e322d7a5cf 100644 --- a/internal/observability/metrics/agent/sidecar/doc.go +++ b/internal/observability/metrics/agent/sidecar/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package sidecar provides functionality for Vald. package sidecar diff --git a/internal/observability/metrics/backoff/doc.go b/internal/observability/metrics/backoff/doc.go index 7eb535d305..899914685f 100644 --- a/internal/observability/metrics/backoff/doc.go +++ b/internal/observability/metrics/backoff/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package backoff provides functionality for Vald. package backoff diff --git a/internal/observability/metrics/circuitbreaker/doc.go b/internal/observability/metrics/circuitbreaker/doc.go index d8b2993c72..f6c060ece2 100644 --- a/internal/observability/metrics/circuitbreaker/doc.go +++ b/internal/observability/metrics/circuitbreaker/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package circuitbreaker provides functionality for Vald. package circuitbreaker diff --git a/internal/observability/metrics/doc.go b/internal/observability/metrics/doc.go index 9a0651fb36..f266cb40cf 100644 --- a/internal/observability/metrics/doc.go +++ b/internal/observability/metrics/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package metrics provides functionality for Vald. package metrics diff --git a/internal/observability/metrics/gateway/mirror/doc.go b/internal/observability/metrics/gateway/mirror/doc.go index 7f34a2f5d4..d09be049f7 100644 --- a/internal/observability/metrics/gateway/mirror/doc.go +++ b/internal/observability/metrics/gateway/mirror/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package mirror provides functionality for Vald. package mirror diff --git a/internal/observability/metrics/grpc/doc.go b/internal/observability/metrics/grpc/doc.go index b8fca21be2..9dfbb06f12 100644 --- a/internal/observability/metrics/grpc/doc.go +++ b/internal/observability/metrics/grpc/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package grpc provides functionality for Vald. package grpc diff --git a/internal/observability/metrics/index/job/correction/doc.go b/internal/observability/metrics/index/job/correction/doc.go index 194b56a8f4..3085690e2a 100644 --- a/internal/observability/metrics/index/job/correction/doc.go +++ b/internal/observability/metrics/index/job/correction/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package correction provides functionality for Vald. package correction diff --git a/internal/observability/metrics/info/doc.go b/internal/observability/metrics/info/doc.go index 3c5a70e730..069e583ea7 100644 --- a/internal/observability/metrics/info/doc.go +++ b/internal/observability/metrics/info/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package info provides functionality for Vald. package info diff --git a/internal/observability/metrics/manager/index/doc.go b/internal/observability/metrics/manager/index/doc.go index 4147b3969d..f0e325f79a 100644 --- a/internal/observability/metrics/manager/index/doc.go +++ b/internal/observability/metrics/manager/index/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package index provides functionality for Vald. package index diff --git a/internal/observability/metrics/mem/doc.go b/internal/observability/metrics/mem/doc.go index c64402baff..ff15f74c18 100644 --- a/internal/observability/metrics/mem/doc.go +++ b/internal/observability/metrics/mem/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package mem provides functionality for Vald. package mem diff --git a/internal/observability/metrics/mem/index/doc.go b/internal/observability/metrics/mem/index/doc.go index 4147b3969d..f0e325f79a 100644 --- a/internal/observability/metrics/mem/index/doc.go +++ b/internal/observability/metrics/mem/index/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package index provides functionality for Vald. package index diff --git a/internal/observability/metrics/runtime/cgo/doc.go b/internal/observability/metrics/runtime/cgo/doc.go index ee46205051..671d06f78d 100644 --- a/internal/observability/metrics/runtime/cgo/doc.go +++ b/internal/observability/metrics/runtime/cgo/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package cgo provides functionality for Vald. package cgo diff --git a/internal/observability/metrics/runtime/goroutine/doc.go b/internal/observability/metrics/runtime/goroutine/doc.go index 5d584aa752..41d97c1900 100644 --- a/internal/observability/metrics/runtime/goroutine/doc.go +++ b/internal/observability/metrics/runtime/goroutine/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package goroutine provides functionality for Vald. package goroutine diff --git a/internal/observability/metrics/tools/benchmark/doc.go b/internal/observability/metrics/tools/benchmark/doc.go index 5ccfac27f7..b58a52a76a 100644 --- a/internal/observability/metrics/tools/benchmark/doc.go +++ b/internal/observability/metrics/tools/benchmark/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package benchmark provides functionality for Vald. package benchmark diff --git a/internal/observability/metrics/version/doc.go b/internal/observability/metrics/version/doc.go index bcbb2cc2f7..0cf05f79df 100644 --- a/internal/observability/metrics/version/doc.go +++ b/internal/observability/metrics/version/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package version provides functionality for Vald. package version diff --git a/internal/observability/trace/doc.go b/internal/observability/trace/doc.go index d2e8edf5d3..a794fa1f86 100644 --- a/internal/observability/trace/doc.go +++ b/internal/observability/trace/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package trace provides trace functions. package trace diff --git a/internal/observability/trace/status.go b/internal/observability/trace/status.go index 48ea6f40fd..64e864c492 100644 --- a/internal/observability/trace/status.go +++ b/internal/observability/trace/status.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package trace diff --git a/internal/observability/trace/status_test.go b/internal/observability/trace/status_test.go index 305789585f..8769aa3ec8 100644 --- a/internal/observability/trace/status_test.go +++ b/internal/observability/trace/status_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package trace diff --git a/internal/observability/trace/trace.go b/internal/observability/trace/trace.go index 3df64b5241..b56108f1b7 100644 --- a/internal/observability/trace/trace.go +++ b/internal/observability/trace/trace.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package trace diff --git a/internal/observability/trace/trace_test.go b/internal/observability/trace/trace_test.go index 9f9c8d2f81..0001c9b77f 100644 --- a/internal/observability/trace/trace_test.go +++ b/internal/observability/trace/trace_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package trace diff --git a/internal/os/doc.go b/internal/os/doc.go index 8f63112de9..c7b77f3732 100644 --- a/internal/os/doc.go +++ b/internal/os/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package os provides os functions package os diff --git a/internal/os/hostname.go b/internal/os/hostname.go index e26c5b8a8a..e52b04e71b 100644 --- a/internal/os/hostname.go +++ b/internal/os/hostname.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package os diff --git a/internal/params/doc.go b/internal/params/doc.go index c861145b81..05d727787f 100644 --- a/internal/params/doc.go +++ b/internal/params/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package params provides implementation of Go API for argument parser package params diff --git a/internal/params/option.go b/internal/params/option.go index 19ef7b3dcf..a02bfc1864 100644 --- a/internal/params/option.go +++ b/internal/params/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package params diff --git a/internal/params/option_test.go b/internal/params/option_test.go index 59bf827488..10dd224684 100644 --- a/internal/params/option_test.go +++ b/internal/params/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package params diff --git a/internal/params/params.go b/internal/params/params.go index 8e2ca2c200..6513a2d2da 100644 --- a/internal/params/params.go +++ b/internal/params/params.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package params diff --git a/internal/params/params_test.go b/internal/params/params_test.go index ade84c9ab9..57cb1a3ac8 100644 --- a/internal/params/params_test.go +++ b/internal/params/params_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package params diff --git a/internal/runner/doc.go b/internal/runner/doc.go index 36a8c09d30..f2047c07be 100644 --- a/internal/runner/doc.go +++ b/internal/runner/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package runner provides implementation of process runner package runner diff --git a/internal/runner/option.go b/internal/runner/option.go index 35e73f2d40..2d0ccef6bb 100644 --- a/internal/runner/option.go +++ b/internal/runner/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package runner diff --git a/internal/runner/option_test.go b/internal/runner/option_test.go index 578c1071c5..0307048578 100644 --- a/internal/runner/option_test.go +++ b/internal/runner/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package runner diff --git a/internal/runner/runner.go b/internal/runner/runner.go index 41c679b6b7..ed1b8799bc 100644 --- a/internal/runner/runner.go +++ b/internal/runner/runner.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package runner diff --git a/internal/runner/runner_test.go b/internal/runner/runner_test.go index 4123437f8f..ab01fe514c 100644 --- a/internal/runner/runner_test.go +++ b/internal/runner/runner_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package runner diff --git a/internal/safety/doc.go b/internal/safety/doc.go index 27a2846daa..1dff0f28b1 100644 --- a/internal/safety/doc.go +++ b/internal/safety/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package safety provides safety functionality like revcover package safety diff --git a/internal/safety/safety.go b/internal/safety/safety.go index cf122870cc..de80e2f091 100644 --- a/internal/safety/safety.go +++ b/internal/safety/safety.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package safety diff --git a/internal/servers/doc.go b/internal/servers/doc.go index 50194d83ed..a4dcd286d3 100644 --- a/internal/servers/doc.go +++ b/internal/servers/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package servers provides implementation of Go API for managing server flow package servers diff --git a/internal/servers/option.go b/internal/servers/option.go index bd56a7cf96..c040ff1f1f 100644 --- a/internal/servers/option.go +++ b/internal/servers/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package servers diff --git a/internal/servers/server/doc.go b/internal/servers/server/doc.go index c88e7721ef..d4ece88480 100644 --- a/internal/servers/server/doc.go +++ b/internal/servers/server/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package servers provides implementation of Go API for managing server flow package server diff --git a/internal/servers/server/option.go b/internal/servers/server/option.go index 4d42e37afe..50997b7378 100644 --- a/internal/servers/server/option.go +++ b/internal/servers/server/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package server diff --git a/internal/servers/server/server.go b/internal/servers/server/server.go index e37d7c3d66..1c3892d9f3 100644 --- a/internal/servers/server/server.go +++ b/internal/servers/server/server.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package server diff --git a/internal/servers/servers.go b/internal/servers/servers.go index a98f690903..b03310085b 100644 --- a/internal/servers/servers.go +++ b/internal/servers/servers.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package servers diff --git a/internal/servers/starter/doc.go b/internal/servers/starter/doc.go index 2d76b7527a..f0366c2274 100644 --- a/internal/servers/starter/doc.go +++ b/internal/servers/starter/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package starter provides server startup and shutdown flow control package starter diff --git a/internal/servers/starter/option.go b/internal/servers/starter/option.go index 18ff14b5b5..e9aade25a7 100644 --- a/internal/servers/starter/option.go +++ b/internal/servers/starter/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package starter diff --git a/internal/servers/starter/starter.go b/internal/servers/starter/starter.go index 5723418c66..d8c33cce4b 100644 --- a/internal/servers/starter/starter.go +++ b/internal/servers/starter/starter.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package starter diff --git a/internal/strings/doc.go b/internal/strings/doc.go index 49ad9ca00b..e9baa2153d 100644 --- a/internal/strings/doc.go +++ b/internal/strings/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strings provides functionality for Vald. package strings diff --git a/internal/sync/doc.go b/internal/sync/doc.go index 45e61356a6..56aec987a7 100644 --- a/internal/sync/doc.go +++ b/internal/sync/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package sync provides functionality for Vald. package sync diff --git a/internal/sync/errgroup/doc.go b/internal/sync/errgroup/doc.go index e48ceea2bc..e824a0eee8 100644 --- a/internal/sync/errgroup/doc.go +++ b/internal/sync/errgroup/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package errgroup provides a global wait group for gracefully terminating all goroutines. package errgroup diff --git a/internal/sync/errgroup/errgroup_test.go b/internal/sync/errgroup/errgroup_test.go index 392665b550..895e7870c8 100644 --- a/internal/sync/errgroup/errgroup_test.go +++ b/internal/sync/errgroup/errgroup_test.go @@ -1,4 +1,3 @@ -// // Copyright (c) 2009-2026 The Go Authors. All rights resered. // Modified by vdaas.org vald team // @@ -27,7 +26,6 @@ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// package errgroup_test diff --git a/internal/sync/errgroup/group.go b/internal/sync/errgroup/group.go index 6a701301d8..4b638854aa 100644 --- a/internal/sync/errgroup/group.go +++ b/internal/sync/errgroup/group.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // It is a custom implementation similar to sync/errgroup. package errgroup diff --git a/internal/sync/errgroup/group_test.go b/internal/sync/errgroup/group_test.go index 751a8da434..eca86b59b4 100644 --- a/internal/sync/errgroup/group_test.go +++ b/internal/sync/errgroup/group_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package errgroup diff --git a/internal/sync/semaphore/doc.go b/internal/sync/semaphore/doc.go index 4028c6a517..cf218ca9a7 100644 --- a/internal/sync/semaphore/doc.go +++ b/internal/sync/semaphore/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package semaphore provides a weighted semaphore implementation. package semaphore diff --git a/internal/sync/semaphore/semaphore.go b/internal/sync/semaphore/semaphore.go index 972245c538..ac43453164 100644 --- a/internal/sync/semaphore/semaphore.go +++ b/internal/sync/semaphore/semaphore.go @@ -1,4 +1,3 @@ -// // Copyright (c) 2009-2026 The Go Authors. All rights resered. // Modified by vdaas.org vald team // @@ -27,7 +26,6 @@ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// package semaphore diff --git a/internal/sync/semaphore/semaphore_bench_test.go b/internal/sync/semaphore/semaphore_bench_test.go index 7523deb364..0b4465490a 100644 --- a/internal/sync/semaphore/semaphore_bench_test.go +++ b/internal/sync/semaphore/semaphore_bench_test.go @@ -1,4 +1,3 @@ -// // Copyright (c) 2009-2026 The Go Authors. All rights resered. // Modified by vdaas.org vald team // @@ -27,7 +26,6 @@ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// package semaphore_test diff --git a/internal/sync/semaphore/semaphore_example_test.go b/internal/sync/semaphore/semaphore_example_test.go index 583f09fc16..6c6ad4068a 100644 --- a/internal/sync/semaphore/semaphore_example_test.go +++ b/internal/sync/semaphore/semaphore_example_test.go @@ -1,4 +1,3 @@ -// // Copyright (c) 2009-2026 The Go Authors. All rights resered. // Modified by vdaas.org vald team // @@ -27,7 +26,6 @@ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// package semaphore_test diff --git a/internal/sync/semaphore/semaphore_test.go b/internal/sync/semaphore/semaphore_test.go index 11c3fc1fe0..7ab87e8ecd 100644 --- a/internal/sync/semaphore/semaphore_test.go +++ b/internal/sync/semaphore/semaphore_test.go @@ -1,4 +1,3 @@ -// // Copyright (c) 2009-2026 The Go Authors. All rights resered. // Modified by vdaas.org vald team // @@ -27,7 +26,6 @@ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// package semaphore_test diff --git a/internal/sync/singleflight/doc.go b/internal/sync/singleflight/doc.go index f668ffd1b7..ed4aa01b29 100644 --- a/internal/sync/singleflight/doc.go +++ b/internal/sync/singleflight/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package singleflight provides a duplicate function call suppression package singleflight diff --git a/internal/sync/singleflight/singleflight.go b/internal/sync/singleflight/singleflight.go index 3f2852e658..541b920e42 100644 --- a/internal/sync/singleflight/singleflight.go +++ b/internal/sync/singleflight/singleflight.go @@ -1,4 +1,3 @@ -// // Copyright (c) 2009-2026 The Go Authors. All rights resered. // Modified by vdaas.org vald team // @@ -27,7 +26,6 @@ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// // mechanism. package singleflight diff --git a/internal/sync/singleflight/singleflight_test.go b/internal/sync/singleflight/singleflight_test.go index 22b7e0acb7..41004a845e 100644 --- a/internal/sync/singleflight/singleflight_test.go +++ b/internal/sync/singleflight/singleflight_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package singleflight diff --git a/internal/test/comparator/doc.go b/internal/test/comparator/doc.go index d023c89db4..a1221d0f30 100644 --- a/internal/test/comparator/doc.go +++ b/internal/test/comparator/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package comparator provides functionality for Vald. package comparator diff --git a/internal/test/data/hdf5/doc.go b/internal/test/data/hdf5/doc.go index f68885ae5d..812eeb4260 100644 --- a/internal/test/data/hdf5/doc.go +++ b/internal/test/data/hdf5/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package hdf5 is load hdf5 file package hdf5 diff --git a/internal/test/data/hdf5/hdf5.go b/internal/test/data/hdf5/hdf5.go index 365b0a275a..86215726e9 100644 --- a/internal/test/data/hdf5/hdf5.go +++ b/internal/test/data/hdf5/hdf5.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package hdf5 is load hdf5 file package hdf5 diff --git a/internal/test/data/hdf5/hdf5_test.go b/internal/test/data/hdf5/hdf5_test.go index 6a927480fe..2c15f815db 100644 --- a/internal/test/data/hdf5/hdf5_test.go +++ b/internal/test/data/hdf5/hdf5_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package hdf5 is load hdf5 file package hdf5 diff --git a/internal/test/data/hdf5/option.go b/internal/test/data/hdf5/option.go index 2dbef4d90f..d2141cbeab 100644 --- a/internal/test/data/hdf5/option.go +++ b/internal/test/data/hdf5/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package hdf5 is load hdf5 file package hdf5 diff --git a/internal/test/data/hdf5/option_test.go b/internal/test/data/hdf5/option_test.go index 374350a72f..c13bfd33f0 100644 --- a/internal/test/data/hdf5/option_test.go +++ b/internal/test/data/hdf5/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package hdf5 is load hdf5 file package hdf5 diff --git a/internal/test/data/request/doc.go b/internal/test/data/request/doc.go index 078322c8f4..5ceb79e966 100644 --- a/internal/test/data/request/doc.go +++ b/internal/test/data/request/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package request provides functions to generate proto request for testing package request diff --git a/internal/test/data/strings/doc.go b/internal/test/data/strings/doc.go index 49ad9ca00b..e9baa2153d 100644 --- a/internal/test/data/strings/doc.go +++ b/internal/test/data/strings/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package strings provides functionality for Vald. package strings diff --git a/internal/test/data/vector/doc.go b/internal/test/data/vector/doc.go index cf5f753a1b..f144d3f780 100644 --- a/internal/test/data/vector/doc.go +++ b/internal/test/data/vector/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package vector provides functionality for Vald. package vector diff --git a/internal/test/data/vector/noise/doc.go b/internal/test/data/vector/noise/doc.go index 04159f15bd..e36c155768 100644 --- a/internal/test/data/vector/noise/doc.go +++ b/internal/test/data/vector/noise/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package noise provides functionality for Vald. package noise diff --git a/internal/test/data/vector/noise/noise.go b/internal/test/data/vector/noise/noise.go index 94eec0cd6a..cd507e07d9 100644 --- a/internal/test/data/vector/noise/noise.go +++ b/internal/test/data/vector/noise/noise.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package noise provides a noise generator for adding noise to vectors. package noise diff --git a/internal/test/data/vector/noise/option.go b/internal/test/data/vector/noise/option.go index f393278b12..8e9e2a66c7 100644 --- a/internal/test/data/vector/noise/option.go +++ b/internal/test/data/vector/noise/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package noise provides a noise generator for adding noise to vectors. package noise diff --git a/internal/test/doc.go b/internal/test/doc.go index 2e1f775dbe..cc17f3ca6e 100644 --- a/internal/test/doc.go +++ b/internal/test/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package test provides functions for general testing use package test diff --git a/internal/test/framework.go b/internal/test/framework.go index 69ab65f9ce..82572a46b2 100644 --- a/internal/test/framework.go +++ b/internal/test/framework.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package test provides functions for general testing use package test diff --git a/internal/test/goleak/doc.go b/internal/test/goleak/doc.go index 2400ee0a82..2bafee8956 100644 --- a/internal/test/goleak/doc.go +++ b/internal/test/goleak/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package goleak provides functionality for Vald. package goleak diff --git a/internal/test/mock/client/doc.go b/internal/test/mock/client/doc.go index 16e68e8b26..50f5dc1c9f 100644 --- a/internal/test/mock/client/doc.go +++ b/internal/test/mock/client/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package client provides functionality for Vald. package client diff --git a/internal/test/mock/doc.go b/internal/test/mock/doc.go index 0092f8e465..e258aa4f36 100644 --- a/internal/test/mock/doc.go +++ b/internal/test/mock/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package mock provides mock implementation for testing. package mock diff --git a/internal/test/mock/grpc/doc.go b/internal/test/mock/grpc/doc.go index b8fca21be2..9dfbb06f12 100644 --- a/internal/test/mock/grpc/doc.go +++ b/internal/test/mock/grpc/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package grpc provides functionality for Vald. package grpc diff --git a/internal/test/mock/k8s/doc.go b/internal/test/mock/k8s/doc.go index c8fe63e690..4951b984fb 100644 --- a/internal/test/mock/k8s/doc.go +++ b/internal/test/mock/k8s/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package k8s provides functionality for Vald. package k8s diff --git a/internal/test/testify/doc.go b/internal/test/testify/doc.go index 1e0b97b1d5..35893b4fc7 100644 --- a/internal/test/testify/doc.go +++ b/internal/test/testify/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package testify provides functionality for Vald. package testify diff --git a/internal/timeutil/doc.go b/internal/timeutil/doc.go index 866ada514d..a92573de78 100644 --- a/internal/timeutil/doc.go +++ b/internal/timeutil/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package timeutil provides functionality for Vald. package timeutil diff --git a/internal/timeutil/location/doc.go b/internal/timeutil/location/doc.go index 728cef7f0b..567f5e825b 100644 --- a/internal/timeutil/location/doc.go +++ b/internal/timeutil/location/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package location provides functionality for Vald. package location diff --git a/internal/timeutil/rate/doc.go b/internal/timeutil/rate/doc.go index 077bf146ff..60f764cb28 100644 --- a/internal/timeutil/rate/doc.go +++ b/internal/timeutil/rate/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package rate provides functionality for Vald. package rate diff --git a/internal/timeutil/rate/rate.go b/internal/timeutil/rate/rate.go index 1f45a0e2aa..afecf5e7d5 100644 --- a/internal/timeutil/rate/rate.go +++ b/internal/timeutil/rate/rate.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rate diff --git a/internal/timeutil/time.go b/internal/timeutil/time.go index c918ae43e8..acd12adf15 100644 --- a/internal/timeutil/time.go +++ b/internal/timeutil/time.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package timeutil diff --git a/internal/timeutil/time_test.go b/internal/timeutil/time_test.go index 00d7f2394c..58ffcc9e22 100644 --- a/internal/timeutil/time_test.go +++ b/internal/timeutil/time_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package timeutil diff --git a/internal/tls/crl_test.go b/internal/tls/crl_test.go index 0c050f332c..67c343f317 100644 --- a/internal/tls/crl_test.go +++ b/internal/tls/crl_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package tls_test diff --git a/internal/tls/doc.go b/internal/tls/doc.go index bc957be1ff..0c4521061b 100644 --- a/internal/tls/doc.go +++ b/internal/tls/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package tls provides implementation of Go API for tls certificate provider package tls diff --git a/internal/tls/option.go b/internal/tls/option.go index c5c8dca9fc..ecad315de9 100644 --- a/internal/tls/option.go +++ b/internal/tls/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package tls diff --git a/internal/tls/option_test.go b/internal/tls/option_test.go index 3b7143873d..70e0cd6ee0 100644 --- a/internal/tls/option_test.go +++ b/internal/tls/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package tls diff --git a/internal/tls/tls.go b/internal/tls/tls.go index 0b7d3f087e..4961609277 100644 --- a/internal/tls/tls.go +++ b/internal/tls/tls.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package tls diff --git a/internal/tls/tls_test.go b/internal/tls/tls_test.go index 08f9f5675e..5461d19ad9 100644 --- a/internal/tls/tls_test.go +++ b/internal/tls/tls_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package tls diff --git a/internal/unit/doc.go b/internal/unit/doc.go index c1d0a0311d..20d2cad263 100644 --- a/internal/unit/doc.go +++ b/internal/unit/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package unit provides functionality for Vald. package unit diff --git a/internal/unit/unit.go b/internal/unit/unit.go index 5e49aa1949..751d0eac7f 100644 --- a/internal/unit/unit.go +++ b/internal/unit/unit.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package unit diff --git a/internal/unit/unit_test.go b/internal/unit/unit_test.go index daeb1e1b89..f3ebf350f9 100644 --- a/internal/unit/unit_test.go +++ b/internal/unit/unit_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package unit diff --git a/internal/version/doc.go b/internal/version/doc.go index de195cb34a..5b2978256f 100644 --- a/internal/version/doc.go +++ b/internal/version/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package version provides version comparison functionality package version diff --git a/internal/version/version.go b/internal/version/version.go index 6b13601174..823db7b955 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package version diff --git a/internal/worker/doc.go b/internal/worker/doc.go index de2080bc51..e1fb704dac 100644 --- a/internal/worker/doc.go +++ b/internal/worker/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package worker provides worker processes package worker diff --git a/internal/worker/queue.go b/internal/worker/queue.go index 944911becb..0d1ea3adf1 100644 --- a/internal/worker/queue.go +++ b/internal/worker/queue.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package worker diff --git a/internal/worker/queue_option.go b/internal/worker/queue_option.go index 0b9b4d2fcd..348453994e 100644 --- a/internal/worker/queue_option.go +++ b/internal/worker/queue_option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package worker diff --git a/internal/worker/queue_option_test.go b/internal/worker/queue_option_test.go index dd07085959..19795a6bb3 100644 --- a/internal/worker/queue_option_test.go +++ b/internal/worker/queue_option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package worker diff --git a/internal/worker/queue_test.go b/internal/worker/queue_test.go index cb59cb7d19..611261a2d9 100644 --- a/internal/worker/queue_test.go +++ b/internal/worker/queue_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package worker diff --git a/internal/worker/worker.go b/internal/worker/worker.go index bdf473f182..bad2a92cc9 100644 --- a/internal/worker/worker.go +++ b/internal/worker/worker.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package worker diff --git a/internal/worker/worker_option.go b/internal/worker/worker_option.go index 27d051fa46..b74ee402d0 100644 --- a/internal/worker/worker_option.go +++ b/internal/worker/worker_option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package worker diff --git a/internal/worker/worker_option_test.go b/internal/worker/worker_option_test.go index 141c329f70..5bf1ac41c8 100644 --- a/internal/worker/worker_option_test.go +++ b/internal/worker/worker_option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package worker diff --git a/internal/worker/worker_test.go b/internal/worker/worker_test.go index 057e0f02d2..52a5a66144 100644 --- a/internal/worker/worker_test.go +++ b/internal/worker/worker_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package worker diff --git a/k8s/agent/clusterrole.yaml b/k8s/agent/clusterrole.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/agent/clusterrole.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/agent/clusterrolebinding.yaml b/k8s/agent/clusterrolebinding.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/agent/clusterrolebinding.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/agent/daemonset.yaml b/k8s/agent/daemonset.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/agent/daemonset.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/agent/deployment.yaml b/k8s/agent/deployment.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/agent/deployment.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/agent/faiss/configmap.yaml b/k8s/agent/faiss/configmap.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/agent/faiss/configmap.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/agent/hpa.yaml b/k8s/agent/hpa.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/agent/hpa.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/agent/networkpolicy.yaml b/k8s/agent/networkpolicy.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/agent/networkpolicy.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/agent/serviceaccount.yaml b/k8s/agent/serviceaccount.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/agent/serviceaccount.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/agent/sidecar/configmap.yaml b/k8s/agent/sidecar/configmap.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/agent/sidecar/configmap.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/agent/sidecar/svc.yaml b/k8s/agent/sidecar/svc.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/agent/sidecar/svc.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/discoverer/daemonset.yaml b/k8s/discoverer/daemonset.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/discoverer/daemonset.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/discoverer/hpa.yaml b/k8s/discoverer/hpa.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/discoverer/hpa.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/discoverer/networkpolicy.yaml b/k8s/discoverer/networkpolicy.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/discoverer/networkpolicy.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/gateway/gateway/filter/configmap.yaml b/k8s/gateway/gateway/filter/configmap.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/gateway/gateway/filter/configmap.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/gateway/gateway/filter/daemonset.yaml b/k8s/gateway/gateway/filter/daemonset.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/gateway/gateway/filter/daemonset.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/gateway/gateway/filter/deployment.yaml b/k8s/gateway/gateway/filter/deployment.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/gateway/gateway/filter/deployment.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/gateway/gateway/filter/hpa.yaml b/k8s/gateway/gateway/filter/hpa.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/gateway/gateway/filter/hpa.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/gateway/gateway/filter/networkpolicy.yaml b/k8s/gateway/gateway/filter/networkpolicy.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/gateway/gateway/filter/networkpolicy.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/gateway/gateway/filter/pdb.yaml b/k8s/gateway/gateway/filter/pdb.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/gateway/gateway/filter/pdb.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/gateway/gateway/filter/priorityclass.yaml b/k8s/gateway/gateway/filter/priorityclass.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/gateway/gateway/filter/priorityclass.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/gateway/gateway/filter/serviceaccount.yaml b/k8s/gateway/gateway/filter/serviceaccount.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/gateway/gateway/filter/serviceaccount.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/gateway/gateway/filter/svc.yaml b/k8s/gateway/gateway/filter/svc.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/gateway/gateway/filter/svc.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/gateway/gateway/lb/daemonset.yaml b/k8s/gateway/gateway/lb/daemonset.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/gateway/gateway/lb/daemonset.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/gateway/gateway/lb/deployment.yaml b/k8s/gateway/gateway/lb/deployment.yaml index 5791933a7b..39f2589c92 100644 --- a/k8s/gateway/gateway/lb/deployment.yaml +++ b/k8s/gateway/gateway/lb/deployment.yaml @@ -58,7 +58,7 @@ spec: spec: initContainers: - name: wait-for-discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always command: - /bin/sh @@ -70,7 +70,7 @@ spec: sleep 2; done - name: wait-for-agent - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always command: - /bin/sh diff --git a/k8s/gateway/gateway/lb/hpa.yaml b/k8s/gateway/gateway/lb/hpa.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/gateway/gateway/lb/hpa.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/gateway/gateway/lb/networkpolicy.yaml b/k8s/gateway/gateway/lb/networkpolicy.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/gateway/gateway/lb/networkpolicy.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/gateway/gateway/lb/serviceaccount.yaml b/k8s/gateway/gateway/lb/serviceaccount.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/gateway/gateway/lb/serviceaccount.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/gateway/gateway/mirror/configmap.yaml b/k8s/gateway/gateway/mirror/configmap.yaml index 59621fd777..b3e02f42d0 100644 --- a/k8s/gateway/gateway/mirror/configmap.yaml +++ b/k8s/gateway/gateway/mirror/configmap.yaml @@ -25,4 +25,4 @@ metadata: app.kubernetes.io/version: v1.7.17 app.kubernetes.io/component: gateway-mirror data: - config.yaml: "---\nversion: v0.0.0\ntime_zone: UTC\nlogging:\n format: raw\n level: debug\n logger: glg\nserver_config:\n servers:\n - name: grpc\n host: 0.0.0.0\n port: 8081\n grpc:\n bidirectional_stream_concurrency: 20\n connection_timeout: \"\"\n enable_admin: false\n enable_channelz: false\n enable_reflection: true\n header_table_size: 0\n initial_conn_window_size: 2097152\n initial_window_size: 1048576\n interceptors:\n - RecoverInterceptor\n keepalive:\n max_conn_age: \"\"\n max_conn_age_grace: \"\"\n max_conn_idle: \"\"\n min_time: 10m\n permit_without_stream: false\n time: 3h\n timeout: 60s\n max_concurrent_streams: 0\n max_header_list_size: 0\n max_receive_message_size: 0\n max_send_message_size: 0\n num_stream_workers: 0\n read_buffer_size: 0\n shared_write_buffer: true\n wait_for_handlers: true\n write_buffer_size: 0\n mode: GRPC\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: false\n tcp_no_delay: false\n tcp_quick_ack: false\n socket_path: \"\"\n health_check_servers:\n - name: liveness\n host: 0.0.0.0\n port: 3000\n http:\n handler_timeout: \"\"\n http2:\n enabled: false\n handler_limit: 0\n max_concurrent_streams: 0\n max_decoder_header_table_size: 4096\n max_encoder_header_table_size: 4096\n max_read_frame_size: 0\n max_upload_buffer_per_connection: 0\n max_upload_buffer_per_stream: 0\n permit_prohibited_cipher_suites: true\n idle_timeout: \"\"\n read_header_timeout: \"\"\n read_timeout: \"\"\n shutdown_duration: 5s\n write_timeout: \"\"\n mode: REST\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: true\n tcp_no_delay: true\n tcp_quick_ack: true\n socket_path: \"\"\n - name: readiness\n host: 0.0.0.0\n port: 3001\n http:\n handler_timeout: \"\"\n http2:\n enabled: false\n handler_limit: 0\n max_concurrent_streams: 0\n max_decoder_header_table_size: 4096\n max_encoder_header_table_size: 4096\n max_read_frame_size: 0\n max_upload_buffer_per_connection: 0\n max_upload_buffer_per_stream: 0\n permit_prohibited_cipher_suites: true\n idle_timeout: \"\"\n read_header_timeout: \"\"\n read_timeout: \"\"\n shutdown_duration: 0s\n write_timeout: \"\"\n mode: REST\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: true\n tcp_no_delay: true\n tcp_quick_ack: true\n socket_path: \"\"\n metrics_servers:\n - name: pprof\n host: 0.0.0.0\n port: 6060\n http:\n handler_timeout: 5s\n http2:\n enabled: false\n handler_limit: 0\n max_concurrent_streams: 0\n max_decoder_header_table_size: 4096\n max_encoder_header_table_size: 4096\n max_read_frame_size: 0\n max_upload_buffer_per_connection: 0\n max_upload_buffer_per_stream: 0\n permit_prohibited_cipher_suites: true\n idle_timeout: 2s\n read_header_timeout: 1s\n read_timeout: 1s\n shutdown_duration: 5s\n write_timeout: 1m\n mode: REST\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: true\n tcp_defer_accept: false\n tcp_fast_open: false\n tcp_no_delay: false\n tcp_quick_ack: false\n socket_path: \"\"\n startup_strategy:\n - liveness\n - pprof\n - grpc\n - readiness\n shutdown_strategy:\n - readiness\n - grpc\n - pprof\n - liveness\n full_shutdown_duration: 600s\n tls:\n ca: /path/to/ca\n cert: /path/to/cert\n client_auth: None\n crl: /path/to/crl\n enabled: false\n hot_reload: false\n insecure_skip_verify: false\n key: /path/to/key\n server_name: \"\"\nobservability:\n enabled: false\n otlp:\n collector_endpoint: \"\"\n trace_batch_timeout: \"1s\"\n trace_export_timeout: \"1m\"\n trace_max_export_batch_size: 1024\n trace_max_queue_size: 256\n metrics_export_interval: \"1s\"\n metrics_export_timeout: \"1m\"\n attribute:\n namespace: \"_MY_POD_NAMESPACE_\"\n pod_name: \"_MY_POD_NAME_\"\n node_name: \"_MY_NODE_NAME_\"\n service_name: \"vald-mirror-gateway\"\n metrics:\n enable_cgo: true\n enable_goroutine: true\n enable_memory: true\n enable_version_info: true\n version_info_labels:\n - vald_version\n - server_name\n - git_commit\n - build_time\n - go_version\n - go_os\n - go_arch\n - algorithm_info\n trace:\n enabled: false\ngateway:\n pod_name: _MY_POD_NAME_\n register_duration: 1s\n namespace: _MY_POD_NAMESPACE_\n discovery_duration: 1s\n colocation: dc1\n group: \n net:\n dialer:\n dual_stack_enabled: false\n keepalive: 10m\n timeout: 30s\n dns:\n cache_enabled: true\n cache_expiration: 24h\n refresh_duration: 5m\n network: tcp\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: true\n tcp_fast_open: true\n tcp_no_delay: true\n tcp_quick_ack: true\n tls:\n ca: /path/to/ca\n cert: /path/to/cert\n client_auth: None\n enabled: false\n insecure_skip_verify: false\n key: /path/to/key\n server_name: \"\"\n client:\n addrs:\n - vald-lb-gateway.default.svc.cluster.local:8081\n health_check_duration: \"1s\"\n connection_pool:\n enable_dns_resolver: true\n enable_metrics: false\n enable_rebalance: true\n old_conn_close_duration: 2m\n rebalance_duration: 30m\n size: 3\n backoff:\n backoff_factor: 1.1\n backoff_time_limit: 5s\n enable_error_log: true\n initial_duration: 5ms\n jitter_limit: 100ms\n maximum_duration: 5s\n retry_count: 100\n circuit_breaker:\n closed_error_rate: 0.7\n closed_refresh_timeout: 10s\n half_open_error_rate: 0.5\n min_samples: 1000\n open_timeout: 1s\n call_option:\n content_subtype: \"\"\n max_recv_msg_size: 0\n max_retry_rpc_buffer_size: 0\n max_send_msg_size: 0\n wait_for_ready: true\n dial_option:\n authority: \"\"\n backoff_base_delay: 1s\n backoff_jitter: 0.2\n backoff_max_delay: 120s\n backoff_multiplier: 1.6\n disable_retry: false\n enable_backoff: false\n idle_timeout: \"\"\n initial_connection_window_size: 2097152\n initial_window_size: 1048576\n insecure: true\n interceptors: []\n keepalive:\n permit_without_stream: false\n time: \"\"\n timeout: 30s\n max_call_attempts: 0\n max_header_list_size: 0\n max_msg_size: 0\n min_connection_timeout: 20s\n net:\n dialer:\n dual_stack_enabled: true\n keepalive: \"\"\n timeout: \"\"\n dns:\n cache_enabled: true\n cache_expiration: 1h\n refresh_duration: 30m\n network: tcp\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: false\n tcp_no_delay: false\n tcp_quick_ack: false\n tls:\n ca: /path/to/ca\n cert: /path/to/cert\n client_auth: None\n crl: /path/to/crl\n enabled: false\n hot_reload: false\n insecure_skip_verify: false\n key: /path/to/key\n server_name: \"\"\n read_buffer_size: 0\n shared_write_buffer: true\n timeout: \"\"\n user_agent: Vald-gRPC\n write_buffer_size: 0\n tls:\n ca: /path/to/ca\n cert: /path/to/cert\n client_auth: None\n crl: /path/to/crl\n enabled: false\n hot_reload: false\n insecure_skip_verify: false\n key: /path/to/key\n server_name: \"\"\n self_mirror_addr: vald-mirror-gateway.default.svc.cluster.local:8081\n gateway_addr: vald-lb-gateway.default.svc.cluster.local:8081\n" + config.yaml: "---\nversion: v0.0.0\ntime_zone: UTC\nlogging:\n format: raw\n level: debug\n logger: glg\nserver_config:\n servers:\n - name: grpc\n host: 0.0.0.0\n port: 8081\n grpc:\n bidirectional_stream_concurrency: 20\n connection_timeout: \"\"\n enable_admin: false\n enable_channelz: false\n enable_reflection: true\n header_table_size: 0\n initial_conn_window_size: 2097152\n initial_window_size: 1048576\n interceptors:\n - RecoverInterceptor\n keepalive:\n max_conn_age: \"\"\n max_conn_age_grace: \"\"\n max_conn_idle: \"\"\n min_time: 10m\n permit_without_stream: false\n time: 3h\n timeout: 60s\n max_concurrent_streams: 0\n max_header_list_size: 0\n max_receive_message_size: 0\n max_send_message_size: 0\n num_stream_workers: 0\n read_buffer_size: 0\n shared_write_buffer: true\n wait_for_handlers: true\n write_buffer_size: 0\n mode: GRPC\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: false\n tcp_no_delay: false\n tcp_quick_ack: false\n socket_path: \"\"\n health_check_servers:\n - name: liveness\n host: 0.0.0.0\n port: 3000\n http:\n handler_timeout: \"\"\n http2:\n enabled: false\n handler_limit: 0\n max_concurrent_streams: 0\n max_decoder_header_table_size: 4096\n max_encoder_header_table_size: 4096\n max_read_frame_size: 0\n max_upload_buffer_per_connection: 0\n max_upload_buffer_per_stream: 0\n permit_prohibited_cipher_suites: true\n idle_timeout: \"\"\n read_header_timeout: \"\"\n read_timeout: \"\"\n shutdown_duration: 5s\n write_timeout: \"\"\n mode: REST\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: true\n tcp_no_delay: true\n tcp_quick_ack: true\n socket_path: \"\"\n - name: readiness\n host: 0.0.0.0\n port: 3001\n http:\n handler_timeout: \"\"\n http2:\n enabled: false\n handler_limit: 0\n max_concurrent_streams: 0\n max_decoder_header_table_size: 4096\n max_encoder_header_table_size: 4096\n max_read_frame_size: 0\n max_upload_buffer_per_connection: 0\n max_upload_buffer_per_stream: 0\n permit_prohibited_cipher_suites: true\n idle_timeout: \"\"\n read_header_timeout: \"\"\n read_timeout: \"\"\n shutdown_duration: 0s\n write_timeout: \"\"\n mode: REST\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: true\n tcp_no_delay: true\n tcp_quick_ack: true\n socket_path: \"\"\n metrics_servers:\n - name: pprof\n host: 0.0.0.0\n port: 6060\n http:\n handler_timeout: 5s\n http2:\n enabled: false\n handler_limit: 0\n max_concurrent_streams: 0\n max_decoder_header_table_size: 4096\n max_encoder_header_table_size: 4096\n max_read_frame_size: 0\n max_upload_buffer_per_connection: 0\n max_upload_buffer_per_stream: 0\n permit_prohibited_cipher_suites: true\n idle_timeout: 2s\n read_header_timeout: 1s\n read_timeout: 1s\n shutdown_duration: 5s\n write_timeout: 1m\n mode: REST\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: true\n tcp_defer_accept: false\n tcp_fast_open: false\n tcp_no_delay: false\n tcp_quick_ack: false\n socket_path: \"\"\n startup_strategy:\n - liveness\n - pprof\n - grpc\n - readiness\n shutdown_strategy:\n - readiness\n - grpc\n - pprof\n - liveness\n full_shutdown_duration: 600s\n tls:\n ca: /path/to/ca\n cert: /path/to/cert\n client_auth: None\n crl: /path/to/crl\n enabled: false\n hot_reload: false\n insecure_skip_verify: false\n key: /path/to/key\n server_name: \"\"\nobservability:\n enabled: false\n otlp:\n collector_endpoint: \"\"\n trace_batch_timeout: \"1s\"\n trace_export_timeout: \"1m\"\n trace_max_export_batch_size: 1024\n trace_max_queue_size: 256\n metrics_export_interval: \"1s\"\n metrics_export_timeout: \"1m\"\n attribute:\n namespace: \"_MY_POD_NAMESPACE_\"\n pod_name: \"_MY_POD_NAME_\"\n node_name: \"_MY_NODE_NAME_\"\n service_name: \"vald-mirror-gateway\"\n metrics:\n enable_cgo: true\n enable_goroutine: true\n enable_memory: true\n enable_version_info: true\n version_info_labels:\n - vald_version\n - server_name\n - git_commit\n - build_time\n - go_version\n - go_os\n - go_arch\n - algorithm_info\n trace:\n enabled: false\ngateway:\n pod_name: _MY_POD_NAME_\n register_duration: 1s\n namespace: _MY_POD_NAMESPACE_\n discovery_duration: 1s\n colocation: dc1\n group: \n net:\n dialer:\n dual_stack_enabled: false\n keepalive: 10m\n timeout: 30s\n dns:\n cache_enabled: true\n cache_expiration: 24h\n refresh_duration: 5m\n network: tcp\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: true\n tcp_fast_open: true\n tcp_no_delay: true\n tcp_quick_ack: true\n tls:\n ca: /path/to/ca\n cert: /path/to/cert\n client_auth: None\n enabled: false\n insecure_skip_verify: false\n key: /path/to/key\n server_name: \"\"\n client:\n addrs:\n - vald-lb-gateway.default.svc.cluster.local:8081\n health_check_duration: \"1s\"\n connection_pool:\n enable_dns_resolver: true\n enable_metrics: false\n enable_rebalance: true\n old_conn_close_duration: 2m\n rebalance_duration: 30m\n size: 3\n backoff:\n backoff_factor: 1.1\n backoff_time_limit: 5s\n enable_error_log: true\n initial_duration: 5ms\n jitter_limit: 100ms\n maximum_duration: 5s\n retry_count: 100\n circuit_breaker:\n closed_error_rate: 0.7\n closed_refresh_timeout: 10s\n half_open_error_rate: 0.5\n min_samples: 1000\n open_timeout: 1s\n call_option:\n content_subtype: \"\"\n max_recv_msg_size: 0\n max_retry_rpc_buffer_size: 0\n max_send_msg_size: 0\n wait_for_ready: true\n dial_option:\n authority: \"\"\n backoff_base_delay: 1s\n backoff_jitter: 0.2\n backoff_max_delay: 120s\n backoff_multiplier: 1.6\n disable_retry: false\n enable_backoff: false\n idle_timeout: \"\"\n initial_connection_window_size: 2097152\n initial_window_size: 1048576\n insecure: true\n interceptors: []\n keepalive:\n permit_without_stream: false\n time: \"\"\n timeout: 30s\n max_call_attempts: 0\n max_header_list_size: 0\n max_msg_size: 0\n min_connection_timeout: 20s\n net:\n dialer:\n dual_stack_enabled: true\n keepalive: \"\"\n timeout: \"\"\n dns:\n cache_enabled: true\n cache_expiration: 1h\n refresh_duration: 30m\n network: tcp\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: false\n tcp_no_delay: false\n tcp_quick_ack: false\n tls:\n ca: /path/to/ca\n cert: /path/to/cert\n client_auth: None\n crl: /path/to/crl\n enabled: false\n hot_reload: false\n insecure_skip_verify: false\n key: /path/to/key\n server_name: \"\"\n read_buffer_size: 0\n shared_write_buffer: true\n timeout: \"\"\n user_agent: Vald-gRPC\n write_buffer_size: 0\n tls:\n ca: /path/to/ca\n cert: /path/to/cert\n client_auth: None\n crl: /path/to/crl\n enabled: false\n hot_reload: false\n insecure_skip_verify: false\n key: /path/to/key\n server_name: \"\"\n self_mirror_addr: vald-mirror-gateway.default.svc.cluster.local:8081\n gateway_addr: vald-lb-gateway.default.svc.cluster.local:8081\n #magic___^_^___line\n" diff --git a/k8s/gateway/gateway/mirror/daemonset.yaml b/k8s/gateway/gateway/mirror/daemonset.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/gateway/gateway/mirror/daemonset.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/gateway/gateway/mirror/deployment.yaml b/k8s/gateway/gateway/mirror/deployment.yaml index efb9970166..f026929ca4 100644 --- a/k8s/gateway/gateway/mirror/deployment.yaml +++ b/k8s/gateway/gateway/mirror/deployment.yaml @@ -54,7 +54,7 @@ spec: spec: initContainers: - name: wait-for-gateway-lb - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always command: - /bin/sh diff --git a/k8s/gateway/gateway/mirror/networkpolicy.yaml b/k8s/gateway/gateway/mirror/networkpolicy.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/gateway/gateway/mirror/networkpolicy.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/index/job/correction/cronjob.yaml b/k8s/index/job/correction/cronjob.yaml index 9b56a06a54..3fd6aecfc0 100644 --- a/k8s/index/job/correction/cronjob.yaml +++ b/k8s/index/job/correction/cronjob.yaml @@ -52,7 +52,7 @@ spec: spec: initContainers: - name: wait-for-agent - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always command: - /bin/sh @@ -64,7 +64,7 @@ spec: sleep 2; done - name: wait-for-discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always command: - /bin/sh diff --git a/k8s/index/job/correction/networkpolicy.yaml b/k8s/index/job/correction/networkpolicy.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/index/job/correction/networkpolicy.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/index/job/correction/serviceaccount.yaml b/k8s/index/job/correction/serviceaccount.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/index/job/correction/serviceaccount.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/index/job/creation/cronjob.yaml b/k8s/index/job/creation/cronjob.yaml index 844065904b..db56e498bf 100644 --- a/k8s/index/job/creation/cronjob.yaml +++ b/k8s/index/job/creation/cronjob.yaml @@ -52,7 +52,7 @@ spec: spec: initContainers: - name: wait-for-agent - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always command: - /bin/sh @@ -64,7 +64,7 @@ spec: sleep 2; done - name: wait-for-discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always command: - /bin/sh diff --git a/k8s/index/job/creation/networkpolicy.yaml b/k8s/index/job/creation/networkpolicy.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/index/job/creation/networkpolicy.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/index/job/creation/serviceaccount.yaml b/k8s/index/job/creation/serviceaccount.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/index/job/creation/serviceaccount.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/index/job/deletion/cronjob.yaml b/k8s/index/job/deletion/cronjob.yaml index 1f8235c7e7..e22263ee34 100644 --- a/k8s/index/job/deletion/cronjob.yaml +++ b/k8s/index/job/deletion/cronjob.yaml @@ -52,7 +52,7 @@ spec: spec: initContainers: - name: wait-for-agent - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always command: - /bin/sh @@ -64,7 +64,7 @@ spec: sleep 2; done - name: wait-for-discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always command: - /bin/sh diff --git a/k8s/index/job/deletion/networkpolicy.yaml b/k8s/index/job/deletion/networkpolicy.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/index/job/deletion/networkpolicy.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/index/job/deletion/serviceaccount.yaml b/k8s/index/job/deletion/serviceaccount.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/index/job/deletion/serviceaccount.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/index/job/readreplica/rotate/clusterrole.yaml b/k8s/index/job/readreplica/rotate/clusterrole.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/index/job/readreplica/rotate/clusterrole.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/index/job/readreplica/rotate/clusterrolebinding.yaml b/k8s/index/job/readreplica/rotate/clusterrolebinding.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/index/job/readreplica/rotate/clusterrolebinding.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/index/job/readreplica/rotate/configmap.yaml b/k8s/index/job/readreplica/rotate/configmap.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/index/job/readreplica/rotate/configmap.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/index/job/readreplica/rotate/networkpolicy.yaml b/k8s/index/job/readreplica/rotate/networkpolicy.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/index/job/readreplica/rotate/networkpolicy.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/index/job/readreplica/rotate/serviceaccount.yaml b/k8s/index/job/readreplica/rotate/serviceaccount.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/index/job/readreplica/rotate/serviceaccount.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/index/job/save/cronjob.yaml b/k8s/index/job/save/cronjob.yaml index 3cce4dbfd6..8373fad0cd 100644 --- a/k8s/index/job/save/cronjob.yaml +++ b/k8s/index/job/save/cronjob.yaml @@ -52,7 +52,7 @@ spec: spec: initContainers: - name: wait-for-agent - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always command: - /bin/sh @@ -64,7 +64,7 @@ spec: sleep 2; done - name: wait-for-discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always command: - /bin/sh diff --git a/k8s/index/job/save/networkpolicy.yaml b/k8s/index/job/save/networkpolicy.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/index/job/save/networkpolicy.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/index/job/save/serviceaccount.yaml b/k8s/index/job/save/serviceaccount.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/index/job/save/serviceaccount.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/index/operator/configmap.yaml b/k8s/index/operator/configmap.yaml index 2bda417c74..d3b8fa3443 100644 --- a/k8s/index/operator/configmap.yaml +++ b/k8s/index/operator/configmap.yaml @@ -25,4 +25,4 @@ metadata: app.kubernetes.io/version: v1.7.17 app.kubernetes.io/component: index-operator data: - config.yaml: "---\nversion: v0.0.0\ntime_zone: UTC\nlogging:\n format: raw\n level: debug\n logger: glg\nserver_config:\n servers:\n - name: grpc\n host: 0.0.0.0\n port: 8081\n grpc:\n bidirectional_stream_concurrency: 20\n connection_timeout: \"\"\n enable_admin: false\n enable_channelz: false\n enable_reflection: true\n header_table_size: 0\n initial_conn_window_size: 2097152\n initial_window_size: 1048576\n interceptors:\n - RecoverInterceptor\n keepalive:\n max_conn_age: \"\"\n max_conn_age_grace: \"\"\n max_conn_idle: \"\"\n min_time: 10m\n permit_without_stream: false\n time: 3h\n timeout: 60s\n max_concurrent_streams: 0\n max_header_list_size: 0\n max_receive_message_size: 0\n max_send_message_size: 0\n num_stream_workers: 0\n read_buffer_size: 0\n shared_write_buffer: true\n wait_for_handlers: true\n write_buffer_size: 0\n mode: GRPC\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: false\n tcp_no_delay: false\n tcp_quick_ack: false\n socket_path: \"\"\n health_check_servers:\n - name: liveness\n host: 0.0.0.0\n port: 3000\n http:\n handler_timeout: \"\"\n http2:\n enabled: false\n handler_limit: 0\n max_concurrent_streams: 0\n max_decoder_header_table_size: 4096\n max_encoder_header_table_size: 4096\n max_read_frame_size: 0\n max_upload_buffer_per_connection: 0\n max_upload_buffer_per_stream: 0\n permit_prohibited_cipher_suites: true\n idle_timeout: \"\"\n read_header_timeout: \"\"\n read_timeout: \"\"\n shutdown_duration: 5s\n write_timeout: \"\"\n mode: REST\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: true\n tcp_no_delay: true\n tcp_quick_ack: true\n socket_path: \"\"\n - name: readiness\n host: 0.0.0.0\n port: 3001\n http:\n handler_timeout: \"\"\n http2:\n enabled: false\n handler_limit: 0\n max_concurrent_streams: 0\n max_decoder_header_table_size: 4096\n max_encoder_header_table_size: 4096\n max_read_frame_size: 0\n max_upload_buffer_per_connection: 0\n max_upload_buffer_per_stream: 0\n permit_prohibited_cipher_suites: true\n idle_timeout: \"\"\n read_header_timeout: \"\"\n read_timeout: \"\"\n shutdown_duration: 0s\n write_timeout: \"\"\n mode: REST\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: true\n tcp_no_delay: true\n tcp_quick_ack: true\n socket_path: \"\"\n metrics_servers:\n - name: pprof\n host: 0.0.0.0\n port: 6060\n http:\n handler_timeout: 5s\n http2:\n enabled: false\n handler_limit: 0\n max_concurrent_streams: 0\n max_decoder_header_table_size: 4096\n max_encoder_header_table_size: 4096\n max_read_frame_size: 0\n max_upload_buffer_per_connection: 0\n max_upload_buffer_per_stream: 0\n permit_prohibited_cipher_suites: true\n idle_timeout: 2s\n read_header_timeout: 1s\n read_timeout: 1s\n shutdown_duration: 5s\n write_timeout: 1m\n mode: REST\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: true\n tcp_defer_accept: false\n tcp_fast_open: false\n tcp_no_delay: false\n tcp_quick_ack: false\n socket_path: \"\"\n startup_strategy:\n - liveness\n - pprof\n - grpc\n - readiness\n shutdown_strategy:\n - readiness\n - grpc\n - pprof\n - liveness\n full_shutdown_duration: 600s\n tls:\n ca: /path/to/ca\n cert: /path/to/cert\n client_auth: None\n crl: /path/to/crl\n enabled: false\n hot_reload: false\n insecure_skip_verify: false\n key: /path/to/key\n server_name: \"\"\nobservability:\n enabled: false\n otlp:\n collector_endpoint: \"\"\n trace_batch_timeout: \"1s\"\n trace_export_timeout: \"1m\"\n trace_max_export_batch_size: 1024\n trace_max_queue_size: 256\n metrics_export_interval: \"1s\"\n metrics_export_timeout: \"1m\"\n attribute:\n namespace: \"_MY_POD_NAMESPACE_\"\n pod_name: \"_MY_POD_NAME_\"\n node_name: \"_MY_NODE_NAME_\"\n service_name: \"vald-index-operator\"\n metrics:\n enable_cgo: true\n enable_goroutine: true\n enable_memory: true\n enable_version_info: true\n version_info_labels:\n - vald_version\n - server_name\n - git_commit\n - build_time\n - go_version\n - go_os\n - go_arch\n - algorithm_info\n trace:\n enabled: false\noperator:\n namespace: _MY_POD_NAMESPACE_\n agent_name: vald-agent\n agent_namespace: \n rotator_name: vald-readreplica-rotate\n target_read_replica_id_annotations_key: vald.vdaas.org/target-read-replica-id\n rotation_job_concurrency: 2\n read_replica_enabled: false\n read_replica_label_key: vald-readreplica-id\n job_templates:\n rotate:\n apiVersion: batch/v1\n kind: Job\n metadata:\n name: vald-readreplica-rotate\n labels:\n app: vald-readreplica-rotate\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.17\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-readreplica-rotate\n app.kubernetes.io/version: v1.7.17\n spec:\n ttlSecondsAfterFinished: 86400\n template:\n metadata:\n labels:\n app: vald-readreplica-rotate\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.17\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-readreplica-rotate\n app.kubernetes.io/version: v1.7.17\n annotations:\n pyroscope.io/scrape: \"true\"\n pyroscope.io/application-name: vald-readreplica-rotate\n pyroscope.io/profile-cpu-enabled: \"true\"\n pyroscope.io/profile-mem-enabled: \"true\"\n pyroscope.io/port: \"6060\"\n spec:\n containers:\n - name: vald-readreplica-rotate\n image: \"vdaas/vald-readreplica-rotate:nightly\"\n imagePullPolicy: Always\n volumeMounts:\n - name: vald-readreplica-rotate-config\n mountPath: /etc/server/\n livenessProbe:\n failureThreshold: 2\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n readinessProbe:\n failureThreshold: 2\n httpGet:\n path: /readiness\n port: readiness\n scheme: HTTP\n initialDelaySeconds: 10\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n startupProbe:\n failureThreshold: 30\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 5\n successThreshold: 1\n timeoutSeconds: 2\n ports:\n - name: liveness\n protocol: TCP\n containerPort: 3000\n - name: readiness\n protocol: TCP\n containerPort: 3001\n - name: grpc\n protocol: TCP\n containerPort: 8081\n - name: pprof\n protocol: TCP\n containerPort: 6060\n securityContext:\n allowPrivilegeEscalation: false\n capabilities:\n drop:\n - ALL\n privileged: false\n readOnlyRootFilesystem: true\n runAsGroup: 65532\n runAsNonRoot: true\n runAsUser: 65532\n env:\n - name: MY_NODE_NAME\n valueFrom:\n fieldRef:\n fieldPath: spec.nodeName\n - name: MY_POD_NAME\n valueFrom:\n fieldRef:\n fieldPath: metadata.name\n - name: MY_POD_NAMESPACE\n valueFrom:\n fieldRef:\n fieldPath: metadata.namespace\n - name: TARGET_READREPLICA_ID_RELEASE_NAME_DEFAULT_VALD\n valueFrom:\n fieldRef:\n fieldPath: metadata.annotations['vald.vdaas.org/target-read-replica-id']\n securityContext:\n fsGroup: 65532\n fsGroupChangePolicy: OnRootMismatch\n runAsGroup: 65532\n runAsNonRoot: true\n runAsUser: 65532\n restartPolicy: OnFailure\n volumes:\n - name: vald-readreplica-rotate-config\n configMap:\n defaultMode: 420\n name: vald-readreplica-rotate-config\n serviceAccountName: vald-readreplica-rotate\n creation:\n apiVersion: batch/v1\n kind: Job\n metadata:\n name: vald-index-creation\n labels:\n app: vald-index-creation\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.17\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-creation\n app.kubernetes.io/version: v1.7.17\n spec:\n ttlSecondsAfterFinished: 86400\n template:\n metadata:\n labels:\n app: vald-index-creation\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.17\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-creation\n app.kubernetes.io/version: v1.7.17\n annotations:\n pyroscope.io/scrape: \"true\"\n pyroscope.io/application-name: vald-index-creation\n pyroscope.io/profile-cpu-enabled: \"true\"\n pyroscope.io/profile-mem-enabled: \"true\"\n pyroscope.io/port: \"6060\"\n spec:\n initContainers:\n - name: wait-for-agent\n image: busybox:1.37.0\n imagePullPolicy: Always\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-agent.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for agent to be ready...\"\n sleep 2;\n done\n - name: wait-for-discoverer\n image: busybox:1.37.0\n imagePullPolicy: Always\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-discoverer.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for discoverer to be ready...\"\n sleep 2;\n done\n affinity:\n nodeAffinity:\n preferredDuringSchedulingIgnoredDuringExecution: []\n podAffinity:\n preferredDuringSchedulingIgnoredDuringExecution: []\n requiredDuringSchedulingIgnoredDuringExecution: []\n podAntiAffinity:\n preferredDuringSchedulingIgnoredDuringExecution: []\n requiredDuringSchedulingIgnoredDuringExecution: []\n containers:\n - name: vald-index-creation\n image: \"vdaas/vald-index-creation:nightly\"\n imagePullPolicy: Always\n volumeMounts:\n - name: vald-index-creation-config\n mountPath: /etc/server/\n livenessProbe:\n failureThreshold: 2\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n readinessProbe:\n failureThreshold: 2\n httpGet:\n path: /readiness\n port: readiness\n scheme: HTTP\n initialDelaySeconds: 10\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n startupProbe:\n failureThreshold: 30\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 5\n successThreshold: 1\n timeoutSeconds: 2\n ports:\n - name: liveness\n protocol: TCP\n containerPort: 3000\n - name: readiness\n protocol: TCP\n containerPort: 3001\n - name: grpc\n protocol: TCP\n containerPort: 8081\n - name: pprof\n protocol: TCP\n containerPort: 6060\n env:\n - name: MY_NODE_NAME\n valueFrom:\n fieldRef:\n fieldPath: spec.nodeName\n - name: MY_POD_NAME\n valueFrom:\n fieldRef:\n fieldPath: metadata.name\n - name: MY_POD_NAMESPACE\n valueFrom:\n fieldRef:\n fieldPath: metadata.namespace\n restartPolicy: OnFailure\n volumes:\n - name: vald-index-creation-config\n configMap:\n defaultMode: 420\n name: vald-index-creation-config\n save:\n apiVersion: batch/v1\n kind: Job\n metadata:\n name: vald-index-save\n labels:\n app: vald-index-save\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.17\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-save\n app.kubernetes.io/version: v1.7.17\n spec:\n ttlSecondsAfterFinished: 86400\n template:\n metadata:\n labels:\n app: vald-index-save\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.17\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-save\n app.kubernetes.io/version: v1.7.17\n annotations:\n pyroscope.io/scrape: \"true\"\n pyroscope.io/application-name: vald-index-save\n pyroscope.io/profile-cpu-enabled: \"true\"\n pyroscope.io/profile-mem-enabled: \"true\"\n pyroscope.io/port: \"6060\"\n spec:\n initContainers:\n - name: wait-for-agent\n image: busybox:1.37.0\n imagePullPolicy: Always\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-agent.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for agent to be ready...\"\n sleep 2;\n done\n - name: wait-for-discoverer\n image: busybox:1.37.0\n imagePullPolicy: Always\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-discoverer.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for discoverer to be ready...\"\n sleep 2;\n done\n affinity:\n nodeAffinity:\n preferredDuringSchedulingIgnoredDuringExecution: []\n podAffinity:\n preferredDuringSchedulingIgnoredDuringExecution: []\n requiredDuringSchedulingIgnoredDuringExecution: []\n podAntiAffinity:\n preferredDuringSchedulingIgnoredDuringExecution: []\n requiredDuringSchedulingIgnoredDuringExecution: []\n containers:\n - name: vald-index-save\n image: \"vdaas/vald-index-save:nightly\"\n imagePullPolicy: Always\n volumeMounts:\n - name: vald-index-save-config\n mountPath: /etc/server/\n livenessProbe:\n failureThreshold: 2\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n readinessProbe:\n failureThreshold: 2\n httpGet:\n path: /readiness\n port: readiness\n scheme: HTTP\n initialDelaySeconds: 10\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n startupProbe:\n failureThreshold: 30\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 5\n successThreshold: 1\n timeoutSeconds: 2\n ports:\n - name: liveness\n protocol: TCP\n containerPort: 3000\n - name: readiness\n protocol: TCP\n containerPort: 3001\n - name: grpc\n protocol: TCP\n containerPort: 8081\n - name: pprof\n protocol: TCP\n containerPort: 6060\n env:\n - name: MY_NODE_NAME\n valueFrom:\n fieldRef:\n fieldPath: spec.nodeName\n - name: MY_POD_NAME\n valueFrom:\n fieldRef:\n fieldPath: metadata.name\n - name: MY_POD_NAMESPACE\n valueFrom:\n fieldRef:\n fieldPath: metadata.namespace\n restartPolicy: OnFailure\n volumes:\n - name: vald-index-save-config\n configMap:\n defaultMode: 420\n name: vald-index-save-config\n correction:\n apiVersion: batch/v1\n kind: Job\n metadata:\n name: vald-index-correction\n labels:\n app: vald-index-correction\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.17\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-correction\n app.kubernetes.io/version: v1.7.17\n spec:\n ttlSecondsAfterFinished: 86400\n template:\n metadata:\n labels:\n app: vald-index-correction\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.17\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-correction\n app.kubernetes.io/version: v1.7.17\n annotations:\n pyroscope.io/scrape: \"true\"\n pyroscope.io/application-name: vald-index-correction\n pyroscope.io/profile-cpu-enabled: \"true\"\n pyroscope.io/profile-mem-enabled: \"true\"\n pyroscope.io/port: \"6060\"\n spec:\n initContainers:\n - name: wait-for-agent\n image: busybox:1.37.0\n imagePullPolicy: Always\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-agent.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for agent to be ready...\"\n sleep 2;\n done\n - name: wait-for-discoverer\n image: busybox:1.37.0\n imagePullPolicy: Always\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-discoverer.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for discoverer to be ready...\"\n sleep 2;\n done\n affinity:\n nodeAffinity:\n preferredDuringSchedulingIgnoredDuringExecution: []\n podAffinity:\n preferredDuringSchedulingIgnoredDuringExecution: []\n requiredDuringSchedulingIgnoredDuringExecution: []\n podAntiAffinity:\n preferredDuringSchedulingIgnoredDuringExecution: []\n requiredDuringSchedulingIgnoredDuringExecution: []\n containers:\n - name: vald-index-correction\n image: \"vdaas/vald-index-correction:nightly\"\n imagePullPolicy: Always\n volumeMounts:\n - name: vald-index-correction-config\n mountPath: /etc/server/\n livenessProbe:\n failureThreshold: 2\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n readinessProbe:\n failureThreshold: 2\n httpGet:\n path: /readiness\n port: readiness\n scheme: HTTP\n initialDelaySeconds: 10\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n startupProbe:\n failureThreshold: 30\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 5\n successThreshold: 1\n timeoutSeconds: 2\n ports:\n - name: liveness\n protocol: TCP\n containerPort: 3000\n - name: readiness\n protocol: TCP\n containerPort: 3001\n - name: grpc\n protocol: TCP\n containerPort: 8081\n - name: pprof\n protocol: TCP\n containerPort: 6060\n env:\n - name: MY_NODE_NAME\n valueFrom:\n fieldRef:\n fieldPath: spec.nodeName\n - name: MY_POD_NAME\n valueFrom:\n fieldRef:\n fieldPath: metadata.name\n - name: MY_POD_NAMESPACE\n valueFrom:\n fieldRef:\n fieldPath: metadata.namespace\n restartPolicy: OnFailure\n volumes:\n - name: vald-index-correction-config\n configMap:\n defaultMode: 420\n name: vald-index-correction-config\n" + config.yaml: "---\nversion: v0.0.0\ntime_zone: UTC\nlogging:\n format: raw\n level: debug\n logger: glg\nserver_config:\n servers:\n - name: grpc\n host: 0.0.0.0\n port: 8081\n grpc:\n bidirectional_stream_concurrency: 20\n connection_timeout: \"\"\n enable_admin: false\n enable_channelz: false\n enable_reflection: true\n header_table_size: 0\n initial_conn_window_size: 2097152\n initial_window_size: 1048576\n interceptors:\n - RecoverInterceptor\n keepalive:\n max_conn_age: \"\"\n max_conn_age_grace: \"\"\n max_conn_idle: \"\"\n min_time: 10m\n permit_without_stream: false\n time: 3h\n timeout: 60s\n max_concurrent_streams: 0\n max_header_list_size: 0\n max_receive_message_size: 0\n max_send_message_size: 0\n num_stream_workers: 0\n read_buffer_size: 0\n shared_write_buffer: true\n wait_for_handlers: true\n write_buffer_size: 0\n mode: GRPC\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: false\n tcp_no_delay: false\n tcp_quick_ack: false\n socket_path: \"\"\n health_check_servers:\n - name: liveness\n host: 0.0.0.0\n port: 3000\n http:\n handler_timeout: \"\"\n http2:\n enabled: false\n handler_limit: 0\n max_concurrent_streams: 0\n max_decoder_header_table_size: 4096\n max_encoder_header_table_size: 4096\n max_read_frame_size: 0\n max_upload_buffer_per_connection: 0\n max_upload_buffer_per_stream: 0\n permit_prohibited_cipher_suites: true\n idle_timeout: \"\"\n read_header_timeout: \"\"\n read_timeout: \"\"\n shutdown_duration: 5s\n write_timeout: \"\"\n mode: REST\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: true\n tcp_no_delay: true\n tcp_quick_ack: true\n socket_path: \"\"\n - name: readiness\n host: 0.0.0.0\n port: 3001\n http:\n handler_timeout: \"\"\n http2:\n enabled: false\n handler_limit: 0\n max_concurrent_streams: 0\n max_decoder_header_table_size: 4096\n max_encoder_header_table_size: 4096\n max_read_frame_size: 0\n max_upload_buffer_per_connection: 0\n max_upload_buffer_per_stream: 0\n permit_prohibited_cipher_suites: true\n idle_timeout: \"\"\n read_header_timeout: \"\"\n read_timeout: \"\"\n shutdown_duration: 0s\n write_timeout: \"\"\n mode: REST\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: true\n tcp_no_delay: true\n tcp_quick_ack: true\n socket_path: \"\"\n metrics_servers:\n - name: pprof\n host: 0.0.0.0\n port: 6060\n http:\n handler_timeout: 5s\n http2:\n enabled: false\n handler_limit: 0\n max_concurrent_streams: 0\n max_decoder_header_table_size: 4096\n max_encoder_header_table_size: 4096\n max_read_frame_size: 0\n max_upload_buffer_per_connection: 0\n max_upload_buffer_per_stream: 0\n permit_prohibited_cipher_suites: true\n idle_timeout: 2s\n read_header_timeout: 1s\n read_timeout: 1s\n shutdown_duration: 5s\n write_timeout: 1m\n mode: REST\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: true\n tcp_defer_accept: false\n tcp_fast_open: false\n tcp_no_delay: false\n tcp_quick_ack: false\n socket_path: \"\"\n startup_strategy:\n - liveness\n - pprof\n - grpc\n - readiness\n shutdown_strategy:\n - readiness\n - grpc\n - pprof\n - liveness\n full_shutdown_duration: 600s\n tls:\n ca: /path/to/ca\n cert: /path/to/cert\n client_auth: None\n crl: /path/to/crl\n enabled: false\n hot_reload: false\n insecure_skip_verify: false\n key: /path/to/key\n server_name: \"\"\nobservability:\n enabled: false\n otlp:\n collector_endpoint: \"\"\n trace_batch_timeout: \"1s\"\n trace_export_timeout: \"1m\"\n trace_max_export_batch_size: 1024\n trace_max_queue_size: 256\n metrics_export_interval: \"1s\"\n metrics_export_timeout: \"1m\"\n attribute:\n namespace: \"_MY_POD_NAMESPACE_\"\n pod_name: \"_MY_POD_NAME_\"\n node_name: \"_MY_NODE_NAME_\"\n service_name: \"vald-index-operator\"\n metrics:\n enable_cgo: true\n enable_goroutine: true\n enable_memory: true\n enable_version_info: true\n version_info_labels:\n - vald_version\n - server_name\n - git_commit\n - build_time\n - go_version\n - go_os\n - go_arch\n - algorithm_info\n trace:\n enabled: false\noperator:\n namespace: _MY_POD_NAMESPACE_\n agent_name: vald-agent\n agent_namespace: \n rotator_name: vald-readreplica-rotate\n target_read_replica_id_annotations_key: vald.vdaas.org/target-read-replica-id\n rotation_job_concurrency: 2\n read_replica_enabled: false\n read_replica_label_key: vald-readreplica-id\n job_templates:\n rotate:\n apiVersion: batch/v1\n kind: Job\n metadata:\n name: vald-readreplica-rotate\n labels:\n app: vald-readreplica-rotate\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.17\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-readreplica-rotate\n app.kubernetes.io/version: v1.7.17\n spec:\n ttlSecondsAfterFinished: 86400\n template:\n metadata:\n labels:\n app: vald-readreplica-rotate\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.17\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-readreplica-rotate\n app.kubernetes.io/version: v1.7.17\n annotations:\n pyroscope.io/scrape: \"true\"\n pyroscope.io/application-name: vald-readreplica-rotate\n pyroscope.io/profile-cpu-enabled: \"true\"\n pyroscope.io/profile-mem-enabled: \"true\"\n pyroscope.io/port: \"6060\"\n spec:\n containers:\n - name: vald-readreplica-rotate\n image: \"vdaas/vald-readreplica-rotate:nightly\"\n imagePullPolicy: Always\n volumeMounts:\n - name: vald-readreplica-rotate-config\n mountPath: /etc/server/\n livenessProbe:\n failureThreshold: 2\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n readinessProbe:\n failureThreshold: 2\n httpGet:\n path: /readiness\n port: readiness\n scheme: HTTP\n initialDelaySeconds: 10\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n startupProbe:\n failureThreshold: 30\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 5\n successThreshold: 1\n timeoutSeconds: 2\n ports:\n - name: liveness\n protocol: TCP\n containerPort: 3000\n - name: readiness\n protocol: TCP\n containerPort: 3001\n - name: grpc\n protocol: TCP\n containerPort: 8081\n - name: pprof\n protocol: TCP\n containerPort: 6060\n securityContext:\n allowPrivilegeEscalation: false\n capabilities:\n drop:\n - ALL\n privileged: false\n readOnlyRootFilesystem: true\n runAsGroup: 65532\n runAsNonRoot: true\n runAsUser: 65532\n env:\n - name: MY_NODE_NAME\n valueFrom:\n fieldRef:\n fieldPath: spec.nodeName\n - name: MY_POD_NAME\n valueFrom:\n fieldRef:\n fieldPath: metadata.name\n - name: MY_POD_NAMESPACE\n valueFrom:\n fieldRef:\n fieldPath: metadata.namespace\n - name: TARGET_READREPLICA_ID_RELEASE_NAME_DEFAULT_VALD\n valueFrom:\n fieldRef:\n fieldPath: metadata.annotations['vald.vdaas.org/target-read-replica-id']\n securityContext:\n fsGroup: 65532\n fsGroupChangePolicy: OnRootMismatch\n runAsGroup: 65532\n runAsNonRoot: true\n runAsUser: 65532\n restartPolicy: OnFailure\n volumes:\n - name: vald-readreplica-rotate-config\n configMap:\n defaultMode: 420\n name: vald-readreplica-rotate-config\n serviceAccountName: vald-readreplica-rotate\n creation:\n apiVersion: batch/v1\n kind: Job\n metadata:\n name: vald-index-creation\n labels:\n app: vald-index-creation\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.17\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-creation\n app.kubernetes.io/version: v1.7.17\n spec:\n ttlSecondsAfterFinished: 86400\n template:\n metadata:\n labels:\n app: vald-index-creation\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.17\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-creation\n app.kubernetes.io/version: v1.7.17\n annotations:\n pyroscope.io/scrape: \"true\"\n pyroscope.io/application-name: vald-index-creation\n pyroscope.io/profile-cpu-enabled: \"true\"\n pyroscope.io/profile-mem-enabled: \"true\"\n pyroscope.io/port: \"6060\"\n spec:\n initContainers:\n - name: wait-for-agent\n image: busybox:1.38.0\n imagePullPolicy: Always\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-agent.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for agent to be ready...\"\n sleep 2;\n done\n - name: wait-for-discoverer\n image: busybox:1.38.0\n imagePullPolicy: Always\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-discoverer.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for discoverer to be ready...\"\n sleep 2;\n done\n affinity:\n nodeAffinity:\n preferredDuringSchedulingIgnoredDuringExecution: []\n podAffinity:\n preferredDuringSchedulingIgnoredDuringExecution: []\n requiredDuringSchedulingIgnoredDuringExecution: []\n podAntiAffinity:\n preferredDuringSchedulingIgnoredDuringExecution: []\n requiredDuringSchedulingIgnoredDuringExecution: []\n containers:\n - name: vald-index-creation\n image: \"vdaas/vald-index-creation:nightly\"\n imagePullPolicy: Always\n volumeMounts:\n - name: vald-index-creation-config\n mountPath: /etc/server/\n livenessProbe:\n failureThreshold: 2\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n readinessProbe:\n failureThreshold: 2\n httpGet:\n path: /readiness\n port: readiness\n scheme: HTTP\n initialDelaySeconds: 10\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n startupProbe:\n failureThreshold: 30\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 5\n successThreshold: 1\n timeoutSeconds: 2\n ports:\n - name: liveness\n protocol: TCP\n containerPort: 3000\n - name: readiness\n protocol: TCP\n containerPort: 3001\n - name: grpc\n protocol: TCP\n containerPort: 8081\n - name: pprof\n protocol: TCP\n containerPort: 6060\n env:\n - name: MY_NODE_NAME\n valueFrom:\n fieldRef:\n fieldPath: spec.nodeName\n - name: MY_POD_NAME\n valueFrom:\n fieldRef:\n fieldPath: metadata.name\n - name: MY_POD_NAMESPACE\n valueFrom:\n fieldRef:\n fieldPath: metadata.namespace\n restartPolicy: OnFailure\n volumes:\n - name: vald-index-creation-config\n configMap:\n defaultMode: 420\n name: vald-index-creation-config\n save:\n apiVersion: batch/v1\n kind: Job\n metadata:\n name: vald-index-save\n labels:\n app: vald-index-save\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.17\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-save\n app.kubernetes.io/version: v1.7.17\n spec:\n ttlSecondsAfterFinished: 86400\n template:\n metadata:\n labels:\n app: vald-index-save\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.17\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-save\n app.kubernetes.io/version: v1.7.17\n annotations:\n pyroscope.io/scrape: \"true\"\n pyroscope.io/application-name: vald-index-save\n pyroscope.io/profile-cpu-enabled: \"true\"\n pyroscope.io/profile-mem-enabled: \"true\"\n pyroscope.io/port: \"6060\"\n spec:\n initContainers:\n - name: wait-for-agent\n image: busybox:1.38.0\n imagePullPolicy: Always\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-agent.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for agent to be ready...\"\n sleep 2;\n done\n - name: wait-for-discoverer\n image: busybox:1.38.0\n imagePullPolicy: Always\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-discoverer.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for discoverer to be ready...\"\n sleep 2;\n done\n affinity:\n nodeAffinity:\n preferredDuringSchedulingIgnoredDuringExecution: []\n podAffinity:\n preferredDuringSchedulingIgnoredDuringExecution: []\n requiredDuringSchedulingIgnoredDuringExecution: []\n podAntiAffinity:\n preferredDuringSchedulingIgnoredDuringExecution: []\n requiredDuringSchedulingIgnoredDuringExecution: []\n containers:\n - name: vald-index-save\n image: \"vdaas/vald-index-save:nightly\"\n imagePullPolicy: Always\n volumeMounts:\n - name: vald-index-save-config\n mountPath: /etc/server/\n livenessProbe:\n failureThreshold: 2\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n readinessProbe:\n failureThreshold: 2\n httpGet:\n path: /readiness\n port: readiness\n scheme: HTTP\n initialDelaySeconds: 10\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n startupProbe:\n failureThreshold: 30\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 5\n successThreshold: 1\n timeoutSeconds: 2\n ports:\n - name: liveness\n protocol: TCP\n containerPort: 3000\n - name: readiness\n protocol: TCP\n containerPort: 3001\n - name: grpc\n protocol: TCP\n containerPort: 8081\n - name: pprof\n protocol: TCP\n containerPort: 6060\n env:\n - name: MY_NODE_NAME\n valueFrom:\n fieldRef:\n fieldPath: spec.nodeName\n - name: MY_POD_NAME\n valueFrom:\n fieldRef:\n fieldPath: metadata.name\n - name: MY_POD_NAMESPACE\n valueFrom:\n fieldRef:\n fieldPath: metadata.namespace\n restartPolicy: OnFailure\n volumes:\n - name: vald-index-save-config\n configMap:\n defaultMode: 420\n name: vald-index-save-config\n correction:\n apiVersion: batch/v1\n kind: Job\n metadata:\n name: vald-index-correction\n labels:\n app: vald-index-correction\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.17\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-correction\n app.kubernetes.io/version: v1.7.17\n spec:\n ttlSecondsAfterFinished: 86400\n template:\n metadata:\n labels:\n app: vald-index-correction\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.17\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-correction\n app.kubernetes.io/version: v1.7.17\n annotations:\n pyroscope.io/scrape: \"true\"\n pyroscope.io/application-name: vald-index-correction\n pyroscope.io/profile-cpu-enabled: \"true\"\n pyroscope.io/profile-mem-enabled: \"true\"\n pyroscope.io/port: \"6060\"\n spec:\n initContainers:\n - name: wait-for-agent\n image: busybox:1.38.0\n imagePullPolicy: Always\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-agent.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for agent to be ready...\"\n sleep 2;\n done\n - name: wait-for-discoverer\n image: busybox:1.38.0\n imagePullPolicy: Always\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-discoverer.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for discoverer to be ready...\"\n sleep 2;\n done\n affinity:\n nodeAffinity:\n preferredDuringSchedulingIgnoredDuringExecution: []\n podAffinity:\n preferredDuringSchedulingIgnoredDuringExecution: []\n requiredDuringSchedulingIgnoredDuringExecution: []\n podAntiAffinity:\n preferredDuringSchedulingIgnoredDuringExecution: []\n requiredDuringSchedulingIgnoredDuringExecution: []\n containers:\n - name: vald-index-correction\n image: \"vdaas/vald-index-correction:nightly\"\n imagePullPolicy: Always\n volumeMounts:\n - name: vald-index-correction-config\n mountPath: /etc/server/\n livenessProbe:\n failureThreshold: 2\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n readinessProbe:\n failureThreshold: 2\n httpGet:\n path: /readiness\n port: readiness\n scheme: HTTP\n initialDelaySeconds: 10\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n startupProbe:\n failureThreshold: 30\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 5\n successThreshold: 1\n timeoutSeconds: 2\n ports:\n - name: liveness\n protocol: TCP\n containerPort: 3000\n - name: readiness\n protocol: TCP\n containerPort: 3001\n - name: grpc\n protocol: TCP\n containerPort: 8081\n - name: pprof\n protocol: TCP\n containerPort: 6060\n env:\n - name: MY_NODE_NAME\n valueFrom:\n fieldRef:\n fieldPath: spec.nodeName\n - name: MY_POD_NAME\n valueFrom:\n fieldRef:\n fieldPath: metadata.name\n - name: MY_POD_NAMESPACE\n valueFrom:\n fieldRef:\n fieldPath: metadata.namespace\n restartPolicy: OnFailure\n volumes:\n - name: vald-index-correction-config\n configMap:\n defaultMode: 420\n name: vald-index-correction-config\n #magic___^_^___line\n" diff --git a/k8s/index/operator/deployment.yaml b/k8s/index/operator/deployment.yaml index aee7745828..3ffd6add18 100644 --- a/k8s/index/operator/deployment.yaml +++ b/k8s/index/operator/deployment.yaml @@ -46,7 +46,7 @@ spec: app.kubernetes.io/instance: release-name app.kubernetes.io/component: operator annotations: - checksum/configmap: cb5b918190fb2506d7764e75d6e3fc7628a8c2c86c0f223816b79f8e3f43c03c + checksum/configmap: 906b21265e4bbe82865e844df42643faa1e0890c94c8fe6725086e3bd2c72134 pyroscope.io/scrape: "true" pyroscope.io/application-name: vald-index-operator pyroscope.io/profile-cpu-enabled: "true" diff --git a/k8s/manager/index/daemonset.yaml b/k8s/manager/index/daemonset.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/manager/index/daemonset.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/manager/index/deployment.yaml b/k8s/manager/index/deployment.yaml index cb7a62520f..b62616b65a 100644 --- a/k8s/manager/index/deployment.yaml +++ b/k8s/manager/index/deployment.yaml @@ -58,7 +58,7 @@ spec: spec: initContainers: - name: wait-for-agent - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always command: - /bin/sh @@ -70,7 +70,7 @@ spec: sleep 2; done - name: wait-for-discoverer - image: busybox:1.37.0 + image: busybox:1.38.0 imagePullPolicy: Always command: - /bin/sh diff --git a/k8s/manager/index/networkpolicy.yaml b/k8s/manager/index/networkpolicy.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/manager/index/networkpolicy.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/manager/index/serviceaccount.yaml b/k8s/manager/index/serviceaccount.yaml new file mode 100644 index 0000000000..60867a1156 --- /dev/null +++ b/k8s/manager/index/serviceaccount.yaml @@ -0,0 +1,16 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# + diff --git a/k8s/tests/v2/e2e/job.yaml b/k8s/tests/v2/e2e/job.yaml deleted file mode 100644 index 1408ff4575..0000000000 --- a/k8s/tests/v2/e2e/job.yaml +++ /dev/null @@ -1,81 +0,0 @@ -# -# Copyright (C) 2019-2026 vdaas.org vald team -# -# 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. -# -apiVersion: batch/v1 -kind: Job -metadata: - name: vald-e2e - namespace: default - labels: - app: vald-e2e - app.kubernetes.io/name: vald - app.kubernetes.io/instance: release-name - app.kubernetes.io/component: e2e -spec: - ttlSecondsAfterFinished: 100 - template: - metadata: - labels: - app: vald-e2e - app.kubernetes.io/name: vald - app.kubernetes.io/instance: release-name - app.kubernetes.io/component: e2e - spec: - restartPolicy: OnFailure - initContainers: - - name: download-dataset - image: busybox:1.37.0 - imagePullPolicy: Always - command: - - /bin/sh - - -e - - -c - - wget https://ann-benchmarks.com/fashion-mnist-784-euclidean.hdf5 -O /data/dataset.hdf5 - volumeMounts: - - name: dataset-volume - mountPath: /data - resources: - limits: - cpu: 400m - memory: 400Mi - requests: - cpu: 100m - memory: 200Mi - containers: - - name: e2e - image: ghcr.io/vdaas/vald/vald-e2e:latest - args: ["-config", "/etc/e2e/unary_crud.yaml"] - imagePullPolicy: Always - env: - - name: E2E_DATASET_PATH - value: "/data/dataset.hdf5" - volumeMounts: - - name: e2e-config-volume - mountPath: /etc/e2e - - name: dataset-volume - mountPath: /data - resources: - limits: - cpu: 2000m - memory: 1000Mi - requests: - cpu: 400m - memory: 400Mi - volumes: - - name: e2e-config-volume - configMap: - name: e2e-config - - name: dataset-volume - emptyDir: {} diff --git a/pkg/agent/core/faiss/config/config.go b/pkg/agent/core/faiss/config/config.go index 5aa6681233..0af846dbc2 100644 --- a/pkg/agent/core/faiss/config/config.go +++ b/pkg/agent/core/faiss/config/config.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config stores all server application settings for faiss agent package config diff --git a/pkg/agent/core/faiss/config/doc.go b/pkg/agent/core/faiss/config/doc.go index d8cfb15ad3..2e1feb72cd 100644 --- a/pkg/agent/core/faiss/config/doc.go +++ b/pkg/agent/core/faiss/config/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package setting stores all server application settings package config diff --git a/pkg/agent/core/faiss/handler/doc.go b/pkg/agent/core/faiss/handler/doc.go index e20e5b3d09..e02cbb75a2 100644 --- a/pkg/agent/core/faiss/handler/doc.go +++ b/pkg/agent/core/faiss/handler/doc.go @@ -1,17 +1,15 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package handler diff --git a/pkg/agent/core/faiss/handler/grpc/doc.go b/pkg/agent/core/faiss/handler/grpc/doc.go index d691dc1490..8a2af55a04 100644 --- a/pkg/agent/core/faiss/handler/grpc/doc.go +++ b/pkg/agent/core/faiss/handler/grpc/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package grpc provides grpc server logic package grpc diff --git a/pkg/agent/core/faiss/handler/grpc/handler.go b/pkg/agent/core/faiss/handler/grpc/handler.go index 066956322a..73854eee15 100644 --- a/pkg/agent/core/faiss/handler/grpc/handler.go +++ b/pkg/agent/core/faiss/handler/grpc/handler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/agent/core/faiss/handler/grpc/index.go b/pkg/agent/core/faiss/handler/grpc/index.go index 7640628e20..951ca69871 100644 --- a/pkg/agent/core/faiss/handler/grpc/index.go +++ b/pkg/agent/core/faiss/handler/grpc/index.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/agent/core/faiss/handler/grpc/insert.go b/pkg/agent/core/faiss/handler/grpc/insert.go index 9dfed1dfef..545d6c7b51 100644 --- a/pkg/agent/core/faiss/handler/grpc/insert.go +++ b/pkg/agent/core/faiss/handler/grpc/insert.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/agent/core/faiss/handler/grpc/linear_search.go b/pkg/agent/core/faiss/handler/grpc/linear_search.go index ca7d618b85..6e2c39ccaa 100644 --- a/pkg/agent/core/faiss/handler/grpc/linear_search.go +++ b/pkg/agent/core/faiss/handler/grpc/linear_search.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/agent/core/faiss/handler/grpc/object.go b/pkg/agent/core/faiss/handler/grpc/object.go index 5222adf156..6a5ed2286a 100644 --- a/pkg/agent/core/faiss/handler/grpc/object.go +++ b/pkg/agent/core/faiss/handler/grpc/object.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/agent/core/faiss/handler/grpc/option.go b/pkg/agent/core/faiss/handler/grpc/option.go index 9d0c2fa40c..97cab2bc02 100644 --- a/pkg/agent/core/faiss/handler/grpc/option.go +++ b/pkg/agent/core/faiss/handler/grpc/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/agent/core/faiss/handler/grpc/remove.go b/pkg/agent/core/faiss/handler/grpc/remove.go index 9b430e09cb..83e9efb91f 100644 --- a/pkg/agent/core/faiss/handler/grpc/remove.go +++ b/pkg/agent/core/faiss/handler/grpc/remove.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/agent/core/faiss/handler/grpc/search.go b/pkg/agent/core/faiss/handler/grpc/search.go index 1fb28a4d1f..730f452aa9 100644 --- a/pkg/agent/core/faiss/handler/grpc/search.go +++ b/pkg/agent/core/faiss/handler/grpc/search.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/agent/core/faiss/handler/grpc/update.go b/pkg/agent/core/faiss/handler/grpc/update.go index 70e75449ce..acea62cb09 100644 --- a/pkg/agent/core/faiss/handler/grpc/update.go +++ b/pkg/agent/core/faiss/handler/grpc/update.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/agent/core/faiss/handler/grpc/upsert.go b/pkg/agent/core/faiss/handler/grpc/upsert.go index fcfcc0a555..c1f21e258c 100644 --- a/pkg/agent/core/faiss/handler/grpc/upsert.go +++ b/pkg/agent/core/faiss/handler/grpc/upsert.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/agent/core/faiss/handler/rest/doc.go b/pkg/agent/core/faiss/handler/rest/doc.go index 1c1700dcc0..19b02527ec 100644 --- a/pkg/agent/core/faiss/handler/rest/doc.go +++ b/pkg/agent/core/faiss/handler/rest/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package rest provides rest api logic package rest diff --git a/pkg/agent/core/faiss/handler/rest/handler.go b/pkg/agent/core/faiss/handler/rest/handler.go index 87e0322662..ba54fc0187 100644 --- a/pkg/agent/core/faiss/handler/rest/handler.go +++ b/pkg/agent/core/faiss/handler/rest/handler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rest diff --git a/pkg/agent/core/faiss/handler/rest/option.go b/pkg/agent/core/faiss/handler/rest/option.go index eeaec17780..437b6d8a63 100644 --- a/pkg/agent/core/faiss/handler/rest/option.go +++ b/pkg/agent/core/faiss/handler/rest/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rest diff --git a/pkg/agent/core/faiss/model/doc.go b/pkg/agent/core/faiss/model/doc.go index 34e24749e8..b6354d5f0e 100644 --- a/pkg/agent/core/faiss/model/doc.go +++ b/pkg/agent/core/faiss/model/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package model defines object structure package model diff --git a/pkg/agent/core/faiss/model/faiss.go b/pkg/agent/core/faiss/model/faiss.go index 0ebe3b24a6..af43cadb07 100644 --- a/pkg/agent/core/faiss/model/faiss.go +++ b/pkg/agent/core/faiss/model/faiss.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package model diff --git a/pkg/agent/core/faiss/router/doc.go b/pkg/agent/core/faiss/router/doc.go index 330fe6f2ef..3a2bc3afb2 100644 --- a/pkg/agent/core/faiss/router/doc.go +++ b/pkg/agent/core/faiss/router/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package router provides implementation of Go API for routing http Handler wrapped by rest.Func package router diff --git a/pkg/agent/core/faiss/router/option.go b/pkg/agent/core/faiss/router/option.go index 64107af5bb..74c0d6e67f 100644 --- a/pkg/agent/core/faiss/router/option.go +++ b/pkg/agent/core/faiss/router/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package router diff --git a/pkg/agent/core/faiss/router/router.go b/pkg/agent/core/faiss/router/router.go index 9fbf6a9fad..13be6fb7e9 100644 --- a/pkg/agent/core/faiss/router/router.go +++ b/pkg/agent/core/faiss/router/router.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package router diff --git a/pkg/agent/core/faiss/service/doc.go b/pkg/agent/core/faiss/service/doc.go index adadcf3443..2974890982 100644 --- a/pkg/agent/core/faiss/service/doc.go +++ b/pkg/agent/core/faiss/service/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of server. package service diff --git a/pkg/agent/core/faiss/service/faiss.go b/pkg/agent/core/faiss/service/faiss.go index 22fb821501..59f67d666f 100644 --- a/pkg/agent/core/faiss/service/faiss.go +++ b/pkg/agent/core/faiss/service/faiss.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package service diff --git a/pkg/agent/core/faiss/service/option.go b/pkg/agent/core/faiss/service/option.go index 021ae1617e..4d4d550c95 100644 --- a/pkg/agent/core/faiss/service/option.go +++ b/pkg/agent/core/faiss/service/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package service diff --git a/pkg/agent/core/faiss/usecase/agentd.go b/pkg/agent/core/faiss/usecase/agentd.go index 97f120d41e..4ac498732b 100644 --- a/pkg/agent/core/faiss/usecase/agentd.go +++ b/pkg/agent/core/faiss/usecase/agentd.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package usecase diff --git a/pkg/agent/core/faiss/usecase/doc.go b/pkg/agent/core/faiss/usecase/doc.go index 1f658098ac..3c9d418172 100644 --- a/pkg/agent/core/faiss/usecase/doc.go +++ b/pkg/agent/core/faiss/usecase/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package usecase provides functionality for Vald. package usecase diff --git a/pkg/agent/core/ngt/config/config.go b/pkg/agent/core/ngt/config/config.go index 83f6391c38..b5e3dc2632 100644 --- a/pkg/agent/core/ngt/config/config.go +++ b/pkg/agent/core/ngt/config/config.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config stores all server application settings for ngt agent package config diff --git a/pkg/agent/core/ngt/config/config_test.go b/pkg/agent/core/ngt/config/config_test.go index 22d10ea234..4b820026bc 100644 --- a/pkg/agent/core/ngt/config/config_test.go +++ b/pkg/agent/core/ngt/config/config_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/pkg/agent/core/ngt/config/doc.go b/pkg/agent/core/ngt/config/doc.go index 1ba1a79c91..1e9dbfed94 100644 --- a/pkg/agent/core/ngt/config/doc.go +++ b/pkg/agent/core/ngt/config/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config stores all server application settings package config diff --git a/pkg/agent/core/ngt/handler/doc.go b/pkg/agent/core/ngt/handler/doc.go index e20e5b3d09..e02cbb75a2 100644 --- a/pkg/agent/core/ngt/handler/doc.go +++ b/pkg/agent/core/ngt/handler/doc.go @@ -1,17 +1,15 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package handler diff --git a/pkg/agent/core/ngt/handler/grpc/doc.go b/pkg/agent/core/ngt/handler/grpc/doc.go index d691dc1490..8a2af55a04 100644 --- a/pkg/agent/core/ngt/handler/grpc/doc.go +++ b/pkg/agent/core/ngt/handler/grpc/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package grpc provides grpc server logic package grpc diff --git a/pkg/agent/core/ngt/handler/grpc/handler.go b/pkg/agent/core/ngt/handler/grpc/handler.go index 912c354174..066e72fa6a 100644 --- a/pkg/agent/core/ngt/handler/grpc/handler.go +++ b/pkg/agent/core/ngt/handler/grpc/handler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/agent/core/ngt/handler/grpc/handler_test.go b/pkg/agent/core/ngt/handler/grpc/handler_test.go index 1ea31cf1c7..7450d178d0 100644 --- a/pkg/agent/core/ngt/handler/grpc/handler_test.go +++ b/pkg/agent/core/ngt/handler/grpc/handler_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/agent/core/ngt/handler/grpc/option.go b/pkg/agent/core/ngt/handler/grpc/option.go index 63298158b6..97d5ee1679 100644 --- a/pkg/agent/core/ngt/handler/grpc/option.go +++ b/pkg/agent/core/ngt/handler/grpc/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/agent/core/ngt/handler/grpc/option_test.go b/pkg/agent/core/ngt/handler/grpc/option_test.go index d8a3abbe77..c5ae3700a2 100644 --- a/pkg/agent/core/ngt/handler/grpc/option_test.go +++ b/pkg/agent/core/ngt/handler/grpc/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/agent/core/ngt/handler/grpc/remove.go b/pkg/agent/core/ngt/handler/grpc/remove.go index 1be7b70a2d..0da6db5c18 100644 --- a/pkg/agent/core/ngt/handler/grpc/remove.go +++ b/pkg/agent/core/ngt/handler/grpc/remove.go @@ -361,27 +361,27 @@ func timestampOpsFunc(ts []*payload.Remove_Timestamp) func(int64) bool { func timestampOpFunc(ts *payload.Remove_Timestamp) func(int64) bool { switch ts.GetOperator() { - case payload.Remove_Timestamp_Eq: + case payload.Remove_Timestamp_EQ: return func(t int64) bool { return ts.GetTimestamp() == t } - case payload.Remove_Timestamp_Ne: + case payload.Remove_Timestamp_NE: return func(t int64) bool { return ts.GetTimestamp() != t } - case payload.Remove_Timestamp_Ge: + case payload.Remove_Timestamp_GE: return func(t int64) bool { return ts.GetTimestamp() <= t } - case payload.Remove_Timestamp_Gt: + case payload.Remove_Timestamp_GT: return func(t int64) bool { return ts.GetTimestamp() < t } - case payload.Remove_Timestamp_Le: + case payload.Remove_Timestamp_LE: return func(t int64) bool { return ts.GetTimestamp() >= t } - case payload.Remove_Timestamp_Lt: + case payload.Remove_Timestamp_LT: return func(t int64) bool { return ts.GetTimestamp() > t } diff --git a/pkg/agent/core/ngt/handler/grpc/remove_test.go b/pkg/agent/core/ngt/handler/grpc/remove_test.go index 32a3de8663..717558092d 100644 --- a/pkg/agent/core/ngt/handler/grpc/remove_test.go +++ b/pkg/agent/core/ngt/handler/grpc/remove_test.go @@ -472,7 +472,7 @@ func Test_server_RemoveByTimestamp(t *testing.T) { Timestamps: []*payload.Remove_Timestamp{ { Timestamp: defaultTimestamp, - Operator: payload.Remove_Timestamp_Eq, + Operator: payload.Remove_Timestamp_EQ, }, }, }, @@ -489,7 +489,7 @@ func Test_server_RemoveByTimestamp(t *testing.T) { Timestamps: []*payload.Remove_Timestamp{ { Timestamp: defaultTimestamp, - Operator: payload.Remove_Timestamp_Ge, + Operator: payload.Remove_Timestamp_GE, }, }, }, @@ -506,11 +506,11 @@ func Test_server_RemoveByTimestamp(t *testing.T) { Timestamps: []*payload.Remove_Timestamp{ { Timestamp: defaultTimestamp, - Operator: payload.Remove_Timestamp_Gt, + Operator: payload.Remove_Timestamp_GT, }, { Timestamp: defaultTimestamp + 2, - Operator: payload.Remove_Timestamp_Lt, + Operator: payload.Remove_Timestamp_LT, }, }, }, @@ -548,7 +548,7 @@ func Test_server_RemoveByTimestamp(t *testing.T) { Timestamps: []*payload.Remove_Timestamp{ { Timestamp: defaultTimestamp, - Operator: payload.Remove_Timestamp_Le, + Operator: payload.Remove_Timestamp_LE, }, }, }, @@ -565,11 +565,11 @@ func Test_server_RemoveByTimestamp(t *testing.T) { Timestamps: []*payload.Remove_Timestamp{ { Timestamp: defaultTimestamp / 2, - Operator: payload.Remove_Timestamp_Gt, + Operator: payload.Remove_Timestamp_GT, }, { Timestamp: defaultTimestamp * 2, - Operator: payload.Remove_Timestamp_Lt, + Operator: payload.Remove_Timestamp_LT, }, }, }, @@ -586,7 +586,7 @@ func Test_server_RemoveByTimestamp(t *testing.T) { Timestamps: []*payload.Remove_Timestamp{ { Timestamp: defaultTimestamp * 2, - Operator: payload.Remove_Timestamp_Eq, + Operator: payload.Remove_Timestamp_EQ, }, }, }, @@ -602,7 +602,7 @@ func Test_server_RemoveByTimestamp(t *testing.T) { Timestamps: []*payload.Remove_Timestamp{ { Timestamp: defaultTimestamp * 2, - Operator: payload.Remove_Timestamp_Gt, + Operator: payload.Remove_Timestamp_GT, }, }, }, @@ -618,7 +618,7 @@ func Test_server_RemoveByTimestamp(t *testing.T) { Timestamps: []*payload.Remove_Timestamp{ { Timestamp: defaultTimestamp / 2, - Operator: payload.Remove_Timestamp_Lt, + Operator: payload.Remove_Timestamp_LT, }, }, }, @@ -699,7 +699,7 @@ func Test_timestampOpsFunc(t *testing.T) { ts: []*payload.Remove_Timestamp{ { Timestamp: 1000, - Operator: payload.Remove_Timestamp_Eq, + Operator: payload.Remove_Timestamp_EQ, }, }, }, @@ -714,11 +714,11 @@ func Test_timestampOpsFunc(t *testing.T) { ts: []*payload.Remove_Timestamp{ { Timestamp: 1000, - Operator: payload.Remove_Timestamp_Gt, + Operator: payload.Remove_Timestamp_GT, }, { Timestamp: 2000, - Operator: payload.Remove_Timestamp_Lt, + Operator: payload.Remove_Timestamp_LT, }, }, }, @@ -733,11 +733,11 @@ func Test_timestampOpsFunc(t *testing.T) { ts: []*payload.Remove_Timestamp{ { Timestamp: 1000, - Operator: payload.Remove_Timestamp_Gt, + Operator: payload.Remove_Timestamp_GT, }, { Timestamp: 2000, - Operator: payload.Remove_Timestamp_Lt, + Operator: payload.Remove_Timestamp_LT, }, }, }, @@ -800,7 +800,7 @@ func Test_timestampOpFunc(t *testing.T) { timestamp: 1000, ts: &payload.Remove_Timestamp{ Timestamp: 1000, - Operator: payload.Remove_Timestamp_Eq, + Operator: payload.Remove_Timestamp_EQ, }, }, want: want{ @@ -813,7 +813,7 @@ func Test_timestampOpFunc(t *testing.T) { timestamp: 1100, ts: &payload.Remove_Timestamp{ Timestamp: 1000, - Operator: payload.Remove_Timestamp_Ne, + Operator: payload.Remove_Timestamp_NE, }, }, want: want{ @@ -826,7 +826,7 @@ func Test_timestampOpFunc(t *testing.T) { timestamp: 1000, ts: &payload.Remove_Timestamp{ Timestamp: 1000, - Operator: payload.Remove_Timestamp_Ge, + Operator: payload.Remove_Timestamp_GE, }, }, want: want{ @@ -839,7 +839,7 @@ func Test_timestampOpFunc(t *testing.T) { timestamp: 1100, ts: &payload.Remove_Timestamp{ Timestamp: 1000, - Operator: payload.Remove_Timestamp_Gt, + Operator: payload.Remove_Timestamp_GT, }, }, want: want{ @@ -852,7 +852,7 @@ func Test_timestampOpFunc(t *testing.T) { timestamp: 1000, ts: &payload.Remove_Timestamp{ Timestamp: 1000, - Operator: payload.Remove_Timestamp_Le, + Operator: payload.Remove_Timestamp_LE, }, }, want: want{ @@ -865,7 +865,7 @@ func Test_timestampOpFunc(t *testing.T) { timestamp: 900, ts: &payload.Remove_Timestamp{ Timestamp: 1000, - Operator: payload.Remove_Timestamp_Lt, + Operator: payload.Remove_Timestamp_LT, }, }, want: want{ @@ -892,7 +892,7 @@ func Test_timestampOpFunc(t *testing.T) { timestamp: 1100, ts: &payload.Remove_Timestamp{ Timestamp: 1000, - Operator: payload.Remove_Timestamp_Eq, + Operator: payload.Remove_Timestamp_EQ, }, }, want: want{ @@ -905,7 +905,7 @@ func Test_timestampOpFunc(t *testing.T) { timestamp: 1000, ts: &payload.Remove_Timestamp{ Timestamp: 1000, - Operator: payload.Remove_Timestamp_Ne, + Operator: payload.Remove_Timestamp_NE, }, }, want: want{ @@ -918,7 +918,7 @@ func Test_timestampOpFunc(t *testing.T) { timestamp: 900, ts: &payload.Remove_Timestamp{ Timestamp: 1000, - Operator: payload.Remove_Timestamp_Ge, + Operator: payload.Remove_Timestamp_GE, }, }, want: want{ @@ -931,7 +931,7 @@ func Test_timestampOpFunc(t *testing.T) { timestamp: 900, ts: &payload.Remove_Timestamp{ Timestamp: 1000, - Operator: payload.Remove_Timestamp_Gt, + Operator: payload.Remove_Timestamp_GT, }, }, want: want{ @@ -944,7 +944,7 @@ func Test_timestampOpFunc(t *testing.T) { timestamp: 1100, ts: &payload.Remove_Timestamp{ Timestamp: 1000, - Operator: payload.Remove_Timestamp_Le, + Operator: payload.Remove_Timestamp_LE, }, }, want: want{ @@ -957,7 +957,7 @@ func Test_timestampOpFunc(t *testing.T) { timestamp: 1100, ts: &payload.Remove_Timestamp{ Timestamp: 1000, - Operator: payload.Remove_Timestamp_Lt, + Operator: payload.Remove_Timestamp_LT, }, }, want: want{ diff --git a/pkg/agent/core/ngt/handler/grpc/search_test.go b/pkg/agent/core/ngt/handler/grpc/search_test.go index 345e22aa55..14e4fe0b61 100644 --- a/pkg/agent/core/ngt/handler/grpc/search_test.go +++ b/pkg/agent/core/ngt/handler/grpc/search_test.go @@ -380,8 +380,8 @@ func Test_server_Search(t *testing.T) { ngtCfg: ngtConfig(defaultDimensionSize, ngt.Float.String()), }, want: want{ - resultSize: 0, - code: codes.NotFound, + resultSize: 10, + code: codes.OK, }, }, { diff --git a/pkg/agent/core/ngt/handler/rest/doc.go b/pkg/agent/core/ngt/handler/rest/doc.go index 1c1700dcc0..19b02527ec 100644 --- a/pkg/agent/core/ngt/handler/rest/doc.go +++ b/pkg/agent/core/ngt/handler/rest/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package rest provides rest api logic package rest diff --git a/pkg/agent/core/ngt/handler/rest/handler.go b/pkg/agent/core/ngt/handler/rest/handler.go index aa9995bebb..2faf24474b 100644 --- a/pkg/agent/core/ngt/handler/rest/handler.go +++ b/pkg/agent/core/ngt/handler/rest/handler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rest diff --git a/pkg/agent/core/ngt/handler/rest/option.go b/pkg/agent/core/ngt/handler/rest/option.go index aca31e2275..e025390ae3 100644 --- a/pkg/agent/core/ngt/handler/rest/option.go +++ b/pkg/agent/core/ngt/handler/rest/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rest diff --git a/pkg/agent/core/ngt/router/doc.go b/pkg/agent/core/ngt/router/doc.go index 330fe6f2ef..3a2bc3afb2 100644 --- a/pkg/agent/core/ngt/router/doc.go +++ b/pkg/agent/core/ngt/router/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package router provides implementation of Go API for routing http Handler wrapped by rest.Func package router diff --git a/pkg/agent/core/ngt/router/option.go b/pkg/agent/core/ngt/router/option.go index 59658508c7..40131ce240 100644 --- a/pkg/agent/core/ngt/router/option.go +++ b/pkg/agent/core/ngt/router/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package router diff --git a/pkg/agent/core/ngt/router/option_test.go b/pkg/agent/core/ngt/router/option_test.go index 3d15c8e052..0da3bb3217 100644 --- a/pkg/agent/core/ngt/router/option_test.go +++ b/pkg/agent/core/ngt/router/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package router diff --git a/pkg/agent/core/ngt/router/router.go b/pkg/agent/core/ngt/router/router.go index 7464f5c473..b6463ed23a 100644 --- a/pkg/agent/core/ngt/router/router.go +++ b/pkg/agent/core/ngt/router/router.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package router diff --git a/pkg/agent/core/ngt/router/router_test.go b/pkg/agent/core/ngt/router/router_test.go index 2e3d109ca3..d2c63f91c6 100644 --- a/pkg/agent/core/ngt/router/router_test.go +++ b/pkg/agent/core/ngt/router/router_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package router diff --git a/pkg/agent/core/ngt/service/doc.go b/pkg/agent/core/ngt/service/doc.go index adadcf3443..2974890982 100644 --- a/pkg/agent/core/ngt/service/doc.go +++ b/pkg/agent/core/ngt/service/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of server. package service diff --git a/pkg/agent/core/ngt/service/export_test.go b/pkg/agent/core/ngt/service/export_test.go index 12b793d754..08c6b05c45 100644 --- a/pkg/agent/core/ngt/service/export_test.go +++ b/pkg/agent/core/ngt/service/export_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package service diff --git a/pkg/agent/core/ngt/service/ngt.go b/pkg/agent/core/ngt/service/ngt.go index 4b211fb21e..43e3425c85 100644 --- a/pkg/agent/core/ngt/service/ngt.go +++ b/pkg/agent/core/ngt/service/ngt.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of server. package service diff --git a/pkg/agent/core/ngt/service/ngt_stateful_test.go b/pkg/agent/core/ngt/service/ngt_stateful_test.go index ad144dfce9..fef45022cb 100644 --- a/pkg/agent/core/ngt/service/ngt_stateful_test.go +++ b/pkg/agent/core/ngt/service/ngt_stateful_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of server. package service diff --git a/pkg/agent/core/ngt/service/ngt_test.go b/pkg/agent/core/ngt/service/ngt_test.go index acdae26740..0a45e76526 100644 --- a/pkg/agent/core/ngt/service/ngt_test.go +++ b/pkg/agent/core/ngt/service/ngt_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of server. package service diff --git a/pkg/agent/core/ngt/service/option.go b/pkg/agent/core/ngt/service/option.go index 84314a6453..9c973c6f25 100644 --- a/pkg/agent/core/ngt/service/option.go +++ b/pkg/agent/core/ngt/service/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package service diff --git a/pkg/agent/core/ngt/service/option_test.go b/pkg/agent/core/ngt/service/option_test.go index 11cf654ce6..180ea4756a 100644 --- a/pkg/agent/core/ngt/service/option_test.go +++ b/pkg/agent/core/ngt/service/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package service diff --git a/pkg/agent/core/ngt/usecase/agentd.go b/pkg/agent/core/ngt/usecase/agentd.go index 968823a638..27b7f2c2fb 100644 --- a/pkg/agent/core/ngt/usecase/agentd.go +++ b/pkg/agent/core/ngt/usecase/agentd.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package usecase diff --git a/pkg/agent/core/ngt/usecase/agentd_test.go b/pkg/agent/core/ngt/usecase/agentd_test.go index fe4b61b8a3..5efd7154e1 100644 --- a/pkg/agent/core/ngt/usecase/agentd_test.go +++ b/pkg/agent/core/ngt/usecase/agentd_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package usecase diff --git a/pkg/agent/core/ngt/usecase/doc.go b/pkg/agent/core/ngt/usecase/doc.go index 1f658098ac..3c9d418172 100644 --- a/pkg/agent/core/ngt/usecase/doc.go +++ b/pkg/agent/core/ngt/usecase/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package usecase provides functionality for Vald. package usecase diff --git a/pkg/agent/internal/kvs/doc.go b/pkg/agent/internal/kvs/doc.go index 4f570ecd37..b3deddb63e 100644 --- a/pkg/agent/internal/kvs/doc.go +++ b/pkg/agent/internal/kvs/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package kvs provides functionality for Vald. package kvs diff --git a/pkg/agent/internal/kvs/kvs.go b/pkg/agent/internal/kvs/kvs.go index f1777a2f98..c30292e55b 100644 --- a/pkg/agent/internal/kvs/kvs.go +++ b/pkg/agent/internal/kvs/kvs.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package kvs diff --git a/pkg/agent/internal/kvs/kvs_test.go b/pkg/agent/internal/kvs/kvs_test.go index 0d496623cb..ceda8eec7b 100644 --- a/pkg/agent/internal/kvs/kvs_test.go +++ b/pkg/agent/internal/kvs/kvs_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package kvs diff --git a/pkg/agent/internal/kvs/option.go b/pkg/agent/internal/kvs/option.go index 945fa60d50..b449f31d5e 100644 --- a/pkg/agent/internal/kvs/option.go +++ b/pkg/agent/internal/kvs/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package kvs diff --git a/pkg/agent/internal/kvs/option_test.go b/pkg/agent/internal/kvs/option_test.go deleted file mode 100644 index c3836bcae4..0000000000 --- a/pkg/agent/internal/kvs/option_test.go +++ /dev/null @@ -1,149 +0,0 @@ -// -// Copyright (C) 2019-2026 vdaas.org vald team -// -// 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. -// - -package kvs - -// NOT IMPLEMENTED BELOW -// -// func TestWithConcurrency(t *testing.T) { -// // Change interface type to the type of object you are testing -// type T = any -// type args struct { -// c int -// } -// type want struct { -// obj *T -// // Uncomment this line if the option returns an error, otherwise delete it -// // err error -// } -// type test struct { -// name string -// args args -// want want -// // Use the first line if the option returns an error. otherwise use the second line -// // checkFunc func(want, *T, error) error -// // checkFunc func(want, *T) error -// beforeFunc func(*testing.T, args) -// afterFunc func(*testing.T, args) -// } -// -// // Uncomment this block if the option returns an error, otherwise delete it -// /* -// defaultCheckFunc := func(w want, obj *T, err error) error { -// if !errors.Is(err, w.err) { -// return errors.Errorf("got_error: \"%#v\",\n\t\t\t\twant: \"%#v\"", err, w.err) -// } -// if !reflect.DeepEqual(obj, w.obj) { -// return errors.Errorf("got: \"%#v\",\n\t\t\t\twant: \"%#v\"", obj, w.obj) -// } -// return nil -// } -// */ -// -// // Uncomment this block if the option do not returns an error, otherwise delete it -// /* -// defaultCheckFunc := func(w want, obj *T) error { -// if !reflect.DeepEqual(obj, w.obj) { -// return errors.Errorf("got: \"%#v\",\n\t\t\t\twant: \"%#v\"", obj, w.obj) -// } -// return nil -// } -// */ -// -// tests := []test{ -// // TODO test cases -// /* -// { -// name: "test_case_1", -// args: args { -// c:0, -// }, -// want: want { -// obj: new(T), -// }, -// beforeFunc: func(t *testing.T, args args) { -// t.Helper() -// }, -// afterFunc: func(t *testing.T, args args) { -// t.Helper() -// }, -// }, -// */ -// -// // TODO test cases -// /* -// func() test { -// return test { -// name: "test_case_2", -// args: args { -// c:0, -// }, -// want: want { -// obj: new(T), -// }, -// beforeFunc: func(t *testing.T, args args) { -// t.Helper() -// }, -// afterFunc: func(t *testing.T, args args) { -// t.Helper() -// }, -// } -// }(), -// */ -// } -// -// for _, tc := range tests { -// test := tc -// t.Run(test.name, func(tt *testing.T) { -// tt.Parallel() -// defer goleak.VerifyNone(tt, goleak.IgnoreCurrent()) -// if test.beforeFunc != nil { -// test.beforeFunc(tt, test.args) -// } -// if test.afterFunc != nil { -// defer test.afterFunc(tt, test.args) -// } -// -// // Uncomment this block if the option returns an error, otherwise delete it -// /* -// checkFunc := test.checkFunc -// if test.checkFunc == nil { -// checkFunc = defaultCheckFunc -// } -// -// got := WithConcurrency(test.args.c) -// obj := new(T) -// if err := checkFunc(test.want, obj, got(obj)); err != nil { -// tt.Errorf("error = %v", err) -// } -// */ -// -// // Uncomment this block if the option do not return an error, otherwise delete it -// /* -// checkFunc := test.checkFunc -// if test.checkFunc == nil { -// checkFunc = defaultCheckFunc -// } -// got := WithConcurrency(test.args.c) -// obj := new(T) -// got(obj) -// if err := checkFunc(test.want, obj); err != nil { -// tt.Errorf("error = %v", err) -// } -// */ -// }) -// } -// } diff --git a/pkg/agent/internal/memstore/data_manager.go b/pkg/agent/internal/memstore/data_manager.go index df2c2c0ea4..db14d98db0 100644 --- a/pkg/agent/internal/memstore/data_manager.go +++ b/pkg/agent/internal/memstore/data_manager.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package memstore diff --git a/pkg/agent/internal/memstore/doc.go b/pkg/agent/internal/memstore/doc.go index 355609bd42..49041552f2 100644 --- a/pkg/agent/internal/memstore/doc.go +++ b/pkg/agent/internal/memstore/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package memstore provides functionality for Vald. package memstore diff --git a/pkg/agent/internal/metadata/doc.go b/pkg/agent/internal/metadata/doc.go index 86426d9cc0..5d987cb426 100644 --- a/pkg/agent/internal/metadata/doc.go +++ b/pkg/agent/internal/metadata/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package metadata provides agent metadata structs and info. package metadata diff --git a/pkg/agent/internal/metadata/metadata.go b/pkg/agent/internal/metadata/metadata.go index a8f35ef7f3..e3acdc8334 100644 --- a/pkg/agent/internal/metadata/metadata.go +++ b/pkg/agent/internal/metadata/metadata.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package metadata diff --git a/pkg/agent/internal/metadata/metadata_test.go b/pkg/agent/internal/metadata/metadata_test.go index 88fc2c3c1a..262e963d96 100644 --- a/pkg/agent/internal/metadata/metadata_test.go +++ b/pkg/agent/internal/metadata/metadata_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package metadata diff --git a/pkg/agent/internal/vqueue/doc.go b/pkg/agent/internal/vqueue/doc.go index 01eecf2a7c..3d5d4c20f3 100644 --- a/pkg/agent/internal/vqueue/doc.go +++ b/pkg/agent/internal/vqueue/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package vqueue manages the vector cache layer for reducing FFI overhead for fast Agent processing. package vqueue diff --git a/pkg/agent/internal/vqueue/option.go b/pkg/agent/internal/vqueue/option.go index 43096a2ca8..029587af20 100644 --- a/pkg/agent/internal/vqueue/option.go +++ b/pkg/agent/internal/vqueue/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package vqueue diff --git a/pkg/agent/internal/vqueue/queue.go b/pkg/agent/internal/vqueue/queue.go index 39a2b67a2b..d6fefc024b 100644 --- a/pkg/agent/internal/vqueue/queue.go +++ b/pkg/agent/internal/vqueue/queue.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package vqueue diff --git a/pkg/agent/internal/vqueue/queue_test.go b/pkg/agent/internal/vqueue/queue_test.go index da662d9525..83ad53b9b4 100644 --- a/pkg/agent/internal/vqueue/queue_test.go +++ b/pkg/agent/internal/vqueue/queue_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package vqueue diff --git a/pkg/agent/internal/vqueue/stateful_test.go b/pkg/agent/internal/vqueue/stateful_test.go index 3caf28e764..9d04549032 100644 --- a/pkg/agent/internal/vqueue/stateful_test.go +++ b/pkg/agent/internal/vqueue/stateful_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package vqueue diff --git a/pkg/agent/sidecar/config/config.go b/pkg/agent/sidecar/config/config.go index 5b7d39750e..b6111b3eaa 100644 --- a/pkg/agent/sidecar/config/config.go +++ b/pkg/agent/sidecar/config/config.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config stores all server application settings for agent sidecar package config diff --git a/pkg/agent/sidecar/config/config_test.go b/pkg/agent/sidecar/config/config_test.go index e90ca6e2e1..0d4729cdf7 100644 --- a/pkg/agent/sidecar/config/config_test.go +++ b/pkg/agent/sidecar/config/config_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/pkg/agent/sidecar/config/doc.go b/pkg/agent/sidecar/config/doc.go index 1ba1a79c91..1e9dbfed94 100644 --- a/pkg/agent/sidecar/config/doc.go +++ b/pkg/agent/sidecar/config/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config stores all server application settings package config diff --git a/pkg/agent/sidecar/handler/doc.go b/pkg/agent/sidecar/handler/doc.go index e20e5b3d09..e02cbb75a2 100644 --- a/pkg/agent/sidecar/handler/doc.go +++ b/pkg/agent/sidecar/handler/doc.go @@ -1,17 +1,15 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package handler diff --git a/pkg/agent/sidecar/handler/grpc/doc.go b/pkg/agent/sidecar/handler/grpc/doc.go index d691dc1490..8a2af55a04 100644 --- a/pkg/agent/sidecar/handler/grpc/doc.go +++ b/pkg/agent/sidecar/handler/grpc/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package grpc provides grpc server logic package grpc diff --git a/pkg/agent/sidecar/handler/grpc/handler.go b/pkg/agent/sidecar/handler/grpc/handler.go index 6686eee3f9..3c09cb7916 100644 --- a/pkg/agent/sidecar/handler/grpc/handler.go +++ b/pkg/agent/sidecar/handler/grpc/handler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/agent/sidecar/handler/grpc/handler_test.go b/pkg/agent/sidecar/handler/grpc/handler_test.go index 42387b454b..731118f06d 100644 --- a/pkg/agent/sidecar/handler/grpc/handler_test.go +++ b/pkg/agent/sidecar/handler/grpc/handler_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/agent/sidecar/handler/grpc/option.go b/pkg/agent/sidecar/handler/grpc/option.go index b4727c96e7..74b1da2982 100644 --- a/pkg/agent/sidecar/handler/grpc/option.go +++ b/pkg/agent/sidecar/handler/grpc/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/agent/sidecar/handler/grpc/option_test.go b/pkg/agent/sidecar/handler/grpc/option_test.go index 5ede0ed7a0..507c119687 100644 --- a/pkg/agent/sidecar/handler/grpc/option_test.go +++ b/pkg/agent/sidecar/handler/grpc/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/agent/sidecar/handler/rest/doc.go b/pkg/agent/sidecar/handler/rest/doc.go index 1c1700dcc0..19b02527ec 100644 --- a/pkg/agent/sidecar/handler/rest/doc.go +++ b/pkg/agent/sidecar/handler/rest/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package rest provides rest api logic package rest diff --git a/pkg/agent/sidecar/handler/rest/handler.go b/pkg/agent/sidecar/handler/rest/handler.go index 065d70837e..a667fd39ef 100644 --- a/pkg/agent/sidecar/handler/rest/handler.go +++ b/pkg/agent/sidecar/handler/rest/handler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rest diff --git a/pkg/agent/sidecar/handler/rest/option.go b/pkg/agent/sidecar/handler/rest/option.go index e7f0379516..36af3f9649 100644 --- a/pkg/agent/sidecar/handler/rest/option.go +++ b/pkg/agent/sidecar/handler/rest/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rest diff --git a/pkg/agent/sidecar/router/doc.go b/pkg/agent/sidecar/router/doc.go index 330fe6f2ef..3a2bc3afb2 100644 --- a/pkg/agent/sidecar/router/doc.go +++ b/pkg/agent/sidecar/router/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package router provides implementation of Go API for routing http Handler wrapped by rest.Func package router diff --git a/pkg/agent/sidecar/router/option.go b/pkg/agent/sidecar/router/option.go index b44242f191..2cdd02c513 100644 --- a/pkg/agent/sidecar/router/option.go +++ b/pkg/agent/sidecar/router/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package router diff --git a/pkg/agent/sidecar/router/router.go b/pkg/agent/sidecar/router/router.go index db45bfe9b3..43484eaf4d 100644 --- a/pkg/agent/sidecar/router/router.go +++ b/pkg/agent/sidecar/router/router.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package router diff --git a/pkg/agent/sidecar/service/doc.go b/pkg/agent/sidecar/service/doc.go index adadcf3443..2974890982 100644 --- a/pkg/agent/sidecar/service/doc.go +++ b/pkg/agent/sidecar/service/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of server. package service diff --git a/pkg/agent/sidecar/service/observer/doc.go b/pkg/agent/sidecar/service/observer/doc.go index 36437a8fdc..57a2a34309 100644 --- a/pkg/agent/sidecar/service/observer/doc.go +++ b/pkg/agent/sidecar/service/observer/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package observer provides storage observer package observer diff --git a/pkg/agent/sidecar/service/observer/hook.go b/pkg/agent/sidecar/service/observer/hook.go index b10e690647..9b8cb4d1d7 100644 --- a/pkg/agent/sidecar/service/observer/hook.go +++ b/pkg/agent/sidecar/service/observer/hook.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package observer diff --git a/pkg/agent/sidecar/service/observer/observer.go b/pkg/agent/sidecar/service/observer/observer.go index d109618915..84b8701eac 100644 --- a/pkg/agent/sidecar/service/observer/observer.go +++ b/pkg/agent/sidecar/service/observer/observer.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package observer diff --git a/pkg/agent/sidecar/service/observer/observer_test.go b/pkg/agent/sidecar/service/observer/observer_test.go index f87a97f338..f6a16d593f 100644 --- a/pkg/agent/sidecar/service/observer/observer_test.go +++ b/pkg/agent/sidecar/service/observer/observer_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package observer diff --git a/pkg/agent/sidecar/service/observer/option.go b/pkg/agent/sidecar/service/observer/option.go index 404b36d798..3a6ed9985e 100644 --- a/pkg/agent/sidecar/service/observer/option.go +++ b/pkg/agent/sidecar/service/observer/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package observer diff --git a/pkg/agent/sidecar/service/observer/option_test.go b/pkg/agent/sidecar/service/observer/option_test.go index 0efbc36005..a0c6f78ee8 100644 --- a/pkg/agent/sidecar/service/observer/option_test.go +++ b/pkg/agent/sidecar/service/observer/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package observer diff --git a/pkg/agent/sidecar/service/restorer/doc.go b/pkg/agent/sidecar/service/restorer/doc.go index 3a2d7aa76d..0bc3be4654 100644 --- a/pkg/agent/sidecar/service/restorer/doc.go +++ b/pkg/agent/sidecar/service/restorer/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package restorer provides restorer service package restorer diff --git a/pkg/agent/sidecar/service/restorer/option.go b/pkg/agent/sidecar/service/restorer/option.go index ce9d424af7..f756e3fb49 100644 --- a/pkg/agent/sidecar/service/restorer/option.go +++ b/pkg/agent/sidecar/service/restorer/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package restorer diff --git a/pkg/agent/sidecar/service/restorer/option_test.go b/pkg/agent/sidecar/service/restorer/option_test.go index 9b466a7631..b1ae478279 100644 --- a/pkg/agent/sidecar/service/restorer/option_test.go +++ b/pkg/agent/sidecar/service/restorer/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package restorer diff --git a/pkg/agent/sidecar/service/restorer/restorer.go b/pkg/agent/sidecar/service/restorer/restorer.go index 75f6365919..3950064bae 100644 --- a/pkg/agent/sidecar/service/restorer/restorer.go +++ b/pkg/agent/sidecar/service/restorer/restorer.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package restorer diff --git a/pkg/agent/sidecar/service/restorer/restorer_test.go b/pkg/agent/sidecar/service/restorer/restorer_test.go index a10c9fa621..f7192c66d6 100644 --- a/pkg/agent/sidecar/service/restorer/restorer_test.go +++ b/pkg/agent/sidecar/service/restorer/restorer_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package restorer diff --git a/pkg/agent/sidecar/service/storage/doc.go b/pkg/agent/sidecar/service/storage/doc.go index fa8fd8db28..b8a0ef3161 100644 --- a/pkg/agent/sidecar/service/storage/doc.go +++ b/pkg/agent/sidecar/service/storage/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package storage provides blob storage service package storage diff --git a/pkg/agent/sidecar/service/storage/info.go b/pkg/agent/sidecar/service/storage/info.go index 75e57049cc..9ca3334cc5 100644 --- a/pkg/agent/sidecar/service/storage/info.go +++ b/pkg/agent/sidecar/service/storage/info.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package storage diff --git a/pkg/agent/sidecar/service/storage/option.go b/pkg/agent/sidecar/service/storage/option.go index a41c463a90..06bc5b448c 100644 --- a/pkg/agent/sidecar/service/storage/option.go +++ b/pkg/agent/sidecar/service/storage/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package storage diff --git a/pkg/agent/sidecar/service/storage/option_test.go b/pkg/agent/sidecar/service/storage/option_test.go index a73962171b..4025811ce7 100644 --- a/pkg/agent/sidecar/service/storage/option_test.go +++ b/pkg/agent/sidecar/service/storage/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package storage diff --git a/pkg/agent/sidecar/service/storage/storage.go b/pkg/agent/sidecar/service/storage/storage.go index 58106f9338..15ce269740 100644 --- a/pkg/agent/sidecar/service/storage/storage.go +++ b/pkg/agent/sidecar/service/storage/storage.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package storage diff --git a/pkg/agent/sidecar/service/storage/storage_test.go b/pkg/agent/sidecar/service/storage/storage_test.go index 2fb3087335..25f3d2c6c0 100644 --- a/pkg/agent/sidecar/service/storage/storage_test.go +++ b/pkg/agent/sidecar/service/storage/storage_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package storage diff --git a/pkg/agent/sidecar/usecase/doc.go b/pkg/agent/sidecar/usecase/doc.go index 1f658098ac..3c9d418172 100644 --- a/pkg/agent/sidecar/usecase/doc.go +++ b/pkg/agent/sidecar/usecase/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package usecase provides functionality for Vald. package usecase diff --git a/pkg/agent/sidecar/usecase/initcontainer/doc.go b/pkg/agent/sidecar/usecase/initcontainer/doc.go index 837e94ed55..529e7f7a32 100644 --- a/pkg/agent/sidecar/usecase/initcontainer/doc.go +++ b/pkg/agent/sidecar/usecase/initcontainer/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package initcontainer provides functionality for Vald. package initcontainer diff --git a/pkg/agent/sidecar/usecase/initcontainer/initcontainer.go b/pkg/agent/sidecar/usecase/initcontainer/initcontainer.go index 4c34427973..bb531f3b75 100644 --- a/pkg/agent/sidecar/usecase/initcontainer/initcontainer.go +++ b/pkg/agent/sidecar/usecase/initcontainer/initcontainer.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package initcontainer diff --git a/pkg/agent/sidecar/usecase/initcontainer/initcontainer_test.go b/pkg/agent/sidecar/usecase/initcontainer/initcontainer_test.go index e25648a7a5..9d154b1704 100644 --- a/pkg/agent/sidecar/usecase/initcontainer/initcontainer_test.go +++ b/pkg/agent/sidecar/usecase/initcontainer/initcontainer_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package initcontainer diff --git a/pkg/agent/sidecar/usecase/sidecar/doc.go b/pkg/agent/sidecar/usecase/sidecar/doc.go index e727755f78..e322d7a5cf 100644 --- a/pkg/agent/sidecar/usecase/sidecar/doc.go +++ b/pkg/agent/sidecar/usecase/sidecar/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package sidecar provides functionality for Vald. package sidecar diff --git a/pkg/agent/sidecar/usecase/sidecar/sidecar.go b/pkg/agent/sidecar/usecase/sidecar/sidecar.go index 28903caeda..3ce6a48260 100644 --- a/pkg/agent/sidecar/usecase/sidecar/sidecar.go +++ b/pkg/agent/sidecar/usecase/sidecar/sidecar.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package sidecar diff --git a/pkg/agent/sidecar/usecase/sidecar/sidecar_test.go b/pkg/agent/sidecar/usecase/sidecar/sidecar_test.go index 626473ff8d..88b29a0a9c 100644 --- a/pkg/agent/sidecar/usecase/sidecar/sidecar_test.go +++ b/pkg/agent/sidecar/usecase/sidecar/sidecar_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package sidecar diff --git a/pkg/agent/sidecar/usecase/sidecard.go b/pkg/agent/sidecar/usecase/sidecard.go index d010e24a5c..4ae9f66c24 100644 --- a/pkg/agent/sidecar/usecase/sidecard.go +++ b/pkg/agent/sidecar/usecase/sidecard.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package usecase diff --git a/pkg/agent/sidecar/usecase/sidecard_test.go b/pkg/agent/sidecar/usecase/sidecard_test.go index 60d76dad29..aa7e1a8a9a 100644 --- a/pkg/agent/sidecar/usecase/sidecard_test.go +++ b/pkg/agent/sidecar/usecase/sidecard_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package usecase diff --git a/pkg/discoverer/k8s/config/config.go b/pkg/discoverer/k8s/config/config.go index bd3e2bc0ba..15359ff8e8 100644 --- a/pkg/discoverer/k8s/config/config.go +++ b/pkg/discoverer/k8s/config/config.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config stores all server application settings for k8s discoverer package config diff --git a/pkg/discoverer/k8s/config/config_test.go b/pkg/discoverer/k8s/config/config_test.go index ddde0951b3..ebde562c7b 100644 --- a/pkg/discoverer/k8s/config/config_test.go +++ b/pkg/discoverer/k8s/config/config_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/pkg/discoverer/k8s/config/doc.go b/pkg/discoverer/k8s/config/doc.go index 1ba1a79c91..1e9dbfed94 100644 --- a/pkg/discoverer/k8s/config/doc.go +++ b/pkg/discoverer/k8s/config/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config stores all server application settings package config diff --git a/pkg/discoverer/k8s/handler/doc.go b/pkg/discoverer/k8s/handler/doc.go index e20e5b3d09..e02cbb75a2 100644 --- a/pkg/discoverer/k8s/handler/doc.go +++ b/pkg/discoverer/k8s/handler/doc.go @@ -1,17 +1,15 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package handler diff --git a/pkg/discoverer/k8s/handler/grpc/doc.go b/pkg/discoverer/k8s/handler/grpc/doc.go index d691dc1490..8a2af55a04 100644 --- a/pkg/discoverer/k8s/handler/grpc/doc.go +++ b/pkg/discoverer/k8s/handler/grpc/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package grpc provides grpc server logic package grpc diff --git a/pkg/discoverer/k8s/handler/grpc/handler.go b/pkg/discoverer/k8s/handler/grpc/handler.go index d0897bb5e9..92e01fa304 100644 --- a/pkg/discoverer/k8s/handler/grpc/handler.go +++ b/pkg/discoverer/k8s/handler/grpc/handler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/discoverer/k8s/handler/grpc/handler_test.go b/pkg/discoverer/k8s/handler/grpc/handler_test.go index 342badbc12..363b01b8f1 100644 --- a/pkg/discoverer/k8s/handler/grpc/handler_test.go +++ b/pkg/discoverer/k8s/handler/grpc/handler_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/discoverer/k8s/handler/grpc/option.go b/pkg/discoverer/k8s/handler/grpc/option.go index 87995c01c2..4979e8aa24 100644 --- a/pkg/discoverer/k8s/handler/grpc/option.go +++ b/pkg/discoverer/k8s/handler/grpc/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/discoverer/k8s/handler/grpc/option_test.go b/pkg/discoverer/k8s/handler/grpc/option_test.go index d832cf33ae..98f5269abe 100644 --- a/pkg/discoverer/k8s/handler/grpc/option_test.go +++ b/pkg/discoverer/k8s/handler/grpc/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/discoverer/k8s/handler/rest/doc.go b/pkg/discoverer/k8s/handler/rest/doc.go index 1c1700dcc0..19b02527ec 100644 --- a/pkg/discoverer/k8s/handler/rest/doc.go +++ b/pkg/discoverer/k8s/handler/rest/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package rest provides rest api logic package rest diff --git a/pkg/discoverer/k8s/handler/rest/handler.go b/pkg/discoverer/k8s/handler/rest/handler.go index ce6db3b9b1..1fdaad7d94 100644 --- a/pkg/discoverer/k8s/handler/rest/handler.go +++ b/pkg/discoverer/k8s/handler/rest/handler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rest diff --git a/pkg/discoverer/k8s/handler/rest/option.go b/pkg/discoverer/k8s/handler/rest/option.go index 551f1b0e82..db18497fb3 100644 --- a/pkg/discoverer/k8s/handler/rest/option.go +++ b/pkg/discoverer/k8s/handler/rest/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rest diff --git a/pkg/discoverer/k8s/router/doc.go b/pkg/discoverer/k8s/router/doc.go index 330fe6f2ef..3a2bc3afb2 100644 --- a/pkg/discoverer/k8s/router/doc.go +++ b/pkg/discoverer/k8s/router/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package router provides implementation of Go API for routing http Handler wrapped by rest.Func package router diff --git a/pkg/discoverer/k8s/router/option.go b/pkg/discoverer/k8s/router/option.go index 8c17bb88b6..5dad4ee023 100644 --- a/pkg/discoverer/k8s/router/option.go +++ b/pkg/discoverer/k8s/router/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package router diff --git a/pkg/discoverer/k8s/router/router.go b/pkg/discoverer/k8s/router/router.go index 826bfdc428..d15517cdae 100644 --- a/pkg/discoverer/k8s/router/router.go +++ b/pkg/discoverer/k8s/router/router.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package router diff --git a/pkg/discoverer/k8s/service/discover.go b/pkg/discoverer/k8s/service/discover.go index 2e573566f3..bf61ed1432 100644 --- a/pkg/discoverer/k8s/service/discover.go +++ b/pkg/discoverer/k8s/service/discover.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of server. package service diff --git a/pkg/discoverer/k8s/service/discover_test.go b/pkg/discoverer/k8s/service/discover_test.go index ada7c8c3b9..4ce618395d 100644 --- a/pkg/discoverer/k8s/service/discover_test.go +++ b/pkg/discoverer/k8s/service/discover_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of server. package service diff --git a/pkg/discoverer/k8s/service/doc.go b/pkg/discoverer/k8s/service/doc.go index adadcf3443..2974890982 100644 --- a/pkg/discoverer/k8s/service/doc.go +++ b/pkg/discoverer/k8s/service/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of server. package service diff --git a/pkg/discoverer/k8s/service/option.go b/pkg/discoverer/k8s/service/option.go index 5a0fb933a3..ea60e1f181 100644 --- a/pkg/discoverer/k8s/service/option.go +++ b/pkg/discoverer/k8s/service/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service package service diff --git a/pkg/discoverer/k8s/service/option_test.go b/pkg/discoverer/k8s/service/option_test.go index 153a562319..0274c3d892 100644 --- a/pkg/discoverer/k8s/service/option_test.go +++ b/pkg/discoverer/k8s/service/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service package service diff --git a/pkg/discoverer/k8s/usecase/discovered.go b/pkg/discoverer/k8s/usecase/discovered.go index bb8038bb71..fe1a22af17 100644 --- a/pkg/discoverer/k8s/usecase/discovered.go +++ b/pkg/discoverer/k8s/usecase/discovered.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package usecase diff --git a/pkg/discoverer/k8s/usecase/discovered_test.go b/pkg/discoverer/k8s/usecase/discovered_test.go index b13be61b33..a5e6188e4d 100644 --- a/pkg/discoverer/k8s/usecase/discovered_test.go +++ b/pkg/discoverer/k8s/usecase/discovered_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package usecase diff --git a/pkg/discoverer/k8s/usecase/doc.go b/pkg/discoverer/k8s/usecase/doc.go index 1f658098ac..3c9d418172 100644 --- a/pkg/discoverer/k8s/usecase/doc.go +++ b/pkg/discoverer/k8s/usecase/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package usecase provides functionality for Vald. package usecase diff --git a/pkg/gateway/filter/config/config.go b/pkg/gateway/filter/config/config.go index 3ef89b7aa2..d3570aa3bd 100644 --- a/pkg/gateway/filter/config/config.go +++ b/pkg/gateway/filter/config/config.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config stores all server application settings for filter gateway package config diff --git a/pkg/gateway/filter/config/config_test.go b/pkg/gateway/filter/config/config_test.go index ddde0951b3..ebde562c7b 100644 --- a/pkg/gateway/filter/config/config_test.go +++ b/pkg/gateway/filter/config/config_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/pkg/gateway/filter/config/doc.go b/pkg/gateway/filter/config/doc.go index 1ba1a79c91..1e9dbfed94 100644 --- a/pkg/gateway/filter/config/doc.go +++ b/pkg/gateway/filter/config/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config stores all server application settings package config diff --git a/pkg/gateway/filter/handler/doc.go b/pkg/gateway/filter/handler/doc.go index e20e5b3d09..e02cbb75a2 100644 --- a/pkg/gateway/filter/handler/doc.go +++ b/pkg/gateway/filter/handler/doc.go @@ -1,17 +1,15 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package handler diff --git a/pkg/gateway/filter/handler/grpc/doc.go b/pkg/gateway/filter/handler/grpc/doc.go index d691dc1490..8a2af55a04 100644 --- a/pkg/gateway/filter/handler/grpc/doc.go +++ b/pkg/gateway/filter/handler/grpc/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package grpc provides grpc server logic package grpc diff --git a/pkg/gateway/filter/handler/grpc/handler.go b/pkg/gateway/filter/handler/grpc/handler.go index f4f77fdbe8..4e72126fe3 100644 --- a/pkg/gateway/filter/handler/grpc/handler.go +++ b/pkg/gateway/filter/handler/grpc/handler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/gateway/filter/handler/grpc/handler_test.go b/pkg/gateway/filter/handler/grpc/handler_test.go index 716098725f..c6a51558ca 100644 --- a/pkg/gateway/filter/handler/grpc/handler_test.go +++ b/pkg/gateway/filter/handler/grpc/handler_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/gateway/filter/handler/grpc/option.go b/pkg/gateway/filter/handler/grpc/option.go index 326526e068..abe5e3e4f4 100644 --- a/pkg/gateway/filter/handler/grpc/option.go +++ b/pkg/gateway/filter/handler/grpc/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/gateway/filter/handler/grpc/option_test.go b/pkg/gateway/filter/handler/grpc/option_test.go index d4f3c67077..820b7503c8 100644 --- a/pkg/gateway/filter/handler/grpc/option_test.go +++ b/pkg/gateway/filter/handler/grpc/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/gateway/filter/handler/rest/doc.go b/pkg/gateway/filter/handler/rest/doc.go index 1c1700dcc0..19b02527ec 100644 --- a/pkg/gateway/filter/handler/rest/doc.go +++ b/pkg/gateway/filter/handler/rest/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package rest provides rest api logic package rest diff --git a/pkg/gateway/filter/handler/rest/handler.go b/pkg/gateway/filter/handler/rest/handler.go index 5f99b1a74a..83b47be2bc 100644 --- a/pkg/gateway/filter/handler/rest/handler.go +++ b/pkg/gateway/filter/handler/rest/handler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rest diff --git a/pkg/gateway/filter/handler/rest/option.go b/pkg/gateway/filter/handler/rest/option.go index 1c3594a85e..1b151704c1 100644 --- a/pkg/gateway/filter/handler/rest/option.go +++ b/pkg/gateway/filter/handler/rest/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rest diff --git a/pkg/gateway/filter/router/doc.go b/pkg/gateway/filter/router/doc.go index 330fe6f2ef..3a2bc3afb2 100644 --- a/pkg/gateway/filter/router/doc.go +++ b/pkg/gateway/filter/router/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package router provides implementation of Go API for routing http Handler wrapped by rest.Func package router diff --git a/pkg/gateway/filter/router/option.go b/pkg/gateway/filter/router/option.go index 206b7f54b1..399a329e62 100644 --- a/pkg/gateway/filter/router/option.go +++ b/pkg/gateway/filter/router/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package router diff --git a/pkg/gateway/filter/router/router.go b/pkg/gateway/filter/router/router.go index 104c55a340..d6dd20985e 100644 --- a/pkg/gateway/filter/router/router.go +++ b/pkg/gateway/filter/router/router.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package router diff --git a/pkg/gateway/filter/usecase/doc.go b/pkg/gateway/filter/usecase/doc.go index 1f658098ac..3c9d418172 100644 --- a/pkg/gateway/filter/usecase/doc.go +++ b/pkg/gateway/filter/usecase/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package usecase provides functionality for Vald. package usecase diff --git a/pkg/gateway/filter/usecase/vald.go b/pkg/gateway/filter/usecase/vald.go index 9e1edef5aa..098c52cc9f 100644 --- a/pkg/gateway/filter/usecase/vald.go +++ b/pkg/gateway/filter/usecase/vald.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package usecase diff --git a/pkg/gateway/filter/usecase/vald_test.go b/pkg/gateway/filter/usecase/vald_test.go index 1b3c20832c..f2b506eeb3 100644 --- a/pkg/gateway/filter/usecase/vald_test.go +++ b/pkg/gateway/filter/usecase/vald_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package usecase diff --git a/pkg/gateway/lb/config/config.go b/pkg/gateway/lb/config/config.go index 58edb5965d..d6bb7c8cb1 100644 --- a/pkg/gateway/lb/config/config.go +++ b/pkg/gateway/lb/config/config.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config stores all server application settings for lb gateway package config diff --git a/pkg/gateway/lb/config/config_test.go b/pkg/gateway/lb/config/config_test.go index ddde0951b3..ebde562c7b 100644 --- a/pkg/gateway/lb/config/config_test.go +++ b/pkg/gateway/lb/config/config_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/pkg/gateway/lb/config/doc.go b/pkg/gateway/lb/config/doc.go index 1ba1a79c91..1e9dbfed94 100644 --- a/pkg/gateway/lb/config/doc.go +++ b/pkg/gateway/lb/config/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config stores all server application settings package config diff --git a/pkg/gateway/lb/handler/doc.go b/pkg/gateway/lb/handler/doc.go index e20e5b3d09..e02cbb75a2 100644 --- a/pkg/gateway/lb/handler/doc.go +++ b/pkg/gateway/lb/handler/doc.go @@ -1,17 +1,15 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package handler diff --git a/pkg/gateway/lb/handler/grpc/doc.go b/pkg/gateway/lb/handler/grpc/doc.go index d691dc1490..8a2af55a04 100644 --- a/pkg/gateway/lb/handler/grpc/doc.go +++ b/pkg/gateway/lb/handler/grpc/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package grpc provides grpc server logic package grpc diff --git a/pkg/gateway/lb/handler/grpc/flush.go b/pkg/gateway/lb/handler/grpc/flush.go index 5e8ea53f69..8dbe39b7be 100644 --- a/pkg/gateway/lb/handler/grpc/flush.go +++ b/pkg/gateway/lb/handler/grpc/flush.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/gateway/lb/handler/grpc/handler.go b/pkg/gateway/lb/handler/grpc/handler.go index a464d47204..f55a1dc88a 100644 --- a/pkg/gateway/lb/handler/grpc/handler.go +++ b/pkg/gateway/lb/handler/grpc/handler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/gateway/lb/handler/grpc/index.go b/pkg/gateway/lb/handler/grpc/index.go index 40eea4cae7..356f321286 100644 --- a/pkg/gateway/lb/handler/grpc/index.go +++ b/pkg/gateway/lb/handler/grpc/index.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/gateway/lb/handler/grpc/insert.go b/pkg/gateway/lb/handler/grpc/insert.go index 9973b8f283..a5a8d9ab49 100644 --- a/pkg/gateway/lb/handler/grpc/insert.go +++ b/pkg/gateway/lb/handler/grpc/insert.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/gateway/lb/handler/grpc/linear_search.go b/pkg/gateway/lb/handler/grpc/linear_search.go index 96095e9f7c..ecbfac90fa 100644 --- a/pkg/gateway/lb/handler/grpc/linear_search.go +++ b/pkg/gateway/lb/handler/grpc/linear_search.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/gateway/lb/handler/grpc/object.go b/pkg/gateway/lb/handler/grpc/object.go index be8d741ba7..7a42f1f86a 100644 --- a/pkg/gateway/lb/handler/grpc/object.go +++ b/pkg/gateway/lb/handler/grpc/object.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/gateway/lb/handler/grpc/option.go b/pkg/gateway/lb/handler/grpc/option.go index b8e91a8280..f1e325eeb0 100644 --- a/pkg/gateway/lb/handler/grpc/option.go +++ b/pkg/gateway/lb/handler/grpc/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/gateway/lb/handler/grpc/remove.go b/pkg/gateway/lb/handler/grpc/remove.go index c45ab571b9..a3bc9cca3d 100644 --- a/pkg/gateway/lb/handler/grpc/remove.go +++ b/pkg/gateway/lb/handler/grpc/remove.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/gateway/lb/handler/grpc/search.go b/pkg/gateway/lb/handler/grpc/search.go index 3ee335a9be..fb0d448027 100644 --- a/pkg/gateway/lb/handler/grpc/search.go +++ b/pkg/gateway/lb/handler/grpc/search.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/gateway/lb/handler/grpc/update.go b/pkg/gateway/lb/handler/grpc/update.go index 3cc5ae9e9b..49836d455c 100644 --- a/pkg/gateway/lb/handler/grpc/update.go +++ b/pkg/gateway/lb/handler/grpc/update.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/gateway/lb/handler/grpc/upsert.go b/pkg/gateway/lb/handler/grpc/upsert.go index 21d07e954d..da2bf350fa 100644 --- a/pkg/gateway/lb/handler/grpc/upsert.go +++ b/pkg/gateway/lb/handler/grpc/upsert.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/gateway/lb/handler/rest/doc.go b/pkg/gateway/lb/handler/rest/doc.go index 1c1700dcc0..19b02527ec 100644 --- a/pkg/gateway/lb/handler/rest/doc.go +++ b/pkg/gateway/lb/handler/rest/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package rest provides rest api logic package rest diff --git a/pkg/gateway/lb/handler/rest/handler.go b/pkg/gateway/lb/handler/rest/handler.go index 01a26870c3..94a095d1ba 100644 --- a/pkg/gateway/lb/handler/rest/handler.go +++ b/pkg/gateway/lb/handler/rest/handler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rest diff --git a/pkg/gateway/lb/handler/rest/option.go b/pkg/gateway/lb/handler/rest/option.go index 5f43f075a9..e19cbda01c 100644 --- a/pkg/gateway/lb/handler/rest/option.go +++ b/pkg/gateway/lb/handler/rest/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rest diff --git a/pkg/gateway/lb/router/doc.go b/pkg/gateway/lb/router/doc.go index 330fe6f2ef..3a2bc3afb2 100644 --- a/pkg/gateway/lb/router/doc.go +++ b/pkg/gateway/lb/router/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package router provides implementation of Go API for routing http Handler wrapped by rest.Func package router diff --git a/pkg/gateway/lb/router/option.go b/pkg/gateway/lb/router/option.go index dd90a159de..45bc515890 100644 --- a/pkg/gateway/lb/router/option.go +++ b/pkg/gateway/lb/router/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package router diff --git a/pkg/gateway/lb/router/router.go b/pkg/gateway/lb/router/router.go index 014e02d2a9..af25022d6d 100644 --- a/pkg/gateway/lb/router/router.go +++ b/pkg/gateway/lb/router/router.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package router diff --git a/pkg/gateway/lb/service/doc.go b/pkg/gateway/lb/service/doc.go index adadcf3443..2974890982 100644 --- a/pkg/gateway/lb/service/doc.go +++ b/pkg/gateway/lb/service/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of server. package service diff --git a/pkg/gateway/lb/service/gateway.go b/pkg/gateway/lb/service/gateway.go index 6f8bd028fd..766cd4cbba 100644 --- a/pkg/gateway/lb/service/gateway.go +++ b/pkg/gateway/lb/service/gateway.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service package service diff --git a/pkg/gateway/lb/service/gateway_test.go b/pkg/gateway/lb/service/gateway_test.go index be12ae2d72..159a3f26af 100644 --- a/pkg/gateway/lb/service/gateway_test.go +++ b/pkg/gateway/lb/service/gateway_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service package service diff --git a/pkg/gateway/lb/service/option.go b/pkg/gateway/lb/service/option.go index 83cf3da54c..cfb3c1ea31 100644 --- a/pkg/gateway/lb/service/option.go +++ b/pkg/gateway/lb/service/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service represents gateway's service logic package service diff --git a/pkg/gateway/lb/service/option_test.go b/pkg/gateway/lb/service/option_test.go index 2d9f6680ea..810f7bc5c2 100644 --- a/pkg/gateway/lb/service/option_test.go +++ b/pkg/gateway/lb/service/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service represents gateway's service logic package service diff --git a/pkg/gateway/lb/usecase/doc.go b/pkg/gateway/lb/usecase/doc.go index 75271a5318..155de4c5e5 100644 --- a/pkg/gateway/lb/usecase/doc.go +++ b/pkg/gateway/lb/usecase/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package usecase represents gateways usecase layer package usecase diff --git a/pkg/gateway/lb/usecase/vald.go b/pkg/gateway/lb/usecase/vald.go index 417dfda17c..6467b340e5 100644 --- a/pkg/gateway/lb/usecase/vald.go +++ b/pkg/gateway/lb/usecase/vald.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package usecase diff --git a/pkg/gateway/lb/usecase/vald_test.go b/pkg/gateway/lb/usecase/vald_test.go index 830832d310..53ef9ed289 100644 --- a/pkg/gateway/lb/usecase/vald_test.go +++ b/pkg/gateway/lb/usecase/vald_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package usecase diff --git a/pkg/gateway/mirror/config/doc.go b/pkg/gateway/mirror/config/doc.go index ed7facc480..088a13d588 100644 --- a/pkg/gateway/mirror/config/doc.go +++ b/pkg/gateway/mirror/config/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config provides functionality for Vald. package config diff --git a/pkg/gateway/mirror/handler/grpc/doc.go b/pkg/gateway/mirror/handler/grpc/doc.go index b8fca21be2..9dfbb06f12 100644 --- a/pkg/gateway/mirror/handler/grpc/doc.go +++ b/pkg/gateway/mirror/handler/grpc/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package grpc provides functionality for Vald. package grpc diff --git a/pkg/gateway/mirror/handler/rest/doc.go b/pkg/gateway/mirror/handler/rest/doc.go index dd504bb737..01288c52a3 100644 --- a/pkg/gateway/mirror/handler/rest/doc.go +++ b/pkg/gateway/mirror/handler/rest/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package rest provides functionality for Vald. package rest diff --git a/pkg/gateway/mirror/router/doc.go b/pkg/gateway/mirror/router/doc.go index db4ede194f..87565e06bf 100644 --- a/pkg/gateway/mirror/router/doc.go +++ b/pkg/gateway/mirror/router/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package router provides functionality for Vald. package router diff --git a/pkg/gateway/mirror/usecase/doc.go b/pkg/gateway/mirror/usecase/doc.go index 1f658098ac..3c9d418172 100644 --- a/pkg/gateway/mirror/usecase/doc.go +++ b/pkg/gateway/mirror/usecase/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package usecase provides functionality for Vald. package usecase diff --git a/pkg/index/job/correction/config/config.go b/pkg/index/job/correction/config/config.go index 12fc5fd0d7..773dc127a3 100644 --- a/pkg/index/job/correction/config/config.go +++ b/pkg/index/job/correction/config/config.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config stores all server application settings for index correction job package config diff --git a/pkg/index/job/correction/config/doc.go b/pkg/index/job/correction/config/doc.go index 1ba1a79c91..1e9dbfed94 100644 --- a/pkg/index/job/correction/config/doc.go +++ b/pkg/index/job/correction/config/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config stores all server application settings package config diff --git a/pkg/index/job/correction/service/doc.go b/pkg/index/job/correction/service/doc.go index c29dcc30c4..d7c5bdcce1 100644 --- a/pkg/index/job/correction/service/doc.go +++ b/pkg/index/job/correction/service/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service provides functionality for Vald. package service diff --git a/pkg/index/job/correction/usecase/doc.go b/pkg/index/job/correction/usecase/doc.go index 1f658098ac..3c9d418172 100644 --- a/pkg/index/job/correction/usecase/doc.go +++ b/pkg/index/job/correction/usecase/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package usecase provides functionality for Vald. package usecase diff --git a/pkg/index/job/creation/config/doc.go b/pkg/index/job/creation/config/doc.go index ed7facc480..088a13d588 100644 --- a/pkg/index/job/creation/config/doc.go +++ b/pkg/index/job/creation/config/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config provides functionality for Vald. package config diff --git a/pkg/index/job/creation/service/doc.go b/pkg/index/job/creation/service/doc.go index c29dcc30c4..d7c5bdcce1 100644 --- a/pkg/index/job/creation/service/doc.go +++ b/pkg/index/job/creation/service/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service provides functionality for Vald. package service diff --git a/pkg/index/job/creation/usecase/doc.go b/pkg/index/job/creation/usecase/doc.go index 1f658098ac..3c9d418172 100644 --- a/pkg/index/job/creation/usecase/doc.go +++ b/pkg/index/job/creation/usecase/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package usecase provides functionality for Vald. package usecase diff --git a/pkg/index/job/deletion/config/doc.go b/pkg/index/job/deletion/config/doc.go index ed7facc480..088a13d588 100644 --- a/pkg/index/job/deletion/config/doc.go +++ b/pkg/index/job/deletion/config/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config provides functionality for Vald. package config diff --git a/pkg/index/job/deletion/service/doc.go b/pkg/index/job/deletion/service/doc.go index c29dcc30c4..d7c5bdcce1 100644 --- a/pkg/index/job/deletion/service/doc.go +++ b/pkg/index/job/deletion/service/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service provides functionality for Vald. package service diff --git a/pkg/index/job/deletion/usecase/doc.go b/pkg/index/job/deletion/usecase/doc.go index 1f658098ac..3c9d418172 100644 --- a/pkg/index/job/deletion/usecase/doc.go +++ b/pkg/index/job/deletion/usecase/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package usecase provides functionality for Vald. package usecase diff --git a/pkg/index/job/readreplica/rotate/config/doc.go b/pkg/index/job/readreplica/rotate/config/doc.go index ed7facc480..088a13d588 100644 --- a/pkg/index/job/readreplica/rotate/config/doc.go +++ b/pkg/index/job/readreplica/rotate/config/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config provides functionality for Vald. package config diff --git a/pkg/index/job/readreplica/rotate/service/doc.go b/pkg/index/job/readreplica/rotate/service/doc.go index c29dcc30c4..d7c5bdcce1 100644 --- a/pkg/index/job/readreplica/rotate/service/doc.go +++ b/pkg/index/job/readreplica/rotate/service/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service provides functionality for Vald. package service diff --git a/pkg/index/job/readreplica/rotate/usecase/doc.go b/pkg/index/job/readreplica/rotate/usecase/doc.go index 1f658098ac..3c9d418172 100644 --- a/pkg/index/job/readreplica/rotate/usecase/doc.go +++ b/pkg/index/job/readreplica/rotate/usecase/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package usecase provides functionality for Vald. package usecase diff --git a/pkg/index/job/save/config/doc.go b/pkg/index/job/save/config/doc.go index ed7facc480..088a13d588 100644 --- a/pkg/index/job/save/config/doc.go +++ b/pkg/index/job/save/config/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config provides functionality for Vald. package config diff --git a/pkg/index/job/save/service/doc.go b/pkg/index/job/save/service/doc.go index c29dcc30c4..d7c5bdcce1 100644 --- a/pkg/index/job/save/service/doc.go +++ b/pkg/index/job/save/service/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service provides functionality for Vald. package service diff --git a/pkg/index/job/save/usecase/doc.go b/pkg/index/job/save/usecase/doc.go index 1f658098ac..3c9d418172 100644 --- a/pkg/index/job/save/usecase/doc.go +++ b/pkg/index/job/save/usecase/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package usecase provides functionality for Vald. package usecase diff --git a/pkg/index/operator/config/doc.go b/pkg/index/operator/config/doc.go index ed7facc480..088a13d588 100644 --- a/pkg/index/operator/config/doc.go +++ b/pkg/index/operator/config/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config provides functionality for Vald. package config diff --git a/pkg/index/operator/service/doc.go b/pkg/index/operator/service/doc.go index c29dcc30c4..d7c5bdcce1 100644 --- a/pkg/index/operator/service/doc.go +++ b/pkg/index/operator/service/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service provides functionality for Vald. package service diff --git a/pkg/index/operator/service/operator_test.go b/pkg/index/operator/service/operator_test.go index b8865d7dab..e423147336 100644 --- a/pkg/index/operator/service/operator_test.go +++ b/pkg/index/operator/service/operator_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package service diff --git a/pkg/index/operator/usecase/doc.go b/pkg/index/operator/usecase/doc.go index 1f658098ac..3c9d418172 100644 --- a/pkg/index/operator/usecase/doc.go +++ b/pkg/index/operator/usecase/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package usecase provides functionality for Vald. package usecase diff --git a/pkg/manager/index/config/config.go b/pkg/manager/index/config/config.go index ed55db4da5..110af527be 100644 --- a/pkg/manager/index/config/config.go +++ b/pkg/manager/index/config/config.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config stores all server application settings for index manager package config diff --git a/pkg/manager/index/config/config_test.go b/pkg/manager/index/config/config_test.go index ddde0951b3..ebde562c7b 100644 --- a/pkg/manager/index/config/config_test.go +++ b/pkg/manager/index/config/config_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package config diff --git a/pkg/manager/index/config/doc.go b/pkg/manager/index/config/doc.go index 1ba1a79c91..1e9dbfed94 100644 --- a/pkg/manager/index/config/doc.go +++ b/pkg/manager/index/config/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config stores all server application settings package config diff --git a/pkg/manager/index/handler/doc.go b/pkg/manager/index/handler/doc.go index e20e5b3d09..e02cbb75a2 100644 --- a/pkg/manager/index/handler/doc.go +++ b/pkg/manager/index/handler/doc.go @@ -1,17 +1,15 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package handler diff --git a/pkg/manager/index/handler/grpc/doc.go b/pkg/manager/index/handler/grpc/doc.go index d691dc1490..8a2af55a04 100644 --- a/pkg/manager/index/handler/grpc/doc.go +++ b/pkg/manager/index/handler/grpc/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package grpc provides grpc server logic package grpc diff --git a/pkg/manager/index/handler/grpc/handler.go b/pkg/manager/index/handler/grpc/handler.go index 1a899db980..1ce9297cf1 100644 --- a/pkg/manager/index/handler/grpc/handler.go +++ b/pkg/manager/index/handler/grpc/handler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/manager/index/handler/grpc/handler_test.go b/pkg/manager/index/handler/grpc/handler_test.go index 8fe1f14d83..d858df4093 100644 --- a/pkg/manager/index/handler/grpc/handler_test.go +++ b/pkg/manager/index/handler/grpc/handler_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/manager/index/handler/grpc/option.go b/pkg/manager/index/handler/grpc/option.go index 79c77498a2..87b8e8330f 100644 --- a/pkg/manager/index/handler/grpc/option.go +++ b/pkg/manager/index/handler/grpc/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/manager/index/handler/grpc/option_test.go b/pkg/manager/index/handler/grpc/option_test.go index 2eaab72e39..96e2a40567 100644 --- a/pkg/manager/index/handler/grpc/option_test.go +++ b/pkg/manager/index/handler/grpc/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/manager/index/handler/rest/doc.go b/pkg/manager/index/handler/rest/doc.go index 1c1700dcc0..19b02527ec 100644 --- a/pkg/manager/index/handler/rest/doc.go +++ b/pkg/manager/index/handler/rest/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package rest provides rest api logic package rest diff --git a/pkg/manager/index/handler/rest/handler.go b/pkg/manager/index/handler/rest/handler.go index 0af6277683..23bffc6d48 100644 --- a/pkg/manager/index/handler/rest/handler.go +++ b/pkg/manager/index/handler/rest/handler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rest diff --git a/pkg/manager/index/handler/rest/option.go b/pkg/manager/index/handler/rest/option.go index 8aced07238..909f32a718 100644 --- a/pkg/manager/index/handler/rest/option.go +++ b/pkg/manager/index/handler/rest/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rest diff --git a/pkg/manager/index/router/doc.go b/pkg/manager/index/router/doc.go index 330fe6f2ef..3a2bc3afb2 100644 --- a/pkg/manager/index/router/doc.go +++ b/pkg/manager/index/router/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package router provides implementation of Go API for routing http Handler wrapped by rest.Func package router diff --git a/pkg/manager/index/router/option.go b/pkg/manager/index/router/option.go index 76db718303..e8e2b69d59 100644 --- a/pkg/manager/index/router/option.go +++ b/pkg/manager/index/router/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package router diff --git a/pkg/manager/index/router/router.go b/pkg/manager/index/router/router.go index a232e4fe79..5befd441c5 100644 --- a/pkg/manager/index/router/router.go +++ b/pkg/manager/index/router/router.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package router diff --git a/pkg/manager/index/service/doc.go b/pkg/manager/index/service/doc.go index adadcf3443..2974890982 100644 --- a/pkg/manager/index/service/doc.go +++ b/pkg/manager/index/service/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of server. package service diff --git a/pkg/manager/index/service/indexer.go b/pkg/manager/index/service/indexer.go index 6ca63ae546..de62e4a855 100644 --- a/pkg/manager/index/service/indexer.go +++ b/pkg/manager/index/service/indexer.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service package service diff --git a/pkg/manager/index/service/indexer_test.go b/pkg/manager/index/service/indexer_test.go index 511e19363c..a39d794c5a 100644 --- a/pkg/manager/index/service/indexer_test.go +++ b/pkg/manager/index/service/indexer_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service package service diff --git a/pkg/manager/index/service/option.go b/pkg/manager/index/service/option.go index 481f5ee23e..ecb64b0aca 100644 --- a/pkg/manager/index/service/option.go +++ b/pkg/manager/index/service/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service package service diff --git a/pkg/manager/index/service/option_test.go b/pkg/manager/index/service/option_test.go index 5e0bd489d5..77a40dcbcb 100644 --- a/pkg/manager/index/service/option_test.go +++ b/pkg/manager/index/service/option_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service package service diff --git a/pkg/manager/index/usecase/doc.go b/pkg/manager/index/usecase/doc.go index 1f658098ac..3c9d418172 100644 --- a/pkg/manager/index/usecase/doc.go +++ b/pkg/manager/index/usecase/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package usecase provides functionality for Vald. package usecase diff --git a/pkg/manager/index/usecase/indexer.go b/pkg/manager/index/usecase/indexer.go index ea5b400022..2043abbea3 100644 --- a/pkg/manager/index/usecase/indexer.go +++ b/pkg/manager/index/usecase/indexer.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package usecase diff --git a/pkg/manager/index/usecase/indexer_test.go b/pkg/manager/index/usecase/indexer_test.go index 5be80770e4..c0be9ea6a5 100644 --- a/pkg/manager/index/usecase/indexer_test.go +++ b/pkg/manager/index/usecase/indexer_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package usecase diff --git a/pkg/tools/benchmark/job/config/config.go b/pkg/tools/benchmark/job/config/config.go index faad450e2f..abc8cac1fb 100644 --- a/pkg/tools/benchmark/job/config/config.go +++ b/pkg/tools/benchmark/job/config/config.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config stores all server application settings for benchmark job package config diff --git a/pkg/tools/benchmark/job/config/config_test.go b/pkg/tools/benchmark/job/config/config_test.go index acb6f07936..55c47b36c1 100644 --- a/pkg/tools/benchmark/job/config/config_test.go +++ b/pkg/tools/benchmark/job/config/config_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package setting stores all server application settings package config diff --git a/pkg/tools/benchmark/job/config/doc.go b/pkg/tools/benchmark/job/config/doc.go index 1ba1a79c91..1e9dbfed94 100644 --- a/pkg/tools/benchmark/job/config/doc.go +++ b/pkg/tools/benchmark/job/config/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config stores all server application settings package config diff --git a/pkg/tools/benchmark/job/handler/doc.go b/pkg/tools/benchmark/job/handler/doc.go index e20e5b3d09..e02cbb75a2 100644 --- a/pkg/tools/benchmark/job/handler/doc.go +++ b/pkg/tools/benchmark/job/handler/doc.go @@ -1,17 +1,15 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package handler diff --git a/pkg/tools/benchmark/job/handler/grpc/doc.go b/pkg/tools/benchmark/job/handler/grpc/doc.go index d691dc1490..8a2af55a04 100644 --- a/pkg/tools/benchmark/job/handler/grpc/doc.go +++ b/pkg/tools/benchmark/job/handler/grpc/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package grpc provides grpc server logic package grpc diff --git a/pkg/tools/benchmark/job/handler/grpc/handler.go b/pkg/tools/benchmark/job/handler/grpc/handler.go index ece4c08043..8566cfbcde 100644 --- a/pkg/tools/benchmark/job/handler/grpc/handler.go +++ b/pkg/tools/benchmark/job/handler/grpc/handler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/tools/benchmark/job/handler/grpc/option.go b/pkg/tools/benchmark/job/handler/grpc/option.go index 2228f029bb..8b06714908 100644 --- a/pkg/tools/benchmark/job/handler/grpc/option.go +++ b/pkg/tools/benchmark/job/handler/grpc/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/tools/benchmark/job/handler/rest/doc.go b/pkg/tools/benchmark/job/handler/rest/doc.go index 1c1700dcc0..19b02527ec 100644 --- a/pkg/tools/benchmark/job/handler/rest/doc.go +++ b/pkg/tools/benchmark/job/handler/rest/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package rest provides rest api logic package rest diff --git a/pkg/tools/benchmark/job/handler/rest/handler.go b/pkg/tools/benchmark/job/handler/rest/handler.go index e4ee2ecccd..3b32c07891 100644 --- a/pkg/tools/benchmark/job/handler/rest/handler.go +++ b/pkg/tools/benchmark/job/handler/rest/handler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rest diff --git a/pkg/tools/benchmark/job/handler/rest/option.go b/pkg/tools/benchmark/job/handler/rest/option.go index e215ded672..73d8496d14 100644 --- a/pkg/tools/benchmark/job/handler/rest/option.go +++ b/pkg/tools/benchmark/job/handler/rest/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rest diff --git a/pkg/tools/benchmark/job/router/doc.go b/pkg/tools/benchmark/job/router/doc.go index 330fe6f2ef..3a2bc3afb2 100644 --- a/pkg/tools/benchmark/job/router/doc.go +++ b/pkg/tools/benchmark/job/router/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package router provides implementation of Go API for routing http Handler wrapped by rest.Func package router diff --git a/pkg/tools/benchmark/job/router/option.go b/pkg/tools/benchmark/job/router/option.go index a1ea7980db..c15dd0e001 100644 --- a/pkg/tools/benchmark/job/router/option.go +++ b/pkg/tools/benchmark/job/router/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package router provides implementation of Go API for routing http Handler wrapped by rest.Func package router diff --git a/pkg/tools/benchmark/job/router/router.go b/pkg/tools/benchmark/job/router/router.go index a2822067ae..a6b858cc1f 100644 --- a/pkg/tools/benchmark/job/router/router.go +++ b/pkg/tools/benchmark/job/router/router.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package router provides implementation of Go API for routing http Handler wrapped by rest.Func package router diff --git a/pkg/tools/benchmark/job/service/doc.go b/pkg/tools/benchmark/job/service/doc.go index a77e151331..77d5063902 100644 --- a/pkg/tools/benchmark/job/service/doc.go +++ b/pkg/tools/benchmark/job/service/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of benchmark job. package service diff --git a/pkg/tools/benchmark/job/service/insert.go b/pkg/tools/benchmark/job/service/insert.go index c8995414c8..8d3e14669b 100644 --- a/pkg/tools/benchmark/job/service/insert.go +++ b/pkg/tools/benchmark/job/service/insert.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of benchmark job. package service diff --git a/pkg/tools/benchmark/job/service/job.go b/pkg/tools/benchmark/job/service/job.go index e5c1ca2ca6..df689d939f 100644 --- a/pkg/tools/benchmark/job/service/job.go +++ b/pkg/tools/benchmark/job/service/job.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of benchmark job. package service diff --git a/pkg/tools/benchmark/job/service/object.go b/pkg/tools/benchmark/job/service/object.go index a218fb5ae1..a7c5770d53 100644 --- a/pkg/tools/benchmark/job/service/object.go +++ b/pkg/tools/benchmark/job/service/object.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of benchmark job. package service diff --git a/pkg/tools/benchmark/job/service/option.go b/pkg/tools/benchmark/job/service/option.go index db1e05a0ff..cb9c92e35c 100644 --- a/pkg/tools/benchmark/job/service/option.go +++ b/pkg/tools/benchmark/job/service/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of benchmark job. package service diff --git a/pkg/tools/benchmark/job/service/remove.go b/pkg/tools/benchmark/job/service/remove.go index c342c6cbb8..16c35d074d 100644 --- a/pkg/tools/benchmark/job/service/remove.go +++ b/pkg/tools/benchmark/job/service/remove.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of benchmark job. package service diff --git a/pkg/tools/benchmark/job/service/search.go b/pkg/tools/benchmark/job/service/search.go index e247acdcf2..392b32a389 100644 --- a/pkg/tools/benchmark/job/service/search.go +++ b/pkg/tools/benchmark/job/service/search.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of benchmark job. package service diff --git a/pkg/tools/benchmark/job/service/update.go b/pkg/tools/benchmark/job/service/update.go index 8acf79c325..e6a46012d2 100644 --- a/pkg/tools/benchmark/job/service/update.go +++ b/pkg/tools/benchmark/job/service/update.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of benchmark job. package service diff --git a/pkg/tools/benchmark/job/service/upsert.go b/pkg/tools/benchmark/job/service/upsert.go index 5249a155aa..8a9b2fa996 100644 --- a/pkg/tools/benchmark/job/service/upsert.go +++ b/pkg/tools/benchmark/job/service/upsert.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of benchmark job. package service diff --git a/pkg/tools/benchmark/job/usecase/benchmarkd.go b/pkg/tools/benchmark/job/usecase/benchmarkd.go index 23a0223f2f..1ca9bebf6a 100644 --- a/pkg/tools/benchmark/job/usecase/benchmarkd.go +++ b/pkg/tools/benchmark/job/usecase/benchmarkd.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package usecase diff --git a/pkg/tools/benchmark/job/usecase/doc.go b/pkg/tools/benchmark/job/usecase/doc.go index 1f658098ac..3c9d418172 100644 --- a/pkg/tools/benchmark/job/usecase/doc.go +++ b/pkg/tools/benchmark/job/usecase/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package usecase provides functionality for Vald. package usecase diff --git a/pkg/tools/benchmark/operator/config/config.go b/pkg/tools/benchmark/operator/config/config.go index a0ab08e492..5662fc040a 100644 --- a/pkg/tools/benchmark/operator/config/config.go +++ b/pkg/tools/benchmark/operator/config/config.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config stores all server application settings for benchmark operator package config diff --git a/pkg/tools/benchmark/operator/config/doc.go b/pkg/tools/benchmark/operator/config/doc.go index 1ba1a79c91..1e9dbfed94 100644 --- a/pkg/tools/benchmark/operator/config/doc.go +++ b/pkg/tools/benchmark/operator/config/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config stores all server application settings package config diff --git a/pkg/tools/benchmark/operator/handler/doc.go b/pkg/tools/benchmark/operator/handler/doc.go index e20e5b3d09..e02cbb75a2 100644 --- a/pkg/tools/benchmark/operator/handler/doc.go +++ b/pkg/tools/benchmark/operator/handler/doc.go @@ -1,17 +1,15 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package handler diff --git a/pkg/tools/benchmark/operator/handler/grpc/doc.go b/pkg/tools/benchmark/operator/handler/grpc/doc.go index d691dc1490..8a2af55a04 100644 --- a/pkg/tools/benchmark/operator/handler/grpc/doc.go +++ b/pkg/tools/benchmark/operator/handler/grpc/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package grpc provides grpc server logic package grpc diff --git a/pkg/tools/benchmark/operator/handler/grpc/handler.go b/pkg/tools/benchmark/operator/handler/grpc/handler.go index 3d670854f7..e0d9a4bc4c 100644 --- a/pkg/tools/benchmark/operator/handler/grpc/handler.go +++ b/pkg/tools/benchmark/operator/handler/grpc/handler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/tools/benchmark/operator/handler/grpc/option.go b/pkg/tools/benchmark/operator/handler/grpc/option.go index 2228f029bb..8b06714908 100644 --- a/pkg/tools/benchmark/operator/handler/grpc/option.go +++ b/pkg/tools/benchmark/operator/handler/grpc/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package grpc diff --git a/pkg/tools/benchmark/operator/handler/rest/doc.go b/pkg/tools/benchmark/operator/handler/rest/doc.go index 1c1700dcc0..19b02527ec 100644 --- a/pkg/tools/benchmark/operator/handler/rest/doc.go +++ b/pkg/tools/benchmark/operator/handler/rest/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package rest provides rest api logic package rest diff --git a/pkg/tools/benchmark/operator/handler/rest/handler.go b/pkg/tools/benchmark/operator/handler/rest/handler.go index e4ee2ecccd..3b32c07891 100644 --- a/pkg/tools/benchmark/operator/handler/rest/handler.go +++ b/pkg/tools/benchmark/operator/handler/rest/handler.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rest diff --git a/pkg/tools/benchmark/operator/handler/rest/option.go b/pkg/tools/benchmark/operator/handler/rest/option.go index e215ded672..73d8496d14 100644 --- a/pkg/tools/benchmark/operator/handler/rest/option.go +++ b/pkg/tools/benchmark/operator/handler/rest/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package rest diff --git a/pkg/tools/benchmark/operator/router/doc.go b/pkg/tools/benchmark/operator/router/doc.go index 330fe6f2ef..3a2bc3afb2 100644 --- a/pkg/tools/benchmark/operator/router/doc.go +++ b/pkg/tools/benchmark/operator/router/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package router provides implementation of Go API for routing http Handler wrapped by rest.Func package router diff --git a/pkg/tools/benchmark/operator/router/option.go b/pkg/tools/benchmark/operator/router/option.go index 3b669af43b..b883f25fc0 100644 --- a/pkg/tools/benchmark/operator/router/option.go +++ b/pkg/tools/benchmark/operator/router/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package router provides implementation of Go API for routing http Handler wrapped by rest.Func package router diff --git a/pkg/tools/benchmark/operator/router/router.go b/pkg/tools/benchmark/operator/router/router.go index 9219b06aa9..076ac3c47c 100644 --- a/pkg/tools/benchmark/operator/router/router.go +++ b/pkg/tools/benchmark/operator/router/router.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package router provides implementation of Go API for routing http Handler wrapped by rest.Func package router diff --git a/pkg/tools/benchmark/operator/service/doc.go b/pkg/tools/benchmark/operator/service/doc.go index a77e151331..77d5063902 100644 --- a/pkg/tools/benchmark/operator/service/doc.go +++ b/pkg/tools/benchmark/operator/service/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of benchmark job. package service diff --git a/pkg/tools/benchmark/operator/service/operator.go b/pkg/tools/benchmark/operator/service/operator.go index ef2e2103a5..7a0b411fc7 100644 --- a/pkg/tools/benchmark/operator/service/operator.go +++ b/pkg/tools/benchmark/operator/service/operator.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of benchmark job. package service diff --git a/pkg/tools/benchmark/operator/service/option.go b/pkg/tools/benchmark/operator/service/option.go index 67edbf7130..b68452e39e 100644 --- a/pkg/tools/benchmark/operator/service/option.go +++ b/pkg/tools/benchmark/operator/service/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package service manages the main logic of benchmark job. package service diff --git a/pkg/tools/benchmark/operator/usecase/benchmarkd.go b/pkg/tools/benchmark/operator/usecase/benchmarkd.go index 62ea0582a3..438fea817b 100644 --- a/pkg/tools/benchmark/operator/usecase/benchmarkd.go +++ b/pkg/tools/benchmark/operator/usecase/benchmarkd.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package usecase diff --git a/pkg/tools/benchmark/operator/usecase/doc.go b/pkg/tools/benchmark/operator/usecase/doc.go index 1f658098ac..3c9d418172 100644 --- a/pkg/tools/benchmark/operator/usecase/doc.go +++ b/pkg/tools/benchmark/operator/usecase/doc.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package usecase provides functionality for Vald. package usecase diff --git a/rust/.cargo/config.toml b/rust/.cargo/config.toml new file mode 100644 index 0000000000..0b15d5ca9c --- /dev/null +++ b/rust/.cargo/config.toml @@ -0,0 +1,27 @@ +# +# Copyright (C) 2019-2026 vdaas.org vald team +# +# 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. +# +[build] +# Prevent target-triple rustflags from being applied to build scripts (host executables). +# Without this, build scripts compiled with -static crash due to glibc TLS issues. +target-applies-to-host = false + +[target.x86_64-unknown-linux-gnu] +linker = "clang" +rustflags = ["-C", "link-arg=-fuse-ld=lld"] + +[target.aarch64-unknown-linux-gnu] +linker = "clang" +rustflags = ["-C", "link-arg=-fuse-ld=lld"] diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 784231972e..f821e65c8f 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -24,7 +24,7 @@ dependencies = [ "algorithm", "anyhow", "bytes", - "cargo", + "cc", "chrono", "config", "flexi_logger", @@ -65,12 +65,6 @@ dependencies = [ "tonic", ] -[[package]] -name = "allocator-api2" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" - [[package]] name = "android_system_properties" version = "0.1.5" @@ -80,32 +74,6 @@ dependencies = [ "libc", ] -[[package]] -name = "annotate-snippets" -version = "0.12.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74fc7650eedcb2fee505aad48491529e408f0e854c2d9f63eb86c1361b9b3f93" -dependencies = [ - "anstyle", - "memchr", - "unicode-width 0.2.2", -] - -[[package]] -name = "anstream" -version = "0.6.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a" -dependencies = [ - "anstyle", - "anstyle-parse 0.2.7", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "is_terminal_polyfill", - "utf8parse", -] - [[package]] name = "anstream" version = "1.0.0" @@ -113,7 +81,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d" dependencies = [ "anstyle", - "anstyle-parse 1.0.0", + "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", @@ -127,15 +95,6 @@ version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" -[[package]] -name = "anstyle-parse" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2" -dependencies = [ - "utf8parse", -] - [[package]] name = "anstyle-parse" version = "1.0.0" @@ -151,7 +110,7 @@ version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" dependencies = [ - "windows-sys 0.61.2", + "windows-sys", ] [[package]] @@ -162,7 +121,7 @@ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", "once_cell_polyfill", - "windows-sys 0.61.2", + "windows-sys", ] [[package]] @@ -171,33 +130,12 @@ version = "1.0.102" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c" -[[package]] -name = "arc-swap" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a07d1f37ff60921c83bdfc7407723bdefe89b44b98a9b772f225c8f9d67141a6" -dependencies = [ - "rustversion", -] - [[package]] name = "arraydeque" version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d902e3d592a523def97af8f317b08ce16b7ab854c1985a0c671e6f15cebc236" -[[package]] -name = "arrayref" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" - -[[package]] -name = "arrayvec" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" - [[package]] name = "async-lock" version = "3.4.2" @@ -228,15 +166,15 @@ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "autocfg" -version = "1.5.0" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" [[package]] name = "axum" -version = "0.8.8" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b52af3cb4058c895d37317bb27508dccc8e5f2d39454016b297bf4a400597b8" +checksum = "31b698c5f9a010f6573133b09e0de5408834d0c82f8d7475a89fc1867a71cd90" dependencies = [ "axum-core", "bytes", @@ -299,24 +237,12 @@ dependencies = [ "backtrace", ] -[[package]] -name = "base16ct" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" - [[package]] name = "base64" version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" -[[package]] -name = "base64ct" -version = "1.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" - [[package]] name = "bitflags" version = "1.3.2" @@ -325,36 +251,13 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.11.0" +version = "2.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af" +checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8" dependencies = [ "serde_core", ] -[[package]] -name = "bitmaps" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "031043d04099746d8db04daf1fa424b2bc8bd69d92b25962dcde24da39ab64a2" -dependencies = [ - "typenum", -] - -[[package]] -name = "blake3" -version = "1.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d2d5991425dfd0785aed03aedcf0b321d61975c9b5b3689c774a2610ae0b51e" -dependencies = [ - "arrayref", - "arrayvec", - "cc", - "cfg-if", - "constant_time_eq", - "cpufeatures 0.3.0", -] - [[package]] name = "block-buffer" version = "0.10.4" @@ -364,31 +267,11 @@ dependencies = [ "generic-array", ] -[[package]] -name = "block2" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5" -dependencies = [ - "objc2", -] - -[[package]] -name = "bstr" -version = "1.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63044e1ae8e69f3b5a92c736ca6269b8d12fa7efe39bf34ddb06d102cf0e2cab" -dependencies = [ - "memchr", - "regex-automata", - "serde", -] - [[package]] name = "bumpalo" -version = "3.20.2" +version = "3.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb" +checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" [[package]] name = "byteorder" @@ -402,193 +285,13 @@ version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33" -[[package]] -name = "cargo" -version = "0.95.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0af45a75a5265a587a8d9e4098cd2b12a07b34bcbd9eb7952ae6a62ea6d65c4d" -dependencies = [ - "annotate-snippets", - "anstream 0.6.21", - "anstyle", - "anyhow", - "base64", - "blake3", - "cargo-credential", - "cargo-credential-libsecret", - "cargo-credential-macos-keychain", - "cargo-credential-wincred", - "cargo-platform", - "cargo-util", - "cargo-util-schemas", - "clap", - "clap_complete", - "color-print", - "crates-io", - "curl", - "curl-sys", - "filetime", - "flate2", - "git2", - "git2-curl", - "gix", - "glob", - "hex", - "hmac", - "home", - "http-auth", - "ignore", - "im-rc", - "indexmap", - "itertools", - "jiff", - "jobserver", - "libc", - "libgit2-sys", - "memchr", - "opener", - "os_info", - "pasetors", - "pathdiff", - "rand 0.9.2", - "regex", - "rusqlite", - "rustc-hash", - "rustc-stable-hash", - "rustfix", - "same-file", - "semver", - "serde", - "serde-untagged", - "serde_ignored", - "serde_json", - "sha1", - "shell-escape", - "supports-hyperlinks", - "supports-unicode", - "tar", - "tempfile", - "thiserror 2.0.18", - "time", - "toml 0.9.12+spec-1.1.0", - "toml_edit", - "tracing", - "tracing-chrome", - "tracing-subscriber", - "unicase", - "unicode-ident", - "unicode-width 0.2.2", - "url", - "walkdir", - "windows-sys 0.61.2", - "winnow 0.7.15", -] - -[[package]] -name = "cargo-credential" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e36f089041deadf16226478a7737a833864fbda09408c7af237b9d615eeb6d69" -dependencies = [ - "anyhow", - "libc", - "serde", - "serde_json", - "thiserror 2.0.18", - "time", - "windows-sys 0.60.2", -] - -[[package]] -name = "cargo-credential-libsecret" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6f199366cecd4e86e3db8c16d4054ea3c53287250a18190929f74be26bb8642" -dependencies = [ - "anyhow", - "cargo-credential", - "libloading", -] - -[[package]] -name = "cargo-credential-macos-keychain" -version = "0.4.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf99df49467cac5cc000b9134f4faf9ecc54484462d314ce605ff6e19c523f90" -dependencies = [ - "cargo-credential", - "security-framework", -] - -[[package]] -name = "cargo-credential-wincred" -version = "0.4.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9be5164881738c558a89fd0fd25cdda82a587dab6d2616e4a3ba0c9069a29c35" -dependencies = [ - "cargo-credential", - "windows-sys 0.61.2", -] - -[[package]] -name = "cargo-platform" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87a0c0e6148f11f01f32650a2ea02d532b2ad4e81d8bd41e6e565b5adc5e6082" -dependencies = [ - "serde", - "serde_core", -] - -[[package]] -name = "cargo-util" -version = "0.2.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a4b72539a4e322539ac3cd07d7e63d60ca3823f3143a2d39a9f8fcdace0e8ca" -dependencies = [ - "anyhow", - "core-foundation", - "filetime", - "hex", - "ignore", - "jobserver", - "libc", - "miow", - "same-file", - "sha2", - "shell-escape", - "tempfile", - "tracing", - "walkdir", - "windows-sys 0.61.2", -] - -[[package]] -name = "cargo-util-schemas" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74b5c24ba23f6d05b6cb15946d08bb6dd61b96ae920f17b33b17d4e7b1e76555" -dependencies = [ - "jiff", - "semver", - "serde", - "serde-untagged", - "serde-value", - "thiserror 2.0.18", - "toml 0.9.12+spec-1.1.0", - "unicode-ident", - "url", -] - [[package]] name = "cc" -version = "1.2.58" +version = "1.2.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1e928d4b69e3077709075a938a05ffbedfa53a84c8f766efbf8220bb1ff60e1" +checksum = "556e016178bb5662a08681bbe0f00f8e17631781a4dfc8c45e466e4b185ec27f" dependencies = [ "find-msvc-tools", - "jobserver", - "libc", "shlex", ] @@ -598,12 +301,6 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" -[[package]] -name = "cfg_aliases" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" - [[package]] name = "chacha20" version = "0.10.0" @@ -612,14 +309,14 @@ checksum = "6f8d983286843e49675a4b7a2d174efe136dc93a18d69130dd18198a6c167601" dependencies = [ "cfg-if", "cpufeatures 0.3.0", - "rand_core 0.10.0", + "rand_core 0.10.1", ] [[package]] name = "chrono" -version = "0.4.44" +version = "0.4.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c673075a2e0e5f4a1dde27ce9dee1ea4558c7ffe648f576438a20ca1d2acc4b0" +checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" dependencies = [ "iana-time-zone", "js-sys", @@ -630,9 +327,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.6.0" +version = "4.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b193af5b67834b676abd72466a96c1024e6a6ad978a1f484bd90b85c94041351" +checksum = "1ddb117e43bbf7dacf0a4190fef4d345b9bad68dfc649cb349e7d17d28428e51" dependencies = [ "clap_builder", "clap_derive", @@ -644,30 +341,17 @@ version = "4.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "714a53001bf66416adb0e2ef5ac857140e7dc3a0c48fb28b2f10762fc4b5069f" dependencies = [ - "anstream 1.0.0", + "anstream", "anstyle", "clap_lex", "strsim", - "terminal_size", -] - -[[package]] -name = "clap_complete" -version = "4.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19c9f1dde76b736e3681f28cec9d5a61299cbaae0fce80a68e43724ad56031eb" -dependencies = [ - "clap", - "clap_lex", - "is_executable", - "shlex", ] [[package]] name = "clap_derive" -version = "4.6.0" +version = "4.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1110bd8a634a1ab8cb04345d8d878267d57c3cf1b38d91b71af6686408bbca6a" +checksum = "f2ce8604710f6733aa641a2b3731eaa1e8b3d9973d5e3565da11800813f997a9" dependencies = [ "heck", "proc-macro2", @@ -681,15 +365,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9" -[[package]] -name = "clru" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "197fd99cb113a8d5d9b6376f3aa817f32c1078f2343b714fff7d2ca44fdf67d5" -dependencies = [ - "hashbrown 0.16.1", -] - [[package]] name = "codespan-reporting" version = "0.13.1" @@ -701,27 +376,6 @@ dependencies = [ "unicode-width 0.2.2", ] -[[package]] -name = "color-print" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3aa954171903797d5623e047d9ab69d91b493657917bdfb8c2c80ecaf9cdb6f4" -dependencies = [ - "color-print-proc-macro", -] - -[[package]] -name = "color-print-proc-macro" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "692186b5ebe54007e45a59aea47ece9eb4108e141326c304cdc91699a7118a22" -dependencies = [ - "nom", - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "colorchoice" version = "1.0.5" @@ -739,9 +393,9 @@ dependencies = [ [[package]] name = "config" -version = "0.15.22" +version = "0.15.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e68cfe19cd7d23ffde002c24ffa5cda73931913ef394d5eaaa32037dc940c0c" +checksum = "f316c6237b2d38be61949ecd15268a4c6ca32570079394a2444d9ce2c72a72d8" dependencies = [ "async-trait", "convert_case", @@ -753,16 +407,10 @@ dependencies = [ "serde_core", "serde_json", "toml 1.1.2+spec-1.1.0", - "winnow 1.0.1", + "winnow", "yaml-rust2", ] -[[package]] -name = "const-oid" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" - [[package]] name = "const-random" version = "0.1.18" @@ -783,12 +431,6 @@ dependencies = [ "tiny-keccak", ] -[[package]] -name = "constant_time_eq" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" - [[package]] name = "convert_case" version = "0.6.0" @@ -798,16 +440,6 @@ dependencies = [ "unicode-segmentation", ] -[[package]] -name = "core-foundation" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" -dependencies = [ - "core-foundation-sys", - "libc", -] - [[package]] name = "core-foundation-sys" version = "0.8.7" @@ -832,20 +464,6 @@ dependencies = [ "libc", ] -[[package]] -name = "crates-io" -version = "0.40.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec97b1f074b7b2fe478fb89e51a26e25a75ae2de02d4c8cc85c5f206dd628286" -dependencies = [ - "curl", - "percent-encoding", - "serde", - "serde_json", - "thiserror 2.0.18", - "url", -] - [[package]] name = "crc32fast" version = "1.5.0" @@ -864,16 +482,6 @@ dependencies = [ "crossbeam-utils", ] -[[package]] -name = "crossbeam-deque" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" -dependencies = [ - "crossbeam-epoch", - "crossbeam-utils", -] - [[package]] name = "crossbeam-epoch" version = "0.9.18" @@ -896,82 +504,33 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" [[package]] -name = "crypto-bigint" -version = "0.5.5" +name = "crypto-common" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" dependencies = [ "generic-array", - "rand_core 0.6.4", - "subtle", - "zeroize", + "typenum", ] [[package]] -name = "crypto-common" -version = "0.1.6" +name = "cxx" +version = "1.0.194" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +checksum = "747d8437319e3a2f43d93b341c137927ca70c0f5dabeea7a005a73665e247c7e" dependencies = [ - "generic-array", - "typenum", + "cc", + "cxx-build", + "cxxbridge-cmd", + "cxxbridge-flags", + "cxxbridge-macro", + "foldhash 0.2.0", + "link-cplusplus", ] [[package]] -name = "ct-codecs" -version = "1.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b10589d1a5e400d61f9f38f12f884cfd080ff345de8f17efda36fe0e4a02aa8" - -[[package]] -name = "curl" -version = "0.4.49" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79fc3b6dd0b87ba36e565715bf9a2ced221311db47bd18011676f24a6066edbc" -dependencies = [ - "curl-sys", - "libc", - "openssl-probe", - "openssl-sys", - "schannel", - "socket2", - "windows-sys 0.59.0", -] - -[[package]] -name = "curl-sys" -version = "0.4.87+curl-8.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a460380f0ef783703dcbe909107f39c162adeac050d73c850055118b5b6327" -dependencies = [ - "cc", - "libc", - "libnghttp2-sys", - "libz-sys", - "openssl-sys", - "pkg-config", - "vcpkg", - "windows-sys 0.59.0", -] - -[[package]] -name = "cxx" -version = "1.0.194" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "747d8437319e3a2f43d93b341c137927ca70c0f5dabeea7a005a73665e247c7e" -dependencies = [ - "cc", - "cxx-build", - "cxxbridge-cmd", - "cxxbridge-flags", - "cxxbridge-macro", - "foldhash 0.2.0", - "link-cplusplus", -] - -[[package]] -name = "cxx-build" -version = "1.0.194" +name = "cxx-build" +version = "1.0.194" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b0f4697d190a142477b16aef7da8a99bfdc41e7e8b1687583c0d23a79c7afc1e" dependencies = [ @@ -1018,9 +577,9 @@ dependencies = [ [[package]] name = "darling" -version = "0.21.3" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cdf337090841a411e2a7f3deb9187445851f91b309c0c0a29e05f74a00a48c0" +checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d" dependencies = [ "darling_core", "darling_macro", @@ -1028,11 +587,10 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.21.3" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1247195ecd7e3c85f83c8d2a366e4210d588e802133e1e355180a9870b517ea4" +checksum = "9865a50f7c335f53564bb694ef660825eb8610e0a53d3e11bf1b0d3df31e03b0" dependencies = [ - "fnv", "ident_case", "proc-macro2", "quote", @@ -1042,56 +600,21 @@ dependencies = [ [[package]] name = "darling_macro" -version = "0.21.3" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d38308df82d1080de0afee5d069fa14b0326a88c14f15c5ccda35b4a6c414c81" +checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d" dependencies = [ "darling_core", "quote", "syn", ] -[[package]] -name = "dashmap" -version = "6.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5041cc499144891f3790297212f32a74fb938e5136a14943f338ef9e0ae276cf" -dependencies = [ - "cfg-if", - "crossbeam-utils", - "hashbrown 0.14.5", - "lock_api", - "once_cell", - "parking_lot_core 0.9.12", -] - [[package]] name = "defer" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "930c7171c8df9fb1782bdf9b918ed9ed2d33d1d22300abb754f9085bc48bf8e8" -[[package]] -name = "der" -version = "0.7.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" -dependencies = [ - "const-oid", - "pem-rfc7468", - "zeroize", -] - -[[package]] -name = "deranged" -version = "0.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c" -dependencies = [ - "powerfmt", - "serde_core", -] - [[package]] name = "digest" version = "0.10.7" @@ -1099,26 +622,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer", - "const-oid", "crypto-common", - "subtle", -] - -[[package]] -name = "dispatch2" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38" -dependencies = [ - "bitflags 2.11.0", - "objc2", ] [[package]] name = "displaydoc" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" +checksum = "1ac70aa55017e108007fbaf5aa0f54b021c98f92ff8af59d42eda9da96e3dd4f" dependencies = [ "proc-macro2", "quote", @@ -1134,61 +645,11 @@ dependencies = [ "const-random", ] -[[package]] -name = "dunce" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" - -[[package]] -name = "ecdsa" -version = "0.16.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" -dependencies = [ - "der", - "digest", - "elliptic-curve", - "rfc6979", - "signature", - "spki", -] - -[[package]] -name = "ed25519-compact" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ce99a9e19c84beb4cc35ece85374335ccc398240712114c85038319ed709bd" -dependencies = [ - "getrandom 0.3.4", -] - [[package]] name = "either" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" - -[[package]] -name = "elliptic-curve" -version = "0.13.8" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" -dependencies = [ - "base16ct", - "crypto-bigint", - "digest", - "ff", - "generic-array", - "group", - "hkdf", - "pem-rfc7468", - "pkcs8", - "rand_core 0.6.4", - "sec1", - "subtle", - "zeroize", -] +checksum = "91622ff5e7162018101f2fea40d6ebf4a78bbe5a49736a2020649edf9693679e" [[package]] name = "encoding_rs" @@ -1223,7 +684,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys", ] [[package]] @@ -1251,60 +712,11 @@ dependencies = [ name = "faiss" version = "0.1.0" -[[package]] -name = "fallible-iterator" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" - -[[package]] -name = "fallible-streaming-iterator" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" - -[[package]] -name = "faster-hex" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7223ae2d2f179b803433d9c830478527e92b8117eab39460edae7f1614d9fb73" -dependencies = [ - "heapless", - "serde", -] - [[package]] name = "fastrand" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" - -[[package]] -name = "ff" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393" -dependencies = [ - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "fiat-crypto" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64cd1e32ddd350061ae6edb1b082d7c54915b5c672c389143b9a63403a109f24" - -[[package]] -name = "filetime" -version = "0.2.27" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f98844151eee8917efc50bd9e8318cb963ae8b297431495d3f758616ea5c57db" -dependencies = [ - "cfg-if", - "libc", - "libredox", -] +checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6" [[package]] name = "find-msvc-tools" @@ -1318,21 +730,11 @@ version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99" -[[package]] -name = "flate2" -version = "1.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c" -dependencies = [ - "miniz_oxide", - "zlib-rs 0.6.3", -] - [[package]] name = "flexi_logger" -version = "0.31.8" +version = "0.31.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aea7feddba9b4e83022270d49a58d4a1b3fdad04b34f78cf1ce471f698e42672" +checksum = "2e90140a77c0ffbe2e4839e062983ec4ec60d4473e41a4fcce0884809d1b76d6" dependencies = [ "chrono", "log", @@ -1477,13 +879,12 @@ dependencies = [ [[package]] name = "generic-array" -version = "0.14.9" +version = "0.14.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bb6743198531e02858aeaea5398fcc883e71851fcbcb5a2f773e2fb6cb1edf2" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ "typenum", "version_check", - "zeroize", ] [[package]] @@ -1504,11 +905,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" dependencies = [ "cfg-if", - "js-sys", "libc", "r-efi 5.3.0", "wasip2", - "wasm-bindgen", ] [[package]] @@ -1520,7 +919,7 @@ dependencies = [ "cfg-if", "libc", "r-efi 6.0.0", - "rand_core 0.10.0", + "rand_core 0.10.1", "wasip2", "wasip3", ] @@ -1532,1076 +931,154 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" [[package]] -name = "git2" -version = "0.20.4" +name = "h2" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b88256088d75a56f8ecfa070513a775dd9107f6530ef14919dac831af9cfe2b" +checksum = "171fefbc92fe4a4de27e0698d6a5b392d6a0e333506bc49133760b3bcf948733" dependencies = [ - "bitflags 2.11.0", - "libc", - "libgit2-sys", - "log", - "openssl-probe", - "openssl-sys", - "url", + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", ] [[package]] -name = "git2-curl" -version = "0.21.0" +name = "hashbrown" +version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be8dcabbc09ece4d30a9aa983d5804203b7e2f8054a171f792deff59b56d31fa" -dependencies = [ - "curl", - "git2", - "log", - "url", -] +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" [[package]] -name = "gix" -version = "0.77.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d8284d86a2f5c0987fbf7219a128815cc04af5a18f5fd7eec6a76d83c2b78cc" -dependencies = [ - "gix-actor", - "gix-attributes", - "gix-command", - "gix-commitgraph", - "gix-config", - "gix-credentials", - "gix-date", - "gix-diff", - "gix-dir", - "gix-discover", - "gix-features", - "gix-filter", - "gix-fs", - "gix-glob", - "gix-hash", - "gix-hashtable", - "gix-ignore", - "gix-index", - "gix-lock", - "gix-negotiate", - "gix-object", - "gix-odb", - "gix-pack", - "gix-path", - "gix-pathspec", - "gix-prompt", - "gix-protocol", - "gix-ref", - "gix-refspec", - "gix-revision", - "gix-revwalk", - "gix-sec", - "gix-shallow", - "gix-status", - "gix-submodule", - "gix-tempfile", - "gix-trace", - "gix-transport", - "gix-traverse", - "gix-url", - "gix-utils", - "gix-validate", - "gix-worktree", - "prodash", - "smallvec", - "thiserror 2.0.18", +name = "hashbrown" +version = "0.15.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" +dependencies = [ + "foldhash 0.1.5", ] [[package]] -name = "gix-actor" -version = "0.37.1" +name = "hashbrown" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c345528d405eab51d20f505f5fe1a4680973953694e0292c6bbe97827daa55c4" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" dependencies = [ - "bstr", - "gix-date", - "gix-utils", - "itoa", - "thiserror 2.0.18", - "winnow 0.7.15", + "foldhash 0.2.0", ] [[package]] -name = "gix-attributes" -version = "0.29.0" +name = "hashbrown" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f47dabf8a50f1558c3a55d978440c7c4f22f87ac897bef03b4edbc96f6115966" -dependencies = [ - "bstr", - "gix-glob", - "gix-path", - "gix-quote", - "gix-trace", - "kstring", - "smallvec", - "thiserror 2.0.18", - "unicode-bom", -] +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" [[package]] -name = "gix-bitmap" -version = "0.2.16" +name = "hashlink" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d982fc7ef0608e669851d0d2a6141dae74c60d5a27e8daa451f2a4857bbf41e2" +checksum = "824e001ac4f3012dd16a264bec811403a67ca9deb6c102fc5049b32c4574b35f" dependencies = [ - "thiserror 2.0.18", + "hashbrown 0.16.1", ] [[package]] -name = "gix-chunk" -version = "0.4.12" +name = "heck" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c356b3825677cb6ff579551bb8311a81821e184453cbd105e2fc5311b288eeb" -dependencies = [ - "thiserror 2.0.18", -] +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] -name = "gix-command" -version = "0.6.5" +name = "http" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46f9c425730a654835351e6da8c3c69ba1804f8b8d4e96d027254151138d5c64" +checksum = "8be7462df143984c4598a256ef469b251d7d7f9e271135073e78fc535414f3d0" dependencies = [ - "bstr", - "gix-path", - "gix-quote", - "gix-trace", - "shell-words", + "bytes", + "itoa", ] [[package]] -name = "gix-commitgraph" -version = "0.31.0" +name = "http-body" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efdcba8048045baf15225daf949d597c3e6183d130245e22a7fbd27084abe63a" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ - "bstr", - "gix-chunk", - "gix-hash", - "memmap2", - "thiserror 2.0.18", + "bytes", + "http", ] [[package]] -name = "gix-config" -version = "0.50.0" +name = "http-body-util" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b58e2ff8eef96b71f2c5e260f02ca0475caff374027c5cc5a29bda69fac67404" +checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" dependencies = [ - "bstr", - "gix-config-value", - "gix-features", - "gix-glob", - "gix-path", - "gix-ref", - "gix-sec", - "memchr", - "smallvec", - "thiserror 2.0.18", - "unicode-bom", - "winnow 0.7.15", + "bytes", + "futures-core", + "http", + "http-body", + "pin-project-lite", ] [[package]] -name = "gix-config-value" -version = "0.16.0" +name = "httparse" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2409cffa4fe8b303847d5b6ba8df9da9ba65d302fc5ee474ea0cac5afde79840" -dependencies = [ - "bitflags 2.11.0", - "bstr", - "gix-path", - "libc", - "thiserror 2.0.18", -] +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] -name = "gix-credentials" -version = "0.34.1" +name = "httpdate" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "316a12842fb761a7a6e9ae963d7bae9f0f4c433f242282df91192ef084b1891c" -dependencies = [ - "bstr", - "gix-command", - "gix-config-value", - "gix-date", - "gix-path", - "gix-prompt", - "gix-sec", - "gix-trace", - "gix-url", - "thiserror 2.0.18", -] +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] -name = "gix-date" -version = "0.12.1" +name = "hyper" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe4a31bab8159e233094fa70d2e5fd3ec6f19e593f67e6ae01281daa48f8d8e7" +checksum = "55281c53a1894c864990125767da440a4e630446785086f52523b20033b74498" dependencies = [ - "bstr", + "atomic-waker", + "bytes", + "futures-channel", + "futures-core", + "h2", + "http", + "http-body", + "httparse", + "httpdate", "itoa", - "jiff", + "pin-project-lite", "smallvec", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-diff" -version = "0.57.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3506936e63ce14cd54b5f28ed06c8e43b92ef9f41c2238cc0bc271a9259b4e90" -dependencies = [ - "bstr", - "gix-attributes", - "gix-command", - "gix-filter", - "gix-fs", - "gix-hash", - "gix-index", - "gix-object", - "gix-path", - "gix-pathspec", - "gix-tempfile", - "gix-trace", - "gix-traverse", - "gix-worktree", - "imara-diff", - "thiserror 2.0.18", + "tokio", + "want", ] [[package]] -name = "gix-dir" -version = "0.19.0" +name = "hyper-timeout" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "709d9fad32d2eb8b0129850874246569e801b6d5877e0c41356c23e9e2501e06" +checksum = "2b90d566bffbce6a75bd8b09a05aa8c2cb1fabb6cb348f8840c9e4c90a0d83b0" dependencies = [ - "bstr", - "gix-discover", - "gix-fs", - "gix-ignore", - "gix-index", - "gix-object", - "gix-path", - "gix-pathspec", - "gix-trace", - "gix-utils", - "gix-worktree", - "thiserror 2.0.18", + "hyper", + "hyper-util", + "pin-project-lite", + "tokio", + "tower-service", ] [[package]] -name = "gix-discover" -version = "0.45.0" +name = "hyper-util" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ce096dc132533802a09d6fd5d4008858f2038341dfe2e69e0d0239edb359de" -dependencies = [ - "bstr", - "dunce", - "gix-fs", - "gix-hash", - "gix-path", - "gix-ref", - "gix-sec", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-features" -version = "0.45.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d56aad357ae016449434705033df644ac6253dfcf1281aad3af3af9e907560d1" -dependencies = [ - "bytes", - "crc32fast", - "crossbeam-channel", - "gix-path", - "gix-trace", - "gix-utils", - "libc", - "once_cell", - "parking_lot 0.12.5", - "prodash", - "thiserror 2.0.18", - "walkdir", - "zlib-rs 0.5.5", -] - -[[package]] -name = "gix-filter" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10c02464962482570c1f94ad451a608c4391514f803e8074662d02c5629a25dc" -dependencies = [ - "bstr", - "encoding_rs", - "gix-attributes", - "gix-command", - "gix-hash", - "gix-object", - "gix-packetline", - "gix-path", - "gix-quote", - "gix-trace", - "gix-utils", - "smallvec", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-fs" -version = "0.18.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "785b9c499e46bc78d7b81c148c21b3fca18655379ee729a856ed19ce50d359ec" -dependencies = [ - "bstr", - "fastrand", - "gix-features", - "gix-path", - "gix-utils", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-glob" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8546300aee4c65c5862c22a3e321124a69b654a61a8b60de546a9284812b7e2" -dependencies = [ - "bitflags 2.11.0", - "bstr", - "gix-features", - "gix-path", -] - -[[package]] -name = "gix-hash" -version = "0.21.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e153930f42ccdab8a3306b1027cd524879f6a8996cd0c474d18b0e56cae7714d" -dependencies = [ - "faster-hex", - "gix-features", - "sha1-checked", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-hashtable" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222f7428636020bef272a87ed833ea48bf5fb3193f99852ae16fbb5a602bd2f0" -dependencies = [ - "gix-hash", - "hashbrown 0.16.1", - "parking_lot 0.12.5", -] - -[[package]] -name = "gix-ignore" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfa727fdf54fd9fb53fa3fbb1a5c17172d3073e8e336bf155f3cac3e25b81b21" -dependencies = [ - "bstr", - "gix-glob", - "gix-path", - "gix-trace", - "unicode-bom", -] - -[[package]] -name = "gix-index" -version = "0.45.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ea6d3e9e11647ba49f441dea0782494cc6d2875ff43fa4ad9094e6957f42051" -dependencies = [ - "bitflags 2.11.0", - "bstr", - "filetime", - "fnv", - "gix-bitmap", - "gix-features", - "gix-fs", - "gix-hash", - "gix-lock", - "gix-object", - "gix-traverse", - "gix-utils", - "gix-validate", - "hashbrown 0.16.1", - "itoa", - "libc", - "memmap2", - "rustix", - "smallvec", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-lock" -version = "20.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "115268ae5e3b3b7bc7fc77260eecee05acca458e45318ca45d35467fa81a3ac5" -dependencies = [ - "gix-tempfile", - "gix-utils", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-negotiate" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cee7e32e6198e356caef0e4b8321bc2f9b2afeb76f870c0bf9aa05fe53edb6" -dependencies = [ - "bitflags 2.11.0", - "gix-commitgraph", - "gix-date", - "gix-hash", - "gix-object", - "gix-revwalk", - "smallvec", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-object" -version = "0.54.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "363d6a879c52e4890180e0ffa7d8c9a364fd0b7e807caa368e860b80e8d0bc81" -dependencies = [ - "bstr", - "gix-actor", - "gix-date", - "gix-features", - "gix-hash", - "gix-hashtable", - "gix-path", - "gix-utils", - "gix-validate", - "itoa", - "smallvec", - "thiserror 2.0.18", - "winnow 0.7.15", -] - -[[package]] -name = "gix-odb" -version = "0.74.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "165a907df369a12ed4330faf8baf7ae597aadb08cfacb4ed8649f93d90bcc0c5" -dependencies = [ - "arc-swap", - "gix-date", - "gix-features", - "gix-fs", - "gix-hash", - "gix-hashtable", - "gix-object", - "gix-pack", - "gix-path", - "gix-quote", - "parking_lot 0.12.5", - "tempfile", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-pack" -version = "0.64.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b04a73d5ab07ea0faae55e2c0ae6f24e36e365ac8ce140394dee3a2c89cd4366" -dependencies = [ - "clru", - "gix-chunk", - "gix-features", - "gix-hash", - "gix-hashtable", - "gix-object", - "gix-path", - "gix-tempfile", - "memmap2", - "parking_lot 0.12.5", - "smallvec", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-packetline" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fad0ffb982a289888087a165d3e849cbac724f2aa5431236b050dd2cb9c7de31" -dependencies = [ - "bstr", - "faster-hex", - "gix-trace", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-path" -version = "0.10.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cb06c3e4f8eed6e24fd915fa93145e28a511f4ea0e768bae16673e05ed3f366" -dependencies = [ - "bstr", - "gix-trace", - "gix-validate", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-pathspec" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed9e0c881933c37a7ef45288d6c5779c4a7b3ad240b4c37657e1d9829eb90085" -dependencies = [ - "bitflags 2.11.0", - "bstr", - "gix-attributes", - "gix-config-value", - "gix-glob", - "gix-path", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-prompt" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "974b142ea650fb0050a301958f49c8cc68929c36f686e9606a381ce39da34fd9" -dependencies = [ - "gix-command", - "gix-config-value", - "parking_lot 0.12.5", - "rustix", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-protocol" -version = "0.55.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02c5dfd068789442c5709e702ef42d851765f2c09a11bf0a13749d24363f4d07" -dependencies = [ - "bstr", - "gix-credentials", - "gix-date", - "gix-features", - "gix-hash", - "gix-lock", - "gix-negotiate", - "gix-object", - "gix-ref", - "gix-refspec", - "gix-revwalk", - "gix-shallow", - "gix-trace", - "gix-transport", - "gix-utils", - "maybe-async", - "thiserror 2.0.18", - "winnow 0.7.15", -] - -[[package]] -name = "gix-quote" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96fc2ff2ec8cc0c92807f02eab1f00eb02619fc2810d13dc42679492fcc36757" -dependencies = [ - "bstr", - "gix-utils", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-ref" -version = "0.57.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccb33aa97006e37e9e83fde233569a66b02ed16fd4b0406cdf35834b06cf8a63" -dependencies = [ - "gix-actor", - "gix-features", - "gix-fs", - "gix-hash", - "gix-lock", - "gix-object", - "gix-path", - "gix-tempfile", - "gix-utils", - "gix-validate", - "memmap2", - "thiserror 2.0.18", - "winnow 0.7.15", -] - -[[package]] -name = "gix-refspec" -version = "0.35.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcbba6ae5389f4021f73a2d62a4195aace7db1e8bb684b25521d3d685f57da02" -dependencies = [ - "bstr", - "gix-glob", - "gix-hash", - "gix-revision", - "gix-validate", - "smallvec", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-revision" -version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91898c83b18c635696f7355d171cfa74a52f38022ff89581f567768935ebc4c8" -dependencies = [ - "bstr", - "gix-commitgraph", - "gix-date", - "gix-hash", - "gix-object", - "gix-revwalk", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-revwalk" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d063699278485016863d0d2bb0db7609fd2e8ba9a89379717bf06fd96949eb2" -dependencies = [ - "gix-commitgraph", - "gix-date", - "gix-hash", - "gix-hashtable", - "gix-object", - "smallvec", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-sec" -version = "0.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea9962ed6d9114f7f100efe038752f41283c225bb507a2888903ac593dffa6be" -dependencies = [ - "bitflags 2.11.0", - "gix-path", - "libc", - "windows-sys 0.61.2", -] - -[[package]] -name = "gix-shallow" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c1c467fb9f7ec1d33613c2ea5482de514bcb84b8222a793cdc4c71955832356" -dependencies = [ - "bstr", - "gix-hash", - "gix-lock", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-status" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed0d94c685a831c679ca5454c22f350e8c233f50dcf377ca00d858bcba9696d2" -dependencies = [ - "bstr", - "filetime", - "gix-diff", - "gix-dir", - "gix-features", - "gix-filter", - "gix-fs", - "gix-hash", - "gix-index", - "gix-object", - "gix-path", - "gix-pathspec", - "gix-worktree", - "portable-atomic", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-submodule" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efee2a61198413d80de10028aa507344537827d776ade781760130721bec2419" -dependencies = [ - "bstr", - "gix-config", - "gix-path", - "gix-pathspec", - "gix-refspec", - "gix-url", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-tempfile" -version = "20.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad89218e74850f42d364ed3877c7291f0474c8533502df91bb877ecc5cb0dd40" -dependencies = [ - "dashmap", - "gix-fs", - "libc", - "parking_lot 0.12.5", - "tempfile", -] - -[[package]] -name = "gix-trace" -version = "0.1.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f69a13643b8437d4ca6845e08143e847a36ca82903eed13303475d0ae8b162e0" - -[[package]] -name = "gix-transport" -version = "0.52.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4d4ed02a2ebe771a26111896ecda0b98b58ed35e1d9c0ccf07251c1abb4918d" -dependencies = [ - "base64", - "bstr", - "curl", - "gix-command", - "gix-credentials", - "gix-features", - "gix-packetline", - "gix-quote", - "gix-sec", - "gix-url", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-traverse" -version = "0.51.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d052b83d1d1744be95ac6448ac02f95f370a8f6720e466be9ce57146e39f5280" -dependencies = [ - "bitflags 2.11.0", - "gix-commitgraph", - "gix-date", - "gix-hash", - "gix-hashtable", - "gix-object", - "gix-revwalk", - "smallvec", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-url" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cff1996dfb9430b3699d89224c674169c1ae355eacc52bf30a03c0b8bffe73d9" -dependencies = [ - "bstr", - "gix-features", - "gix-path", - "percent-encoding", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-utils" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "befcdbdfb1238d2854591f760a48711bed85e72d80a10e8f2f93f656746ef7c5" -dependencies = [ - "bstr", - "fastrand", - "unicode-normalization", -] - -[[package]] -name = "gix-validate" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b1e63a5b516e970a594f870ed4571a8fdcb8a344e7bd407a20db8bd61dbfde4" -dependencies = [ - "bstr", - "thiserror 2.0.18", -] - -[[package]] -name = "gix-worktree" -version = "0.46.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cfb7ce8cdbfe06117d335d1ad329351468d20331e0aafd108ceb647c1326aca" -dependencies = [ - "bstr", - "gix-attributes", - "gix-features", - "gix-fs", - "gix-glob", - "gix-hash", - "gix-ignore", - "gix-index", - "gix-object", - "gix-path", - "gix-validate", -] - -[[package]] -name = "glob" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" - -[[package]] -name = "globset" -version = "0.4.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52dfc19153a48bde0cbd630453615c8151bce3a5adfac7a0aebfbf0a1e1f57e3" -dependencies = [ - "aho-corasick", - "bstr", - "log", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "group" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" -dependencies = [ - "ff", - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "h2" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f44da3a8150a6703ed5d34e164b875fd14c2cdab9af1252a9a1020bde2bdc54" -dependencies = [ - "atomic-waker", - "bytes", - "fnv", - "futures-core", - "futures-sink", - "http", - "indexmap", - "slab", - "tokio", - "tokio-util", - "tracing", -] - -[[package]] -name = "hash32" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47d60b12902ba28e2730cd37e95b8c9223af2808df9e902d4df49588d1470606" -dependencies = [ - "byteorder", -] - -[[package]] -name = "hashbrown" -version = "0.14.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" - -[[package]] -name = "hashbrown" -version = "0.15.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" -dependencies = [ - "foldhash 0.1.5", -] - -[[package]] -name = "hashbrown" -version = "0.16.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" -dependencies = [ - "allocator-api2", - "equivalent", - "foldhash 0.2.0", -] - -[[package]] -name = "hashlink" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7382cf6263419f2d8df38c55d7da83da5c18aef87fc7a7fc1fb1e344edfe14c1" -dependencies = [ - "hashbrown 0.15.5", -] - -[[package]] -name = "hashlink" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea0b22561a9c04a7cb1a302c013e0259cd3b4bb619f145b32f72b8b4bcbed230" -dependencies = [ - "hashbrown 0.16.1", -] - -[[package]] -name = "heapless" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bfb9eb618601c89945a70e254898da93b13be0388091d42117462b265bb3fad" -dependencies = [ - "hash32", - "stable_deref_trait", -] - -[[package]] -name = "heck" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" - -[[package]] -name = "hkdf" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" -dependencies = [ - "hmac", -] - -[[package]] -name = "hmac" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" -dependencies = [ - "digest", -] - -[[package]] -name = "home" -version = "0.5.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc627f471c528ff0c4a49e1d5e60450c8f6461dd6d10ba9dcd3a61d3dff7728d" -dependencies = [ - "windows-sys 0.61.2", -] - -[[package]] -name = "http" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3ba2a386d7f85a81f119ad7498ebe444d2e22c2af0b86b069416ace48b3311a" -dependencies = [ - "bytes", - "itoa", -] - -[[package]] -name = "http-auth" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "150fa4a9462ef926824cf4519c84ed652ca8f4fbae34cb8af045b5cbcaf98822" -dependencies = [ - "memchr", -] - -[[package]] -name = "http-body" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" -dependencies = [ - "bytes", - "http", -] - -[[package]] -name = "http-body-util" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" -dependencies = [ - "bytes", - "futures-core", - "http", - "http-body", - "pin-project-lite", -] - -[[package]] -name = "httparse" -version = "1.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" - -[[package]] -name = "httpdate" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" - -[[package]] -name = "hyper" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6299f016b246a94207e63da54dbe807655bf9e00044f73ded42c3ac5305fbcca" -dependencies = [ - "atomic-waker", - "bytes", - "futures-channel", - "futures-core", - "h2", - "http", - "http-body", - "httparse", - "httpdate", - "itoa", - "pin-project-lite", - "smallvec", - "tokio", - "want", -] - -[[package]] -name = "hyper-timeout" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b90d566bffbce6a75bd8b09a05aa8c2cb1fabb6cb348f8840c9e4c90a0d83b0" -dependencies = [ - "hyper", - "hyper-util", - "pin-project-lite", - "tokio", - "tower-service", -] - -[[package]] -name = "hyper-util" -version = "0.1.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0" +checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0" dependencies = [ "base64", "bytes", @@ -2750,62 +1227,23 @@ dependencies = [ ] [[package]] -name = "idna_adapter" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" -dependencies = [ - "icu_normalizer", - "icu_properties", -] - -[[package]] -name = "ignore" -version = "0.4.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3d782a365a015e0f5c04902246139249abf769125006fbe7649e2ee88169b4a" -dependencies = [ - "crossbeam-deque", - "globset", - "log", - "memchr", - "regex-automata", - "same-file", - "walkdir", - "winapi-util", -] - -[[package]] -name = "im-rc" -version = "15.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af1955a75fa080c677d3972822ec4bad316169ab1cfc6c257a942c2265dbe5fe" -dependencies = [ - "bitmaps", - "rand_core 0.6.4", - "rand_xoshiro", - "sized-chunks", - "typenum", - "version_check", -] - -[[package]] -name = "imara-diff" -version = "0.1.8" +name = "idna_adapter" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17d34b7d42178945f775e84bc4c36dde7c1c6cdfea656d3354d009056f2bb3d2" +checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" dependencies = [ - "hashbrown 0.15.5", + "icu_normalizer", + "icu_properties", ] [[package]] name = "indexmap" -version = "2.13.0" +version = "2.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017" +checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" dependencies = [ "equivalent", - "hashbrown 0.16.1", + "hashbrown 0.17.1", "serde", "serde_core", ] @@ -2825,31 +1263,12 @@ version = "2.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2" -[[package]] -name = "iri-string" -version = "0.7.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25e659a4bb38e810ebc252e53b5814ff908a8c58c2a9ce2fae1bbec24cbf4e20" -dependencies = [ - "memchr", - "serde", -] - [[package]] name = "is_ci" version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7655c9839580ee829dfacba1d1278c2b7883e50a277ff7541299489d6bdfdc45" -[[package]] -name = "is_executable" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baabb8b4867b26294d818bf3f651a454b6901431711abb96e296245888d6e8c4" -dependencies = [ - "windows-sys 0.60.2", -] - [[package]] name = "is_terminal_polyfill" version = "1.70.2" @@ -2871,62 +1290,11 @@ version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" -[[package]] -name = "jiff" -version = "0.2.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a3546dc96b6d42c5f24902af9e2538e82e39ad350b0c766eb3fbf2d8f3d8359" -dependencies = [ - "jiff-static", - "jiff-tzdb-platform", - "log", - "portable-atomic", - "portable-atomic-util", - "serde_core", - "windows-sys 0.61.2", -] - -[[package]] -name = "jiff-static" -version = "0.2.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a8c8b344124222efd714b73bb41f8b5120b27a7cc1c75593a6ff768d9d05aa4" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "jiff-tzdb" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c900ef84826f1338a557697dc8fc601df9ca9af4ac137c7fb61d4c6f2dfd3076" - -[[package]] -name = "jiff-tzdb-platform" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "875a5a69ac2bab1a891711cf5eccbec1ce0341ea805560dcd90b7a2e925132e8" -dependencies = [ - "jiff-tzdb", -] - -[[package]] -name = "jobserver" -version = "0.1.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" -dependencies = [ - "getrandom 0.3.4", - "libc", -] - [[package]] name = "js-sys" -version = "0.3.94" +version = "0.3.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e04e2ef80ce82e13552136fabeef8a5ed1f985a96805761cbb9a2c34e7664d9" +checksum = "142bc4740e452c1e57ade0cbc129f139c9093e354346f0872ef985f4f5cf5f11" dependencies = [ "cfg-if", "futures-util", @@ -2945,15 +1313,6 @@ dependencies = [ "serde", ] -[[package]] -name = "kstring" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "558bf9508a558512042d3095138b1f7b8fe90c5467d94f9f1da28b3731c5dbd1" -dependencies = [ - "static_assertions", -] - [[package]] name = "kv" version = "0.24.0" @@ -2982,12 +1341,6 @@ dependencies = [ "wincode", ] -[[package]] -name = "lazy_static" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" - [[package]] name = "leb128fmt" version = "0.1.0" @@ -2996,92 +1349,9 @@ checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" [[package]] name = "libc" -version = "0.2.184" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48f5d2a454e16a5ea0f4ced81bd44e4cfc7bd3a507b61887c99fd3538b28e4af" - -[[package]] -name = "libgit2-sys" -version = "0.18.3+1.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9b3acc4b91781bb0b3386669d325163746af5f6e4f73e6d2d630e09a35f3487" -dependencies = [ - "cc", - "libc", - "libssh2-sys", - "libz-sys", - "openssl-sys", - "pkg-config", -] - -[[package]] -name = "libloading" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "754ca22de805bb5744484a5b151a9e1a8e837d5dc232c2d7d8c2e3492edc8b60" -dependencies = [ - "cfg-if", - "windows-link", -] - -[[package]] -name = "libnghttp2-sys" -version = "0.1.13+1.68.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "492e00167f1418c15648144f42bbfc63099806ecee9bf8d09a6353d6b4856b3c" -dependencies = [ - "cc", - "libc", -] - -[[package]] -name = "libredox" -version = "0.1.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ddbf48fd451246b1f8c2610bd3b4ac0cc6e149d89832867093ab69a17194f08" -dependencies = [ - "bitflags 2.11.0", - "libc", - "plain", - "redox_syscall 0.7.3", -] - -[[package]] -name = "libsqlite3-sys" -version = "0.36.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b4103cffefa72eb8428cb6b47d6627161e51c2739fc5e3b734584157bc642a" -dependencies = [ - "cc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "libssh2-sys" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "220e4f05ad4a218192533b300327f5150e809b54c4ec83b5a1d91833601811b9" -dependencies = [ - "cc", - "libc", - "libz-sys", - "openssl-sys", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "libz-sys" -version = "1.1.25" +version = "0.2.186" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52f4c29e2a68ac30c9087e1b772dc9f44a2b66ed44edf2266cf2be9b03dafc1" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] +checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66" [[package]] name = "link-cplusplus" @@ -3115,18 +1385,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.29" +version = "0.4.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" - -[[package]] -name = "matchers" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" -dependencies = [ - "regex-automata", -] +checksum = "953f07c43838f8e6f9758cab68bf5bed85465e7587ebe0b823f1bcd81978ad3a" [[package]] name = "matchit" @@ -3134,31 +1395,11 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" -[[package]] -name = "maybe-async" -version = "0.2.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cf92c10c7e361d6b99666ec1c6f9805b0bea2c3bd8c78dc6fe98ac5bd78db11" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "memchr" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" - -[[package]] -name = "memmap2" -version = "0.9.10" +version = "2.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "714098028fe011992e1c3962653c96b2d578c4b4bce9036e15ff220319b1e0e3" -dependencies = [ - "libc", -] +checksum = "6b947ae49db0d222b1dbc6b113ce7248a3fc3a6ca21b696717bfc000ba4484d8" [[package]] name = "meta" @@ -3216,12 +1457,6 @@ version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - [[package]] name = "miniz_oxide" version = "0.8.9" @@ -3229,27 +1464,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" dependencies = [ "adler2", - "simd-adler32", ] [[package]] name = "mio" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50b7e5b27aa02a74bac8c3f23f448f8d87ff11f92d3aac1a6ed369ee08cc56c1" +checksum = "02bd0af71c67b473010cbbc60715ee815645a4dc942899111f494b4b737d6fda" dependencies = [ "libc", "wasi", - "windows-sys 0.61.2", -] - -[[package]] -name = "miow" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "536bfad37a309d62069485248eeaba1e8d9853aaf951caaeaed0585a95346f08" -dependencies = [ - "windows-sys 0.61.2", + "windows-sys", ] [[package]] @@ -3286,38 +1511,7 @@ dependencies = [ "cxx", "cxx-build", "miette", - "rand 0.10.0", -] - -[[package]] -name = "nix" -version = "0.30.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6" -dependencies = [ - "bitflags 2.11.0", - "cfg-if", - "cfg_aliases", - "libc", -] - -[[package]] -name = "nom" -version = "7.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" -dependencies = [ - "memchr", - "minimal-lexical", -] - -[[package]] -name = "normpath" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf23ab2b905654b4cb177e30b629937b3868311d4e1cba859f899c041046e69b" -dependencies = [ - "windows-sys 0.61.2", + "rand 0.10.1", ] [[package]] @@ -3326,15 +1520,9 @@ version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.61.2", + "windows-sys", ] -[[package]] -name = "num-conv" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6673768db2d862beb9b39a78fdcb1a69439615d5794a1be50caa9bc92c81967" - [[package]] name = "num-traits" version = "0.2.19" @@ -3344,165 +1532,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "objc2" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a12a8ed07aefc768292f076dc3ac8c48f3781c8f2d5851dd3d98950e8c5a89f" -dependencies = [ - "objc2-encode", -] - -[[package]] -name = "objc2-cloud-kit" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73ad74d880bb43877038da939b7427bba67e9dd42004a18b809ba7d87cee241c" -dependencies = [ - "bitflags 2.11.0", - "objc2", - "objc2-foundation", -] - -[[package]] -name = "objc2-core-data" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b402a653efbb5e82ce4df10683b6b28027616a2715e90009947d50b8dd298fa" -dependencies = [ - "objc2", - "objc2-foundation", -] - -[[package]] -name = "objc2-core-foundation" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" -dependencies = [ - "bitflags 2.11.0", - "dispatch2", - "objc2", -] - -[[package]] -name = "objc2-core-graphics" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807" -dependencies = [ - "bitflags 2.11.0", - "dispatch2", - "objc2", - "objc2-core-foundation", - "objc2-io-surface", -] - -[[package]] -name = "objc2-core-image" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d563b38d2b97209f8e861173de434bd0214cf020e3423a52624cd1d989f006" -dependencies = [ - "objc2", - "objc2-foundation", -] - -[[package]] -name = "objc2-core-location" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca347214e24bc973fc025fd0d36ebb179ff30536ed1f80252706db19ee452009" -dependencies = [ - "objc2", - "objc2-foundation", -] - -[[package]] -name = "objc2-core-text" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cde0dfb48d25d2b4862161a4d5fcc0e3c24367869ad306b0c9ec0073bfed92d" -dependencies = [ - "bitflags 2.11.0", - "objc2", - "objc2-core-foundation", - "objc2-core-graphics", -] - -[[package]] -name = "objc2-encode" -version = "4.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" - -[[package]] -name = "objc2-foundation" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272" -dependencies = [ - "bitflags 2.11.0", - "block2", - "libc", - "objc2", - "objc2-core-foundation", -] - -[[package]] -name = "objc2-io-surface" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180788110936d59bab6bd83b6060ffdfffb3b922ba1396b312ae795e1de9d81d" -dependencies = [ - "bitflags 2.11.0", - "objc2", - "objc2-core-foundation", -] - -[[package]] -name = "objc2-quartz-core" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96c1358452b371bf9f104e21ec536d37a650eb10f7ee379fff67d2e08d537f1f" -dependencies = [ - "bitflags 2.11.0", - "objc2", - "objc2-core-foundation", - "objc2-foundation", -] - -[[package]] -name = "objc2-ui-kit" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d87d638e33c06f577498cbcc50491496a3ed4246998a7fbba7ccb98b1e7eab22" -dependencies = [ - "bitflags 2.11.0", - "block2", - "objc2", - "objc2-cloud-kit", - "objc2-core-data", - "objc2-core-foundation", - "objc2-core-graphics", - "objc2-core-image", - "objc2-core-location", - "objc2-core-text", - "objc2-foundation", - "objc2-quartz-core", - "objc2-user-notifications", -] - -[[package]] -name = "objc2-user-notifications" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9df9128cbbfef73cda168416ccf7f837b62737d748333bfe9ab71c245d76613e" -dependencies = [ - "objc2", - "objc2-foundation", -] - [[package]] name = "object" version = "0.37.3" @@ -3536,44 +1565,15 @@ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" [[package]] name = "once_cell_polyfill" -version = "1.70.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" - -[[package]] -name = "opener" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2fa337e0cf13357c13ef1dc108df1333eb192f75fc170bea03fcf1fd404c2ee" -dependencies = [ - "bstr", - "normpath", - "windows-sys 0.61.2", -] - -[[package]] -name = "openssl-probe" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" - -[[package]] -name = "openssl-sys" -version = "0.9.112" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d55af3b3e226502be1526dfdba67ab0e9c96fc293004e79576b2b9edb0dbdb" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" [[package]] name = "opentelemetry" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b84bcd6ae87133e903af7ef497404dda70c60d0ea14895fc8a5e6722754fc2a0" +checksum = "b0142c63252a9e054e68a4c61a5778f7b14f576274d593f8ce883d191a099682" dependencies = [ "futures-core", "futures-sink", @@ -3585,9 +1585,9 @@ dependencies = [ [[package]] name = "opentelemetry-http" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7a6d09a73194e6b66df7c8f1b680f156d916a1a942abf2de06823dd02b7855d" +checksum = "5683015d09e2df236ef005b17f6f196f0d5f6313c4fa43a7b6a53b52776e4331" dependencies = [ "async-trait", "bytes", @@ -3598,9 +1598,9 @@ dependencies = [ [[package]] name = "opentelemetry-otlp" -version = "0.31.1" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f69cd6acbb9af919df949cd1ec9e5e7fdc2ef15d234b6b795aaa525cc02f71f" +checksum = "9966929966d17620d7c316c643ba62631826e10021409357772d5eea84f62c35" dependencies = [ "http", "opentelemetry", @@ -3612,14 +1612,14 @@ dependencies = [ "thiserror 2.0.18", "tokio", "tonic", - "tracing", + "tonic-types", ] [[package]] name = "opentelemetry-proto" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7175df06de5eaee9909d4805a3d07e28bb752c34cab57fa9cff549da596b30f" +checksum = "56d658ba1faf63f7b9c492cfbe6e0ec365440a16132d3270c1065f7b33f1b638" dependencies = [ "opentelemetry", "opentelemetry_sdk", @@ -3630,36 +1630,28 @@ dependencies = [ [[package]] name = "opentelemetry-semantic-conventions" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e62e29dfe041afb8ed2a6c9737ab57db4907285d999ef8ad3a59092a36bdc846" +checksum = "6ca2f98a0437b427b4b08f19f1caa3c44db885a202bc12cfea13d6c702243d68" [[package]] name = "opentelemetry_sdk" -version = "0.31.0" +version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e14ae4f5991976fd48df6d843de219ca6d31b01daaab2dad5af2badeded372bd" +checksum = "9b59f80e1ac4d5ff7a2db8fb6c80badb7f0f3f858211fba08dd9aaec750894f9" dependencies = [ "futures-channel", "futures-executor", "futures-util", "opentelemetry", "percent-encoding", - "rand 0.9.2", + "portable-atomic", + "rand 0.9.4", "thiserror 2.0.18", "tokio", "tokio-stream", ] -[[package]] -name = "ordered-float" -version = "2.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68f19d67e5a2795c94e73e0bb1cc1a7edeb2e28efd39e2e1c9b7a40c1108b11c" -dependencies = [ - "num-traits", -] - [[package]] name = "ordered-multimap" version = "0.7.3" @@ -3670,49 +1662,12 @@ dependencies = [ "hashbrown 0.14.5", ] -[[package]] -name = "orion" -version = "0.17.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58fa7b8bd24f9f1b7fa56de934075adba4b6fb1bf0bf38db74f4236e05e14776" -dependencies = [ - "fiat-crypto", - "subtle", -] - -[[package]] -name = "os_info" -version = "3.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4022a17595a00d6a369236fdae483f0de7f0a339960a53118b818238e132224" -dependencies = [ - "android_system_properties", - "log", - "nix", - "objc2", - "objc2-foundation", - "objc2-ui-kit", - "windows-sys 0.61.2", -] - [[package]] name = "owo-colors" version = "4.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d211803b9b6b570f68772237e415a029d5a50c65d382910b879fb19d3271f94d" -[[package]] -name = "p384" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe42f1670a52a47d448f14b6a5c61dd78fce51856e68edaa38f7ae3a46b8d6b6" -dependencies = [ - "ecdsa", - "elliptic-curve", - "primeorder", - "sha2", -] - [[package]] name = "parking" version = "2.2.1" @@ -3767,28 +1722,6 @@ dependencies = [ "windows-link", ] -[[package]] -name = "pasetors" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e838401fb2873bad417e6a03179014c748746f67311cb7317ab14fc0881fa9f0" -dependencies = [ - "ct-codecs", - "ed25519-compact", - "getrandom 0.4.2", - "orion", - "p384", - "rand_core 0.6.4", - "regex", - "serde", - "serde_derive", - "serde_json", - "sha2", - "subtle", - "time", - "zeroize", -] - [[package]] name = "paste" version = "1.0.15" @@ -3797,9 +1730,9 @@ checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" [[package]] name = "pastey" -version = "0.2.1" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b867cad97c0791bbd3aaa6472142568c6c9e8f71937e98379f584cfb0cf35bec" +checksum = "2ee67f1008b1ba2321834326597b8e186293b049a023cdef258527550b9935b4" [[package]] name = "pathdiff" @@ -3844,15 +1777,6 @@ dependencies = [ "serde", ] -[[package]] -name = "pem-rfc7468" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" -dependencies = [ - "base64ct", -] - [[package]] name = "percent-encoding" version = "2.3.2" @@ -3915,18 +1839,18 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.1.11" +version = "1.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1749c7ed4bcaf4c3d0a3efc28538844fb29bcdd7d2b67b2be7e20ba861ff517" +checksum = "2466b2336ed02bcdca6b294417127b90ec92038d1d5c4fbeac971a922e0e0924" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.11" +version = "1.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b20ed30f105399776b9c883e68e536ef602a16ae6f596d2c473591d6ad64c6" +checksum = "c96395f0a926bc13b1c17622aaddda1ecb55d49c8f1bf9777e4d877800a43f8b" dependencies = [ "proc-macro2", "quote", @@ -3939,43 +1863,12 @@ version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" -[[package]] -name = "pkcs8" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" -dependencies = [ - "der", - "spki", -] - -[[package]] -name = "pkg-config" -version = "0.3.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" - -[[package]] -name = "plain" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6" - [[package]] name = "portable-atomic" version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49" -[[package]] -name = "portable-atomic-util" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "091397be61a01d4be58e7841595bd4bfedb15f1cd54977d79b8271e94ed799a3" -dependencies = [ - "portable-atomic", -] - [[package]] name = "potential_utf" version = "0.1.5" @@ -3985,12 +1878,6 @@ dependencies = [ "zerovec", ] -[[package]] -name = "powerfmt" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" - [[package]] name = "ppv-lite86" version = "0.2.21" @@ -4010,15 +1897,6 @@ dependencies = [ "syn", ] -[[package]] -name = "primeorder" -version = "0.13.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6" -dependencies = [ - "elliptic-curve", -] - [[package]] name = "proc-macro2" version = "1.0.106" @@ -4028,20 +1906,11 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "prodash" -version = "30.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a6efc566849d3d9d737c5cb06cc50e48950ebe3d3f9d70631490fff3a07b139" -dependencies = [ - "parking_lot 0.12.5", -] - [[package]] name = "prost" -version = "0.14.3" +version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2ea70524a2f82d518bce41317d0fae74151505651af45faf1ffbd6fd33f0568" +checksum = "528ac67416ff8646872a3c02cad9cc4ee5dc9f9540c9b10771855c95cb2e5ae1" dependencies = [ "bytes", "prost-derive", @@ -4049,9 +1918,9 @@ dependencies = [ [[package]] name = "prost-build" -version = "0.14.3" +version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "343d3bd7056eda839b03204e68deff7d1b13aba7af2b2fd16890697274262ee7" +checksum = "03da047801ff44bb6a4d407d4860c05fd70bb81714e6b2f3812603d5b145b042" dependencies = [ "heck", "itertools", @@ -4068,9 +1937,9 @@ dependencies = [ [[package]] name = "prost-derive" -version = "0.14.3" +version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27c6023962132f4b30eb4c172c91ce92d933da334c59c23cddee82358ddafb0b" +checksum = "b570b25f7617e43d59005d0990ccb79e950a423952cea19671b7a876da390adf" dependencies = [ "anyhow", "itertools", @@ -4081,9 +1950,9 @@ dependencies = [ [[package]] name = "prost-types" -version = "0.14.3" +version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8991c4cbdb8bc5b11f0b074ffe286c30e523de90fee5ba8132f1399f23cb3dd7" +checksum = "f94967dc7688f3054c7fac87473ffae4cc4c3904800e2d9f5b857246d8963b0a" dependencies = [ "prost", ] @@ -4136,9 +2005,9 @@ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" [[package]] name = "rand" -version = "0.9.2" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" +checksum = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea" dependencies = [ "rand_chacha", "rand_core 0.9.5", @@ -4146,13 +2015,13 @@ dependencies = [ [[package]] name = "rand" -version = "0.10.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc266eb313df6c5c09c1c7b1fbe2510961e5bcd3add930c1e31f7ed9da0feff8" +checksum = "d2e8e8bcc7961af1fdac401278c6a831614941f6164ee3bf4ce61b7edb162207" dependencies = [ "chacha20", "getrandom 0.4.2", - "rand_core 0.10.0", + "rand_core 0.10.1", ] [[package]] @@ -4165,15 +2034,6 @@ dependencies = [ "rand_core 0.9.5", ] -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom 0.2.17", -] - [[package]] name = "rand_core" version = "0.9.5" @@ -4185,18 +2045,9 @@ dependencies = [ [[package]] name = "rand_core" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c8d0fd677905edcbeedbf2edb6494d676f0e98d54d5cf9bda0b061cb8fb8aba" - -[[package]] -name = "rand_xoshiro" -version = "0.6.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa" -dependencies = [ - "rand_core 0.6.4", -] +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" [[package]] name = "redox_syscall" @@ -4213,16 +2064,7 @@ version = "0.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" dependencies = [ - "bitflags 2.11.0", -] - -[[package]] -name = "redox_syscall" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ce70a74e890531977d37e532c34d45e9055d2409ed08ddba14529471ed0be16" -dependencies = [ - "bitflags 2.11.0", + "bitflags 2.13.0", ] [[package]] @@ -4256,9 +2098,9 @@ checksum = "dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a" [[package]] name = "reqwest" -version = "0.12.28" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eddd3ca559203180a307f12d114c268abf583f59b03cb906fd0b3ff8646c1147" +checksum = "219c5811de6525e5416c7d5d53bb656d3afdbc6c5af816e0802bcfa42dbdc1c3" dependencies = [ "base64", "bytes", @@ -4274,9 +2116,6 @@ dependencies = [ "log", "percent-encoding", "pin-project-lite", - "serde", - "serde_json", - "serde_urlencoded", "sync_wrapper", "tokio", "tower", @@ -4288,23 +2127,13 @@ dependencies = [ "web-sys", ] -[[package]] -name = "rfc6979" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" -dependencies = [ - "hmac", - "subtle", -] - [[package]] name = "ron" version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4147b952f3f819eca0e99527022f7d6a8d05f111aeb0a62960c74eb283bec8fc" dependencies = [ - "bitflags 2.11.0", + "bitflags 2.13.0", "once_cell", "serde", "serde_derive", @@ -4312,31 +2141,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "rsqlite-vfs" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8a1f2315036ef6b1fbacd1972e8ee7688030b0a2121edfc2a6550febd41574d" -dependencies = [ - "hashbrown 0.16.1", - "thiserror 2.0.18", -] - -[[package]] -name = "rusqlite" -version = "0.38.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1c93dd1c9683b438c392c492109cb702b8090b2bfc8fed6f6e4eb4523f17af3" -dependencies = [ - "bitflags 2.11.0", - "fallible-iterator", - "fallible-streaming-iterator", - "hashlink 0.11.0", - "libsqlite3-sys", - "smallvec", - "sqlite-wasm-rs", -] - [[package]] name = "rust-ini" version = "0.21.3" @@ -4353,41 +2157,17 @@ version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b50b8869d9fc858ce7266cce0194bd74df58b9d0e3f6df3a9fc8eb470d95c09d" -[[package]] -name = "rustc-hash" -version = "2.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe" - -[[package]] -name = "rustc-stable-hash" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "781442f29170c5c93b7185ad559492601acdc71d5bb0706f5868094f45cfcd08" - -[[package]] -name = "rustfix" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "864792a841a1d785ba91b8d2a75e1936b40bc517020c3c2958ac403b92e4f00a" -dependencies = [ - "serde", - "serde_json", - "thiserror 2.0.18", - "tracing", -] - [[package]] name = "rustix" version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" dependencies = [ - "bitflags 2.11.0", + "bitflags 2.13.0", "errno", "libc", "linux-raw-sys", - "windows-sys 0.61.2", + "windows-sys", ] [[package]] @@ -4402,24 +2182,6 @@ version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" -[[package]] -name = "same-file" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "schannel" -version = "0.1.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939" -dependencies = [ - "windows-sys 0.61.2", -] - [[package]] name = "scopeguard" version = "1.2.0" @@ -4432,52 +2194,11 @@ version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d68f2ec51b097e4c1a75b681a8bec621909b5e91f15bb7b840c4f2f7b01148b2" -[[package]] -name = "sec1" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" -dependencies = [ - "base16ct", - "der", - "generic-array", - "pkcs8", - "subtle", - "zeroize", -] - -[[package]] -name = "security-framework" -version = "3.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" -dependencies = [ - "bitflags 2.11.0", - "core-foundation", - "core-foundation-sys", - "libc", - "security-framework-sys", -] - -[[package]] -name = "security-framework-sys" -version = "2.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3" -dependencies = [ - "core-foundation-sys", - "libc", -] - [[package]] name = "semver" -version = "1.0.27" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" -dependencies = [ - "serde", - "serde_core", -] +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" [[package]] name = "serde" @@ -4501,16 +2222,6 @@ dependencies = [ "typeid", ] -[[package]] -name = "serde-value" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3a1a3341211875ef120e117ea7fd5228530ae7e7036a779fdc9117be6b3282c" -dependencies = [ - "ordered-float", - "serde", -] - [[package]] name = "serde_core" version = "1.0.228" @@ -4531,21 +2242,11 @@ dependencies = [ "syn", ] -[[package]] -name = "serde_ignored" -version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "115dffd5f3853e06e746965a20dcbae6ee747ae30b543d91b0e089668bb07798" -dependencies = [ - "serde", - "serde_core", -] - [[package]] name = "serde_json" -version = "1.0.149" +version = "1.0.150" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" +checksum = "e8014e44b4736ed0538adeecded0fce2a272f22dc9578a7eb6b2d9993c74cfb9" dependencies = [ "itoa", "memchr", @@ -4563,18 +2264,6 @@ dependencies = [ "serde_core", ] -[[package]] -name = "serde_urlencoded" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" -dependencies = [ - "form_urlencoded", - "itoa", - "ryu", - "serde", -] - [[package]] name = "serde_yaml" version = "0.9.34+deprecated" @@ -4588,27 +2277,6 @@ dependencies = [ "unsafe-libyaml", ] -[[package]] -name = "sha1" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" -dependencies = [ - "cfg-if", - "cpufeatures 0.2.17", - "digest", -] - -[[package]] -name = "sha1-checked" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89f599ac0c323ebb1c6082821a54962b839832b03984598375bff3975b804423" -dependencies = [ - "digest", - "sha1", -] - [[package]] name = "sha2" version = "0.10.9" @@ -4620,32 +2288,11 @@ dependencies = [ "digest", ] -[[package]] -name = "sharded-slab" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" -dependencies = [ - "lazy_static", -] - -[[package]] -name = "shell-escape" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45bb67a18fa91266cc7807181f62f9178a6873bfad7dc788c42e6430db40184f" - -[[package]] -name = "shell-words" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc6fe69c597f9c37bfeeeeeb33da3530379845f10be461a66d16d03eca2ded77" - [[package]] name = "shlex" -version = "1.3.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" [[package]] name = "signal-hook-registry" @@ -4653,34 +2300,8 @@ version = "1.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b" dependencies = [ - "errno", - "libc", -] - -[[package]] -name = "signature" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" -dependencies = [ - "digest", - "rand_core 0.6.4", -] - -[[package]] -name = "simd-adler32" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214" - -[[package]] -name = "sized-chunks" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16d69225bde7a69b235da73377861095455d298f2b970996eec25ddbb42b3d1e" -dependencies = [ - "bitmaps", - "typenum", + "errno", + "libc", ] [[package]] @@ -4713,34 +2334,12 @@ checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" [[package]] name = "socket2" -version = "0.6.3" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a766e1110788c36f4fa1c2b71b387a7815aa65f88ce0229841826633d93723e" +checksum = "52d1cfed4120b4d927bf7c0f86d2087a4a7d6027c906d9f9d525a80573b9be51" dependencies = [ "libc", - "windows-sys 0.61.2", -] - -[[package]] -name = "spki" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" -dependencies = [ - "base64ct", - "der", -] - -[[package]] -name = "sqlite-wasm-rs" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f4206ed3a67690b9c29b77d728f6acc3ce78f16bf846d83c94f76400320181b" -dependencies = [ - "cc", - "js-sys", - "rsqlite-vfs", - "wasm-bindgen", + "windows-sys", ] [[package]] @@ -4749,24 +2348,12 @@ version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - [[package]] name = "strsim" version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" -[[package]] -name = "subtle" -version = "2.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" - [[package]] name = "supports-color" version = "3.0.2" @@ -4825,16 +2412,6 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417" -[[package]] -name = "tar" -version = "0.4.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22692a6476a21fa75fdfc11d452fda482af402c008cdbaf3476414e122040973" -dependencies = [ - "filetime", - "libc", -] - [[package]] name = "tempfile" version = "3.27.0" @@ -4845,7 +2422,7 @@ dependencies = [ "getrandom 0.4.2", "once_cell", "rustix", - "windows-sys 0.61.2", + "windows-sys", ] [[package]] @@ -4864,7 +2441,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "230a1b821ccbd75b185820a1f1ff7b14d21da1e442e22c0863ea5f08771a8874" dependencies = [ "rustix", - "windows-sys 0.61.2", + "windows-sys", ] [[package]] @@ -4917,46 +2494,6 @@ dependencies = [ "syn", ] -[[package]] -name = "thread_local" -version = "1.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "time" -version = "0.3.47" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "743bd48c283afc0388f9b8827b976905fb217ad9e647fae3a379a9283c4def2c" -dependencies = [ - "deranged", - "itoa", - "num-conv", - "powerfmt", - "serde_core", - "time-core", - "time-macros", -] - -[[package]] -name = "time-core" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7694e1cfe791f8d31026952abf09c69ca6f6fa4e1a1229e18988f06a04a12dca" - -[[package]] -name = "time-macros" -version = "0.2.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e70e4c5a0e0a8a4823ad65dfe1a6930e4f4d756dcd9dd7939022b5e8c501215" -dependencies = [ - "num-conv", - "time-core", -] - [[package]] name = "tiny-keccak" version = "2.0.2" @@ -4976,26 +2513,11 @@ dependencies = [ "zerovec", ] -[[package]] -name = "tinyvec" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e61e67053d25a4e82c844e8424039d9745781b3fc4f32b8d55ed50f5f667ef3" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" - [[package]] name = "tokio" -version = "1.50.0" +version = "1.52.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27ad5e34374e03cfffefc301becb44e9dc3c17584f414349ebe29ed26661822d" +checksum = "8fc7f01b389ac15039e4dc9531aa973a135d7a4135281b12d7c1bc79fd57fffe" dependencies = [ "bytes", "libc", @@ -5005,14 +2527,14 @@ dependencies = [ "signal-hook-registry", "socket2", "tokio-macros", - "windows-sys 0.61.2", + "windows-sys", ] [[package]] name = "tokio-macros" -version = "2.6.1" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c55a2eff8b69ce66c84f85e1da1c233edc36ceb85a2058d11b0d6a3c7e7569c" +checksum = "385a6cb71ab9ab790c5fe8d67f1645e6c450a7ce006a33de03daa956cf70a496" dependencies = [ "proc-macro2", "quote", @@ -5053,21 +2575,6 @@ dependencies = [ "serde", ] -[[package]] -name = "toml" -version = "0.9.12+spec-1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf92845e79fc2e2def6a5d828f0801e29a2f8acc037becc5ab08595c7d5e9863" -dependencies = [ - "indexmap", - "serde_core", - "serde_spanned", - "toml_datetime 0.7.5+spec-1.1.0", - "toml_parser", - "toml_writer", - "winnow 0.7.15", -] - [[package]] name = "toml" version = "1.1.2+spec-1.1.0" @@ -5076,18 +2583,9 @@ checksum = "81f3d15e84cbcd896376e6730314d59fb5a87f31e4b038454184435cd57defee" dependencies = [ "serde_core", "serde_spanned", - "toml_datetime 1.1.1+spec-1.1.0", + "toml_datetime", "toml_parser", - "winnow 1.0.1", -] - -[[package]] -name = "toml_datetime" -version = "0.7.5+spec-1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92e1cfed4a3038bc5a127e35a2d360f145e1f4b971b551a2ba5fd7aedf7e1347" -dependencies = [ - "serde_core", + "winnow", ] [[package]] @@ -5099,41 +2597,20 @@ dependencies = [ "serde_core", ] -[[package]] -name = "toml_edit" -version = "0.24.1+spec-1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01f2eadbbc6b377a847be05f60791ef1058d9f696ecb51d2c07fe911d8569d8e" -dependencies = [ - "indexmap", - "serde_core", - "serde_spanned", - "toml_datetime 0.7.5+spec-1.1.0", - "toml_parser", - "toml_writer", - "winnow 0.7.15", -] - [[package]] name = "toml_parser" version = "1.1.2+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2abe9b86193656635d2411dc43050282ca48aa31c2451210f4202550afb7526" dependencies = [ - "winnow 1.0.1", + "winnow", ] -[[package]] -name = "toml_writer" -version = "1.1.1+spec-1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "756daf9b1013ebe47a8776667b466417e2d4c5679d441c26230efd9ef78692db" - [[package]] name = "tonic" -version = "0.14.5" +version = "0.14.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fec7c61a0695dc1887c1b53952990f3ad2e3a31453e1f49f10e75424943a93ec" +checksum = "ac2a5518c70fa84342385732db33fb3f44bc4cc748936eb5833d2df34d6445ef" dependencies = [ "async-trait", "axum", @@ -5160,9 +2637,9 @@ dependencies = [ [[package]] name = "tonic-prost" -version = "0.14.5" +version = "0.14.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a55376a0bbaa4975a3f10d009ad763d8f4108f067c7c2e74f3001fb49778d309" +checksum = "50849f68853be452acf590cde0b146665b8d507b3b8af17261df47e02c209ea0" dependencies = [ "bytes", "prost", @@ -5171,9 +2648,9 @@ dependencies = [ [[package]] name = "tonic-types" -version = "0.14.5" +version = "0.14.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a875a902255423d34c1f20838ab374126db8eb41625b7947a1d54113b0b7399" +checksum = "73ab1b02061f83d519bba3caa167f88f261ef05720ab8ebc954ade70de3348e8" dependencies = [ "prost", "prost-types", @@ -5201,20 +2678,20 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.6.8" +version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8" +checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840" dependencies = [ - "bitflags 2.11.0", + "bitflags 2.13.0", "bytes", "futures-util", "http", "http-body", - "iri-string", "pin-project-lite", "tower", "tower-layer", "tower-service", + "url", ] [[package]] @@ -5251,17 +2728,6 @@ dependencies = [ "syn", ] -[[package]] -name = "tracing-chrome" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf0a738ed5d6450a9fb96e86a23ad808de2b727fd1394585da5cdd6788ffe724" -dependencies = [ - "serde_json", - "tracing-core", - "tracing-subscriber", -] - [[package]] name = "tracing-core" version = "0.1.36" @@ -5269,36 +2735,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" dependencies = [ "once_cell", - "valuable", -] - -[[package]] -name = "tracing-log" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" -dependencies = [ - "log", - "once_cell", - "tracing-core", -] - -[[package]] -name = "tracing-subscriber" -version = "0.3.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319" -dependencies = [ - "matchers", - "nu-ansi-term", - "once_cell", - "regex-automata", - "sharded-slab", - "smallvec", - "thread_local", - "tracing", - "tracing-core", - "tracing-log", ] [[package]] @@ -5315,9 +2751,9 @@ checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" [[package]] name = "typenum" -version = "1.19.0" +version = "1.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" [[package]] name = "ucd-trie" @@ -5325,18 +2761,6 @@ version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" -[[package]] -name = "unicase" -version = "2.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbc4bc3a9f746d862c45cb89d705aa10f187bb96c76001afab07a0d35ce60142" - -[[package]] -name = "unicode-bom" -version = "2.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7eec5d1121208364f6793f7d2e222bf75a915c19557537745b195b253dd64217" - [[package]] name = "unicode-ident" version = "1.0.24" @@ -5349,20 +2773,11 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f" -[[package]] -name = "unicode-normalization" -version = "0.1.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8" -dependencies = [ - "tinyvec", -] - [[package]] name = "unicode-segmentation" -version = "1.13.2" +version = "1.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c" +checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" [[package]] name = "unicode-width" @@ -5414,27 +2829,15 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.23.0" +version = "1.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ac8b6f42ead25368cf5b098aeb3dc8a1a2c05a3eee8a9a1a68c640edbfc79d9" +checksum = "d258b83ceec21034727ecee8c382cfa6c3e133699b0742c64571814fb420c9f7" dependencies = [ "getrandom 0.4.2", "js-sys", "wasm-bindgen", ] -[[package]] -name = "valuable" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" - -[[package]] -name = "vcpkg" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" - [[package]] name = "version_check" version = "0.9.5" @@ -5456,16 +2859,6 @@ dependencies = [ "wincode", ] -[[package]] -name = "walkdir" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" -dependencies = [ - "same-file", - "winapi-util", -] - [[package]] name = "want" version = "0.3.1" @@ -5483,11 +2876,11 @@ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] name = "wasip2" -version = "1.0.2+wasi-0.2.9" +version = "1.0.3+wasi-0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5" +checksum = "20064672db26d7cdc89c7798c48a0fdfac8213434a1186e5ef29fd560ae223d6" dependencies = [ - "wit-bindgen", + "wit-bindgen 0.57.1", ] [[package]] @@ -5496,14 +2889,14 @@ version = "0.4.0+wasi-0.3.0-rc-2026-01-06" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5" dependencies = [ - "wit-bindgen", + "wit-bindgen 0.51.0", ] [[package]] name = "wasm-bindgen" -version = "0.2.117" +version = "0.2.122" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0551fc1bb415591e3372d0bc4780db7e587d84e2a7e79da121051c5c4b89d0b0" +checksum = "3ed04576f974d2b2fba0f38c51dbc5518011e38c36bf1143164be765528fd409" dependencies = [ "cfg-if", "once_cell", @@ -5514,9 +2907,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.67" +version = "0.4.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03623de6905b7206edd0a75f69f747f134b7f0a2323392d664448bf2d3c5d87e" +checksum = "9473dbd2991ae90b6291c3c32c30c6187ac49aa32f9905d1cce280ec1e110b0f" dependencies = [ "js-sys", "wasm-bindgen", @@ -5524,9 +2917,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.117" +version = "0.2.122" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fbdf9a35adf44786aecd5ff89b4563a90325f9da0923236f6104e603c7e86be" +checksum = "916151b09da36bd82f6615cbf3a419e2f0ba23a03c6160e8e92eb6bd4aa1dec6" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -5534,9 +2927,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.117" +version = "0.2.122" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dca9693ef2bab6d4e6707234500350d8dad079eb508dca05530c85dc3a529ff2" +checksum = "299047362ccbfce148b67ab7e73349f77748e00c8296f9542adfad2ad82c5c5e" dependencies = [ "bumpalo", "proc-macro2", @@ -5547,9 +2940,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.117" +version = "0.2.122" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39129a682a6d2d841b6c429d0c51e5cb0ed1a03829d8b3d1e69a011e62cb3d3b" +checksum = "9a929b2c61f11ba3e9bc35b50c1f25cb38e0e892c0c231ae2b8cf78d5dad4437" dependencies = [ "unicode-ident", ] @@ -5582,7 +2975,7 @@ version = "0.244.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe" dependencies = [ - "bitflags 2.11.0", + "bitflags 2.13.0", "hashbrown 0.15.5", "indexmap", "semver", @@ -5590,9 +2983,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.94" +version = "0.3.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd70027e39b12f0849461e08ffc50b9cd7688d942c1c8e3c7b22273236b4dd0a" +checksum = "6d621441cfc37b84979402712047321980c178f299193a3589d05b99e8763436" dependencies = [ "js-sys", "wasm-bindgen", @@ -5620,7 +3013,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.61.2", + "windows-sys", ] [[package]] @@ -5631,9 +3024,9 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "wincode" -version = "0.5.1" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a61f8f0a55eb6cae5d7b7ad2eca536a944deb9722a948525181069064ecd1abc" +checksum = "66d967db7705dc29120bb6e8ce5b5a2e27734ed5976d1c904e95bd238d1c3c5a" dependencies = [ "pastey", "proc-macro2", @@ -5644,9 +3037,9 @@ dependencies = [ [[package]] name = "wincode-derive" -version = "0.4.3" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fca057fc9a13dd19cdb64ef558635d43c42667c0afa1ae7915ea1fa66993fd1a" +checksum = "15ab90b719560d0fda79c74550ad1c948d17b118765942838055ebaf34d67071" dependencies = [ "darling", "proc-macro2", @@ -5713,24 +3106,6 @@ dependencies = [ "windows-link", ] -[[package]] -name = "windows-sys" -version = "0.59.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" -dependencies = [ - "windows-targets 0.52.6", -] - -[[package]] -name = "windows-sys" -version = "0.60.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" -dependencies = [ - "windows-targets 0.53.5", -] - [[package]] name = "windows-sys" version = "0.61.2" @@ -5740,149 +3115,11 @@ dependencies = [ "windows-link", ] -[[package]] -name = "windows-targets" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" -dependencies = [ - "windows_aarch64_gnullvm 0.52.6", - "windows_aarch64_msvc 0.52.6", - "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm 0.52.6", - "windows_i686_msvc 0.52.6", - "windows_x86_64_gnu 0.52.6", - "windows_x86_64_gnullvm 0.52.6", - "windows_x86_64_msvc 0.52.6", -] - -[[package]] -name = "windows-targets" -version = "0.53.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" -dependencies = [ - "windows-link", - "windows_aarch64_gnullvm 0.53.1", - "windows_aarch64_msvc 0.53.1", - "windows_i686_gnu 0.53.1", - "windows_i686_gnullvm 0.53.1", - "windows_i686_msvc 0.53.1", - "windows_x86_64_gnu 0.53.1", - "windows_x86_64_gnullvm 0.53.1", - "windows_x86_64_msvc 0.53.1", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" - -[[package]] -name = "windows_i686_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" - -[[package]] -name = "windows_i686_gnu" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" - -[[package]] -name = "windows_i686_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" - -[[package]] -name = "windows_i686_gnullvm" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" - -[[package]] -name = "windows_i686_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" - -[[package]] -name = "windows_i686_msvc" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" - -[[package]] -name = "winnow" -version = "0.7.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945" -dependencies = [ - "memchr", -] - [[package]] name = "winnow" -version = "1.0.1" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09dac053f1cd375980747450bfc7250c264eaae0583872e845c0c7cd578872b5" +checksum = "0592e1c9d151f854e6fd382574c3a0855250e1d9b2f99d9281c6e6391af352f1" dependencies = [ "memchr", ] @@ -5896,6 +3133,12 @@ dependencies = [ "wit-bindgen-rust-macro", ] +[[package]] +name = "wit-bindgen" +version = "0.57.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" + [[package]] name = "wit-bindgen-core" version = "0.51.0" @@ -5945,7 +3188,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2" dependencies = [ "anyhow", - "bitflags 2.11.0", + "bitflags 2.13.0", "indexmap", "log", "serde", @@ -5977,26 +3220,26 @@ dependencies = [ [[package]] name = "writeable" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" +checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4" [[package]] name = "yaml-rust2" -version = "0.10.4" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2462ea039c445496d8793d052e13787f2b90e750b833afee748e601c17621ed9" +checksum = "631a50d867fafb7093e709d75aaee9e0e0d5deb934021fcea25ac2fe09edc51e" dependencies = [ "arraydeque", "encoding_rs", - "hashlink 0.10.0", + "hashlink", ] [[package]] name = "yoke" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abe8c5fda708d9ca3df187cae8bfb9ceda00dd96231bed36e445a1a48e66f9ca" +checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" dependencies = [ "stable_deref_trait", "yoke-derive", @@ -6017,18 +3260,18 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.8.48" +version = "0.8.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eed437bf9d6692032087e337407a86f04cd8d6a16a37199ed57949d415bd68e9" +checksum = "3b065d4f0e55f82fae73202e189638116a87c55ab6b8e6c2721e13dd9d854ad1" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.48" +version = "0.8.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4" +checksum = "0b631b19d36a892ab55420c92dbc83ccd79274f25be714855d3074aa71cab639" dependencies = [ "proc-macro2", "quote", @@ -6037,9 +3280,9 @@ dependencies = [ [[package]] name = "zerofrom" -version = "0.1.7" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69faa1f2a1ea75661980b013019ed6687ed0e83d069bc1114e2cc74c6c04c4df" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" dependencies = [ "zerofrom-derive", ] @@ -6056,12 +3299,6 @@ dependencies = [ "synstructure", ] -[[package]] -name = "zeroize" -version = "1.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" - [[package]] name = "zerotrie" version = "0.2.4" @@ -6095,18 +3332,6 @@ dependencies = [ "syn", ] -[[package]] -name = "zlib-rs" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40990edd51aae2c2b6907af74ffb635029d5788228222c4bb811e9351c0caad3" - -[[package]] -name = "zlib-rs" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3be3d40e40a133f9c916ee3f9f4fa2d9d63435b5fbe1bfc6d9dae0aa0ada1513" - [[package]] name = "zmij" version = "1.0.21" diff --git a/rust/bin/agent/Cargo.toml b/rust/bin/agent/Cargo.toml index 2694b46685..61fc5d0526 100644 --- a/rust/bin/agent/Cargo.toml +++ b/rust/bin/agent/Cargo.toml @@ -24,23 +24,25 @@ edition = "2024" algorithm = { version = "0.1.0", path = "../../libs/algorithm" } qbg = { version = "0.1.0", path = "../../libs/algorithms/qbg" } anyhow = "1.0.102" -cargo = "0.95.0" -chrono = "0.4.44" -config = "0.15.22" +chrono = "0.4.45" +config = "0.15.23" flexi_logger = "0.31" futures = "0.3.32" -http = "1.4.0" +http = "1.4.1" log = "0.4" -opentelemetry = { version = "0.31.0" } -prost = "0.14.3" -prost-types = "0.14.3" +opentelemetry = { version = "0.32.0" } +prost = "0.14.4" +prost-types = "0.14.4" proto = { version = "0.1.0", path = "../../libs/proto" } -tokio = { version = "1.50.0", features = ["full"] } +tokio = { version = "1.52.3", features = ["full"] } tokio-stream = { version = "0.1.18", features = ["full"] } -tonic = "0.14.5" -tonic-types = "0.14.5" +tonic = "0.14.6" +tonic-types = "0.14.6" tower = "0.5.3" +[build-dependencies] +cc = "1" + [dev-dependencies] bytes = "1.11.1" http-body = "1.0.1" diff --git a/rust/bin/agent/build.rs b/rust/bin/agent/build.rs new file mode 100644 index 0000000000..92d4cfb4f8 --- /dev/null +++ b/rust/bin/agent/build.rs @@ -0,0 +1,26 @@ +// Copyright (C) 2019-2026 vdaas.org vald team +// +// 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. +fn main() { + // Compile glibc compatibility shims so the binary runs on glibc < 2.38. + // GCC 13 + glibc 2.38 headers emit __isoc23_strtoX references even for + // C++17 builds; defining them here prevents runtime failures on Debian 12. + cc::Build::new() + .file("src/glibc_compat.c") + .compile("glibc_compat"); + + println!("cargo:rustc-link-lib=static=stdc++"); + println!("cargo:rustc-link-lib=static=zstd"); + println!("cargo:rerun-if-changed=build.rs"); + println!("cargo:rerun-if-changed=src/glibc_compat.c"); +} diff --git a/rust/bin/agent/src/glibc_compat.c b/rust/bin/agent/src/glibc_compat.c new file mode 100644 index 0000000000..93c4651d40 --- /dev/null +++ b/rust/bin/agent/src/glibc_compat.c @@ -0,0 +1,48 @@ +// Copyright (C) 2019-2026 vdaas.org vald team +// +// 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. +/* + * Copyright (C) 2019-2026 vdaas.org vald team + * + * 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. + */ + +/* + * GCC 13 + glibc 2.38 headers emit references to __isoc23_strtol/ul/ull + * (C23 variants) even when compiling C++17. These symbols don't exist in + * glibc < 2.38 (e.g., Debian 12 / glibc 2.36). Define them here as + * wrappers so the binary is self-contained and runs on older glibc. + */ +#include + +long __isoc23_strtol(const char *nptr, char **endptr, int base) { + return strtol(nptr, endptr, base); +} + +unsigned long __isoc23_strtoul(const char *nptr, char **endptr, int base) { + return strtoul(nptr, endptr, base); +} + +unsigned long long __isoc23_strtoull(const char *nptr, char **endptr, int base) { + return strtoull(nptr, endptr, base); +} diff --git a/rust/bin/agent/src/handler.rs b/rust/bin/agent/src/handler.rs index b558e29116..f25d19d945 100644 --- a/rust/bin/agent/src/handler.rs +++ b/rust/bin/agent/src/handler.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// mod common; pub mod index; pub mod insert; diff --git a/rust/bin/agent/src/handler/common.rs b/rust/bin/agent/src/handler/common.rs index 9a2f65f2b1..4bfd0f6795 100644 --- a/rust/bin/agent/src/handler/common.rs +++ b/rust/bin/agent/src/handler/common.rs @@ -1,21 +1,31 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use futures::StreamExt; use std::{collections::HashMap, sync::Arc}; + +pub fn get_hostname() -> String { + std::env::var("HOSTNAME") + .ok() + .filter(|h| !h.is_empty()) + .or_else(|| { + std::fs::read_to_string("/etc/hostname") + .ok() + .map(|s| s.trim().to_owned()) + }) + .unwrap_or_else(|| "unknown".to_string()) +} use tokio::sync::Mutex; use tokio::sync::mpsc; use tokio_stream::wrappers::ReceiverStream; diff --git a/rust/bin/agent/src/handler/index.rs b/rust/bin/agent/src/handler/index.rs index 03074f256c..4a6201379e 100644 --- a/rust/bin/agent/src/handler/index.rs +++ b/rust/bin/agent/src/handler/index.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use algorithm::Error; use log::{error, info}; use proto::{ @@ -33,8 +31,8 @@ impl agent_server::Agent for super::Agent { info!("Recieved a request from {:?}", request.remote_addr()); let req = request.get_ref(); let pool_size = req.pool_size; - let hostname = cargo::util::hostname()?; - let domain = hostname.to_str().unwrap(); + let hostname = super::common::get_hostname(); + let domain = hostname.as_str(); let res = Empty {}; { let mut s = self.s.write().await; @@ -103,8 +101,8 @@ impl agent_server::Agent for super::Agent { request: tonic::Request, ) -> std::result::Result, tonic::Status> { info!("Recieved a request from {:?}", request.remote_addr()); - let hostname = cargo::util::hostname()?; - let domain = hostname.to_str().unwrap(); + let hostname = super::common::get_hostname(); + let domain = hostname.as_str(); let res = Empty {}; { let mut s = self.s.write().await; diff --git a/rust/bin/agent/src/handler/insert.rs b/rust/bin/agent/src/handler/insert.rs index 4ebbca64b6..98586d3578 100644 --- a/rust/bin/agent/src/handler/insert.rs +++ b/rust/bin/agent/src/handler/insert.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use algorithm::{Error, MultiError}; use log::{error, info, warn}; use prost::Message; @@ -39,8 +37,8 @@ pub(super) async fn insert( Some(cfg) => cfg, None => return Err(Status::invalid_argument("Missing configuration in request")), }; - let hostname = cargo::util::hostname()?; - let domain = hostname.to_str().unwrap(); + let hostname = super::common::get_hostname(); + let domain = hostname.as_str(); { let mut s = s.write().await; let vec = match request.vector.clone() { @@ -226,8 +224,8 @@ impl insert_server::Insert for super::Agent { ) -> std::result::Result, tonic::Status> { info!("Recieved a request from {:?}", request.remote_addr()); let mreq = request.get_ref(); - let hostname = cargo::util::hostname()?; - let domain = hostname.to_str().unwrap(); + let hostname = super::common::get_hostname(); + let domain = hostname.as_str(); let mut uuids: Vec = Vec::new(); let mut vmap = HashMap::new(); { diff --git a/rust/bin/agent/src/handler/object.rs b/rust/bin/agent/src/handler/object.rs index 676cc82298..5b1dc4b758 100644 --- a/rust/bin/agent/src/handler/object.rs +++ b/rust/bin/agent/src/handler/object.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use algorithm::Error; use log::{info, warn}; use prost::Message; @@ -37,8 +35,8 @@ async fn get_object( None => return Err(Status::invalid_argument("Missing ID in request")), }; let uuid = id.id; - let hostname = cargo::util::hostname()?; - let domain = hostname.to_str().unwrap(); + let hostname = super::common::get_hostname(); + let domain = hostname.as_str(); { let s = s.read().await; if uuid.len() == 0 { diff --git a/rust/bin/agent/src/handler/remove.rs b/rust/bin/agent/src/handler/remove.rs index 8878897185..15a6907338 100644 --- a/rust/bin/agent/src/handler/remove.rs +++ b/rust/bin/agent/src/handler/remove.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use algorithm::{Error, MultiError}; use log::{error, info, warn}; use prost::Message; @@ -44,8 +42,8 @@ async fn remove( None => return Err(Status::invalid_argument("Missing ID in request")), }; let uuid = id.id; - let hostname = cargo::util::hostname()?; - let domain = hostname.to_str().unwrap(); + let hostname = super::common::get_hostname(); + let domain = hostname.as_str(); { let mut s = s.write().await; if uuid.len() == 0 { @@ -232,8 +230,8 @@ impl remove_server::Remove for super::Agent { ) -> std::result::Result, tonic::Status> { info!("Recieved a request from {:?}", request.remote_addr()); let mreq = request.get_ref(); - let hostname = cargo::util::hostname()?; - let domain = hostname.to_str().unwrap(); + let hostname = super::common::get_hostname(); + let domain = hostname.as_str(); let uuids: Vec = mreq .requests .clone() diff --git a/rust/bin/agent/src/handler/search.rs b/rust/bin/agent/src/handler/search.rs index e46d73904f..23453717b9 100644 --- a/rust/bin/agent/src/handler/search.rs +++ b/rust/bin/agent/src/handler/search.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use algorithm::Error; use log::{debug, error, info, warn}; use prost::Message; @@ -36,8 +34,8 @@ async fn search( Some(cfg) => cfg, None => return Err(Status::invalid_argument("Missing configuration in request")), }; - let hostname = cargo::util::hostname()?; - let domain = hostname.to_str().unwrap(); + let hostname = super::common::get_hostname(); + let domain = hostname.as_str(); { let s = s.read().await; if request.vector.len() != s.get_dimension_size() { @@ -263,8 +261,8 @@ impl search_server::Search for super::Agent { ) -> std::result::Result, tonic::Status> { info!("Recieved a request from {:?}", request.remote_addr()); let mreq = request.get_ref(); - let hostname = cargo::util::hostname()?; - let _domain = hostname.to_str().unwrap(); + let hostname = super::common::get_hostname(); + let _domain = hostname.as_str(); let mut res = search::Responses { responses: vec![] }; for req in mreq.requests.clone() { let response = self.search(tonic::Request::new(req)).await?; diff --git a/rust/bin/agent/src/handler/update.rs b/rust/bin/agent/src/handler/update.rs index 7c72d25832..b39e8fdb6b 100644 --- a/rust/bin/agent/src/handler/update.rs +++ b/rust/bin/agent/src/handler/update.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use algorithm::{Error, MultiError}; use log::{error, info, warn}; use prost::Message; @@ -39,8 +37,8 @@ pub(crate) async fn update( Some(cfg) => cfg, None => return Err(Status::invalid_argument("Missing configuration in request")), }; - let hostname = cargo::util::hostname()?; - let domain = hostname.to_str().unwrap(); + let hostname = super::common::get_hostname(); + let domain = hostname.as_str(); { let mut s = s.write().await; let vec = match request.vector.clone() { @@ -269,8 +267,8 @@ impl update_server::Update for super::Agent { ) -> std::result::Result, tonic::Status> { info!("Recieved a request from {:?}", request.remote_addr()); let mreq = request.get_ref(); - let hostname = cargo::util::hostname()?; - let domain = hostname.to_str().unwrap(); + let hostname = super::common::get_hostname(); + let domain = hostname.as_str(); let mut uuids: Vec = Vec::new(); let mut vmap = HashMap::new(); { diff --git a/rust/bin/agent/src/handler/upsert.rs b/rust/bin/agent/src/handler/upsert.rs index 37bb7e6e47..9f146eaadb 100644 --- a/rust/bin/agent/src/handler/upsert.rs +++ b/rust/bin/agent/src/handler/upsert.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use algorithm::Error; use log::{info, warn}; use prost::Message; @@ -41,8 +39,8 @@ async fn upsert( Some(cfg) => cfg, None => return Err(Status::invalid_argument("Missing configuration in request")), }; - let hostname = cargo::util::hostname()?; - let domain = hostname.to_str().unwrap(); + let hostname = super::common::get_hostname(); + let domain = hostname.as_str(); { let vec = match request.vector.clone() { Some(v) => v, @@ -231,8 +229,8 @@ impl upsert_server::Upsert for super::Agent { ) -> std::result::Result, tonic::Status> { info!("Recieved a request from {:?}", request.remote_addr()); let mreq = request.get_ref(); - let hostname = cargo::util::hostname()?; - let domain = hostname.to_str().unwrap(); + let hostname = super::common::get_hostname(); + let domain = hostname.as_str(); { let s = self.s.read().await; let mut ireqs = insert::MultiRequest { requests: vec![] }; diff --git a/rust/bin/agent/src/main.rs b/rust/bin/agent/src/main.rs index 516a1e2a81..d60830ad85 100644 --- a/rust/bin/agent/src/main.rs +++ b/rust/bin/agent/src/main.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use algorithm::{Error, MultiError}; use anyhow::Result; diff --git a/rust/bin/agent/src/middleware.rs b/rust/bin/agent/src/middleware.rs index 93070dfecf..4215e3f3a2 100644 --- a/rust/bin/agent/src/middleware.rs +++ b/rust/bin/agent/src/middleware.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use log::{debug, warn}; use std::{ diff --git a/rust/bin/meta/Cargo.toml b/rust/bin/meta/Cargo.toml index cff10a93e6..601089d245 100644 --- a/rust/bin/meta/Cargo.toml +++ b/rust/bin/meta/Cargo.toml @@ -19,15 +19,15 @@ version = "0.1.0" edition = "2024" [dependencies] -clap = { version = "4.6.0", features = ["derive", "env"] } +clap = { version = "4.6.1", features = ["derive", "env"] } serde = { version = "1.0.228", features = ["derive"] } serde_yaml = "0.9.34" kv = "0.24.0" -opentelemetry = "0.31.0" +opentelemetry = "0.32.0" proto = { version = "0.1.0", path = "../../libs/proto" } sled = "0.34.7" -tokio = { version = "1.50.0", features = ["full"] } -tonic = "0.14.5" +tokio = { version = "1.52.3", features = ["full"] } +tonic = "0.14.6" observability = { path = "../../libs/observability" } defer = "0.2.1" anyhow = "1.0.102" diff --git a/rust/bin/meta/src/config.rs b/rust/bin/meta/src/config.rs index d6e4da2dbc..9ab47b47a0 100644 --- a/rust/bin/meta/src/config.rs +++ b/rust/bin/meta/src/config.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use std::collections::HashMap; use std::fs::File; diff --git a/rust/bin/meta/src/handler.rs b/rust/bin/meta/src/handler.rs index 036070b7ed..8c9077573f 100644 --- a/rust/bin/meta/src/handler.rs +++ b/rust/bin/meta/src/handler.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// mod meta; use kv::*; diff --git a/rust/bin/meta/src/handler/meta.rs b/rust/bin/meta/src/handler/meta.rs index 307f7337b0..5c42280415 100644 --- a/rust/bin/meta/src/handler/meta.rs +++ b/rust/bin/meta/src/handler/meta.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use defer::defer; use kv::*; diff --git a/rust/bin/meta/src/main.rs b/rust/bin/meta/src/main.rs index dc3b379738..2347b2b34d 100644 --- a/rust/bin/meta/src/main.rs +++ b/rust/bin/meta/src/main.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// mod config; mod handler; diff --git a/rust/bin/meta/src/test_client.rs b/rust/bin/meta/src/test_client.rs index 07891bda84..7fd18cdb23 100644 --- a/rust/bin/meta/src/test_client.rs +++ b/rust/bin/meta/src/test_client.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use opentelemetry::global; use opentelemetry::propagation::Injector; diff --git a/rust/libs/algorithm/Cargo.toml b/rust/libs/algorithm/Cargo.toml index 290a63ad12..c759a5bd60 100644 --- a/rust/libs/algorithm/Cargo.toml +++ b/rust/libs/algorithm/Cargo.toml @@ -24,4 +24,4 @@ faiss = { version = "0.1.0", path = "../algorithms/faiss" } ngt = { version = "0.1.0", path = "../algorithms/ngt" } qbg = { version = "0.1.0", path = "../algorithms/qbg" } proto = { version = "0.1.0", path = "../proto" } -tonic = "0.14.5" +tonic = "0.14.6" diff --git a/rust/libs/algorithm/src/lib.rs b/rust/libs/algorithm/src/lib.rs index da9884cf6a..3cc9d84e8c 100644 --- a/rust/libs/algorithm/src/lib.rs +++ b/rust/libs/algorithm/src/lib.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use anyhow::Result; use proto::payload::v1::search; use std::{collections::HashMap, error, fmt, i64}; diff --git a/rust/libs/algorithms/faiss/src/lib.rs b/rust/libs/algorithms/faiss/src/lib.rs index ac2e47f0a1..e278754d43 100644 --- a/rust/libs/algorithms/faiss/src/lib.rs +++ b/rust/libs/algorithms/faiss/src/lib.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub fn add(left: u64, right: u64) -> u64 { left + right } diff --git a/rust/libs/algorithms/ngt/Cargo.toml b/rust/libs/algorithms/ngt/Cargo.toml index fec4ff3cb8..2d4f120986 100644 --- a/rust/libs/algorithms/ngt/Cargo.toml +++ b/rust/libs/algorithms/ngt/Cargo.toml @@ -27,4 +27,4 @@ cxx-build = "1.0.194" miette = { version = "7.6.0", features = ["fancy"] } [dev-dependencies] -rand = "0.10.0" +rand = "0.10.1" diff --git a/rust/libs/algorithms/ngt/build.rs b/rust/libs/algorithms/ngt/build.rs index a069b96c6d..f376a494c9 100644 --- a/rust/libs/algorithms/ngt/build.rs +++ b/rust/libs/algorithms/ngt/build.rs @@ -1,18 +1,33 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// +fn gcc_lib_dir() -> Option { + let arch = std::env::var("CARGO_CFG_TARGET_ARCH").unwrap_or_default(); + let triple = match arch.as_str() { + "x86_64" => "x86_64-linux-gnu", + "aarch64" => "aarch64-linux-gnu", + "arm" => "arm-linux-gnueabihf", + _ => return None, + }; + for ver in &["15", "14", "13", "12", "11", "10"] { + let path = format!("/usr/lib/gcc/{}/{}", triple, ver); + if std::path::Path::new(&path).exists() { + return Some(path); + } + } + None +} + fn main() -> miette::Result<()> { let current_dir = std::env::current_dir().unwrap(); println!("cargo:rustc-link-search=native={}", current_dir.display()); @@ -22,14 +37,35 @@ fn main() -> miette::Result<()> { .flag_if_supported("-std=c++20") .flag_if_supported("-fopenmp") .flag_if_supported("-flto=thin") + .flag_if_supported("-mavx2") .flag_if_supported("-DNGT_BFLOAT_DISABLED") + .flag_if_supported("-DNGT_LARGE_DATASET") .compile("ngt-rs"); println!("cargo:rustc-link-search=native=/usr/local/lib"); - println!("cargo:rustc-link-lib=static=ngt"); - println!("cargo:rustc-link-lib=blas"); - println!("cargo:rustc-link-lib=lapack"); - println!("cargo:rustc-link-lib=dylib=gomp"); + + let arch = std::env::var("CARGO_CFG_TARGET_ARCH").unwrap_or_default(); + if arch == "x86_64" { + println!("cargo:rustc-link-search=native=/usr/lib/x86_64-linux-gnu"); + } else if arch == "aarch64" { + println!("cargo:rustc-link-search=native=/usr/lib/aarch64-linux-gnu"); + } + + if let Some(gcc_dir) = gcc_lib_dir() { + println!("cargo:rustc-link-search=native={}", gcc_dir); + } + + println!("cargo:rustc-link-lib=static:+whole-archive=ngt"); + println!("cargo:rustc-link-lib=static=blas"); + println!("cargo:rustc-link-lib=static=lapack"); + println!("cargo:rustc-link-lib=static=gfortran"); + // libquadmath is only available on x86/x86_64 + if arch == "x86_64" { + println!("cargo:rustc-link-lib=static=quadmath"); + } + println!("cargo:rustc-link-lib=static=z"); + // NGT is built with GCC/libgomp; use gomp (not omp/libomp) + println!("cargo:rustc-link-lib=static=gomp"); println!("cargo:rerun-if-changed=src/*"); Ok(()) diff --git a/rust/libs/algorithms/ngt/src/input.cpp b/rust/libs/algorithms/ngt/src/input.cpp index 422e1bd132..60f1608f10 100644 --- a/rust/libs/algorithms/ngt/src/input.cpp +++ b/rust/libs/algorithms/ngt/src/input.cpp @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// #include #include "ngt/src/input.h" #include "ngt/src/lib.rs.h" diff --git a/rust/libs/algorithms/ngt/src/input.h b/rust/libs/algorithms/ngt/src/input.h index 8d580f25b8..1b8bec4897 100644 --- a/rust/libs/algorithms/ngt/src/input.h +++ b/rust/libs/algorithms/ngt/src/input.h @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// #pragma once #include "NGT/Index.h" diff --git a/rust/libs/algorithms/ngt/src/lib.rs b/rust/libs/algorithms/ngt/src/lib.rs index f867dc2c16..fb489e46c7 100644 --- a/rust/libs/algorithms/ngt/src/lib.rs +++ b/rust/libs/algorithms/ngt/src/lib.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// #[cxx::bridge] pub mod ffi { #[repr(i32)] diff --git a/rust/libs/algorithms/qbg/build.rs b/rust/libs/algorithms/qbg/build.rs index 41732818a6..f9afa44e25 100644 --- a/rust/libs/algorithms/qbg/build.rs +++ b/rust/libs/algorithms/qbg/build.rs @@ -1,18 +1,33 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// +fn gcc_lib_dir() -> Option { + let arch = std::env::var("CARGO_CFG_TARGET_ARCH").unwrap_or_default(); + let triple = match arch.as_str() { + "x86_64" => "x86_64-linux-gnu", + "aarch64" => "aarch64-linux-gnu", + "arm" => "arm-linux-gnueabihf", + _ => return None, + }; + for ver in &["15", "14", "13", "12", "11", "10"] { + let path = format!("/usr/lib/gcc/{}/{}", triple, ver); + if std::path::Path::new(&path).exists() { + return Some(path); + } + } + None +} + fn main() -> miette::Result<()> { let current_dir = std::env::current_dir().unwrap(); println!("cargo:rustc-link-search=native={}", current_dir.display()); @@ -22,15 +37,40 @@ fn main() -> miette::Result<()> { .flag_if_supported("-std=c++20") .flag_if_supported("-fopenmp") .flag_if_supported("-flto=thin") + .flag_if_supported("-mavx2") + .flag_if_supported("-mno-avx512f") + .flag_if_supported("-mno-avx512dq") + .flag_if_supported("-mno-avx512cd") + .flag_if_supported("-mno-avx512bw") + .flag_if_supported("-mno-avx512vl") .flag_if_supported("-DNGT_BFLOAT_DISABLED") + .flag_if_supported("-DNGT_LARGE_DATASET") .compile("qbg-rs"); println!("cargo:rustc-link-search=native=/usr/local/lib"); - println!("cargo:rustc-link-search=native=/usr/lib"); + + let arch = std::env::var("CARGO_CFG_TARGET_ARCH").unwrap_or_default(); + if arch == "x86_64" { + println!("cargo:rustc-link-search=native=/usr/lib/x86_64-linux-gnu"); + } else if arch == "aarch64" { + println!("cargo:rustc-link-search=native=/usr/lib/aarch64-linux-gnu"); + } + + if let Some(gcc_dir) = gcc_lib_dir() { + println!("cargo:rustc-link-search=native={}", gcc_dir); + } + println!("cargo:rustc-link-lib=static:+whole-archive=ngt"); - println!("cargo:rustc-link-lib=blas"); - println!("cargo:rustc-link-lib=lapack"); - println!("cargo:rustc-link-lib=dylib=gomp"); + println!("cargo:rustc-link-lib=static=blas"); + println!("cargo:rustc-link-lib=static=lapack"); + println!("cargo:rustc-link-lib=static=gfortran"); + // libquadmath is only available on x86/x86_64 + if arch == "x86_64" { + println!("cargo:rustc-link-lib=static=quadmath"); + } + println!("cargo:rustc-link-lib=static=z"); + // NGT is built with GCC/libgomp; use gomp (not omp/libomp) + println!("cargo:rustc-link-lib=static=gomp"); println!("cargo:rerun-if-changed=src/*"); Ok(()) diff --git a/rust/libs/algorithms/qbg/src/input.cpp b/rust/libs/algorithms/qbg/src/input.cpp index 8101056362..79d164c09e 100644 --- a/rust/libs/algorithms/qbg/src/input.cpp +++ b/rust/libs/algorithms/qbg/src/input.cpp @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// #include "qbg/src/input.h" #include "qbg/src/lib.rs.h" diff --git a/rust/libs/algorithms/qbg/src/input.h b/rust/libs/algorithms/qbg/src/input.h index 595fe7212e..f29ab5e45a 100644 --- a/rust/libs/algorithms/qbg/src/input.h +++ b/rust/libs/algorithms/qbg/src/input.h @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// #pragma once #include diff --git a/rust/libs/algorithms/qbg/src/lib.rs b/rust/libs/algorithms/qbg/src/lib.rs index c741cfecc6..dfa20b6517 100644 --- a/rust/libs/algorithms/qbg/src/lib.rs +++ b/rust/libs/algorithms/qbg/src/lib.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// #[cxx::bridge] pub mod ffi { unsafe extern "C++" { @@ -466,7 +464,7 @@ mod tests { for i in 0..100 { let vec: Vec = (0..DIMENSION).into_iter().map(|x| (x + i) as f32).collect(); let id = index.pin_mut().insert(vec.as_slice()).unwrap(); - assert_eq!((i + 1 + 100) as i32, id) + assert!(id > 0) } // Get Object @@ -526,7 +524,7 @@ mod tests { for i in 0..100 { let vec: Vec = (0..DIMENSION).into_iter().map(|x| (x + i) as f32).collect(); let id = index.pin_mut().insert(vec.as_slice()).unwrap(); - assert_eq!((i + 1 + 100) as i32, id) + assert!(id > 0) } // Get Object @@ -640,7 +638,7 @@ mod tests { for i in 0..100 { let vec: Vec = (0..DIMENSION).into_iter().map(|x| (x + i) as f32).collect(); let id = index.insert(vec.as_slice()).unwrap(); - assert_eq!((i + 1 + 100) as i32, id) + assert!(id > 0) } // Get Object diff --git a/rust/libs/kvs/Cargo.toml b/rust/libs/kvs/Cargo.toml index ba0e6b534a..83373c91b5 100644 --- a/rust/libs/kvs/Cargo.toml +++ b/rust/libs/kvs/Cargo.toml @@ -24,7 +24,7 @@ sled = "0.34" parking_lot = "0.12" serde = { version = "1.0", features = ["derive"] } thiserror = "2.0" -tokio = { version = "1.50", features = ["full"] } +tokio = { version = "1.52", features = ["full"] } tokio-stream = "0.1" tracing = "0.1" -wincode = { version = "0.5.1", features = ["derive"] } +wincode = { version = "0.5.5", features = ["derive"] } diff --git a/rust/libs/kvs/src/lib.rs b/rust/libs/kvs/src/lib.rs index 6cea0b1f6a..8d66aa2f68 100644 --- a/rust/libs/kvs/src/lib.rs +++ b/rust/libs/kvs/src/lib.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// //! # Map //! diff --git a/rust/libs/kvs/src/map.rs b/rust/libs/kvs/src/map.rs index f28c026458..0cd5c1cf0c 100644 --- a/rust/libs/kvs/src/map.rs +++ b/rust/libs/kvs/src/map.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod codec; pub mod error; diff --git a/rust/libs/kvs/src/map/base.rs b/rust/libs/kvs/src/map/base.rs index 92aa069166..dc7d5b5c4a 100644 --- a/rust/libs/kvs/src/map/base.rs +++ b/rust/libs/kvs/src/map/base.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use futures::{Stream, StreamExt}; use serde::{Serialize, de::DeserializeOwned}; diff --git a/rust/libs/kvs/src/map/bidirectional_map.rs b/rust/libs/kvs/src/map/bidirectional_map.rs index 0c9db367f7..6321ac15a1 100644 --- a/rust/libs/kvs/src/map/bidirectional_map.rs +++ b/rust/libs/kvs/src/map/bidirectional_map.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use serde::Serialize; use sled::{ diff --git a/rust/libs/kvs/src/map/codec.rs b/rust/libs/kvs/src/map/codec.rs index 19993ccb86..5e2dac5880 100644 --- a/rust/libs/kvs/src/map/codec.rs +++ b/rust/libs/kvs/src/map/codec.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use crate::map::error::Error; diff --git a/rust/libs/kvs/src/map/error.rs b/rust/libs/kvs/src/map/error.rs index e1d8a2ed38..40bd164f4c 100644 --- a/rust/libs/kvs/src/map/error.rs +++ b/rust/libs/kvs/src/map/error.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use thiserror::Error; diff --git a/rust/libs/kvs/src/map/types.rs b/rust/libs/kvs/src/map/types.rs index 1444e0ae08..ef5ee0641e 100644 --- a/rust/libs/kvs/src/map/types.rs +++ b/rust/libs/kvs/src/map/types.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use serde::{Serialize, de::DeserializeOwned}; use std::fmt::Debug; diff --git a/rust/libs/kvs/src/map/unidirectional_map.rs b/rust/libs/kvs/src/map/unidirectional_map.rs index 7b4008af8b..5a15097c93 100644 --- a/rust/libs/kvs/src/map/unidirectional_map.rs +++ b/rust/libs/kvs/src/map/unidirectional_map.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use serde::Serialize; use sled::{ diff --git a/rust/libs/observability/Cargo.toml b/rust/libs/observability/Cargo.toml index c6d724b819..1b846cc4a7 100644 --- a/rust/libs/observability/Cargo.toml +++ b/rust/libs/observability/Cargo.toml @@ -21,12 +21,12 @@ edition = "2024" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -opentelemetry = { version = "0.31.0" } -opentelemetry_sdk = { version = "0.31.0", features = ["rt-tokio"] } -opentelemetry-otlp = { version = "0.31.1", features = ["http-proto", "reqwest-client", "logs", "grpc-tonic"] } -tokio = { version = "1.50.0", features = ["full"] } -serde_json = { version="1.0.149" } -opentelemetry-semantic-conventions = { version = "0.31.0"} +opentelemetry = { version = "0.32.0" } +opentelemetry_sdk = { version = "0.32.1", features = ["rt-tokio"] } +opentelemetry-otlp = { version = "0.32.0", features = ["http-proto", "reqwest-client", "logs", "grpc-tonic"] } +tokio = { version = "1.52.3", features = ["full"] } +serde_json = { version="1.0.150" } +opentelemetry-semantic-conventions = { version = "0.32.0"} scopeguard = { version = "1.2.0"} paste = {version = "1.0.15"} anyhow = { version = "1.0.102"} diff --git a/rust/libs/observability/src/config.rs b/rust/libs/observability/src/config.rs index dd74815098..d88b87f487 100644 --- a/rust/libs/observability/src/config.rs +++ b/rust/libs/observability/src/config.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use std::collections::HashMap; use std::time::Duration; diff --git a/rust/libs/observability/src/lib.rs b/rust/libs/observability/src/lib.rs index 381fa437a7..b1f4a36450 100644 --- a/rust/libs/observability/src/lib.rs +++ b/rust/libs/observability/src/lib.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod config; pub mod macros; diff --git a/rust/libs/observability/src/macros.rs b/rust/libs/observability/src/macros.rs index c5acbdfe48..7efec0bb9e 100644 --- a/rust/libs/observability/src/macros.rs +++ b/rust/libs/observability/src/macros.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// #[macro_export] macro_rules! tracer { diff --git a/rust/libs/observability/src/observability.rs b/rust/libs/observability/src/observability.rs index ac2096c2b7..cc7709c6b6 100644 --- a/rust/libs/observability/src/observability.rs +++ b/rust/libs/observability/src/observability.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// use anyhow::{Ok, Result}; use opentelemetry::global; use opentelemetry_otlp::{MetricExporter, SpanExporter, WithExportConfig}; diff --git a/rust/libs/proto/Cargo.toml b/rust/libs/proto/Cargo.toml index a64467e736..3f45805c42 100644 --- a/rust/libs/proto/Cargo.toml +++ b/rust/libs/proto/Cargo.toml @@ -25,13 +25,13 @@ path = "src/lib.rs" [dependencies] futures-core = "0.3.32" -prost = "0.14.3" -prost-types = "0.14.3" -tonic = "0.14.5" +prost = "0.14.4" +prost-types = "0.14.4" +tonic = "0.14.6" serde = { version = "1.0", features = ["derive"] } pbjson = "0.9.0" pbjson-types = "0.9.0" -tonic-prost = "0.14.5" +tonic-prost = "0.14.6" [build-dependencies] -prost-build = "0.14.3" +prost-build = "0.14.4" diff --git a/rust/libs/proto/build.rs b/rust/libs/proto/build.rs index ca7808f92c..a7685f8c34 100644 --- a/rust/libs/proto/build.rs +++ b/rust/libs/proto/build.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// fn main() -> Result<(), Box> { let mut config = prost_build::Config::default(); diff --git a/rust/libs/proto/src/core/mod.rs b/rust/libs/proto/src/core/mod.rs index 263f36327a..436dc9b4f7 100644 --- a/rust/libs/proto/src/core/mod.rs +++ b/rust/libs/proto/src/core/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod v1; diff --git a/rust/libs/proto/src/core/v1/core.v1.tonic.rs b/rust/libs/proto/src/core/v1/core.v1.tonic.rs index 5b9e783df8..87278063fd 100644 --- a/rust/libs/proto/src/core/v1/core.v1.tonic.rs +++ b/rust/libs/proto/src/core/v1/core.v1.tonic.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod agent_client { #![allow( unused_variables, diff --git a/rust/libs/proto/src/core/v1/mod.rs b/rust/libs/proto/src/core/v1/mod.rs index a9e0d46d2f..4422538769 100644 --- a/rust/libs/proto/src/core/v1/mod.rs +++ b/rust/libs/proto/src/core/v1/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// include!("core.v1.tonic.rs"); diff --git a/rust/libs/proto/src/discoverer/mod.rs b/rust/libs/proto/src/discoverer/mod.rs index 263f36327a..436dc9b4f7 100644 --- a/rust/libs/proto/src/discoverer/mod.rs +++ b/rust/libs/proto/src/discoverer/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod v1; diff --git a/rust/libs/proto/src/discoverer/v1/discoverer.v1.tonic.rs b/rust/libs/proto/src/discoverer/v1/discoverer.v1.tonic.rs index f11387b7ff..67c0a2b7b4 100644 --- a/rust/libs/proto/src/discoverer/v1/discoverer.v1.tonic.rs +++ b/rust/libs/proto/src/discoverer/v1/discoverer.v1.tonic.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod discoverer_client { #![allow( unused_variables, diff --git a/rust/libs/proto/src/discoverer/v1/mod.rs b/rust/libs/proto/src/discoverer/v1/mod.rs index 26643c61c7..216ab6dd6d 100644 --- a/rust/libs/proto/src/discoverer/v1/mod.rs +++ b/rust/libs/proto/src/discoverer/v1/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// include!("discoverer.v1.tonic.rs"); diff --git a/rust/libs/proto/src/filter/egress/mod.rs b/rust/libs/proto/src/filter/egress/mod.rs index 263f36327a..436dc9b4f7 100644 --- a/rust/libs/proto/src/filter/egress/mod.rs +++ b/rust/libs/proto/src/filter/egress/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod v1; diff --git a/rust/libs/proto/src/filter/egress/v1/filter.egress.v1.tonic.rs b/rust/libs/proto/src/filter/egress/v1/filter.egress.v1.tonic.rs index f2a6016bb7..4009090e33 100644 --- a/rust/libs/proto/src/filter/egress/v1/filter.egress.v1.tonic.rs +++ b/rust/libs/proto/src/filter/egress/v1/filter.egress.v1.tonic.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod filter_client { #![allow( unused_variables, diff --git a/rust/libs/proto/src/filter/egress/v1/mod.rs b/rust/libs/proto/src/filter/egress/v1/mod.rs index c981d80106..64733e7bdb 100644 --- a/rust/libs/proto/src/filter/egress/v1/mod.rs +++ b/rust/libs/proto/src/filter/egress/v1/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// include!("filter.egress.v1.tonic.rs"); diff --git a/rust/libs/proto/src/filter/ingress/mod.rs b/rust/libs/proto/src/filter/ingress/mod.rs index 263f36327a..436dc9b4f7 100644 --- a/rust/libs/proto/src/filter/ingress/mod.rs +++ b/rust/libs/proto/src/filter/ingress/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod v1; diff --git a/rust/libs/proto/src/filter/ingress/v1/filter.ingress.v1.tonic.rs b/rust/libs/proto/src/filter/ingress/v1/filter.ingress.v1.tonic.rs index 6d52cede55..f90d1da559 100644 --- a/rust/libs/proto/src/filter/ingress/v1/filter.ingress.v1.tonic.rs +++ b/rust/libs/proto/src/filter/ingress/v1/filter.ingress.v1.tonic.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod filter_client { #![allow( unused_variables, diff --git a/rust/libs/proto/src/filter/ingress/v1/mod.rs b/rust/libs/proto/src/filter/ingress/v1/mod.rs index fcbc0457b5..7ab97619be 100644 --- a/rust/libs/proto/src/filter/ingress/v1/mod.rs +++ b/rust/libs/proto/src/filter/ingress/v1/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// include!("filter.ingress.v1.tonic.rs"); diff --git a/rust/libs/proto/src/filter/mod.rs b/rust/libs/proto/src/filter/mod.rs index a3ed2b6952..2bfbe2cb61 100644 --- a/rust/libs/proto/src/filter/mod.rs +++ b/rust/libs/proto/src/filter/mod.rs @@ -1,17 +1,15 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod egress; pub mod ingress; diff --git a/rust/libs/proto/src/google/mod.rs b/rust/libs/proto/src/google/mod.rs index 2b876678c8..16c766b186 100644 --- a/rust/libs/proto/src/google/mod.rs +++ b/rust/libs/proto/src/google/mod.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod protobuf { include!(concat!(env!("OUT_DIR"), "/google.protobuf.rs")); } diff --git a/rust/libs/proto/src/google/rpc/mod.rs b/rust/libs/proto/src/google/rpc/mod.rs index 89894b4e6f..24915c4987 100644 --- a/rust/libs/proto/src/google/rpc/mod.rs +++ b/rust/libs/proto/src/google/rpc/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// include!("status.rs"); diff --git a/rust/libs/proto/src/google/rpc/status.rs b/rust/libs/proto/src/google/rpc/status.rs index 3018f876f8..396b9f2c34 100644 --- a/rust/libs/proto/src/google/rpc/status.rs +++ b/rust/libs/proto/src/google/rpc/status.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] pub struct Status { /// The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]. diff --git a/rust/libs/proto/src/lib.rs b/rust/libs/proto/src/lib.rs index 1b7c2e1130..0ec746fcee 100644 --- a/rust/libs/proto/src/lib.rs +++ b/rust/libs/proto/src/lib.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod core; pub mod discoverer; pub mod filter; diff --git a/rust/libs/proto/src/meta/mod.rs b/rust/libs/proto/src/meta/mod.rs index 263f36327a..436dc9b4f7 100644 --- a/rust/libs/proto/src/meta/mod.rs +++ b/rust/libs/proto/src/meta/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod v1; diff --git a/rust/libs/proto/src/meta/v1/meta.v1.tonic.rs b/rust/libs/proto/src/meta/v1/meta.v1.tonic.rs index 2a3428a288..6daad505c1 100644 --- a/rust/libs/proto/src/meta/v1/meta.v1.tonic.rs +++ b/rust/libs/proto/src/meta/v1/meta.v1.tonic.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod meta_client { #![allow( unused_variables, diff --git a/rust/libs/proto/src/meta/v1/mod.rs b/rust/libs/proto/src/meta/v1/mod.rs index ffa2f832d3..8967b3c690 100644 --- a/rust/libs/proto/src/meta/v1/mod.rs +++ b/rust/libs/proto/src/meta/v1/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// include!("meta.v1.tonic.rs"); diff --git a/rust/libs/proto/src/mirror/mod.rs b/rust/libs/proto/src/mirror/mod.rs index 263f36327a..436dc9b4f7 100644 --- a/rust/libs/proto/src/mirror/mod.rs +++ b/rust/libs/proto/src/mirror/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod v1; diff --git a/rust/libs/proto/src/mirror/v1/mirror.v1.tonic.rs b/rust/libs/proto/src/mirror/v1/mirror.v1.tonic.rs index 7eb31969ed..97716bb53b 100644 --- a/rust/libs/proto/src/mirror/v1/mirror.v1.tonic.rs +++ b/rust/libs/proto/src/mirror/v1/mirror.v1.tonic.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod mirror_client { #![allow( unused_variables, diff --git a/rust/libs/proto/src/mirror/v1/mod.rs b/rust/libs/proto/src/mirror/v1/mod.rs index 08aa795a9a..63b47afceb 100644 --- a/rust/libs/proto/src/mirror/v1/mod.rs +++ b/rust/libs/proto/src/mirror/v1/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// include!("mirror.v1.tonic.rs"); diff --git a/rust/libs/proto/src/payload/mod.rs b/rust/libs/proto/src/payload/mod.rs index 263f36327a..436dc9b4f7 100644 --- a/rust/libs/proto/src/payload/mod.rs +++ b/rust/libs/proto/src/payload/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod v1; diff --git a/rust/libs/proto/src/payload/v1/mod.rs b/rust/libs/proto/src/payload/v1/mod.rs index f1719e7ae8..cc0b3f2eee 100644 --- a/rust/libs/proto/src/payload/v1/mod.rs +++ b/rust/libs/proto/src/payload/v1/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// include!("payload.v1.rs"); diff --git a/rust/libs/proto/src/payload/v1/payload.v1.rs b/rust/libs/proto/src/payload/v1/payload.v1.rs index 564dd78c79..2d7eab4c0d 100644 --- a/rust/libs/proto/src/payload/v1/payload.v1.rs +++ b/rust/libs/proto/src/payload/v1/payload.v1.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// #[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)] pub struct Search {} /// Nested message and enum types in `Search`. @@ -825,23 +823,23 @@ pub mod remove { /// (if the ProtoBuf definition does not change) and safe for programmatic use. pub fn as_str_name(&self) -> &'static str { match self { - Self::Eq => "Eq", - Self::Ne => "Ne", - Self::Ge => "Ge", - Self::Gt => "Gt", - Self::Le => "Le", - Self::Lt => "Lt", + Self::Eq => "EQ", + Self::Ne => "NE", + Self::Ge => "GE", + Self::Gt => "GT", + Self::Le => "LE", + Self::Lt => "LT", } } /// Creates an enum from field names used in the ProtoBuf definition. pub fn from_str_name(value: &str) -> ::core::option::Option { match value { - "Eq" => Some(Self::Eq), - "Ne" => Some(Self::Ne), - "Ge" => Some(Self::Ge), - "Gt" => Some(Self::Gt), - "Le" => Some(Self::Le), - "Lt" => Some(Self::Lt), + "EQ" => Some(Self::Eq), + "NE" => Some(Self::Ne), + "GE" => Some(Self::Ge), + "GT" => Some(Self::Gt), + "LE" => Some(Self::Le), + "LT" => Some(Self::Lt), _ => None, } } diff --git a/rust/libs/proto/src/payload/v1/payload.v1.serde.rs b/rust/libs/proto/src/payload/v1/payload.v1.serde.rs index b9b1828e8a..a7fbdb4068 100644 --- a/rust/libs/proto/src/payload/v1/payload.v1.serde.rs +++ b/rust/libs/proto/src/payload/v1/payload.v1.serde.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// impl serde::Serialize for Control { #[allow(deprecated)] fn serialize(&self, serializer: S) -> std::result::Result @@ -9299,12 +9297,12 @@ impl serde::Serialize for remove::timestamp::Operator { S: serde::Serializer, { let variant = match self { - Self::Eq => "Eq", - Self::Ne => "Ne", - Self::Ge => "Ge", - Self::Gt => "Gt", - Self::Le => "Le", - Self::Lt => "Lt", + Self::Eq => "EQ", + Self::Ne => "NE", + Self::Ge => "GE", + Self::Gt => "GT", + Self::Le => "LE", + Self::Lt => "LT", }; serializer.serialize_str(variant) } @@ -9315,7 +9313,7 @@ impl<'de> serde::Deserialize<'de> for remove::timestamp::Operator { where D: serde::Deserializer<'de>, { - const FIELDS: &[&str] = &["Eq", "Ne", "Ge", "Gt", "Le", "Lt"]; + const FIELDS: &[&str] = &["EQ", "NE", "GE", "GT", "LE", "LT"]; struct GeneratedVisitor; @@ -9355,12 +9353,12 @@ impl<'de> serde::Deserialize<'de> for remove::timestamp::Operator { E: serde::de::Error, { match value { - "Eq" => Ok(remove::timestamp::Operator::Eq), - "Ne" => Ok(remove::timestamp::Operator::Ne), - "Ge" => Ok(remove::timestamp::Operator::Ge), - "Gt" => Ok(remove::timestamp::Operator::Gt), - "Le" => Ok(remove::timestamp::Operator::Le), - "Lt" => Ok(remove::timestamp::Operator::Lt), + "EQ" => Ok(remove::timestamp::Operator::Eq), + "NE" => Ok(remove::timestamp::Operator::Ne), + "GE" => Ok(remove::timestamp::Operator::Ge), + "GT" => Ok(remove::timestamp::Operator::Gt), + "LE" => Ok(remove::timestamp::Operator::Le), + "LT" => Ok(remove::timestamp::Operator::Lt), _ => Err(serde::de::Error::unknown_variant(value, FIELDS)), } } diff --git a/rust/libs/proto/src/rpc/mod.rs b/rust/libs/proto/src/rpc/mod.rs index 263f36327a..436dc9b4f7 100644 --- a/rust/libs/proto/src/rpc/mod.rs +++ b/rust/libs/proto/src/rpc/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod v1; diff --git a/rust/libs/proto/src/rpc/v1/mod.rs b/rust/libs/proto/src/rpc/v1/mod.rs index 623c06cf24..e9944a7d1d 100644 --- a/rust/libs/proto/src/rpc/v1/mod.rs +++ b/rust/libs/proto/src/rpc/v1/mod.rs @@ -1,17 +1,15 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// include!("rpc.v1.rs"); include!("rpc.v1.tonic.rs"); diff --git a/rust/libs/proto/src/rpc/v1/rpc.v1.rs b/rust/libs/proto/src/rpc/v1/rpc.v1.rs index f311725778..9c69eb9f83 100644 --- a/rust/libs/proto/src/rpc/v1/rpc.v1.rs +++ b/rust/libs/proto/src/rpc/v1/rpc.v1.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ErrorInfo { /// The reason of the error. This is a constant value that identifies the diff --git a/rust/libs/proto/src/rpc/v1/rpc.v1.serde.rs b/rust/libs/proto/src/rpc/v1/rpc.v1.serde.rs index 16a7d06b38..6785922c9c 100644 --- a/rust/libs/proto/src/rpc/v1/rpc.v1.serde.rs +++ b/rust/libs/proto/src/rpc/v1/rpc.v1.serde.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// impl serde::Serialize for BadRequest { #[allow(deprecated)] fn serialize(&self, serializer: S) -> std::result::Result diff --git a/rust/libs/proto/src/rpc/v1/rpc.v1.tonic.rs b/rust/libs/proto/src/rpc/v1/rpc.v1.tonic.rs index 54b0453bcd..02bdbf2f77 100644 --- a/rust/libs/proto/src/rpc/v1/rpc.v1.tonic.rs +++ b/rust/libs/proto/src/rpc/v1/rpc.v1.tonic.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod stats_client { #![allow( unused_variables, diff --git a/rust/libs/proto/src/sidecar/mod.rs b/rust/libs/proto/src/sidecar/mod.rs index 263f36327a..436dc9b4f7 100644 --- a/rust/libs/proto/src/sidecar/mod.rs +++ b/rust/libs/proto/src/sidecar/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod v1; diff --git a/rust/libs/proto/src/sidecar/v1/mod.rs b/rust/libs/proto/src/sidecar/v1/mod.rs index 3d50c817a1..c477353b74 100644 --- a/rust/libs/proto/src/sidecar/v1/mod.rs +++ b/rust/libs/proto/src/sidecar/v1/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// include!("sidecar.v1.tonic.rs"); diff --git a/rust/libs/proto/src/sidecar/v1/sidecar.v1.tonic.rs b/rust/libs/proto/src/sidecar/v1/sidecar.v1.tonic.rs index 3d06d88350..c9b8c4b82b 100644 --- a/rust/libs/proto/src/sidecar/v1/sidecar.v1.tonic.rs +++ b/rust/libs/proto/src/sidecar/v1/sidecar.v1.tonic.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod sidecar_client { #![allow( unused_variables, diff --git a/rust/libs/proto/src/tikv/tikv.rs b/rust/libs/proto/src/tikv/tikv.rs index 96e041c85f..17760e9848 100644 --- a/rust/libs/proto/src/tikv/tikv.rs +++ b/rust/libs/proto/src/tikv/tikv.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// #[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)] pub struct NotLeader { /// The requested region ID diff --git a/rust/libs/proto/src/tikv/tikv.serde.rs b/rust/libs/proto/src/tikv/tikv.serde.rs index 4b8222153a..6dd7c214f1 100644 --- a/rust/libs/proto/src/tikv/tikv.serde.rs +++ b/rust/libs/proto/src/tikv/tikv.serde.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// impl serde::Serialize for ApiVersion { #[allow(deprecated)] fn serialize(&self, serializer: S) -> std::result::Result diff --git a/rust/libs/proto/src/tikv/tikv.tonic.rs b/rust/libs/proto/src/tikv/tikv.tonic.rs index bd0a7d0684..d5841bfff4 100644 --- a/rust/libs/proto/src/tikv/tikv.tonic.rs +++ b/rust/libs/proto/src/tikv/tikv.tonic.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod tikv_client { #![allow( unused_variables, diff --git a/rust/libs/proto/src/vald/mod.rs b/rust/libs/proto/src/vald/mod.rs index 263f36327a..436dc9b4f7 100644 --- a/rust/libs/proto/src/vald/mod.rs +++ b/rust/libs/proto/src/vald/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod v1; diff --git a/rust/libs/proto/src/vald/v1/mod.rs b/rust/libs/proto/src/vald/v1/mod.rs index 32e564ab54..19d2a1fa1b 100644 --- a/rust/libs/proto/src/vald/v1/mod.rs +++ b/rust/libs/proto/src/vald/v1/mod.rs @@ -1,16 +1,14 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// include!("vald.v1.tonic.rs"); diff --git a/rust/libs/proto/src/vald/v1/vald.v1.tonic.rs b/rust/libs/proto/src/vald/v1/vald.v1.tonic.rs index 5545577d56..5c1cfb0b21 100644 --- a/rust/libs/proto/src/vald/v1/vald.v1.tonic.rs +++ b/rust/libs/proto/src/vald/v1/vald.v1.tonic.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// pub mod filter_client { #![allow( unused_variables, diff --git a/rust/libs/proto/wkt.proto b/rust/libs/proto/wkt.proto index 7297350ae3..bdf7797609 100644 --- a/rust/libs/proto/wkt.proto +++ b/rust/libs/proto/wkt.proto @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// syntax = "proto3"; package wkt; diff --git a/rust/libs/vqueue/Cargo.toml b/rust/libs/vqueue/Cargo.toml index b40f08e052..ed215b3dec 100644 --- a/rust/libs/vqueue/Cargo.toml +++ b/rust/libs/vqueue/Cargo.toml @@ -27,7 +27,7 @@ sled = "0.34" serde = { version = "1.0", features = ["derive"] } thiserror = "2.0" moka = { version = "0.12", features = ["future"] } -wincode = { version = "0.5.1", features = ["derive"] } +wincode = { version = "0.5.5", features = ["derive"] } [dev-dependencies] diff --git a/rust/libs/vqueue/src/lib.rs b/rust/libs/vqueue/src/lib.rs index 6ee93d6345..c0c25cc1d9 100644 --- a/rust/libs/vqueue/src/lib.rs +++ b/rust/libs/vqueue/src/lib.rs @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// //! # Persistent Vector Queue //! diff --git a/rust/rust-toolchain.toml b/rust/rust-toolchain.toml index fd3efc4985..b16a4f7080 100644 --- a/rust/rust-toolchain.toml +++ b/rust/rust-toolchain.toml @@ -14,4 +14,5 @@ # limitations under the License. # [toolchain] -channel = "1.94.1" +channel = "1.96.0" +components = ["rust-src", "rust-analyzer", "rust-docs", "rustfmt", "clippy"] diff --git a/tests/e2e/crud/crud_faiss_test.go b/tests/e2e/crud/crud_faiss_test.go index 8de222cc33..ddd837d0fb 100644 --- a/tests/e2e/crud/crud_faiss_test.go +++ b/tests/e2e/crud/crud_faiss_test.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package crud provides e2e tests using ann-benchmarks datasets package crud diff --git a/tests/e2e/crud/crud_test.go b/tests/e2e/crud/crud_test.go index d37a013b2e..8592a4f4f4 100644 --- a/tests/e2e/crud/crud_test.go +++ b/tests/e2e/crud/crud_test.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package crud provides e2e tests using ann-benchmarks datasets package crud diff --git a/tests/e2e/hdf5/hdf5.go b/tests/e2e/hdf5/hdf5.go index fbbbbe4242..35e60cd62c 100644 --- a/tests/e2e/hdf5/hdf5.go +++ b/tests/e2e/hdf5/hdf5.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package hdf5 provides hdf5 utilities for e2e testing package hdf5 diff --git a/tests/e2e/kubernetes/client/client.go b/tests/e2e/kubernetes/client/client.go index efa5d72813..b764c9f3ff 100644 --- a/tests/e2e/kubernetes/client/client.go +++ b/tests/e2e/kubernetes/client/client.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package client provides kubernetes client package client diff --git a/tests/e2e/kubernetes/kubectl/kubectl.go b/tests/e2e/kubernetes/kubectl/kubectl.go index 60ae1f435f..030dc7c004 100644 --- a/tests/e2e/kubernetes/kubectl/kubectl.go +++ b/tests/e2e/kubernetes/kubectl/kubectl.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package kubectl diff --git a/tests/e2e/kubernetes/portforward/portforward.go b/tests/e2e/kubernetes/portforward/portforward.go index 2ab069af89..d3899f8294 100644 --- a/tests/e2e/kubernetes/portforward/portforward.go +++ b/tests/e2e/kubernetes/portforward/portforward.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package portforward provides port-forward functionality for e2e tests package portforward diff --git a/tests/e2e/multiapis/multiapis_test.go b/tests/e2e/multiapis/multiapis_test.go index 37c64a5402..e0e0a962ed 100644 --- a/tests/e2e/multiapis/multiapis_test.go +++ b/tests/e2e/multiapis/multiapis_test.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package multiapis provides e2e tests for multi APIs package multiapis diff --git a/tests/e2e/operation/doc.go b/tests/e2e/operation/doc.go index adb2374bad..526a04573e 100644 --- a/tests/e2e/operation/doc.go +++ b/tests/e2e/operation/doc.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package operation provides wrapper APIs used in e2e tests package operation diff --git a/tests/e2e/operation/stream.go b/tests/e2e/operation/stream.go index a7acd7f123..165e082cdf 100644 --- a/tests/e2e/operation/stream.go +++ b/tests/e2e/operation/stream.go @@ -1056,7 +1056,7 @@ func (c *client) RemoveByTimestamp(t *testing.T, ctx context.Context, timestamp Timestamps: []*payload.Remove_Timestamp{ { Timestamp: timestamp, - Operator: payload.Remove_Timestamp_Gt, + Operator: payload.Remove_Timestamp_GT, }, }, } diff --git a/tests/e2e/performance/max_vector_dim_test.go b/tests/e2e/performance/max_vector_dim_test.go index c817a74efb..8ce4462f24 100644 --- a/tests/e2e/performance/max_vector_dim_test.go +++ b/tests/e2e/performance/max_vector_dim_test.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package performance provides e2e tests for check max bit size package performance diff --git a/tests/e2e/pkg/agent/core/ngt/service/ngt_e2s_test.go b/tests/e2e/pkg/agent/core/ngt/service/ngt_e2s_test.go index 0d0d83128d..e6405b93c9 100644 --- a/tests/e2e/pkg/agent/core/ngt/service/ngt_e2s_test.go +++ b/tests/e2e/pkg/agent/core/ngt/service/ngt_e2s_test.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package vqueue manages the vector cache layer for reducing FFI overhead for fast Agent processing. package service diff --git a/tests/e2e/sidecar/sidecar_test.go b/tests/e2e/sidecar/sidecar_test.go index d37a12801c..439165ab05 100644 --- a/tests/e2e/sidecar/sidecar_test.go +++ b/tests/e2e/sidecar/sidecar_test.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package sidecar provides e2e tests for sidecar package sidecar diff --git a/tests/v2/e2e/config/config.go b/tests/v2/e2e/config/config.go index d1e2ba28b4..58ac0e754f 100644 --- a/tests/v2/e2e/config/config.go +++ b/tests/v2/e2e/config/config.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config provides configuration types and logic for loading and binding configuration values. // This file includes refactored Bind methods (always returning error) and non-Bind functions, diff --git a/tests/v2/e2e/config/enums.go b/tests/v2/e2e/config/enums.go index 78240c87b6..b83d7a988a 100644 --- a/tests/v2/e2e/config/enums.go +++ b/tests/v2/e2e/config/enums.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package config provides configuration types and logic for loading and binding configuration values. // This file includes detailed Bind methods for all configuration types with extensive comments. diff --git a/tests/v2/e2e/crud/agent_test.go b/tests/v2/e2e/crud/agent_test.go index 4cba80307d..440d66dfe8 100644 --- a/tests/v2/e2e/crud/agent_test.go +++ b/tests/v2/e2e/crud/agent_test.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package crud provides end-to-end tests using ann-benchmarks datasets. package crud diff --git a/tests/v2/e2e/crud/crud_test.go b/tests/v2/e2e/crud/crud_test.go index f87d97697d..a0ff6e7164 100644 --- a/tests/v2/e2e/crud/crud_test.go +++ b/tests/v2/e2e/crud/crud_test.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package crud provides e2e tests using ann-benchmarks datasets package crud diff --git a/tests/v2/e2e/crud/dataset_test.go b/tests/v2/e2e/crud/dataset_test.go index 5f15155cd8..6e0ac9d54e 100644 --- a/tests/v2/e2e/crud/dataset_test.go +++ b/tests/v2/e2e/crud/dataset_test.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package crud provides e2e tests using ann-benchmarks datasets package crud diff --git a/tests/v2/e2e/crud/grpc_test.go b/tests/v2/e2e/crud/grpc_test.go index a4f4ea5662..2eed38e11f 100644 --- a/tests/v2/e2e/crud/grpc_test.go +++ b/tests/v2/e2e/crud/grpc_test.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package crud provides end-to-end tests using ann-benchmarks datasets. package crud diff --git a/tests/v2/e2e/crud/index_test.go b/tests/v2/e2e/crud/index_test.go index c12ccc08a9..dcd12a4789 100644 --- a/tests/v2/e2e/crud/index_test.go +++ b/tests/v2/e2e/crud/index_test.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package crud provides end-to-end tests using ann-benchmarks datasets. package crud diff --git a/tests/v2/e2e/crud/kubernetes_test.go b/tests/v2/e2e/crud/kubernetes_test.go index a23f08b837..cfeba7f59d 100644 --- a/tests/v2/e2e/crud/kubernetes_test.go +++ b/tests/v2/e2e/crud/kubernetes_test.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package crud provides end-to-end tests using ann-benchmarks datasets. package crud diff --git a/tests/v2/e2e/crud/modification_test.go b/tests/v2/e2e/crud/modification_test.go index 367a8d028e..cc58805ab9 100644 --- a/tests/v2/e2e/crud/modification_test.go +++ b/tests/v2/e2e/crud/modification_test.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package crud provides end-to-end tests using ann-benchmarks datasets. package crud @@ -114,7 +112,7 @@ var ( Timestamps: []*payload.Remove_Timestamp{ { Timestamp: ts, - Operator: payload.Remove_Timestamp_Le, + Operator: payload.Remove_Timestamp_LE, }, }, } diff --git a/tests/v2/e2e/crud/object_test.go b/tests/v2/e2e/crud/object_test.go index 36518b309b..d1581b0e63 100644 --- a/tests/v2/e2e/crud/object_test.go +++ b/tests/v2/e2e/crud/object_test.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package crud provides end-to-end tests using ann-benchmarks datasets. package crud diff --git a/tests/v2/e2e/crud/search_test.go b/tests/v2/e2e/crud/search_test.go index 56069e003a..4c929e6eaa 100644 --- a/tests/v2/e2e/crud/search_test.go +++ b/tests/v2/e2e/crud/search_test.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package crud provides end-to-end tests using ann-benchmarks datasets. package crud diff --git a/tests/v2/e2e/crud/strategy_test.go b/tests/v2/e2e/crud/strategy_test.go index 1fe91fd703..b6181eabc1 100644 --- a/tests/v2/e2e/crud/strategy_test.go +++ b/tests/v2/e2e/crud/strategy_test.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package crud provides e2e tests using ann-benchmarks datasets package crud diff --git a/tests/v2/e2e/hdf5/hdf5.go b/tests/v2/e2e/hdf5/hdf5.go index 2bcf43e5d1..25dcb11f79 100644 --- a/tests/v2/e2e/hdf5/hdf5.go +++ b/tests/v2/e2e/hdf5/hdf5.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package hdf5 provides hdf5 utilities for e2e testing package hdf5 diff --git a/tests/v2/e2e/kubernetes/client.go b/tests/v2/e2e/kubernetes/client.go index 5a6571dc7c..90bccc4d4f 100644 --- a/tests/v2/e2e/kubernetes/client.go +++ b/tests/v2/e2e/kubernetes/client.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package kubernetes diff --git a/tests/v2/e2e/kubernetes/doc.go b/tests/v2/e2e/kubernetes/doc.go index 8ef2fd895f..9272d7a918 100644 --- a/tests/v2/e2e/kubernetes/doc.go +++ b/tests/v2/e2e/kubernetes/doc.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package kubernetes provides kubernetes client functions package kubernetes diff --git a/tests/v2/e2e/kubernetes/portforward/option.go b/tests/v2/e2e/kubernetes/portforward/option.go index e1641b85a4..3d71643c57 100644 --- a/tests/v2/e2e/kubernetes/portforward/option.go +++ b/tests/v2/e2e/kubernetes/portforward/option.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package portforward provides a persistent port forwarding daemon for Kubernetes services. package portforward diff --git a/tests/v2/e2e/kubernetes/portforward/portforward.go b/tests/v2/e2e/kubernetes/portforward/portforward.go index 439d5451c0..6fd070d661 100644 --- a/tests/v2/e2e/kubernetes/portforward/portforward.go +++ b/tests/v2/e2e/kubernetes/portforward/portforward.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // package portforward provides a persistent port forwarding daemon for Kubernetes services. package portforward diff --git a/tests/v2/e2e/kubernetes/resources.go b/tests/v2/e2e/kubernetes/resources.go index 4a151bb102..0bc705957e 100644 --- a/tests/v2/e2e/kubernetes/resources.go +++ b/tests/v2/e2e/kubernetes/resources.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package kubernetes diff --git a/tests/v2/e2e/kubernetes/rollout.go b/tests/v2/e2e/kubernetes/rollout.go index c590282d22..5edcd0f629 100644 --- a/tests/v2/e2e/kubernetes/rollout.go +++ b/tests/v2/e2e/kubernetes/rollout.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package kubernetes diff --git a/tests/v2/e2e/kubernetes/status.go b/tests/v2/e2e/kubernetes/status.go index 008fcf53af..33eb1d6d53 100644 --- a/tests/v2/e2e/kubernetes/status.go +++ b/tests/v2/e2e/kubernetes/status.go @@ -1,20 +1,18 @@ //go:build e2e -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package kubernetes diff --git a/tests/v2/e2e/metrics/exemplar.go b/tests/v2/e2e/metrics/exemplar.go index 748e705d51..b73ca560f1 100644 --- a/tests/v2/e2e/metrics/exemplar.go +++ b/tests/v2/e2e/metrics/exemplar.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package metrics diff --git a/tests/v2/e2e/metrics/exemplar_test.go b/tests/v2/e2e/metrics/exemplar_test.go index 72abe8ff73..ca0062681f 100644 --- a/tests/v2/e2e/metrics/exemplar_test.go +++ b/tests/v2/e2e/metrics/exemplar_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package metrics diff --git a/tests/v2/e2e/metrics/histogram.go b/tests/v2/e2e/metrics/histogram.go index a746fefdd0..f3bf700229 100644 --- a/tests/v2/e2e/metrics/histogram.go +++ b/tests/v2/e2e/metrics/histogram.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package metrics diff --git a/tests/v2/e2e/metrics/histogram_test.go b/tests/v2/e2e/metrics/histogram_test.go index d1f02c864b..e2dd7075b5 100644 --- a/tests/v2/e2e/metrics/histogram_test.go +++ b/tests/v2/e2e/metrics/histogram_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package metrics diff --git a/tests/v2/e2e/metrics/interface.go b/tests/v2/e2e/metrics/interface.go index 1cecea4f12..056afb2b58 100644 --- a/tests/v2/e2e/metrics/interface.go +++ b/tests/v2/e2e/metrics/interface.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package metrics diff --git a/tests/v2/e2e/metrics/metrics.go b/tests/v2/e2e/metrics/metrics.go index fd2e2e9bc7..5ca99bd9ae 100644 --- a/tests/v2/e2e/metrics/metrics.go +++ b/tests/v2/e2e/metrics/metrics.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// // Package metrics provides a metrics collection and aggregation system for E2E tests. // It supports recording latencies, queue waits, error counts, and custom counters, diff --git a/tests/v2/e2e/metrics/metrics_test.go b/tests/v2/e2e/metrics/metrics_test.go index 6d3d3bb594..e678f4f308 100644 --- a/tests/v2/e2e/metrics/metrics_test.go +++ b/tests/v2/e2e/metrics/metrics_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package metrics diff --git a/tests/v2/e2e/metrics/option.go b/tests/v2/e2e/metrics/option.go index 7ff60bc837..db8a5bd0ca 100644 --- a/tests/v2/e2e/metrics/option.go +++ b/tests/v2/e2e/metrics/option.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package metrics diff --git a/tests/v2/e2e/metrics/presenter.go b/tests/v2/e2e/metrics/presenter.go index 61fe7d23a7..6bc0f9a594 100644 --- a/tests/v2/e2e/metrics/presenter.go +++ b/tests/v2/e2e/metrics/presenter.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package metrics diff --git a/tests/v2/e2e/metrics/presenter_test.go b/tests/v2/e2e/metrics/presenter_test.go index 37ed3bd26f..7783e84f83 100644 --- a/tests/v2/e2e/metrics/presenter_test.go +++ b/tests/v2/e2e/metrics/presenter_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package metrics diff --git a/tests/v2/e2e/metrics/scale.go b/tests/v2/e2e/metrics/scale.go index 1c2544c046..b6c01983f8 100644 --- a/tests/v2/e2e/metrics/scale.go +++ b/tests/v2/e2e/metrics/scale.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package metrics diff --git a/tests/v2/e2e/metrics/scale_test.go b/tests/v2/e2e/metrics/scale_test.go index 213945ec56..0e48d0c2ec 100644 --- a/tests/v2/e2e/metrics/scale_test.go +++ b/tests/v2/e2e/metrics/scale_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package metrics diff --git a/tests/v2/e2e/metrics/shard.go b/tests/v2/e2e/metrics/shard.go index 54a990ba46..dad5496508 100644 --- a/tests/v2/e2e/metrics/shard.go +++ b/tests/v2/e2e/metrics/shard.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package metrics diff --git a/tests/v2/e2e/metrics/slots_test.go b/tests/v2/e2e/metrics/slots_test.go index 536b79fecf..bbc34cbb44 100644 --- a/tests/v2/e2e/metrics/slots_test.go +++ b/tests/v2/e2e/metrics/slots_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package metrics diff --git a/tests/v2/e2e/metrics/tdigest.go b/tests/v2/e2e/metrics/tdigest.go index 912b381c2c..eb454b6388 100644 --- a/tests/v2/e2e/metrics/tdigest.go +++ b/tests/v2/e2e/metrics/tdigest.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package metrics diff --git a/tests/v2/e2e/metrics/tdigest_test.go b/tests/v2/e2e/metrics/tdigest_test.go index bf9e34242d..cf1cd2d56e 100644 --- a/tests/v2/e2e/metrics/tdigest_test.go +++ b/tests/v2/e2e/metrics/tdigest_test.go @@ -1,18 +1,16 @@ -// // Copyright (C) 2019-2026 vdaas.org vald team // // 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 +// 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. -// package metrics diff --git a/versions/BUF_VERSION b/versions/BUF_VERSION index f5cf8b802d..d0109c6f77 100644 --- a/versions/BUF_VERSION +++ b/versions/BUF_VERSION @@ -1 +1 @@ -v1.67.0 +v1.70.0 diff --git a/versions/BUSYBOX_VERSION b/versions/BUSYBOX_VERSION index bf50e910e6..ebeef2f2d6 100644 --- a/versions/BUSYBOX_VERSION +++ b/versions/BUSYBOX_VERSION @@ -1 +1 @@ -1.37.0 +1.38.0 diff --git a/versions/CMAKE_VERSION b/versions/CMAKE_VERSION index f77856a6f1..e91d9be2a8 100644 --- a/versions/CMAKE_VERSION +++ b/versions/CMAKE_VERSION @@ -1 +1 @@ -4.3.1 +4.3.3 diff --git a/versions/DOCKER_VERSION b/versions/DOCKER_VERSION index 31ffcc78b8..f918b44318 100644 --- a/versions/DOCKER_VERSION +++ b/versions/DOCKER_VERSION @@ -1 +1 @@ -v29.3.1 +v29.5.3 diff --git a/versions/FAISS_VERSION b/versions/FAISS_VERSION index 63e799cf45..a4cc55716f 100644 --- a/versions/FAISS_VERSION +++ b/versions/FAISS_VERSION @@ -1 +1 @@ -1.14.1 +1.14.2 diff --git a/versions/GOLANGCILINT_VERSION b/versions/GOLANGCILINT_VERSION index a63479186f..6f9cc441d9 100644 --- a/versions/GOLANGCILINT_VERSION +++ b/versions/GOLANGCILINT_VERSION @@ -1 +1 @@ -v2.11.4 +v2.12.2 diff --git a/versions/GO_VERSION b/versions/GO_VERSION index dd43a143f0..ea0928cedf 100644 --- a/versions/GO_VERSION +++ b/versions/GO_VERSION @@ -1 +1 @@ -1.26.1 +1.26.4 diff --git a/versions/HELM_VERSION b/versions/HELM_VERSION index ac8cb4ee2c..51be872eb3 100644 --- a/versions/HELM_VERSION +++ b/versions/HELM_VERSION @@ -1 +1 @@ -v4.1.3 +v4.2.0 diff --git a/versions/K3D_VERSION b/versions/K3D_VERSION index 332e884712..b3d91f9cfc 100644 --- a/versions/K3D_VERSION +++ b/versions/K3D_VERSION @@ -1 +1 @@ -5.8.3 +5.9.0 diff --git a/versions/K3S_VERSION b/versions/K3S_VERSION index 0f6a03c5c5..11a02650e9 100644 --- a/versions/K3S_VERSION +++ b/versions/K3S_VERSION @@ -1 +1 @@ -v1.35.3-k3s1 +v1.36.1-k3s1 diff --git a/versions/KIND_VERSION b/versions/KIND_VERSION index 26bea73e81..9eb2aa3f10 100644 --- a/versions/KIND_VERSION +++ b/versions/KIND_VERSION @@ -1 +1 @@ -0.31.0 +0.32.0 diff --git a/versions/KUBECTL_VERSION b/versions/KUBECTL_VERSION index 6204eaf5cc..2f2d845194 100644 --- a/versions/KUBECTL_VERSION +++ b/versions/KUBECTL_VERSION @@ -1 +1 @@ -v1.35.3 \ No newline at end of file +v1.36.1 \ No newline at end of file diff --git a/versions/LLVM_VERSION b/versions/LLVM_VERSION new file mode 100644 index 0000000000..0a5bd1aa05 --- /dev/null +++ b/versions/LLVM_VERSION @@ -0,0 +1 @@ +22.1.7 diff --git a/versions/NGT_VERSION b/versions/NGT_VERSION index 37c2961c24..a4dd9dba4f 100644 --- a/versions/NGT_VERSION +++ b/versions/NGT_VERSION @@ -1 +1 @@ -2.7.2 +2.7.4 diff --git a/versions/NINJA_VERSION b/versions/NINJA_VERSION new file mode 100644 index 0000000000..61ce01b301 --- /dev/null +++ b/versions/NINJA_VERSION @@ -0,0 +1 @@ +1.13.2 diff --git a/versions/PROMETHEUS_STACK_VERSION b/versions/PROMETHEUS_STACK_VERSION index d522d50b0a..5f8ce0d35e 100644 --- a/versions/PROMETHEUS_STACK_VERSION +++ b/versions/PROMETHEUS_STACK_VERSION @@ -1 +1 @@ -82.16.0 +86.2.0 diff --git a/versions/PROTOBUF_VERSION b/versions/PROTOBUF_VERSION index efb8b2946c..f0b6ebab01 100644 --- a/versions/PROTOBUF_VERSION +++ b/versions/PROTOBUF_VERSION @@ -1 +1 @@ -34.1 +35.0 diff --git a/versions/RUST_VERSION b/versions/RUST_VERSION index df83a51c6c..9141007a55 100644 --- a/versions/RUST_VERSION +++ b/versions/RUST_VERSION @@ -1 +1 @@ -1.94.1 +1.96.0 diff --git a/versions/SNAPSHOTTER_VERSION b/versions/SNAPSHOTTER_VERSION index 684f62b808..2dc0523a54 100644 --- a/versions/SNAPSHOTTER_VERSION +++ b/versions/SNAPSHOTTER_VERSION @@ -1 +1 @@ -v8.5.0 +v8.6.0 diff --git a/versions/TELEPRESENCE_VERSION b/versions/TELEPRESENCE_VERSION index 2adce90d40..90efbd4e31 100644 --- a/versions/TELEPRESENCE_VERSION +++ b/versions/TELEPRESENCE_VERSION @@ -1 +1 @@ -2.27.3 +2.28.0 diff --git a/versions/USEARCH_VERSION b/versions/USEARCH_VERSION index 2aed6180f4..f27df56f6c 100644 --- a/versions/USEARCH_VERSION +++ b/versions/USEARCH_VERSION @@ -1 +1 @@ -2.21.4 +2.25.3 diff --git a/versions/YQ_VERSION b/versions/YQ_VERSION index d6acf8dd0c..ca87aa2385 100644 --- a/versions/YQ_VERSION +++ b/versions/YQ_VERSION @@ -1 +1 @@ -v4.52.5 +v4.53.3 diff --git a/versions/actions/ACTIONS_CACHE b/versions/actions/ACTIONS_CACHE index 2d6c0bcf19..ab0fa336dd 100644 --- a/versions/actions/ACTIONS_CACHE +++ b/versions/actions/ACTIONS_CACHE @@ -1 +1 @@ -5.0.4 +5.0.5 diff --git a/versions/actions/ACTIONS_CHECKOUT b/versions/actions/ACTIONS_CHECKOUT index 9b9a244206..090ea9dad1 100644 --- a/versions/actions/ACTIONS_CHECKOUT +++ b/versions/actions/ACTIONS_CHECKOUT @@ -1 +1 @@ -6.0.2 +6.0.3 diff --git a/versions/actions/ACTIONS_GITHUB_SCRIPT b/versions/actions/ACTIONS_GITHUB_SCRIPT new file mode 100644 index 0000000000..f7ee06693c --- /dev/null +++ b/versions/actions/ACTIONS_GITHUB_SCRIPT @@ -0,0 +1 @@ +9.0.0 diff --git a/versions/actions/ACTIONS_LABELER b/versions/actions/ACTIONS_LABELER index 5fe6072304..dfda3e0b4f 100644 --- a/versions/actions/ACTIONS_LABELER +++ b/versions/actions/ACTIONS_LABELER @@ -1 +1 @@ -6.0.1 +6.1.0 diff --git a/versions/actions/ACTIONS_UPLOAD_ARTIFACT b/versions/actions/ACTIONS_UPLOAD_ARTIFACT index 66ce77b7ea..9fe9ff9d99 100644 --- a/versions/actions/ACTIONS_UPLOAD_ARTIFACT +++ b/versions/actions/ACTIONS_UPLOAD_ARTIFACT @@ -1 +1 @@ -7.0.0 +7.0.1 diff --git a/versions/actions/CODECOV_CODECOV_ACTION b/versions/actions/CODECOV_CODECOV_ACTION index 09b254e90c..66ce77b7ea 100644 --- a/versions/actions/CODECOV_CODECOV_ACTION +++ b/versions/actions/CODECOV_CODECOV_ACTION @@ -1 +1 @@ -6.0.0 +7.0.0 diff --git a/versions/actions/DOCKER_LOGIN_ACTION b/versions/actions/DOCKER_LOGIN_ACTION index fcdb2e109f..6aba2b245a 100644 --- a/versions/actions/DOCKER_LOGIN_ACTION +++ b/versions/actions/DOCKER_LOGIN_ACTION @@ -1 +1 @@ -4.0.0 +4.2.0 diff --git a/versions/actions/DOCKER_SETUP_BUILDX_ACTION b/versions/actions/DOCKER_SETUP_BUILDX_ACTION index fcdb2e109f..ee74734aa2 100644 --- a/versions/actions/DOCKER_SETUP_BUILDX_ACTION +++ b/versions/actions/DOCKER_SETUP_BUILDX_ACTION @@ -1 +1 @@ -4.0.0 +4.1.0 diff --git a/versions/actions/GITHUB_CODEQL_ACTION_ANALYZE b/versions/actions/GITHUB_CODEQL_ACTION_ANALYZE index 516b3249d9..c4207ac50f 100644 --- a/versions/actions/GITHUB_CODEQL_ACTION_ANALYZE +++ b/versions/actions/GITHUB_CODEQL_ACTION_ANALYZE @@ -1 +1 @@ -4.34.1 +4.36.2 diff --git a/versions/actions/GITHUB_CODEQL_ACTION_AUTOBUILD b/versions/actions/GITHUB_CODEQL_ACTION_AUTOBUILD index 516b3249d9..c4207ac50f 100644 --- a/versions/actions/GITHUB_CODEQL_ACTION_AUTOBUILD +++ b/versions/actions/GITHUB_CODEQL_ACTION_AUTOBUILD @@ -1 +1 @@ -4.34.1 +4.36.2 diff --git a/versions/actions/GITHUB_CODEQL_ACTION_INIT b/versions/actions/GITHUB_CODEQL_ACTION_INIT index 516b3249d9..c4207ac50f 100644 --- a/versions/actions/GITHUB_CODEQL_ACTION_INIT +++ b/versions/actions/GITHUB_CODEQL_ACTION_INIT @@ -1 +1 @@ -4.34.1 +4.36.2 diff --git a/versions/actions/GITHUB_CODEQL_ACTION_UPLOAD_SARIF b/versions/actions/GITHUB_CODEQL_ACTION_UPLOAD_SARIF index d5663ffbea..c4207ac50f 100644 --- a/versions/actions/GITHUB_CODEQL_ACTION_UPLOAD_SARIF +++ b/versions/actions/GITHUB_CODEQL_ACTION_UPLOAD_SARIF @@ -1 +1 @@ -4.35.1 +4.36.2 diff --git a/versions/actions/GITHUB_ISSUE_METRICS b/versions/actions/GITHUB_ISSUE_METRICS index de197cc337..4739c61f1e 100644 --- a/versions/actions/GITHUB_ISSUE_METRICS +++ b/versions/actions/GITHUB_ISSUE_METRICS @@ -1 +1 @@ -4.1.3 +4.2.7 diff --git a/versions/actions/OVEN_SH_SETUP_BUN b/versions/actions/OVEN_SH_SETUP_BUN new file mode 100644 index 0000000000..ccbccc3dc6 --- /dev/null +++ b/versions/actions/OVEN_SH_SETUP_BUN @@ -0,0 +1 @@ +2.2.0 diff --git a/versions/actions/PETER_EVANS_CREATE_PULL_REQUEST b/versions/actions/PETER_EVANS_CREATE_PULL_REQUEST index 8104cabd36..0e79152459 100644 --- a/versions/actions/PETER_EVANS_CREATE_PULL_REQUEST +++ b/versions/actions/PETER_EVANS_CREATE_PULL_REQUEST @@ -1 +1 @@ -8.1.0 +8.1.1 diff --git a/versions/actions/SHOGO82148_ACTIONS_UPLOAD_RELEASE_ASSET b/versions/actions/SHOGO82148_ACTIONS_UPLOAD_RELEASE_ASSET index 81c871de46..4dae2985b5 100644 --- a/versions/actions/SHOGO82148_ACTIONS_UPLOAD_RELEASE_ASSET +++ b/versions/actions/SHOGO82148_ACTIONS_UPLOAD_RELEASE_ASSET @@ -1 +1 @@ -1.10.0 +1.10.1 diff --git a/versions/actions/SOFTPROPS_ACTION_GH_RELEASE b/versions/actions/SOFTPROPS_ACTION_GH_RELEASE index 6a6a3d8e35..4a36342fca 100644 --- a/versions/actions/SOFTPROPS_ACTION_GH_RELEASE +++ b/versions/actions/SOFTPROPS_ACTION_GH_RELEASE @@ -1 +1 @@ -2.6.1 +3.0.0