* chore(deps): bump the go group across 7 directories with 21 updates Bumps the go group with 9 updates in the / directory: | Package | From | To | | --- | --- | --- | | [github.com/golang-migrate/migrate/v4](https://github.com/golang-migrate/migrate) | `4.19.0` | `4.19.1` | | [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) | `2.27.3` | `2.27.5` | | [github.com/hashicorp/cap](https://github.com/hashicorp/cap) | `0.11.0` | `0.12.0` | | [github.com/hashicorp/go-kms-wrapping/v2](https://github.com/hashicorp/go-kms-wrapping) | `2.0.19` | `2.0.20` | | [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version) | `1.7.0` | `1.8.0` | | [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) | `5.7.6` | `5.8.0` | | [github.com/miekg/dns](https://github.com/miekg/dns) | `1.1.68` | `1.1.70` | | [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto) | `0.8.1` | `0.9.0` | | [google.golang.org/grpc/cmd/protoc-gen-go-grpc](https://github.com/grpc/grpc-go) | `1.5.1` | `1.6.0` | Bumps the go group with 4 updates in the /api directory: [github.com/hashicorp/go-kms-wrapping/v2](https://github.com/hashicorp/go-kms-wrapping), [google.golang.org/grpc](https://github.com/grpc/grpc-go), google.golang.org/protobuf and [github.com/hashicorp/boundary/sdk](https://github.com/hashicorp/boundary). Bumps the go group with 1 update in the /plugins/boundary/mains/aws directory: [github.com/hashicorp/boundary/sdk](https://github.com/hashicorp/boundary). Bumps the go group with 1 update in the /plugins/boundary/mains/azure directory: [github.com/hashicorp/boundary/sdk](https://github.com/hashicorp/boundary). Bumps the go group with 1 update in the /plugins/boundary/mains/gcp directory: [github.com/hashicorp/boundary/sdk](https://github.com/hashicorp/boundary). Bumps the go group with 1 update in the /plugins/boundary/mains/minio directory: [github.com/hashicorp/boundary/sdk](https://github.com/hashicorp/boundary). Bumps the go group with 2 updates in the /sdk directory: [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) and [github.com/hashicorp/go-kms-wrapping/v2](https://github.com/hashicorp/go-kms-wrapping). Updates `github.com/golang-migrate/migrate/v4` from 4.19.0 to 4.19.1 - [Release notes](https://github.com/golang-migrate/migrate/releases) - [Commits](https://github.com/golang-migrate/migrate/compare/v4.19.0...v4.19.1) Updates `github.com/grpc-ecosystem/grpc-gateway/v2` from 2.27.3 to 2.27.5 - [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases) - [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.27.3...v2.27.5) Updates `github.com/hashicorp/cap` from 0.11.0 to 0.12.0 - [Release notes](https://github.com/hashicorp/cap/releases) - [Changelog](https://github.com/hashicorp/cap/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/cap/compare/v0.11.0...v0.12.0) Updates `github.com/hashicorp/go-kms-wrapping/v2` from 2.0.19 to 2.0.20 - [Commits](https://github.com/hashicorp/go-kms-wrapping/compare/v2.0.19...v2.0.20) Updates `github.com/hashicorp/go-version` from 1.7.0 to 1.8.0 - [Release notes](https://github.com/hashicorp/go-version/releases) - [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/go-version/compare/v1.7.0...v1.8.0) Updates `github.com/jackc/pgx/v5` from 5.7.6 to 5.8.0 - [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md) - [Commits](https://github.com/jackc/pgx/compare/v5.7.6...v5.8.0) Updates `github.com/miekg/dns` from 1.1.68 to 1.1.70 - [Commits](https://github.com/miekg/dns/compare/v1.1.68...v1.1.70) Updates `github.com/pires/go-proxyproto` from 0.8.1 to 0.9.0 - [Release notes](https://github.com/pires/go-proxyproto/releases) - [Commits](https://github.com/pires/go-proxyproto/compare/v0.8.1...v0.9.0) Updates `golang.org/x/crypto` from 0.45.0 to 0.46.0 - [Commits](https://github.com/golang/crypto/compare/v0.45.0...v0.46.0) Updates `golang.org/x/net` from 0.47.0 to 0.48.0 - [Commits](https://github.com/golang/net/compare/v0.47.0...v0.48.0) Updates `golang.org/x/sync` from 0.18.0 to 0.19.0 - [Commits](https://github.com/golang/sync/compare/v0.18.0...v0.19.0) Updates `golang.org/x/sys` from 0.38.0 to 0.39.0 - [Commits](https://github.com/golang/sys/compare/v0.38.0...v0.39.0) Updates `golang.org/x/term` from 0.37.0 to 0.38.0 - [Commits](https://github.com/golang/term/compare/v0.37.0...v0.38.0) Updates `golang.org/x/text` from 0.31.0 to 0.33.0 - [Release notes](https://github.com/golang/text/releases) - [Commits](https://github.com/golang/text/compare/v0.31.0...v0.33.0) Updates `golang.org/x/tools` from 0.39.0 to 0.40.0 - [Release notes](https://github.com/golang/tools/releases) - [Commits](https://github.com/golang/tools/compare/v0.39.0...v0.40.0) Updates `google.golang.org/genproto` from 0.0.0-20240227224415-6ceb2ff114de to 0.0.0-20250603155806-513f23925822 - [Commits](https://github.com/googleapis/go-genproto/commits) Updates `google.golang.org/genproto/googleapis/api` from 0.0.0-20250929231259-57b25ae835d4 to 0.0.0-20260120221211-b8f7ae30c516 - [Commits](https://github.com/googleapis/go-genproto/commits) Updates `google.golang.org/grpc` from 1.76.0 to 1.78.0 - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.76.0...v1.78.0) Updates `google.golang.org/grpc/cmd/protoc-gen-go-grpc` from 1.5.1 to 1.6.0 - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.5.1...v1.6.0) Updates `google.golang.org/protobuf` from 1.36.10 to 1.36.11 Updates `github.com/hashicorp/go-kms-wrapping/v2` from 2.0.19 to 2.0.20 - [Commits](https://github.com/hashicorp/go-kms-wrapping/compare/v2.0.19...v2.0.20) Updates `google.golang.org/grpc` from 1.76.0 to 1.78.0 - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.76.0...v1.78.0) Updates `google.golang.org/protobuf` from 1.36.10 to 1.36.11 Updates `github.com/grpc-ecosystem/grpc-gateway/v2` from 2.27.3 to 2.27.5 - [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases) - [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.27.3...v2.27.5) Updates `github.com/hashicorp/go-kms-wrapping/v2` from 2.0.19 to 2.0.20 - [Commits](https://github.com/hashicorp/go-kms-wrapping/compare/v2.0.19...v2.0.20) Updates `google.golang.org/genproto/googleapis/api` from 0.0.0-20250929231259-57b25ae835d4 to 0.0.0-20260120221211-b8f7ae30c516 - [Commits](https://github.com/googleapis/go-genproto/commits) Updates `google.golang.org/grpc` from 1.76.0 to 1.78.0 - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.76.0...v1.78.0) Updates `google.golang.org/protobuf` from 1.36.10 to 1.36.11 Updates `github.com/hashicorp/go-kms-wrapping/v2` from 2.0.19 to 2.0.20 - [Commits](https://github.com/hashicorp/go-kms-wrapping/compare/v2.0.19...v2.0.20) Updates `google.golang.org/grpc` from 1.76.0 to 1.78.0 - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.76.0...v1.78.0) Updates `google.golang.org/protobuf` from 1.36.10 to 1.36.11 Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/go-kms-wrapping/v2` from 2.0.19 to 2.0.20 - [Commits](https://github.com/hashicorp/go-kms-wrapping/compare/v2.0.19...v2.0.20) Updates `google.golang.org/grpc` from 1.76.0 to 1.78.0 - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.76.0...v1.78.0) Updates `google.golang.org/protobuf` from 1.36.10 to 1.36.11 Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/go-kms-wrapping/v2` from 2.0.19 to 2.0.20 - [Commits](https://github.com/hashicorp/go-kms-wrapping/compare/v2.0.19...v2.0.20) Updates `google.golang.org/grpc` from 1.76.0 to 1.78.0 - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.76.0...v1.78.0) Updates `google.golang.org/protobuf` from 1.36.10 to 1.36.11 Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/hashicorp/boundary/sdk` from 0.0.55 to 0.0.56 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.55...api/v0.0.56) Updates `github.com/grpc-ecosystem/grpc-gateway/v2` from 2.27.3 to 2.27.5 - [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases) - [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.27.3...v2.27.5) Updates `github.com/hashicorp/go-kms-wrapping/v2` from 2.0.19 to 2.0.20 - [Commits](https://github.com/hashicorp/go-kms-wrapping/compare/v2.0.19...v2.0.20) Updates `google.golang.org/genproto/googleapis/api` from 0.0.0-20250929231259-57b25ae835d4 to 0.0.0-20260120221211-b8f7ae30c516 - [Commits](https://github.com/googleapis/go-genproto/commits) Updates `google.golang.org/grpc` from 1.76.0 to 1.78.0 - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.76.0...v1.78.0) Updates `google.golang.org/protobuf` from 1.36.10 to 1.36.11 Updates `github.com/hashicorp/go-kms-wrapping/v2` from 2.0.19 to 2.0.20 - [Commits](https://github.com/hashicorp/go-kms-wrapping/compare/v2.0.19...v2.0.20) Updates `google.golang.org/grpc` from 1.76.0 to 1.78.0 - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.76.0...v1.78.0) Updates `google.golang.org/protobuf` from 1.36.10 to 1.36.11 Updates `github.com/grpc-ecosystem/grpc-gateway/v2` from 2.27.3 to 2.27.5 - [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases) - [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.27.3...v2.27.5) Updates `github.com/hashicorp/go-kms-wrapping/v2` from 2.0.19 to 2.0.20 - [Commits](https://github.com/hashicorp/go-kms-wrapping/compare/v2.0.19...v2.0.20) Updates `google.golang.org/genproto/googleapis/api` from 0.0.0-20250929231259-57b25ae835d4 to 0.0.0-20260120221211-b8f7ae30c516 - [Commits](https://github.com/googleapis/go-genproto/commits) Updates `google.golang.org/grpc` from 1.76.0 to 1.78.0 - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.76.0...v1.78.0) Updates `google.golang.org/protobuf` from 1.36.10 to 1.36.11 --- updated-dependencies: - dependency-name: github.com/golang-migrate/migrate/v4 dependency-version: 4.19.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/grpc-ecosystem/grpc-gateway/v2 dependency-version: 2.27.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/cap dependency-version: 0.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: github.com/hashicorp/go-kms-wrapping/v2 dependency-version: 2.0.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/go-version dependency-version: 1.8.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: github.com/jackc/pgx/v5 dependency-version: 5.8.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: github.com/miekg/dns dependency-version: 1.1.70 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/pires/go-proxyproto dependency-version: 0.9.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: golang.org/x/crypto dependency-version: 0.46.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: golang.org/x/net dependency-version: 0.48.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: golang.org/x/sync dependency-version: 0.19.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: golang.org/x/sys dependency-version: 0.39.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: golang.org/x/term dependency-version: 0.38.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: golang.org/x/text dependency-version: 0.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: golang.org/x/tools dependency-version: 0.40.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: google.golang.org/genproto dependency-version: 0.0.0-20250603155806-513f23925822 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: google.golang.org/genproto/googleapis/api dependency-version: 0.0.0-20260120221211-b8f7ae30c516 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: google.golang.org/grpc dependency-version: 1.78.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: google.golang.org/grpc/cmd/protoc-gen-go-grpc dependency-version: 1.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: google.golang.org/protobuf dependency-version: 1.36.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/go-kms-wrapping/v2 dependency-version: 2.0.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: google.golang.org/grpc dependency-version: 1.78.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: google.golang.org/protobuf dependency-version: 1.36.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/grpc-ecosystem/grpc-gateway/v2 dependency-version: 2.27.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/go-kms-wrapping/v2 dependency-version: 2.0.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: google.golang.org/genproto/googleapis/api dependency-version: 0.0.0-20260120221211-b8f7ae30c516 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: google.golang.org/grpc dependency-version: 1.78.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: google.golang.org/protobuf dependency-version: 1.36.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/go-kms-wrapping/v2 dependency-version: 2.0.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: google.golang.org/grpc dependency-version: 1.78.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: google.golang.org/protobuf dependency-version: 1.36.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/go-kms-wrapping/v2 dependency-version: 2.0.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: google.golang.org/grpc dependency-version: 1.78.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: google.golang.org/protobuf dependency-version: 1.36.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/go-kms-wrapping/v2 dependency-version: 2.0.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: google.golang.org/grpc dependency-version: 1.78.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: google.golang.org/protobuf dependency-version: 1.36.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/grpc-ecosystem/grpc-gateway/v2 dependency-version: 2.27.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/go-kms-wrapping/v2 dependency-version: 2.0.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: google.golang.org/genproto/googleapis/api dependency-version: 0.0.0-20260120221211-b8f7ae30c516 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: google.golang.org/grpc dependency-version: 1.78.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: google.golang.org/protobuf dependency-version: 1.36.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/go-kms-wrapping/v2 dependency-version: 2.0.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: google.golang.org/grpc dependency-version: 1.78.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: google.golang.org/protobuf dependency-version: 1.36.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/grpc-ecosystem/grpc-gateway/v2 dependency-version: 2.27.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/go-kms-wrapping/v2 dependency-version: 2.0.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: google.golang.org/genproto/googleapis/api dependency-version: 0.0.0-20260120221211-b8f7ae30c516 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: google.golang.org/grpc dependency-version: 1.78.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: google.golang.org/protobuf dependency-version: 1.36.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go ... Signed-off-by: dependabot[bot] <support@github.com> * chore: update protos, go mod * chore: use protoc-gen-go-grpc v1.6.0 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: irenarindos <irena.rindos@gmail.com>
329 lines
14 KiB
Go
329 lines
14 KiB
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
// versions:
|
|
// - protoc-gen-go-grpc v1.6.0
|
|
// - protoc (unknown)
|
|
// source: controller/servers/services/v1/session_service.proto
|
|
|
|
package services
|
|
|
|
import (
|
|
context "context"
|
|
grpc "google.golang.org/grpc"
|
|
codes "google.golang.org/grpc/codes"
|
|
status "google.golang.org/grpc/status"
|
|
)
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
// Requires gRPC-Go v1.64.0 or later.
|
|
const _ = grpc.SupportPackageIsVersion9
|
|
|
|
const (
|
|
SessionService_LookupSession_FullMethodName = "/controller.servers.services.v1.SessionService/LookupSession"
|
|
SessionService_ActivateSession_FullMethodName = "/controller.servers.services.v1.SessionService/ActivateSession"
|
|
SessionService_CancelSession_FullMethodName = "/controller.servers.services.v1.SessionService/CancelSession"
|
|
SessionService_AuthorizeConnection_FullMethodName = "/controller.servers.services.v1.SessionService/AuthorizeConnection"
|
|
SessionService_ConnectConnection_FullMethodName = "/controller.servers.services.v1.SessionService/ConnectConnection"
|
|
SessionService_CloseConnection_FullMethodName = "/controller.servers.services.v1.SessionService/CloseConnection"
|
|
)
|
|
|
|
// SessionServiceClient is the client API for SessionService service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
|
type SessionServiceClient interface {
|
|
// LookupSession allows a worker to retrieve session information from the
|
|
// controller.
|
|
LookupSession(ctx context.Context, in *LookupSessionRequest, opts ...grpc.CallOption) (*LookupSessionResponse, error)
|
|
// ActivateSession allows a worker to activate a session on a controller.
|
|
ActivateSession(ctx context.Context, in *ActivateSessionRequest, opts ...grpc.CallOption) (*ActivateSessionResponse, error)
|
|
// CancelSession allows a worker to request that the controller cancel a session.
|
|
CancelSession(ctx context.Context, in *CancelSessionRequest, opts ...grpc.CallOption) (*CancelSessionResponse, error)
|
|
// AuthorizeConnection allows a worker to authorize a connection on a controller.
|
|
AuthorizeConnection(ctx context.Context, in *AuthorizeConnectionRequest, opts ...grpc.CallOption) (*AuthorizeConnectionResponse, error)
|
|
// ConnectConnection updates a connection to set it to connected
|
|
ConnectConnection(ctx context.Context, in *ConnectConnectionRequest, opts ...grpc.CallOption) (*ConnectConnectionResponse, error)
|
|
// CloseConnections updates a connection to set it to closed
|
|
CloseConnection(ctx context.Context, in *CloseConnectionRequest, opts ...grpc.CallOption) (*CloseConnectionResponse, error)
|
|
}
|
|
|
|
type sessionServiceClient struct {
|
|
cc grpc.ClientConnInterface
|
|
}
|
|
|
|
func NewSessionServiceClient(cc grpc.ClientConnInterface) SessionServiceClient {
|
|
return &sessionServiceClient{cc}
|
|
}
|
|
|
|
func (c *sessionServiceClient) LookupSession(ctx context.Context, in *LookupSessionRequest, opts ...grpc.CallOption) (*LookupSessionResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(LookupSessionResponse)
|
|
err := c.cc.Invoke(ctx, SessionService_LookupSession_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *sessionServiceClient) ActivateSession(ctx context.Context, in *ActivateSessionRequest, opts ...grpc.CallOption) (*ActivateSessionResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(ActivateSessionResponse)
|
|
err := c.cc.Invoke(ctx, SessionService_ActivateSession_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *sessionServiceClient) CancelSession(ctx context.Context, in *CancelSessionRequest, opts ...grpc.CallOption) (*CancelSessionResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(CancelSessionResponse)
|
|
err := c.cc.Invoke(ctx, SessionService_CancelSession_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *sessionServiceClient) AuthorizeConnection(ctx context.Context, in *AuthorizeConnectionRequest, opts ...grpc.CallOption) (*AuthorizeConnectionResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(AuthorizeConnectionResponse)
|
|
err := c.cc.Invoke(ctx, SessionService_AuthorizeConnection_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *sessionServiceClient) ConnectConnection(ctx context.Context, in *ConnectConnectionRequest, opts ...grpc.CallOption) (*ConnectConnectionResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(ConnectConnectionResponse)
|
|
err := c.cc.Invoke(ctx, SessionService_ConnectConnection_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *sessionServiceClient) CloseConnection(ctx context.Context, in *CloseConnectionRequest, opts ...grpc.CallOption) (*CloseConnectionResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(CloseConnectionResponse)
|
|
err := c.cc.Invoke(ctx, SessionService_CloseConnection_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// SessionServiceServer is the server API for SessionService service.
|
|
// All implementations must embed UnimplementedSessionServiceServer
|
|
// for forward compatibility.
|
|
type SessionServiceServer interface {
|
|
// LookupSession allows a worker to retrieve session information from the
|
|
// controller.
|
|
LookupSession(context.Context, *LookupSessionRequest) (*LookupSessionResponse, error)
|
|
// ActivateSession allows a worker to activate a session on a controller.
|
|
ActivateSession(context.Context, *ActivateSessionRequest) (*ActivateSessionResponse, error)
|
|
// CancelSession allows a worker to request that the controller cancel a session.
|
|
CancelSession(context.Context, *CancelSessionRequest) (*CancelSessionResponse, error)
|
|
// AuthorizeConnection allows a worker to authorize a connection on a controller.
|
|
AuthorizeConnection(context.Context, *AuthorizeConnectionRequest) (*AuthorizeConnectionResponse, error)
|
|
// ConnectConnection updates a connection to set it to connected
|
|
ConnectConnection(context.Context, *ConnectConnectionRequest) (*ConnectConnectionResponse, error)
|
|
// CloseConnections updates a connection to set it to closed
|
|
CloseConnection(context.Context, *CloseConnectionRequest) (*CloseConnectionResponse, error)
|
|
mustEmbedUnimplementedSessionServiceServer()
|
|
}
|
|
|
|
// UnimplementedSessionServiceServer must be embedded to have
|
|
// forward compatible implementations.
|
|
//
|
|
// NOTE: this should be embedded by value instead of pointer to avoid a nil
|
|
// pointer dereference when methods are called.
|
|
type UnimplementedSessionServiceServer struct{}
|
|
|
|
func (UnimplementedSessionServiceServer) LookupSession(context.Context, *LookupSessionRequest) (*LookupSessionResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method LookupSession not implemented")
|
|
}
|
|
func (UnimplementedSessionServiceServer) ActivateSession(context.Context, *ActivateSessionRequest) (*ActivateSessionResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method ActivateSession not implemented")
|
|
}
|
|
func (UnimplementedSessionServiceServer) CancelSession(context.Context, *CancelSessionRequest) (*CancelSessionResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method CancelSession not implemented")
|
|
}
|
|
func (UnimplementedSessionServiceServer) AuthorizeConnection(context.Context, *AuthorizeConnectionRequest) (*AuthorizeConnectionResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method AuthorizeConnection not implemented")
|
|
}
|
|
func (UnimplementedSessionServiceServer) ConnectConnection(context.Context, *ConnectConnectionRequest) (*ConnectConnectionResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method ConnectConnection not implemented")
|
|
}
|
|
func (UnimplementedSessionServiceServer) CloseConnection(context.Context, *CloseConnectionRequest) (*CloseConnectionResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method CloseConnection not implemented")
|
|
}
|
|
func (UnimplementedSessionServiceServer) mustEmbedUnimplementedSessionServiceServer() {}
|
|
func (UnimplementedSessionServiceServer) testEmbeddedByValue() {}
|
|
|
|
// UnsafeSessionServiceServer may be embedded to opt out of forward compatibility for this service.
|
|
// Use of this interface is not recommended, as added methods to SessionServiceServer will
|
|
// result in compilation errors.
|
|
type UnsafeSessionServiceServer interface {
|
|
mustEmbedUnimplementedSessionServiceServer()
|
|
}
|
|
|
|
func RegisterSessionServiceServer(s grpc.ServiceRegistrar, srv SessionServiceServer) {
|
|
// If the following call panics, it indicates UnimplementedSessionServiceServer was
|
|
// embedded by pointer and is nil. This will cause panics if an
|
|
// unimplemented method is ever invoked, so we test this at initialization
|
|
// time to prevent it from happening at runtime later due to I/O.
|
|
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
|
|
t.testEmbeddedByValue()
|
|
}
|
|
s.RegisterService(&SessionService_ServiceDesc, srv)
|
|
}
|
|
|
|
func _SessionService_LookupSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(LookupSessionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(SessionServiceServer).LookupSession(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: SessionService_LookupSession_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(SessionServiceServer).LookupSession(ctx, req.(*LookupSessionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _SessionService_ActivateSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ActivateSessionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(SessionServiceServer).ActivateSession(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: SessionService_ActivateSession_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(SessionServiceServer).ActivateSession(ctx, req.(*ActivateSessionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _SessionService_CancelSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CancelSessionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(SessionServiceServer).CancelSession(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: SessionService_CancelSession_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(SessionServiceServer).CancelSession(ctx, req.(*CancelSessionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _SessionService_AuthorizeConnection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AuthorizeConnectionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(SessionServiceServer).AuthorizeConnection(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: SessionService_AuthorizeConnection_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(SessionServiceServer).AuthorizeConnection(ctx, req.(*AuthorizeConnectionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _SessionService_ConnectConnection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ConnectConnectionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(SessionServiceServer).ConnectConnection(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: SessionService_ConnectConnection_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(SessionServiceServer).ConnectConnection(ctx, req.(*ConnectConnectionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _SessionService_CloseConnection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CloseConnectionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(SessionServiceServer).CloseConnection(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: SessionService_CloseConnection_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(SessionServiceServer).CloseConnection(ctx, req.(*CloseConnectionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
// SessionService_ServiceDesc is the grpc.ServiceDesc for SessionService service.
|
|
// It's only intended for direct use with grpc.RegisterService,
|
|
// and not to be introspected or modified (even as a copy)
|
|
var SessionService_ServiceDesc = grpc.ServiceDesc{
|
|
ServiceName: "controller.servers.services.v1.SessionService",
|
|
HandlerType: (*SessionServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "LookupSession",
|
|
Handler: _SessionService_LookupSession_Handler,
|
|
},
|
|
{
|
|
MethodName: "ActivateSession",
|
|
Handler: _SessionService_ActivateSession_Handler,
|
|
},
|
|
{
|
|
MethodName: "CancelSession",
|
|
Handler: _SessionService_CancelSession_Handler,
|
|
},
|
|
{
|
|
MethodName: "AuthorizeConnection",
|
|
Handler: _SessionService_AuthorizeConnection_Handler,
|
|
},
|
|
{
|
|
MethodName: "ConnectConnection",
|
|
Handler: _SessionService_ConnectConnection_Handler,
|
|
},
|
|
{
|
|
MethodName: "CloseConnection",
|
|
Handler: _SessionService_CloseConnection_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "controller/servers/services/v1/session_service.proto",
|
|
}
|