Agent Mesh
Go a2aa2a-protocolagent-meshagentic-aiinferencemcpmeshmesh-networknetwork-securitynetworking-aip2p-network
// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT 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:
// protoc-gen-go v1.36.12
// protoc v3.21.12
// source: api/agentmesh.proto
package api
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
durationpb "google.golang.org/protobuf/types/known/durationpb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type EnrollmentStatus int32
const (
EnrollmentStatus_ENROLLMENT_STATUS_UNSPECIFIED EnrollmentStatus = 0
EnrollmentStatus_ENROLLMENT_STATUS_PENDING EnrollmentStatus = 1
EnrollmentStatus_ENROLLMENT_STATUS_APPROVED EnrollmentStatus = 2
EnrollmentStatus_ENROLLMENT_STATUS_REJECTED EnrollmentStatus = 3
)
// Enum value maps for EnrollmentStatus.
var (
EnrollmentStatus_name = map[int32]string{
0: "ENROLLMENT_STATUS_UNSPECIFIED",
1: "ENROLLMENT_STATUS_PENDING",
2: "ENROLLMENT_STATUS_APPROVED",
3: "ENROLLMENT_STATUS_REJECTED",
}
EnrollmentStatus_value = map[string]int32{
"ENROLLMENT_STATUS_UNSPECIFIED": 0,
"ENROLLMENT_STATUS_PENDING": 1,
"ENROLLMENT_STATUS_APPROVED": 2,
"ENROLLMENT_STATUS_REJECTED": 3,
}
)
func (x EnrollmentStatus) Enum() *EnrollmentStatus {
p := new(EnrollmentStatus)
*p = x
return p
}
func (x EnrollmentStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (EnrollmentStatus) Descriptor() protoreflect.EnumDescriptor {
return file_api_agentmesh_proto_enumTypes[0].Descriptor()
}
func (EnrollmentStatus) Type() protoreflect.EnumType {
return &file_api_agentmesh_proto_enumTypes[0]
}
func (x EnrollmentStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use EnrollmentStatus.Descriptor instead.
func (EnrollmentStatus) EnumDescriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{0}
}
type ServiceType int32
const (
ServiceType_SERVICE_TYPE_UNSPECIFIED ServiceType = 0
ServiceType_SERVICE_TYPE_MCP ServiceType = 1
ServiceType_SERVICE_TYPE_INFERENCE ServiceType = 2
ServiceType_SERVICE_TYPE_A2A ServiceType = 3
// A destination outside the mesh, reached through a node that enforces
// policy on it. The service name is the destination hostname, so a grant
// reads egress://api.github.com and the request fact
// service("egress", "api.github.com").
ServiceType_SERVICE_TYPE_EGRESS ServiceType = 4
)
// Enum value maps for ServiceType.
var (
ServiceType_name = map[int32]string{
0: "SERVICE_TYPE_UNSPECIFIED",
1: "SERVICE_TYPE_MCP",
2: "SERVICE_TYPE_INFERENCE",
3: "SERVICE_TYPE_A2A",
4: "SERVICE_TYPE_EGRESS",
}
ServiceType_value = map[string]int32{
"SERVICE_TYPE_UNSPECIFIED": 0,
"SERVICE_TYPE_MCP": 1,
"SERVICE_TYPE_INFERENCE": 2,
"SERVICE_TYPE_A2A": 3,
"SERVICE_TYPE_EGRESS": 4,
}
)
func (x ServiceType) Enum() *ServiceType {
p := new(ServiceType)
*p = x
return p
}
func (x ServiceType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ServiceType) Descriptor() protoreflect.EnumDescriptor {
return file_api_agentmesh_proto_enumTypes[1].Descriptor()
}
func (ServiceType) Type() protoreflect.EnumType {
return &file_api_agentmesh_proto_enumTypes[1]
}
func (x ServiceType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ServiceType.Descriptor instead.
func (ServiceType) EnumDescriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{1}
}
type IngressAuthMode int32
const (
// Defaults to INGRESS_AUTH_MODE_EDGE.
IngressAuthMode_INGRESS_AUTH_MODE_UNSPECIFIED IngressAuthMode = 0
// Router and provider node verify a delegated Mesh Biscuit + mesh policy.
IngressAuthMode_INGRESS_AUTH_MODE_EDGE IngressAuthMode = 1
// Backend authenticates its own requests; requires an explicit PASSTHROUGH
// grant on the serving node's PolicyRole.allowed_ingress.
IngressAuthMode_INGRESS_AUTH_MODE_PASSTHROUGH IngressAuthMode = 2
)
// Enum value maps for IngressAuthMode.
var (
IngressAuthMode_name = map[int32]string{
0: "INGRESS_AUTH_MODE_UNSPECIFIED",
1: "INGRESS_AUTH_MODE_EDGE",
2: "INGRESS_AUTH_MODE_PASSTHROUGH",
}
IngressAuthMode_value = map[string]int32{
"INGRESS_AUTH_MODE_UNSPECIFIED": 0,
"INGRESS_AUTH_MODE_EDGE": 1,
"INGRESS_AUTH_MODE_PASSTHROUGH": 2,
}
)
func (x IngressAuthMode) Enum() *IngressAuthMode {
p := new(IngressAuthMode)
*p = x
return p
}
func (x IngressAuthMode) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (IngressAuthMode) Descriptor() protoreflect.EnumDescriptor {
return file_api_agentmesh_proto_enumTypes[2].Descriptor()
}
func (IngressAuthMode) Type() protoreflect.EnumType {
return &file_api_agentmesh_proto_enumTypes[2]
}
func (x IngressAuthMode) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use IngressAuthMode.Descriptor instead.
func (IngressAuthMode) EnumDescriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{2}
}
type EgressMode int32
const (
EgressMode_EGRESS_MODE_HTTP EgressMode = 0
EgressMode_EGRESS_MODE_TCP EgressMode = 1
)
// Enum value maps for EgressMode.
var (
EgressMode_name = map[int32]string{
0: "EGRESS_MODE_HTTP",
1: "EGRESS_MODE_TCP",
}
EgressMode_value = map[string]int32{
"EGRESS_MODE_HTTP": 0,
"EGRESS_MODE_TCP": 1,
}
)
func (x EgressMode) Enum() *EgressMode {
p := new(EgressMode)
*p = x
return p
}
func (x EgressMode) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (EgressMode) Descriptor() protoreflect.EnumDescriptor {
return file_api_agentmesh_proto_enumTypes[3].Descriptor()
}
func (EgressMode) Type() protoreflect.EnumType {
return &file_api_agentmesh_proto_enumTypes[3]
}
func (x EgressMode) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use EgressMode.Descriptor instead.
func (EgressMode) EnumDescriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{3}
}
type ResponseInspection int32
const (
ResponseInspection_RESPONSE_INSPECTION_BUFFERED ResponseInspection = 0
ResponseInspection_RESPONSE_INSPECTION_REQUEST_ONLY ResponseInspection = 1
)
// Enum value maps for ResponseInspection.
var (
ResponseInspection_name = map[int32]string{
0: "RESPONSE_INSPECTION_BUFFERED",
1: "RESPONSE_INSPECTION_REQUEST_ONLY",
}
ResponseInspection_value = map[string]int32{
"RESPONSE_INSPECTION_BUFFERED": 0,
"RESPONSE_INSPECTION_REQUEST_ONLY": 1,
}
)
func (x ResponseInspection) Enum() *ResponseInspection {
p := new(ResponseInspection)
*p = x
return p
}
func (x ResponseInspection) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ResponseInspection) Descriptor() protoreflect.EnumDescriptor {
return file_api_agentmesh_proto_enumTypes[4].Descriptor()
}
func (ResponseInspection) Type() protoreflect.EnumType {
return &file_api_agentmesh_proto_enumTypes[4]
}
func (x ResponseInspection) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ResponseInspection.Descriptor instead.
func (ResponseInspection) EnumDescriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{4}
}
type RouterGoAway_Reason int32
const (
RouterGoAway_REASON_UNSPECIFIED RouterGoAway_Reason = 0
RouterGoAway_DRAINING RouterGoAway_Reason = 1 // the router is shutting down
RouterGoAway_OVERLOADED RouterGoAway_Reason = 2 // the router is above its high watermark
)
// Enum value maps for RouterGoAway_Reason.
var (
RouterGoAway_Reason_name = map[int32]string{
0: "REASON_UNSPECIFIED",
1: "DRAINING",
2: "OVERLOADED",
}
RouterGoAway_Reason_value = map[string]int32{
"REASON_UNSPECIFIED": 0,
"DRAINING": 1,
"OVERLOADED": 2,
}
)
func (x RouterGoAway_Reason) Enum() *RouterGoAway_Reason {
p := new(RouterGoAway_Reason)
*p = x
return p
}
func (x RouterGoAway_Reason) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (RouterGoAway_Reason) Descriptor() protoreflect.EnumDescriptor {
return file_api_agentmesh_proto_enumTypes[5].Descriptor()
}
func (RouterGoAway_Reason) Type() protoreflect.EnumType {
return &file_api_agentmesh_proto_enumTypes[5]
}
func (x RouterGoAway_Reason) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use RouterGoAway_Reason.Descriptor instead.
func (RouterGoAway_Reason) EnumDescriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{2, 0}
}
type MeshEvent_Type int32
const (
MeshEvent_BANNED MeshEvent_Type = 0
MeshEvent_KEY_ROTATION MeshEvent_Type = 1
MeshEvent_POLICY_UPDATE MeshEvent_Type = 2
)
// Enum value maps for MeshEvent_Type.
var (
MeshEvent_Type_name = map[int32]string{
0: "BANNED",
1: "KEY_ROTATION",
2: "POLICY_UPDATE",
}
MeshEvent_Type_value = map[string]int32{
"BANNED": 0,
"KEY_ROTATION": 1,
"POLICY_UPDATE": 2,
}
)
func (x MeshEvent_Type) Enum() *MeshEvent_Type {
p := new(MeshEvent_Type)
*p = x
return p
}
func (x MeshEvent_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (MeshEvent_Type) Descriptor() protoreflect.EnumDescriptor {
return file_api_agentmesh_proto_enumTypes[6].Descriptor()
}
func (MeshEvent_Type) Type() protoreflect.EnumType {
return &file_api_agentmesh_proto_enumTypes[6]
}
func (x MeshEvent_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use MeshEvent_Type.Descriptor instead.
func (MeshEvent_Type) EnumDescriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{3, 0}
}
type ExtProcProcessingMode_HeaderMode int32
const (
ExtProcProcessingMode_HEADER_MODE_DEFAULT ExtProcProcessingMode_HeaderMode = 0
ExtProcProcessingMode_SEND ExtProcProcessingMode_HeaderMode = 1
ExtProcProcessingMode_SKIP ExtProcProcessingMode_HeaderMode = 2
)
// Enum value maps for ExtProcProcessingMode_HeaderMode.
var (
ExtProcProcessingMode_HeaderMode_name = map[int32]string{
0: "HEADER_MODE_DEFAULT",
1: "SEND",
2: "SKIP",
}
ExtProcProcessingMode_HeaderMode_value = map[string]int32{
"HEADER_MODE_DEFAULT": 0,
"SEND": 1,
"SKIP": 2,
}
)
func (x ExtProcProcessingMode_HeaderMode) Enum() *ExtProcProcessingMode_HeaderMode {
p := new(ExtProcProcessingMode_HeaderMode)
*p = x
return p
}
func (x ExtProcProcessingMode_HeaderMode) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ExtProcProcessingMode_HeaderMode) Descriptor() protoreflect.EnumDescriptor {
return file_api_agentmesh_proto_enumTypes[7].Descriptor()
}
func (ExtProcProcessingMode_HeaderMode) Type() protoreflect.EnumType {
return &file_api_agentmesh_proto_enumTypes[7]
}
func (x ExtProcProcessingMode_HeaderMode) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ExtProcProcessingMode_HeaderMode.Descriptor instead.
func (ExtProcProcessingMode_HeaderMode) EnumDescriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{33, 0}
}
type ExtProcProcessingMode_BodyMode int32
const (
ExtProcProcessingMode_NONE ExtProcProcessingMode_BodyMode = 0
ExtProcProcessingMode_STREAMED ExtProcProcessingMode_BodyMode = 1
ExtProcProcessingMode_BUFFERED ExtProcProcessingMode_BodyMode = 2
ExtProcProcessingMode_BUFFERED_PARTIAL ExtProcProcessingMode_BodyMode = 3
ExtProcProcessingMode_FULL_DUPLEX_STREAMED ExtProcProcessingMode_BodyMode = 4
)
// Enum value maps for ExtProcProcessingMode_BodyMode.
var (
ExtProcProcessingMode_BodyMode_name = map[int32]string{
0: "NONE",
1: "STREAMED",
2: "BUFFERED",
3: "BUFFERED_PARTIAL",
4: "FULL_DUPLEX_STREAMED",
}
ExtProcProcessingMode_BodyMode_value = map[string]int32{
"NONE": 0,
"STREAMED": 1,
"BUFFERED": 2,
"BUFFERED_PARTIAL": 3,
"FULL_DUPLEX_STREAMED": 4,
}
)
func (x ExtProcProcessingMode_BodyMode) Enum() *ExtProcProcessingMode_BodyMode {
p := new(ExtProcProcessingMode_BodyMode)
*p = x
return p
}
func (x ExtProcProcessingMode_BodyMode) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ExtProcProcessingMode_BodyMode) Descriptor() protoreflect.EnumDescriptor {
return file_api_agentmesh_proto_enumTypes[8].Descriptor()
}
func (ExtProcProcessingMode_BodyMode) Type() protoreflect.EnumType {
return &file_api_agentmesh_proto_enumTypes[8]
}
func (x ExtProcProcessingMode_BodyMode) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ExtProcProcessingMode_BodyMode.Descriptor instead.
func (ExtProcProcessingMode_BodyMode) EnumDescriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{33, 1}
}
type AuthFrame struct {
state protoimpl.MessageState `protogen:"open.v1"`
Biscuit []byte `protobuf:"bytes,1,opt,name=biscuit,proto3" json:"biscuit,omitempty"`
TargetService string `protobuf:"bytes,2,opt,name=target_service,json=targetService,proto3" json:"target_service,omitempty"` // Optional: specific service requested
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AuthFrame) Reset() {
*x = AuthFrame{}
mi := &file_api_agentmesh_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AuthFrame) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AuthFrame) ProtoMessage() {}
func (x *AuthFrame) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AuthFrame.ProtoReflect.Descriptor instead.
func (*AuthFrame) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{0}
}
func (x *AuthFrame) GetBiscuit() []byte {
if x != nil {
return x.Biscuit
}
return nil
}
func (x *AuthFrame) GetTargetService() string {
if x != nil {
return x.TargetService
}
return ""
}
type AuthResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // populated only if success is false
Biscuit []byte `protobuf:"bytes,3,opt,name=biscuit,proto3" json:"biscuit,omitempty"` // The server's own Biscuit token (for mutual auth)
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AuthResponse) Reset() {
*x = AuthResponse{}
mi := &file_api_agentmesh_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AuthResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AuthResponse) ProtoMessage() {}
func (x *AuthResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AuthResponse.ProtoReflect.Descriptor instead.
func (*AuthResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{1}
}
func (x *AuthResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
func (x *AuthResponse) GetError() string {
if x != nil {
return x.Error
}
return ""
}
func (x *AuthResponse) GetBiscuit() []byte {
if x != nil {
return x.Biscuit
}
return nil
}
// RouterGoAway is what a router sends, on GoAwayProtocolID, to a member it
// will no longer hold: it is stopping, or it holds more members than it is
// sized for. The member attaches to another router and does not come back
// to this one before retry_after has passed. A member that does not speak
// the protocol sees its connection close instead.
type RouterGoAway struct {
state protoimpl.MessageState `protogen:"open.v1"`
Reason RouterGoAway_Reason `protobuf:"varint,1,opt,name=reason,proto3,enum=agentmesh.v1.RouterGoAway_Reason" json:"reason,omitempty"`
RetryAfter *durationpb.Duration `protobuf:"bytes,2,opt,name=retry_after,json=retryAfter,proto3" json:"retry_after,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RouterGoAway) Reset() {
*x = RouterGoAway{}
mi := &file_api_agentmesh_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RouterGoAway) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RouterGoAway) ProtoMessage() {}
func (x *RouterGoAway) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RouterGoAway.ProtoReflect.Descriptor instead.
func (*RouterGoAway) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{2}
}
func (x *RouterGoAway) GetReason() RouterGoAway_Reason {
if x != nil {
return x.Reason
}
return RouterGoAway_REASON_UNSPECIFIED
}
func (x *RouterGoAway) GetRetryAfter() *durationpb.Duration {
if x != nil {
return x.RetryAfter
}
return nil
}
type MeshEvent struct {
state protoimpl.MessageState `protogen:"open.v1"`
Type MeshEvent_Type `protobuf:"varint,1,opt,name=type,proto3,enum=agentmesh.v1.MeshEvent_Type" json:"type,omitempty"`
PeerId string `protobuf:"bytes,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// When the control plane recorded the event. Receivers ignore an event
// further than a few minutes from their clock and, for bans, one older
// than the last they applied for the peer.
EventTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
NewPublicKey []byte `protobuf:"bytes,4,opt,name=new_public_key,json=newPublicKey,proto3" json:"new_public_key,omitempty"`
Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *MeshEvent) Reset() {
*x = MeshEvent{}
mi := &file_api_agentmesh_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *MeshEvent) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MeshEvent) ProtoMessage() {}
func (x *MeshEvent) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MeshEvent.ProtoReflect.Descriptor instead.
func (*MeshEvent) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{3}
}
func (x *MeshEvent) GetType() MeshEvent_Type {
if x != nil {
return x.Type
}
return MeshEvent_BANNED
}
func (x *MeshEvent) GetPeerId() string {
if x != nil {
return x.PeerId
}
return ""
}
func (x *MeshEvent) GetEventTime() *timestamppb.Timestamp {
if x != nil {
return x.EventTime
}
return nil
}
func (x *MeshEvent) GetNewPublicKey() []byte {
if x != nil {
return x.NewPublicKey
}
return nil
}
func (x *MeshEvent) GetSignature() []byte {
if x != nil {
return x.Signature
}
return nil
}
type EnrollRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Jwt string `protobuf:"bytes,1,opt,name=jwt,proto3" json:"jwt,omitempty"`
PeerId string `protobuf:"bytes,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
RequestedRole string `protobuf:"bytes,4,opt,name=requested_role,json=requestedRole,proto3" json:"requested_role,omitempty"`
// Operator-declared labels (e.g. key "region", see api/labels.go).
// Validated fail-closed by the control plane and, once attested by the
// enrollment flow's gates, minted as signed label() facts in the
// biscuit. Empty means no claims.
Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Proof of possession of public_key's private half: challenge_unix_ms is
// the caller's clock in unix milliseconds and challenge_signature signs
// the UTF-8 bytes of "mesh:register:<peer_id>:<challenge_unix_ms>". It is
// an int64 because it is the number in the signed text, not an instant
// for display. Required, and peer_id must be derived from public_key.
// The JWT proves who is asking; this proves they hold the key they are
// asking to bind, so an identity cannot register (and overwrite) another
// node's peer_id.
ChallengeUnixMs int64 `protobuf:"varint,6,opt,name=challenge_unix_ms,json=challengeUnixMs,proto3" json:"challenge_unix_ms,omitempty"`
ChallengeSignature []byte `protobuf:"bytes,7,opt,name=challenge_signature,json=challengeSignature,proto3" json:"challenge_signature,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EnrollRequest) Reset() {
*x = EnrollRequest{}
mi := &file_api_agentmesh_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EnrollRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EnrollRequest) ProtoMessage() {}
func (x *EnrollRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EnrollRequest.ProtoReflect.Descriptor instead.
func (*EnrollRequest) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{4}
}
func (x *EnrollRequest) GetJwt() string {
if x != nil {
return x.Jwt
}
return ""
}
func (x *EnrollRequest) GetPeerId() string {
if x != nil {
return x.PeerId
}
return ""
}
func (x *EnrollRequest) GetPublicKey() []byte {
if x != nil {
return x.PublicKey
}
return nil
}
func (x *EnrollRequest) GetRequestedRole() string {
if x != nil {
return x.RequestedRole
}
return ""
}
func (x *EnrollRequest) GetLabels() map[string]string {
if x != nil {
return x.Labels
}
return nil
}
func (x *EnrollRequest) GetChallengeUnixMs() int64 {
if x != nil {
return x.ChallengeUnixMs
}
return 0
}
func (x *EnrollRequest) GetChallengeSignature() []byte {
if x != nil {
return x.ChallengeSignature
}
return nil
}
type EnrollResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
BiscuitToken []byte `protobuf:"bytes,1,opt,name=biscuit_token,json=biscuitToken,proto3" json:"biscuit_token,omitempty"`
ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
ControlPlanePublicKey []byte `protobuf:"bytes,3,opt,name=control_plane_public_key,json=controlPlanePublicKey,proto3" json:"control_plane_public_key,omitempty"`
RouterAddresses []string `protobuf:"bytes,4,rep,name=router_addresses,json=routerAddresses,proto3" json:"router_addresses,omitempty"`
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EnrollResponse) Reset() {
*x = EnrollResponse{}
mi := &file_api_agentmesh_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EnrollResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EnrollResponse) ProtoMessage() {}
func (x *EnrollResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EnrollResponse.ProtoReflect.Descriptor instead.
func (*EnrollResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{5}
}
func (x *EnrollResponse) GetBiscuitToken() []byte {
if x != nil {
return x.BiscuitToken
}
return nil
}
func (x *EnrollResponse) GetErrorMessage() string {
if x != nil {
return x.ErrorMessage
}
return ""
}
func (x *EnrollResponse) GetControlPlanePublicKey() []byte {
if x != nil {
return x.ControlPlanePublicKey
}
return nil
}
func (x *EnrollResponse) GetRouterAddresses() []string {
if x != nil {
return x.RouterAddresses
}
return nil
}
func (x *EnrollResponse) GetExpireTime() *timestamppb.Timestamp {
if x != nil {
return x.ExpireTime
}
return nil
}
type BootstrapEnrollRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
BootstrapToken string `protobuf:"bytes,1,opt,name=bootstrap_token,json=bootstrapToken,proto3" json:"bootstrap_token,omitempty"`
PeerId string `protobuf:"bytes,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
RequestedRole string `protobuf:"bytes,4,opt,name=requested_role,json=requestedRole,proto3" json:"requested_role,omitempty"`
// Operator-declared labels; the admin approving the enrollment attests
// them (see EnrollRequest.labels).
Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Proof of possession of public_key's private half: challenge_unix_ms is
// the caller's clock in unix milliseconds and challenge_signature signs
// the UTF-8 bytes of "mesh:enroll:<peer_id>:<challenge_unix_ms>". Required,
// and peer_id must be derived from public_key: this is what entitles a
// repeated POST /enroll to re-fetch an existing enrollment's biscuit, so
// a bootstrap token alone must never satisfy it.
ChallengeUnixMs int64 `protobuf:"varint,6,opt,name=challenge_unix_ms,json=challengeUnixMs,proto3" json:"challenge_unix_ms,omitempty"`
ChallengeSignature []byte `protobuf:"bytes,7,opt,name=challenge_signature,json=challengeSignature,proto3" json:"challenge_signature,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *BootstrapEnrollRequest) Reset() {
*x = BootstrapEnrollRequest{}
mi := &file_api_agentmesh_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *BootstrapEnrollRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BootstrapEnrollRequest) ProtoMessage() {}
func (x *BootstrapEnrollRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use BootstrapEnrollRequest.ProtoReflect.Descriptor instead.
func (*BootstrapEnrollRequest) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{6}
}
func (x *BootstrapEnrollRequest) GetBootstrapToken() string {
if x != nil {
return x.BootstrapToken
}
return ""
}
func (x *BootstrapEnrollRequest) GetPeerId() string {
if x != nil {
return x.PeerId
}
return ""
}
func (x *BootstrapEnrollRequest) GetPublicKey() []byte {
if x != nil {
return x.PublicKey
}
return nil
}
func (x *BootstrapEnrollRequest) GetRequestedRole() string {
if x != nil {
return x.RequestedRole
}
return ""
}
func (x *BootstrapEnrollRequest) GetLabels() map[string]string {
if x != nil {
return x.Labels
}
return nil
}
func (x *BootstrapEnrollRequest) GetChallengeUnixMs() int64 {
if x != nil {
return x.ChallengeUnixMs
}
return 0
}
func (x *BootstrapEnrollRequest) GetChallengeSignature() []byte {
if x != nil {
return x.ChallengeSignature
}
return nil
}
// BootstrapEnrollResponse answers POST /enroll and GET /enroll/status.
// Polling GET /enroll/status requires proof of possession of the key
// submitted at /enroll: alongside the `peer_id` query parameter, the caller
// sends the X-Mesh-Challenge-Ts header (unix milliseconds) and the
// X-Mesh-Challenge-Sig header (unpadded base64url signature over the UTF-8
// bytes of "mesh:enroll-status:<peer_id>:<ts>").
type BootstrapEnrollResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Status EnrollmentStatus `protobuf:"varint,1,opt,name=status,proto3,enum=agentmesh.v1.EnrollmentStatus" json:"status,omitempty"`
BiscuitToken []byte `protobuf:"bytes,2,opt,name=biscuit_token,json=biscuitToken,proto3" json:"biscuit_token,omitempty"` // Populated only if APPROVED
PollIntervalSeconds int32 `protobuf:"varint,3,opt,name=poll_interval_seconds,json=pollIntervalSeconds,proto3" json:"poll_interval_seconds,omitempty"` // Recommended polling wait time
ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
ControlPlanePublicKey []byte `protobuf:"bytes,5,opt,name=control_plane_public_key,json=controlPlanePublicKey,proto3" json:"control_plane_public_key,omitempty"` // Populated only if APPROVED
RouterAddresses []string `protobuf:"bytes,6,rep,name=router_addresses,json=routerAddresses,proto3" json:"router_addresses,omitempty"` // Populated only if APPROVED
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // Populated only if APPROVED
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *BootstrapEnrollResponse) Reset() {
*x = BootstrapEnrollResponse{}
mi := &file_api_agentmesh_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *BootstrapEnrollResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BootstrapEnrollResponse) ProtoMessage() {}
func (x *BootstrapEnrollResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use BootstrapEnrollResponse.ProtoReflect.Descriptor instead.
func (*BootstrapEnrollResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{7}
}
func (x *BootstrapEnrollResponse) GetStatus() EnrollmentStatus {
if x != nil {
return x.Status
}
return EnrollmentStatus_ENROLLMENT_STATUS_UNSPECIFIED
}
func (x *BootstrapEnrollResponse) GetBiscuitToken() []byte {
if x != nil {
return x.BiscuitToken
}
return nil
}
func (x *BootstrapEnrollResponse) GetPollIntervalSeconds() int32 {
if x != nil {
return x.PollIntervalSeconds
}
return 0
}
func (x *BootstrapEnrollResponse) GetErrorMessage() string {
if x != nil {
return x.ErrorMessage
}
return ""
}
func (x *BootstrapEnrollResponse) GetControlPlanePublicKey() []byte {
if x != nil {
return x.ControlPlanePublicKey
}
return nil
}
func (x *BootstrapEnrollResponse) GetRouterAddresses() []string {
if x != nil {
return x.RouterAddresses
}
return nil
}
func (x *BootstrapEnrollResponse) GetExpireTime() *timestamppb.Timestamp {
if x != nil {
return x.ExpireTime
}
return nil
}
// ServiceIngress configures external router HTTP ingress for an inbound service
// (a2a, mcp, or inference). Absent means the service is reachable only inside
// the mesh.
type ServiceIngress struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Defaults to INGRESS_AUTH_MODE_EDGE when UNSPECIFIED.
AuthMode IngressAuthMode `protobuf:"varint,1,opt,name=auth_mode,json=authMode,proto3,enum=agentmesh.v1.IngressAuthMode" json:"auth_mode,omitempty"`
// Optional caller narrowing in PolicyBinding.members syntax
// (e.g. "email:[email protected]", "email:*@example.com", "group:eng").
// Intersected (AND) with mesh Datalog policy: when empty, any caller
// authorized by mesh policy for this service may invoke it; when non-empty,
// the verified caller must also match at least one entry here. Only allowed
// in INGRESS_AUTH_MODE_EDGE.
Allow []string `protobuf:"bytes,2,rep,name=allow,proto3" json:"allow,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ServiceIngress) Reset() {
*x = ServiceIngress{}
mi := &file_api_agentmesh_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ServiceIngress) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ServiceIngress) ProtoMessage() {}
func (x *ServiceIngress) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ServiceIngress.ProtoReflect.Descriptor instead.
func (*ServiceIngress) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{8}
}
func (x *ServiceIngress) GetAuthMode() IngressAuthMode {
if x != nil {
return x.AuthMode
}
return IngressAuthMode_INGRESS_AUTH_MODE_UNSPECIFIED
}
func (x *ServiceIngress) GetAllow() []string {
if x != nil {
return x.Allow
}
return nil
}
type ServiceInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
Type ServiceType `protobuf:"varint,1,opt,name=type,proto3,enum=agentmesh.v1.ServiceType" json:"type,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Optional external ingress exposure for this service.
Ingress *ServiceIngress `protobuf:"bytes,4,opt,name=ingress,proto3" json:"ingress,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ServiceInfo) Reset() {
*x = ServiceInfo{}
mi := &file_api_agentmesh_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ServiceInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ServiceInfo) ProtoMessage() {}
func (x *ServiceInfo) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ServiceInfo.ProtoReflect.Descriptor instead.
func (*ServiceInfo) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{9}
}
func (x *ServiceInfo) GetType() ServiceType {
if x != nil {
return x.Type
}
return ServiceType_SERVICE_TYPE_UNSPECIFIED
}
func (x *ServiceInfo) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *ServiceInfo) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *ServiceInfo) GetIngress() *ServiceIngress {
if x != nil {
return x.Ingress
}
return nil
}
type CommandBackend struct {
state protoimpl.MessageState `protogen:"open.v1"`
Command []string `protobuf:"bytes,1,rep,name=command,proto3" json:"command,omitempty"`
Env map[string]string `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CommandBackend) Reset() {
*x = CommandBackend{}
mi := &file_api_agentmesh_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CommandBackend) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CommandBackend) ProtoMessage() {}
func (x *CommandBackend) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CommandBackend.ProtoReflect.Descriptor instead.
func (*CommandBackend) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{10}
}
func (x *CommandBackend) GetCommand() []string {
if x != nil {
return x.Command
}
return nil
}
func (x *CommandBackend) GetEnv() map[string]string {
if x != nil {
return x.Env
}
return nil
}
type RegisterServiceRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Service *ServiceInfo `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// Types that are valid to be assigned to Backend:
//
// *RegisterServiceRequest_TargetUrl
// *RegisterServiceRequest_Command
Backend isRegisterServiceRequest_Backend `protobuf_oneof:"backend"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RegisterServiceRequest) Reset() {
*x = RegisterServiceRequest{}
mi := &file_api_agentmesh_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RegisterServiceRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RegisterServiceRequest) ProtoMessage() {}
func (x *RegisterServiceRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RegisterServiceRequest.ProtoReflect.Descriptor instead.
func (*RegisterServiceRequest) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{11}
}
func (x *RegisterServiceRequest) GetService() *ServiceInfo {
if x != nil {
return x.Service
}
return nil
}
func (x *RegisterServiceRequest) GetBackend() isRegisterServiceRequest_Backend {
if x != nil {
return x.Backend
}
return nil
}
func (x *RegisterServiceRequest) GetTargetUrl() string {
if x != nil {
if x, ok := x.Backend.(*RegisterServiceRequest_TargetUrl); ok {
return x.TargetUrl
}
}
return ""
}
func (x *RegisterServiceRequest) GetCommand() *CommandBackend {
if x != nil {
if x, ok := x.Backend.(*RegisterServiceRequest_Command); ok {
return x.Command
}
}
return nil
}
type isRegisterServiceRequest_Backend interface {
isRegisterServiceRequest_Backend()
}
type RegisterServiceRequest_TargetUrl struct {
TargetUrl string `protobuf:"bytes,2,opt,name=target_url,json=targetUrl,proto3,oneof"`
}
type RegisterServiceRequest_Command struct {
Command *CommandBackend `protobuf:"bytes,3,opt,name=command,proto3,oneof"`
}
func (*RegisterServiceRequest_TargetUrl) isRegisterServiceRequest_Backend() {}
func (*RegisterServiceRequest_Command) isRegisterServiceRequest_Backend() {}
type DiscoveredProvider struct {
state protoimpl.MessageState `protogen:"open.v1"`
PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
LocalProxyUrl string `protobuf:"bytes,2,opt,name=local_proxy_url,json=localProxyUrl,proto3" json:"local_proxy_url,omitempty"`
SrvName string `protobuf:"bytes,3,opt,name=srv_name,json=srvName,proto3" json:"srv_name,omitempty"`
SrvDescription string `protobuf:"bytes,4,opt,name=srv_description,json=srvDescription,proto3" json:"srv_description,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DiscoveredProvider) Reset() {
*x = DiscoveredProvider{}
mi := &file_api_agentmesh_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DiscoveredProvider) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DiscoveredProvider) ProtoMessage() {}
func (x *DiscoveredProvider) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DiscoveredProvider.ProtoReflect.Descriptor instead.
func (*DiscoveredProvider) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{12}
}
func (x *DiscoveredProvider) GetPeerId() string {
if x != nil {
return x.PeerId
}
return ""
}
func (x *DiscoveredProvider) GetLocalProxyUrl() string {
if x != nil {
return x.LocalProxyUrl
}
return ""
}
func (x *DiscoveredProvider) GetSrvName() string {
if x != nil {
return x.SrvName
}
return ""
}
func (x *DiscoveredProvider) GetSrvDescription() string {
if x != nil {
return x.SrvDescription
}
return ""
}
type ControlPlaneInfoResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
OidcIssuer string `protobuf:"bytes,1,opt,name=oidc_issuer,json=oidcIssuer,proto3" json:"oidc_issuer,omitempty"`
ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
Audience string `protobuf:"bytes,3,opt,name=audience,proto3" json:"audience,omitempty"`
// The addresses of every router with a live lease, one multiaddr per
// address, each ending in the router's peer ID. The same routers as
// routers, flattened; kept for members that only need something to dial.
RouterAddresses []string `protobuf:"bytes,4,rep,name=router_addresses,json=routerAddresses,proto3" json:"router_addresses,omitempty"`
// The complete set of currently banned peer IDs. Consumers reconcile their
// local blocklist against this list rather than merging into it, so that a
// peer the control plane no longer bans is unbanned everywhere without
// needing an event of its own. MeshEvent_BANNED stays the fast path for
// sub-second eviction; this is how a node that restarted or was offline
// when the event was published catches up.
BannedPeerIds []string `protobuf:"bytes,5,rep,name=banned_peer_ids,json=bannedPeerIds,proto3" json:"banned_peer_ids,omitempty"`
// Every router with a live lease, with what a member needs to choose
// among them: its attested labels, to select or prefer routers by
// placement, and its load as of its last lease, to prefer the ones with
// room.
Routers []*RouterInfo `protobuf:"bytes,6,rep,name=routers,proto3" json:"routers,omitempty"`
// How the mesh keeps its directory. Members and routers read these here
// and nowhere else, so they agree without configuration of their own; a
// control plane that leaves it unset leaves them on the defaults the
// api package names.
Directory *DirectoryParameters `protobuf:"bytes,7,opt,name=directory,proto3" json:"directory,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ControlPlaneInfoResponse) Reset() {
*x = ControlPlaneInfoResponse{}
mi := &file_api_agentmesh_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ControlPlaneInfoResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ControlPlaneInfoResponse) ProtoMessage() {}
func (x *ControlPlaneInfoResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ControlPlaneInfoResponse.ProtoReflect.Descriptor instead.
func (*ControlPlaneInfoResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{13}
}
func (x *ControlPlaneInfoResponse) GetOidcIssuer() string {
if x != nil {
return x.OidcIssuer
}
return ""
}
func (x *ControlPlaneInfoResponse) GetClientId() string {
if x != nil {
return x.ClientId
}
return ""
}
func (x *ControlPlaneInfoResponse) GetAudience() string {
if x != nil {
return x.Audience
}
return ""
}
func (x *ControlPlaneInfoResponse) GetRouterAddresses() []string {
if x != nil {
return x.RouterAddresses
}
return nil
}
func (x *ControlPlaneInfoResponse) GetBannedPeerIds() []string {
if x != nil {
return x.BannedPeerIds
}
return nil
}
func (x *ControlPlaneInfoResponse) GetRouters() []*RouterInfo {
if x != nil {
return x.Routers
}
return nil
}
func (x *ControlPlaneInfoResponse) GetDirectory() *DirectoryParameters {
if x != nil {
return x.Directory
}
return nil
}
// DirectoryParameters are the settings of the DHT the routers serve, set
// once per mesh on the control plane (agentmesh-control-plane
// --dht-replication, --dht-reprovide-interval) and published on /info.
type DirectoryParameters struct {
state protoimpl.MessageState `protogen:"open.v1"`
// How many routers each record a member announces is placed on, the
// closest to its key, besides the router that took the announcement.
// Routers read it; a member asks the routers it holds.
Replication int32 `protobuf:"varint,1,opt,name=replication,proto3" json:"replication,omitempty"`
// How often a member re-announces each service it publishes.
ReprovideInterval *durationpb.Duration `protobuf:"bytes,2,opt,name=reprovide_interval,json=reprovideInterval,proto3" json:"reprovide_interval,omitempty"`
// How long a router keeps a record after its last announcement: three
// reprovide intervals, so a provider that stopped without unpublishing
// leaves within it and two missed announcements do not unlist one that
// did not.
RecordTtl *durationpb.Duration `protobuf:"bytes,3,opt,name=record_ttl,json=recordTtl,proto3" json:"record_ttl,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DirectoryParameters) Reset() {
*x = DirectoryParameters{}
mi := &file_api_agentmesh_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DirectoryParameters) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DirectoryParameters) ProtoMessage() {}
func (x *DirectoryParameters) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DirectoryParameters.ProtoReflect.Descriptor instead.
func (*DirectoryParameters) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{14}
}
func (x *DirectoryParameters) GetReplication() int32 {
if x != nil {
return x.Replication
}
return 0
}
func (x *DirectoryParameters) GetReprovideInterval() *durationpb.Duration {
if x != nil {
return x.ReprovideInterval
}
return nil
}
func (x *DirectoryParameters) GetRecordTtl() *durationpb.Duration {
if x != nil {
return x.RecordTtl
}
return nil
}
// DirectoryRequest is what a member asks a router it is attached to over
// /mesh/directory/1.0.0: one request per stream, answered with one
// DirectoryResponse. The member keeps no DHT of its own; the router keeps
// its records, places them on the routers closest to each key, and answers
// a lookup from its own records and those routers'. A router sends the
// same message to another router to place a member's record, or its
// withdrawal, on it.
type DirectoryRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Request:
//
// *DirectoryRequest_Provide
// *DirectoryRequest_FindProviders
// *DirectoryRequest_FindPeer
// *DirectoryRequest_Withdraw
Request isDirectoryRequest_Request `protobuf_oneof:"request"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DirectoryRequest) Reset() {
*x = DirectoryRequest{}
mi := &file_api_agentmesh_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DirectoryRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DirectoryRequest) ProtoMessage() {}
func (x *DirectoryRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DirectoryRequest.ProtoReflect.Descriptor instead.
func (*DirectoryRequest) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{15}
}
func (x *DirectoryRequest) GetRequest() isDirectoryRequest_Request {
if x != nil {
return x.Request
}
return nil
}
func (x *DirectoryRequest) GetProvide() *DirectoryProvide {
if x != nil {
if x, ok := x.Request.(*DirectoryRequest_Provide); ok {
return x.Provide
}
}
return nil
}
func (x *DirectoryRequest) GetFindProviders() *DirectoryFindProviders {
if x != nil {
if x, ok := x.Request.(*DirectoryRequest_FindProviders); ok {
return x.FindProviders
}
}
return nil
}
func (x *DirectoryRequest) GetFindPeer() *DirectoryFindPeer {
if x != nil {
if x, ok := x.Request.(*DirectoryRequest_FindPeer); ok {
return x.FindPeer
}
}
return nil
}
func (x *DirectoryRequest) GetWithdraw() *DirectoryWithdraw {
if x != nil {
if x, ok := x.Request.(*DirectoryRequest_Withdraw); ok {
return x.Withdraw
}
}
return nil
}
type isDirectoryRequest_Request interface {
isDirectoryRequest_Request()
}
type DirectoryRequest_Provide struct {
Provide *DirectoryProvide `protobuf:"bytes,1,opt,name=provide,proto3,oneof"`
}
type DirectoryRequest_FindProviders struct {
FindProviders *DirectoryFindProviders `protobuf:"bytes,2,opt,name=find_providers,json=findProviders,proto3,oneof"`
}
type DirectoryRequest_FindPeer struct {
FindPeer *DirectoryFindPeer `protobuf:"bytes,3,opt,name=find_peer,json=findPeer,proto3,oneof"`
}
type DirectoryRequest_Withdraw struct {
Withdraw *DirectoryWithdraw `protobuf:"bytes,4,opt,name=withdraw,proto3,oneof"`
}
func (*DirectoryRequest_Provide) isDirectoryRequest_Request() {}
func (*DirectoryRequest_FindProviders) isDirectoryRequest_Request() {}
func (*DirectoryRequest_FindPeer) isDirectoryRequest_Request() {}
func (*DirectoryRequest_Withdraw) isDirectoryRequest_Request() {}
// DirectoryProvide announces the sender as a provider of key, reached at
// addrs. A key is a sha256 multihash: of "mesh:service:<type>[:<name>]" for
// a service, of "mesh:peer:<peer_id>" for the member itself. A record lives
// for the mesh's record TTL after its last announcement; announcing it
// again replaces its addresses. service names the service a record is
// about, "<type>://<name>", and the router refuses a key that is not that
// service's by name or by type; a record naming no service is the
// member's own, under its peer key. provider is set only between routers,
// by the router that holds the member, and refused from anyone else: a
// member can only announce itself.
type DirectoryProvide struct {
state protoimpl.MessageState `protogen:"open.v1"`
Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Addrs []string `protobuf:"bytes,2,rep,name=addrs,proto3" json:"addrs,omitempty"`
Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`
Service string `protobuf:"bytes,4,opt,name=service,proto3" json:"service,omitempty"`
// Optional external ingress metadata for a named service record. When set,
// the router verifies that the provider's credential grants exposing this
// service with the requested auth_mode before storing or replicating it.
Ingress *ServiceIngress `protobuf:"bytes,5,opt,name=ingress,proto3" json:"ingress,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DirectoryProvide) Reset() {
*x = DirectoryProvide{}
mi := &file_api_agentmesh_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DirectoryProvide) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DirectoryProvide) ProtoMessage() {}
func (x *DirectoryProvide) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DirectoryProvide.ProtoReflect.Descriptor instead.
func (*DirectoryProvide) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{16}
}
func (x *DirectoryProvide) GetKey() []byte {
if x != nil {
return x.Key
}
return nil
}
func (x *DirectoryProvide) GetAddrs() []string {
if x != nil {
return x.Addrs
}
return nil
}
func (x *DirectoryProvide) GetProvider() string {
if x != nil {
return x.Provider
}
return ""
}
func (x *DirectoryProvide) GetService() string {
if x != nil {
return x.Service
}
return ""
}
func (x *DirectoryProvide) GetIngress() *ServiceIngress {
if x != nil {
return x.Ingress
}
return nil
}
// DirectoryWithdraw removes the sender's record under key, from the router
// asked and from the routers closest to the key: what a member sends when
// it stops a service or leaves the mesh, so that callers do not find it
// until the record would have expired. provider is as in DirectoryProvide.
type DirectoryWithdraw struct {
state protoimpl.MessageState `protogen:"open.v1"`
Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DirectoryWithdraw) Reset() {
*x = DirectoryWithdraw{}
mi := &file_api_agentmesh_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DirectoryWithdraw) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DirectoryWithdraw) ProtoMessage() {}
func (x *DirectoryWithdraw) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DirectoryWithdraw.ProtoReflect.Descriptor instead.
func (*DirectoryWithdraw) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{17}
}
func (x *DirectoryWithdraw) GetKey() []byte {
if x != nil {
return x.Key
}
return nil
}
func (x *DirectoryWithdraw) GetProvider() string {
if x != nil {
return x.Provider
}
return ""
}
// DirectoryFindProviders asks for up to limit providers of key.
type DirectoryFindProviders struct {
state protoimpl.MessageState `protogen:"open.v1"`
Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DirectoryFindProviders) Reset() {
*x = DirectoryFindProviders{}
mi := &file_api_agentmesh_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DirectoryFindProviders) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DirectoryFindProviders) ProtoMessage() {}
func (x *DirectoryFindProviders) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DirectoryFindProviders.ProtoReflect.Descriptor instead.
func (*DirectoryFindProviders) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{18}
}
func (x *DirectoryFindProviders) GetKey() []byte {
if x != nil {
return x.Key
}
return nil
}
func (x *DirectoryFindProviders) GetLimit() uint32 {
if x != nil {
return x.Limit
}
return 0
}
// DirectoryFindPeer asks where peer_id is reached.
type DirectoryFindPeer struct {
state protoimpl.MessageState `protogen:"open.v1"`
PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DirectoryFindPeer) Reset() {
*x = DirectoryFindPeer{}
mi := &file_api_agentmesh_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DirectoryFindPeer) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DirectoryFindPeer) ProtoMessage() {}
func (x *DirectoryFindPeer) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DirectoryFindPeer.ProtoReflect.Descriptor instead.
func (*DirectoryFindPeer) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{19}
}
func (x *DirectoryFindPeer) GetPeerId() string {
if x != nil {
return x.PeerId
}
return ""
}
// DirectoryResponse answers one DirectoryRequest. providers answers
// find_providers; peer answers find_peer, unset when nobody knows the
// peer; error is set when the router could not run the request.
type DirectoryResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Providers []*PeerRecord `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"`
Peer *PeerRecord `protobuf:"bytes,2,opt,name=peer,proto3" json:"peer,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DirectoryResponse) Reset() {
*x = DirectoryResponse{}
mi := &file_api_agentmesh_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DirectoryResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DirectoryResponse) ProtoMessage() {}
func (x *DirectoryResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DirectoryResponse.ProtoReflect.Descriptor instead.
func (*DirectoryResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{20}
}
func (x *DirectoryResponse) GetProviders() []*PeerRecord {
if x != nil {
return x.Providers
}
return nil
}
func (x *DirectoryResponse) GetPeer() *PeerRecord {
if x != nil {
return x.Peer
}
return nil
}
func (x *DirectoryResponse) GetError() string {
if x != nil {
return x.Error
}
return ""
}
// PeerRecord is a peer and the addresses it is reached at, relayed ones
// included, each ending in its peer ID.
type PeerRecord struct {
state protoimpl.MessageState `protogen:"open.v1"`
PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
Addrs []string `protobuf:"bytes,2,rep,name=addrs,proto3" json:"addrs,omitempty"`
// Present on service provider records that opted into external ingress.
Ingress *ServiceIngress `protobuf:"bytes,3,opt,name=ingress,proto3" json:"ingress,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PeerRecord) Reset() {
*x = PeerRecord{}
mi := &file_api_agentmesh_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PeerRecord) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PeerRecord) ProtoMessage() {}
func (x *PeerRecord) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PeerRecord.ProtoReflect.Descriptor instead.
func (*PeerRecord) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{21}
}
func (x *PeerRecord) GetPeerId() string {
if x != nil {
return x.PeerId
}
return ""
}
func (x *PeerRecord) GetAddrs() []string {
if x != nil {
return x.Addrs
}
return nil
}
func (x *PeerRecord) GetIngress() *ServiceIngress {
if x != nil {
return x.Ingress
}
return nil
}
// RouterInfo is one router as the control plane lists it on /info.
type RouterInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// The router's announced addresses, each ending in its peer ID.
Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"`
// The router's labels, the same labels as a node's: declared at
// enrollment (agentmesh-router --label), signed by the control plane only
// if the router's role allows them (PolicyRole.allowed_labels), and
// carried as label() facts in the router's credential. A member selects
// routers by the labels listed here, before it connects
// (--router-selector, every pair must match) or prefers routers by them
// (--router-prefer). They place a router; they grant it nothing.
Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Connections the router held when it last renewed its lease, and the
// number it accepts (its high watermark). A member attaches to the
// routers with the most room; connection_limit of zero means unknown.
Connections int32 `protobuf:"varint,4,opt,name=connections,proto3" json:"connections,omitempty"`
ConnectionLimit int32 `protobuf:"varint,5,opt,name=connection_limit,json=connectionLimit,proto3" json:"connection_limit,omitempty"`
// Base HTTPS/HTTP URL where this router serves external ingress, without a
// trailing slash (e.g. "https://bananas.sam-mesh.dev/ingress"). Empty when
// external ingress is disabled on this router.
IngressUrl string `protobuf:"bytes,6,opt,name=ingress_url,json=ingressUrl,proto3" json:"ingress_url,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RouterInfo) Reset() {
*x = RouterInfo{}
mi := &file_api_agentmesh_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RouterInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RouterInfo) ProtoMessage() {}
func (x *RouterInfo) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RouterInfo.ProtoReflect.Descriptor instead.
func (*RouterInfo) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{22}
}
func (x *RouterInfo) GetPeerId() string {
if x != nil {
return x.PeerId
}
return ""
}
func (x *RouterInfo) GetAddresses() []string {
if x != nil {
return x.Addresses
}
return nil
}
func (x *RouterInfo) GetLabels() map[string]string {
if x != nil {
return x.Labels
}
return nil
}
func (x *RouterInfo) GetConnections() int32 {
if x != nil {
return x.Connections
}
return 0
}
func (x *RouterInfo) GetConnectionLimit() int32 {
if x != nil {
return x.ConnectionLimit
}
return 0
}
func (x *RouterInfo) GetIngressUrl() string {
if x != nil {
return x.IngressUrl
}
return ""
}
type RouterLeaseRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"`
Biscuit []byte `protobuf:"bytes,3,opt,name=biscuit,proto3" json:"biscuit,omitempty"`
ConnectedPeers []string `protobuf:"bytes,4,rep,name=connected_peers,json=connectedPeers,proto3" json:"connected_peers,omitempty"`
DhtSize int32 `protobuf:"varint,5,opt,name=dht_size,json=dhtSize,proto3" json:"dht_size,omitempty"`
// Proof of possession of the router's enrolled key: challenge_unix_ms is
// the caller's clock in unix milliseconds and challenge_signature signs
// the UTF-8 bytes of "mesh:routers-lease:<peer_id>:<challenge_unix_ms>"
// with the key the router enrolled with. Required. The biscuit alone is
// not proof: routers hand theirs to every peer they authenticate.
ChallengeUnixMs int64 `protobuf:"varint,6,opt,name=challenge_unix_ms,json=challengeUnixMs,proto3" json:"challenge_unix_ms,omitempty"`
ChallengeSignature []byte `protobuf:"bytes,7,opt,name=challenge_signature,json=challengeSignature,proto3" json:"challenge_signature,omitempty"`
// How long this lease stays valid. Unset means the control plane's lease
// duration. A router may shorten its lease, never lengthen it: on its last
// renewal before stopping it sets the time it expects to be away, zero to
// be withdrawn at once, so a joiner is not handed a router that is gone
// and a router back within that time is still listed.
Ttl *durationpb.Duration `protobuf:"bytes,8,opt,name=ttl,proto3" json:"ttl,omitempty"`
// The router's load, listed for it on /info (RouterInfo): its open
// inbound connections and the number it accepts.
Connections int32 `protobuf:"varint,9,opt,name=connections,proto3" json:"connections,omitempty"`
ConnectionLimit int32 `protobuf:"varint,10,opt,name=connection_limit,json=connectionLimit,proto3" json:"connection_limit,omitempty"`
// Optional base URL where this router serves external HTTP ingress.
IngressUrl string `protobuf:"bytes,11,opt,name=ingress_url,json=ingressUrl,proto3" json:"ingress_url,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RouterLeaseRequest) Reset() {
*x = RouterLeaseRequest{}
mi := &file_api_agentmesh_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RouterLeaseRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RouterLeaseRequest) ProtoMessage() {}
func (x *RouterLeaseRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RouterLeaseRequest.ProtoReflect.Descriptor instead.
func (*RouterLeaseRequest) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{23}
}
func (x *RouterLeaseRequest) GetPeerId() string {
if x != nil {
return x.PeerId
}
return ""
}
func (x *RouterLeaseRequest) GetAddresses() []string {
if x != nil {
return x.Addresses
}
return nil
}
func (x *RouterLeaseRequest) GetBiscuit() []byte {
if x != nil {
return x.Biscuit
}
return nil
}
func (x *RouterLeaseRequest) GetConnectedPeers() []string {
if x != nil {
return x.ConnectedPeers
}
return nil
}
func (x *RouterLeaseRequest) GetDhtSize() int32 {
if x != nil {
return x.DhtSize
}
return 0
}
func (x *RouterLeaseRequest) GetChallengeUnixMs() int64 {
if x != nil {
return x.ChallengeUnixMs
}
return 0
}
func (x *RouterLeaseRequest) GetChallengeSignature() []byte {
if x != nil {
return x.ChallengeSignature
}
return nil
}
func (x *RouterLeaseRequest) GetTtl() *durationpb.Duration {
if x != nil {
return x.Ttl
}
return nil
}
func (x *RouterLeaseRequest) GetConnections() int32 {
if x != nil {
return x.Connections
}
return 0
}
func (x *RouterLeaseRequest) GetConnectionLimit() int32 {
if x != nil {
return x.ConnectionLimit
}
return 0
}
func (x *RouterLeaseRequest) GetIngressUrl() string {
if x != nil {
return x.IngressUrl
}
return ""
}
type RouterLeaseResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RouterLeaseResponse) Reset() {
*x = RouterLeaseResponse{}
mi := &file_api_agentmesh_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RouterLeaseResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RouterLeaseResponse) ProtoMessage() {}
func (x *RouterLeaseResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RouterLeaseResponse.ProtoReflect.Descriptor instead.
func (*RouterLeaseResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{24}
}
func (x *RouterLeaseResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
func (x *RouterLeaseResponse) GetError() string {
if x != nil {
return x.Error
}
return ""
}
func (x *RouterLeaseResponse) GetExpireTime() *timestamppb.Timestamp {
if x != nil {
return x.ExpireTime
}
return nil
}
type PolicyRole struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
AllowedTargets []string `protobuf:"bytes,2,rep,name=allowed_targets,json=allowedTargets,proto3" json:"allowed_targets,omitempty"`
AllowedServices []string `protobuf:"bytes,3,rep,name=allowed_services,json=allowedServices,proto3" json:"allowed_services,omitempty"`
CustomDatalog []string `protobuf:"bytes,4,rep,name=custom_datalog,json=customDatalog,proto3" json:"custom_datalog,omitempty"`
// Labels a node with this role may declare at enrollment, as "*", "key=*"
// or "key=value". A node declares its own labels, so this is what turns a
// declaration into something the control plane is willing to sign.
AllowedLabels []string `protobuf:"bytes,5,rep,name=allowed_labels,json=allowedLabels,proto3" json:"allowed_labels,omitempty"`
// HTTP narrowing of allowed_services entries; see HTTPGrant.
Http []*HTTPGrant `protobuf:"bytes,6,rep,name=http,proto3" json:"http,omitempty"`
// Services a member with this role may serve, in the syntax of
// allowed_services ("mcp://calc", "inference://*", "*"). A role serves
// nothing it is not granted here: a router keeps a member's record only
// for a service its credential grants, and a caller sends a request to
// a provider it found by name only when the provider's credential does.
// An egress destination needs no entry: served_by grants it to the
// nodes it selects.
AllowedPublish []string `protobuf:"bytes,7,rep,name=allowed_publish,json=allowedPublish,proto3" json:"allowed_publish,omitempty"`
// Inbound services a member with this role may expose on router HTTP
// ingress, together with the permitted IngressAuthModes. Empty denies all
// external ingress exposure for this role.
AllowedIngress []*IngressGrant `protobuf:"bytes,8,rep,name=allowed_ingress,json=allowedIngress,proto3" json:"allowed_ingress,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PolicyRole) Reset() {
*x = PolicyRole{}
mi := &file_api_agentmesh_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PolicyRole) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PolicyRole) ProtoMessage() {}
func (x *PolicyRole) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PolicyRole.ProtoReflect.Descriptor instead.
func (*PolicyRole) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{25}
}
func (x *PolicyRole) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *PolicyRole) GetAllowedTargets() []string {
if x != nil {
return x.AllowedTargets
}
return nil
}
func (x *PolicyRole) GetAllowedServices() []string {
if x != nil {
return x.AllowedServices
}
return nil
}
func (x *PolicyRole) GetCustomDatalog() []string {
if x != nil {
return x.CustomDatalog
}
return nil
}
func (x *PolicyRole) GetAllowedLabels() []string {
if x != nil {
return x.AllowedLabels
}
return nil
}
func (x *PolicyRole) GetHttp() []*HTTPGrant {
if x != nil {
return x.Http
}
return nil
}
func (x *PolicyRole) GetAllowedPublish() []string {
if x != nil {
return x.AllowedPublish
}
return nil
}
func (x *PolicyRole) GetAllowedIngress() []*IngressGrant {
if x != nil {
return x.AllowedIngress
}
return nil
}
// IngressGrant permits a role to expose matching inbound services on router
// HTTP ingress under the listed authentication modes.
type IngressGrant struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Inbound service patterns ("a2a://*", "mcp://calc", "*"). Egress
// destinations ("egress://...") cannot be exposed as ingress.
Services []string `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
// Permitted auth modes. Empty grants ONLY INGRESS_AUTH_MODE_EDGE.
AllowedAuthModes []IngressAuthMode `protobuf:"varint,2,rep,packed,name=allowed_auth_modes,json=allowedAuthModes,proto3,enum=agentmesh.v1.IngressAuthMode" json:"allowed_auth_modes,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IngressGrant) Reset() {
*x = IngressGrant{}
mi := &file_api_agentmesh_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IngressGrant) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IngressGrant) ProtoMessage() {}
func (x *IngressGrant) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use IngressGrant.ProtoReflect.Descriptor instead.
func (*IngressGrant) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{26}
}
func (x *IngressGrant) GetServices() []string {
if x != nil {
return x.Services
}
return nil
}
func (x *IngressGrant) GetAllowedAuthModes() []IngressAuthMode {
if x != nil {
return x.AllowedAuthModes
}
return nil
}
// HTTPGrant narrows one allowed_services entry to HTTP methods and paths.
// The control plane compiles it into granted_method and granted_path_* facts
// in the holder's credential and withholds the plain service grant for that
// entry. The baseline rules derive the service grant only for a request
// whose method($m) and path($p) facts match, so a request that carries no
// HTTP method (a tunnel, a non-HTTP stream) does not match a narrowed entry.
type HTTPGrant struct {
state protoimpl.MessageState `protogen:"open.v1"`
// One of the role's allowed_services entries, written identically.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// Methods the holder may use, e.g. "GET", "HEAD". Empty means any method.
Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
// Paths the holder may request, as the backend sees them: "/user" matches
// that path only, "/v2/public/*" matches every path under the prefix.
// Empty means any path. At least one of methods and paths must be set.
Paths []string `protobuf:"bytes,3,rep,name=paths,proto3" json:"paths,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *HTTPGrant) Reset() {
*x = HTTPGrant{}
mi := &file_api_agentmesh_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *HTTPGrant) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*HTTPGrant) ProtoMessage() {}
func (x *HTTPGrant) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use HTTPGrant.ProtoReflect.Descriptor instead.
func (*HTTPGrant) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{27}
}
func (x *HTTPGrant) GetService() string {
if x != nil {
return x.Service
}
return ""
}
func (x *HTTPGrant) GetMethods() []string {
if x != nil {
return x.Methods
}
return nil
}
func (x *HTTPGrant) GetPaths() []string {
if x != nil {
return x.Paths
}
return nil
}
// EgressDestination is a destination outside the mesh that selected nodes
// serve as egress://<name>. It is part of the policy document the admin
// writes; a node receives the destinations that select it at GET /egress
// and serves them without configuration of its own.
type EgressDestination struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The destination hostname, lowercase, without a port or a path. It is the
// service name in grants (egress://<name>) and the DHT key.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Where the serving node forwards requests. Optional; https://<name> when
// empty. Must not carry a credential.
TargetUrl string `protobuf:"bytes,2,opt,name=target_url,json=targetUrl,proto3" json:"target_url,omitempty"`
// Name of the credential the serving node presents upstream, resolved by
// the node from its secrets directory. Shorthand for broker.static_secret.
// Never a value: secret material does not travel through this API.
Credential string `protobuf:"bytes,3,opt,name=credential,proto3" json:"credential,omitempty"`
// Role names or key=value labels selecting the nodes that serve this
// destination. A node matches when any entry names one of its roles or
// labels. The control plane also grants the destination to the selected
// nodes, so the serving node authorizes local requests with its own
// credential; other callers need the grant on their own role.
ServedBy []string `protobuf:"bytes,4,rep,name=served_by,json=servedBy,proto3" json:"served_by,omitempty"`
// Pluggable credential broker for the destination.
Broker *CredentialBroker `protobuf:"bytes,5,opt,name=broker,proto3" json:"broker,omitempty"`
// Content inspection the egress node applies. Destination policy: a TAR
// cannot disable it or choose another inspector.
Inspection *Inspection `protobuf:"bytes,6,opt,name=inspection,proto3" json:"inspection,omitempty"`
// HTTP (default): the node terminates TLS, brokers the credential and
// inspects. TCP: a named CONNECT tunnel, L4 policy only.
Mode EgressMode `protobuf:"varint,7,opt,name=mode,proto3,enum=agentmesh.v1.EgressMode" json:"mode,omitempty"`
// TCP mode: destination ports a tunnel may open. Empty denies every tunnel.
Ports []uint32 `protobuf:"varint,8,rep,packed,name=ports,proto3" json:"ports,omitempty"`
// Keep the destination hostname in Host when target_url is an operator
// inspection chain that forwards to the real host.
PreserveHost bool `protobuf:"varint,9,opt,name=preserve_host,json=preserveHost,proto3" json:"preserve_host,omitempty"`
// Forward X-Mesh-Principal, X-Mesh-Roles and X-Mesh-Task to target_url.
// Only for an operator chain; the node strips them for a real destination.
ForwardContext bool `protobuf:"varint,10,opt,name=forward_context,json=forwardContext,proto3" json:"forward_context,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EgressDestination) Reset() {
*x = EgressDestination{}
mi := &file_api_agentmesh_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EgressDestination) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EgressDestination) ProtoMessage() {}
func (x *EgressDestination) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[28]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EgressDestination.ProtoReflect.Descriptor instead.
func (*EgressDestination) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{28}
}
func (x *EgressDestination) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *EgressDestination) GetTargetUrl() string {
if x != nil {
return x.TargetUrl
}
return ""
}
func (x *EgressDestination) GetCredential() string {
if x != nil {
return x.Credential
}
return ""
}
func (x *EgressDestination) GetServedBy() []string {
if x != nil {
return x.ServedBy
}
return nil
}
func (x *EgressDestination) GetBroker() *CredentialBroker {
if x != nil {
return x.Broker
}
return nil
}
func (x *EgressDestination) GetInspection() *Inspection {
if x != nil {
return x.Inspection
}
return nil
}
func (x *EgressDestination) GetMode() EgressMode {
if x != nil {
return x.Mode
}
return EgressMode_EGRESS_MODE_HTTP
}
func (x *EgressDestination) GetPorts() []uint32 {
if x != nil {
return x.Ports
}
return nil
}
func (x *EgressDestination) GetPreserveHost() bool {
if x != nil {
return x.PreserveHost
}
return false
}
func (x *EgressDestination) GetForwardContext() bool {
if x != nil {
return x.ForwardContext
}
return false
}
// Inspection lists the inspectors the egress node runs, in order; the first
// block wins. Inspectors run before the broker injects the destination
// credential, so a processor never sees it.
type Inspection struct {
state protoimpl.MessageState `protogen:"open.v1"`
Inspectors []*Inspector `protobuf:"bytes,1,rep,name=inspectors,proto3" json:"inspectors,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Inspection) Reset() {
*x = Inspection{}
mi := &file_api_agentmesh_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Inspection) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Inspection) ProtoMessage() {}
func (x *Inspection) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[29]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Inspection.ProtoReflect.Descriptor instead.
func (*Inspection) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{29}
}
func (x *Inspection) GetInspectors() []*Inspector {
if x != nil {
return x.Inspectors
}
return nil
}
type Inspector struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Kind:
//
// *Inspector_ModelArmor
// *Inspector_ExtProc
Kind isInspector_Kind `protobuf_oneof:"kind"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Inspector) Reset() {
*x = Inspector{}
mi := &file_api_agentmesh_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Inspector) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Inspector) ProtoMessage() {}
func (x *Inspector) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[30]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Inspector.ProtoReflect.Descriptor instead.
func (*Inspector) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{30}
}
func (x *Inspector) GetKind() isInspector_Kind {
if x != nil {
return x.Kind
}
return nil
}
func (x *Inspector) GetModelArmor() *ModelArmor {
if x != nil {
if x, ok := x.Kind.(*Inspector_ModelArmor); ok {
return x.ModelArmor
}
}
return nil
}
func (x *Inspector) GetExtProc() *ExtProc {
if x != nil {
if x, ok := x.Kind.(*Inspector_ExtProc); ok {
return x.ExtProc
}
}
return nil
}
type isInspector_Kind interface {
isInspector_Kind()
}
type Inspector_ModelArmor struct {
ModelArmor *ModelArmor `protobuf:"bytes,1,opt,name=model_armor,json=modelArmor,proto3,oneof"`
}
type Inspector_ExtProc struct {
ExtProc *ExtProc `protobuf:"bytes,2,opt,name=ext_proc,json=extProc,proto3,oneof"`
}
func (*Inspector_ModelArmor) isInspector_Kind() {}
func (*Inspector_ExtProc) isInspector_Kind() {}
// ModelArmor calls sanitizeUserPrompt / sanitizeModelResponse directly over
// HTTPS. Model Armor is reached as an egress destination with an
// oidc_federation broker, so no credential is stored for it.
type ModelArmor struct {
state protoimpl.MessageState `protogen:"open.v1"`
// projects/P/locations/L/templates/T. One template per destination; a
// destination that needs another template is declared as another
// EgressDestination.
Template string `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
// BUFFERED: the whole response is inspected before release and may be
// rewritten. REQUEST_ONLY: prompts are inspected, responses pass.
Response ResponseInspection `protobuf:"varint,2,opt,name=response,proto3,enum=agentmesh.v1.ResponseInspection" json:"response,omitempty"`
// Default false: an unreachable Model Armor fails the request.
FailOpen bool `protobuf:"varint,3,opt,name=fail_open,json=failOpen,proto3" json:"fail_open,omitempty"`
Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ModelArmor) Reset() {
*x = ModelArmor{}
mi := &file_api_agentmesh_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ModelArmor) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ModelArmor) ProtoMessage() {}
func (x *ModelArmor) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[31]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ModelArmor.ProtoReflect.Descriptor instead.
func (*ModelArmor) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{31}
}
func (x *ModelArmor) GetTemplate() string {
if x != nil {
return x.Template
}
return ""
}
func (x *ModelArmor) GetResponse() ResponseInspection {
if x != nil {
return x.Response
}
return ResponseInspection_RESPONSE_INSPECTION_BUFFERED
}
func (x *ModelArmor) GetFailOpen() bool {
if x != nil {
return x.FailOpen
}
return false
}
func (x *ModelArmor) GetTimeout() *durationpb.Duration {
if x != nil {
return x.Timeout
}
return nil
}
// ExtProc runs an Envoy external processor (envoy.service.ext_proc.v3
// ExternalProcessor) over one bidirectional gRPC stream per request. Field
// names follow Envoy's ext_proc filter configuration so a processor's
// settings carry over unchanged.
type ExtProc struct {
state protoimpl.MessageState `protogen:"open.v1"`
// host:port, or unix:/path for a processor on the same host.
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
// Names in the node's secrets directory for mTLS to the processor: the CA
// bundle and the client certificate with its key. Never values.
Ca string `protobuf:"bytes,2,opt,name=ca,proto3" json:"ca,omitempty"`
ClientCertificate string `protobuf:"bytes,3,opt,name=client_certificate,json=clientCertificate,proto3" json:"client_certificate,omitempty"`
ProcessingMode *ExtProcProcessingMode `protobuf:"bytes,4,opt,name=processing_mode,json=processingMode,proto3" json:"processing_mode,omitempty"`
// Let the processor change the mode mid-request (Envoy allow_mode_override).
AllowModeOverride bool `protobuf:"varint,5,opt,name=allow_mode_override,json=allowModeOverride,proto3" json:"allow_mode_override,omitempty"`
// Per-message deadline; 200ms when unset, as in Envoy.
MessageTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=message_timeout,json=messageTimeout,proto3" json:"message_timeout,omitempty"`
// Default false: a processor error fails the request (Envoy failure_mode_allow).
FailureModeAllow bool `protobuf:"varint,7,opt,name=failure_mode_allow,json=failureModeAllow,proto3" json:"failure_mode_allow,omitempty"`
// Upper bound for BUFFERED and BUFFERED_PARTIAL bodies.
MaxBufferedBytes uint32 `protobuf:"varint,8,opt,name=max_buffered_bytes,json=maxBufferedBytes,proto3" json:"max_buffered_bytes,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ExtProc) Reset() {
*x = ExtProc{}
mi := &file_api_agentmesh_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ExtProc) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExtProc) ProtoMessage() {}
func (x *ExtProc) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[32]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ExtProc.ProtoReflect.Descriptor instead.
func (*ExtProc) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{32}
}
func (x *ExtProc) GetTarget() string {
if x != nil {
return x.Target
}
return ""
}
func (x *ExtProc) GetCa() string {
if x != nil {
return x.Ca
}
return ""
}
func (x *ExtProc) GetClientCertificate() string {
if x != nil {
return x.ClientCertificate
}
return ""
}
func (x *ExtProc) GetProcessingMode() *ExtProcProcessingMode {
if x != nil {
return x.ProcessingMode
}
return nil
}
func (x *ExtProc) GetAllowModeOverride() bool {
if x != nil {
return x.AllowModeOverride
}
return false
}
func (x *ExtProc) GetMessageTimeout() *durationpb.Duration {
if x != nil {
return x.MessageTimeout
}
return nil
}
func (x *ExtProc) GetFailureModeAllow() bool {
if x != nil {
return x.FailureModeAllow
}
return false
}
func (x *ExtProc) GetMaxBufferedBytes() uint32 {
if x != nil {
return x.MaxBufferedBytes
}
return 0
}
type ExtProcProcessingMode struct {
state protoimpl.MessageState `protogen:"open.v1"`
RequestHeaderMode ExtProcProcessingMode_HeaderMode `protobuf:"varint,1,opt,name=request_header_mode,json=requestHeaderMode,proto3,enum=agentmesh.v1.ExtProcProcessingMode_HeaderMode" json:"request_header_mode,omitempty"`
ResponseHeaderMode ExtProcProcessingMode_HeaderMode `protobuf:"varint,2,opt,name=response_header_mode,json=responseHeaderMode,proto3,enum=agentmesh.v1.ExtProcProcessingMode_HeaderMode" json:"response_header_mode,omitempty"`
RequestBodyMode ExtProcProcessingMode_BodyMode `protobuf:"varint,3,opt,name=request_body_mode,json=requestBodyMode,proto3,enum=agentmesh.v1.ExtProcProcessingMode_BodyMode" json:"request_body_mode,omitempty"`
ResponseBodyMode ExtProcProcessingMode_BodyMode `protobuf:"varint,4,opt,name=response_body_mode,json=responseBodyMode,proto3,enum=agentmesh.v1.ExtProcProcessingMode_BodyMode" json:"response_body_mode,omitempty"`
RequestTrailerMode ExtProcProcessingMode_HeaderMode `protobuf:"varint,5,opt,name=request_trailer_mode,json=requestTrailerMode,proto3,enum=agentmesh.v1.ExtProcProcessingMode_HeaderMode" json:"request_trailer_mode,omitempty"`
ResponseTrailerMode ExtProcProcessingMode_HeaderMode `protobuf:"varint,6,opt,name=response_trailer_mode,json=responseTrailerMode,proto3,enum=agentmesh.v1.ExtProcProcessingMode_HeaderMode" json:"response_trailer_mode,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ExtProcProcessingMode) Reset() {
*x = ExtProcProcessingMode{}
mi := &file_api_agentmesh_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ExtProcProcessingMode) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExtProcProcessingMode) ProtoMessage() {}
func (x *ExtProcProcessingMode) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[33]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ExtProcProcessingMode.ProtoReflect.Descriptor instead.
func (*ExtProcProcessingMode) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{33}
}
func (x *ExtProcProcessingMode) GetRequestHeaderMode() ExtProcProcessingMode_HeaderMode {
if x != nil {
return x.RequestHeaderMode
}
return ExtProcProcessingMode_HEADER_MODE_DEFAULT
}
func (x *ExtProcProcessingMode) GetResponseHeaderMode() ExtProcProcessingMode_HeaderMode {
if x != nil {
return x.ResponseHeaderMode
}
return ExtProcProcessingMode_HEADER_MODE_DEFAULT
}
func (x *ExtProcProcessingMode) GetRequestBodyMode() ExtProcProcessingMode_BodyMode {
if x != nil {
return x.RequestBodyMode
}
return ExtProcProcessingMode_NONE
}
func (x *ExtProcProcessingMode) GetResponseBodyMode() ExtProcProcessingMode_BodyMode {
if x != nil {
return x.ResponseBodyMode
}
return ExtProcProcessingMode_NONE
}
func (x *ExtProcProcessingMode) GetRequestTrailerMode() ExtProcProcessingMode_HeaderMode {
if x != nil {
return x.RequestTrailerMode
}
return ExtProcProcessingMode_HEADER_MODE_DEFAULT
}
func (x *ExtProcProcessingMode) GetResponseTrailerMode() ExtProcProcessingMode_HeaderMode {
if x != nil {
return x.ResponseTrailerMode
}
return ExtProcProcessingMode_HEADER_MODE_DEFAULT
}
type CredentialBroker struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Kind:
//
// *CredentialBroker_StaticSecret
// *CredentialBroker_OidcFederation
// *CredentialBroker_AwsAssumeRole
// *CredentialBroker_PlatformIdentity
Kind isCredentialBroker_Kind `protobuf_oneof:"kind"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CredentialBroker) Reset() {
*x = CredentialBroker{}
mi := &file_api_agentmesh_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CredentialBroker) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CredentialBroker) ProtoMessage() {}
func (x *CredentialBroker) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[34]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CredentialBroker.ProtoReflect.Descriptor instead.
func (*CredentialBroker) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{34}
}
func (x *CredentialBroker) GetKind() isCredentialBroker_Kind {
if x != nil {
return x.Kind
}
return nil
}
func (x *CredentialBroker) GetStaticSecret() string {
if x != nil {
if x, ok := x.Kind.(*CredentialBroker_StaticSecret); ok {
return x.StaticSecret
}
}
return ""
}
func (x *CredentialBroker) GetOidcFederation() *OIDCFederation {
if x != nil {
if x, ok := x.Kind.(*CredentialBroker_OidcFederation); ok {
return x.OidcFederation
}
}
return nil
}
func (x *CredentialBroker) GetAwsAssumeRole() *AWSAssumeRole {
if x != nil {
if x, ok := x.Kind.(*CredentialBroker_AwsAssumeRole); ok {
return x.AwsAssumeRole
}
}
return nil
}
func (x *CredentialBroker) GetPlatformIdentity() *PlatformIdentity {
if x != nil {
if x, ok := x.Kind.(*CredentialBroker_PlatformIdentity); ok {
return x.PlatformIdentity
}
}
return nil
}
type isCredentialBroker_Kind interface {
isCredentialBroker_Kind()
}
type CredentialBroker_StaticSecret struct {
// Name of a file in the node's secrets directory ("TOKEN" or "user:pass").
StaticSecret string `protobuf:"bytes,1,opt,name=static_secret,json=staticSecret,proto3,oneof"`
}
type CredentialBroker_OidcFederation struct {
OidcFederation *OIDCFederation `protobuf:"bytes,2,opt,name=oidc_federation,json=oidcFederation,proto3,oneof"`
}
type CredentialBroker_AwsAssumeRole struct {
AwsAssumeRole *AWSAssumeRole `protobuf:"bytes,3,opt,name=aws_assume_role,json=awsAssumeRole,proto3,oneof"`
}
type CredentialBroker_PlatformIdentity struct {
// The node's own platform identity (GKE Workload Identity, instance
// metadata). Only for nodes that run inside the provider.
PlatformIdentity *PlatformIdentity `protobuf:"bytes,4,opt,name=platform_identity,json=platformIdentity,proto3,oneof"`
}
func (*CredentialBroker_StaticSecret) isCredentialBroker_Kind() {}
func (*CredentialBroker_OidcFederation) isCredentialBroker_Kind() {}
func (*CredentialBroker_AwsAssumeRole) isCredentialBroker_Kind() {}
func (*CredentialBroker_PlatformIdentity) isCredentialBroker_Kind() {}
// OIDCFederation exchanges the control plane's JWT at a provider STS.
type OIDCFederation struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Google: https://sts.googleapis.com/v1/token. Other providers: their RFC 8693 endpoint.
TokenEndpoint string `protobuf:"bytes,1,opt,name=token_endpoint,json=tokenEndpoint,proto3" json:"token_endpoint,omitempty"`
// The audience the provider expects, e.g. the Google workload or workforce
// pool provider resource name. One per destination.
Audience string `protobuf:"bytes,2,opt,name=audience,proto3" json:"audience,omitempty"`
// Optional service account to impersonate when the API does not accept the
// federated principal directly (Google iamcredentials.generateAccessToken).
Impersonate string `protobuf:"bytes,3,opt,name=impersonate,proto3" json:"impersonate,omitempty"`
// OAuth scopes requested for the destination credential; the TAR may narrow
// them further, never widen them.
Scopes []string `protobuf:"bytes,4,rep,name=scopes,proto3" json:"scopes,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OIDCFederation) Reset() {
*x = OIDCFederation{}
mi := &file_api_agentmesh_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OIDCFederation) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OIDCFederation) ProtoMessage() {}
func (x *OIDCFederation) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[35]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OIDCFederation.ProtoReflect.Descriptor instead.
func (*OIDCFederation) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{35}
}
func (x *OIDCFederation) GetTokenEndpoint() string {
if x != nil {
return x.TokenEndpoint
}
return ""
}
func (x *OIDCFederation) GetAudience() string {
if x != nil {
return x.Audience
}
return ""
}
func (x *OIDCFederation) GetImpersonate() string {
if x != nil {
return x.Impersonate
}
return ""
}
func (x *OIDCFederation) GetScopes() []string {
if x != nil {
return x.Scopes
}
return nil
}
type AWSAssumeRole struct {
state protoimpl.MessageState `protogen:"open.v1"`
RoleArn string `protobuf:"bytes,1,opt,name=role_arn,json=roleArn,proto3" json:"role_arn,omitempty"`
// Session policy template; the adapter intersects it with the TAR.
SessionPolicy string `protobuf:"bytes,2,opt,name=session_policy,json=sessionPolicy,proto3" json:"session_policy,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AWSAssumeRole) Reset() {
*x = AWSAssumeRole{}
mi := &file_api_agentmesh_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AWSAssumeRole) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AWSAssumeRole) ProtoMessage() {}
func (x *AWSAssumeRole) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[36]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AWSAssumeRole.ProtoReflect.Descriptor instead.
func (*AWSAssumeRole) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{36}
}
func (x *AWSAssumeRole) GetRoleArn() string {
if x != nil {
return x.RoleArn
}
return ""
}
func (x *AWSAssumeRole) GetSessionPolicy() string {
if x != nil {
return x.SessionPolicy
}
return ""
}
type PlatformIdentity struct {
state protoimpl.MessageState `protogen:"open.v1"`
Scopes []string `protobuf:"bytes,1,rep,name=scopes,proto3" json:"scopes,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PlatformIdentity) Reset() {
*x = PlatformIdentity{}
mi := &file_api_agentmesh_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PlatformIdentity) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PlatformIdentity) ProtoMessage() {}
func (x *PlatformIdentity) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[37]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PlatformIdentity.ProtoReflect.Descriptor instead.
func (*PlatformIdentity) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{37}
}
func (x *PlatformIdentity) GetScopes() []string {
if x != nil {
return x.Scopes
}
return nil
}
type PolicyBinding struct {
state protoimpl.MessageState `protogen:"open.v1"`
Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PolicyBinding) Reset() {
*x = PolicyBinding{}
mi := &file_api_agentmesh_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PolicyBinding) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PolicyBinding) ProtoMessage() {}
func (x *PolicyBinding) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[38]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PolicyBinding.ProtoReflect.Descriptor instead.
func (*PolicyBinding) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{38}
}
func (x *PolicyBinding) GetRole() string {
if x != nil {
return x.Role
}
return ""
}
func (x *PolicyBinding) GetMembers() []string {
if x != nil {
return x.Members
}
return nil
}
// PolicyConfig is the mesh policy as the operator writes it: roles and
// bindings. It is the body of POST /policies and the answer of
// GET /admin/policy, both protojson. Only the control plane reads it, to
// mint tokens and to render PolicyConfigGetResponse.
type PolicyConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
Roles []*PolicyRole `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
Bindings []*PolicyBinding `protobuf:"bytes,2,rep,name=bindings,proto3" json:"bindings,omitempty"`
Egress []*EgressDestination `protobuf:"bytes,3,rep,name=egress,proto3" json:"egress,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PolicyConfig) Reset() {
*x = PolicyConfig{}
mi := &file_api_agentmesh_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PolicyConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PolicyConfig) ProtoMessage() {}
func (x *PolicyConfig) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[39]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PolicyConfig.ProtoReflect.Descriptor instead.
func (*PolicyConfig) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{39}
}
func (x *PolicyConfig) GetRoles() []*PolicyRole {
if x != nil {
return x.Roles
}
return nil
}
func (x *PolicyConfig) GetBindings() []*PolicyBinding {
if x != nil {
return x.Bindings
}
return nil
}
func (x *PolicyConfig) GetEgress() []*EgressDestination {
if x != nil {
return x.Egress
}
return nil
}
type PolicyConfigGetRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PolicyConfigGetRequest) Reset() {
*x = PolicyConfigGetRequest{}
mi := &file_api_agentmesh_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PolicyConfigGetRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PolicyConfigGetRequest) ProtoMessage() {}
func (x *PolicyConfigGetRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[40]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PolicyConfigGetRequest.ProtoReflect.Descriptor instead.
func (*PolicyConfigGetRequest) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{40}
}
// PolicyConfigGetResponse answers GET /policies for a mesh member holding a
// biscuit. It carries the policy only as Datalog text: this is the contract
// every member evaluates, and none derives rules from roles and bindings.
type PolicyConfigGetResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// One rule per entry, rendered by the control plane with api.BuildPolicyRules.
DatalogRules []string `protobuf:"bytes,1,rep,name=datalog_rules,json=datalogRules,proto3" json:"datalog_rules,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PolicyConfigGetResponse) Reset() {
*x = PolicyConfigGetResponse{}
mi := &file_api_agentmesh_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PolicyConfigGetResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PolicyConfigGetResponse) ProtoMessage() {}
func (x *PolicyConfigGetResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[41]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PolicyConfigGetResponse.ProtoReflect.Descriptor instead.
func (*PolicyConfigGetResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{41}
}
func (x *PolicyConfigGetResponse) GetDatalogRules() []string {
if x != nil {
return x.DatalogRules
}
return nil
}
type PolicyConfigUpdateResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PolicyConfigUpdateResponse) Reset() {
*x = PolicyConfigUpdateResponse{}
mi := &file_api_agentmesh_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PolicyConfigUpdateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PolicyConfigUpdateResponse) ProtoMessage() {}
func (x *PolicyConfigUpdateResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[42]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PolicyConfigUpdateResponse.ProtoReflect.Descriptor instead.
func (*PolicyConfigUpdateResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{42}
}
func (x *PolicyConfigUpdateResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
func (x *PolicyConfigUpdateResponse) GetError() string {
if x != nil {
return x.Error
}
return ""
}
type EgressAssignmentsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EgressAssignmentsRequest) Reset() {
*x = EgressAssignmentsRequest{}
mi := &file_api_agentmesh_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EgressAssignmentsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EgressAssignmentsRequest) ProtoMessage() {}
func (x *EgressAssignmentsRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[43]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EgressAssignmentsRequest.ProtoReflect.Descriptor instead.
func (*EgressAssignmentsRequest) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{43}
}
// EgressAssignmentsResponse answers GET /egress for a mesh member holding a
// biscuit: the destinations whose served_by selects that node. It is a
// separate endpoint from GET /policies so that a node predating it keeps
// syncing rules unchanged.
type EgressAssignmentsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Egress []*EgressDestination `protobuf:"bytes,1,rep,name=egress,proto3" json:"egress,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EgressAssignmentsResponse) Reset() {
*x = EgressAssignmentsResponse{}
mi := &file_api_agentmesh_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EgressAssignmentsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EgressAssignmentsResponse) ProtoMessage() {}
func (x *EgressAssignmentsResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[44]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EgressAssignmentsResponse.ProtoReflect.Descriptor instead.
func (*EgressAssignmentsResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{44}
}
func (x *EgressAssignmentsResponse) GetEgress() []*EgressDestination {
if x != nil {
return x.Egress
}
return nil
}
type KeysResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
// When the set was signed; receivers reject responses outside a short
// freshness window so a captured set cannot be replayed.
SignTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=sign_time,json=signTime,proto3" json:"sign_time,omitempty"`
// One ed25519 signature per entry of public_keys, by that key, over the
// deterministic encoding of this message with signatures cleared. A
// receiver trusting any key still valid on the control plane can verify
// the whole set (see api.VerifyKeysResponse).
Signatures [][]byte `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *KeysResponse) Reset() {
*x = KeysResponse{}
mi := &file_api_agentmesh_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *KeysResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*KeysResponse) ProtoMessage() {}
func (x *KeysResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[45]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use KeysResponse.ProtoReflect.Descriptor instead.
func (*KeysResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{45}
}
func (x *KeysResponse) GetPublicKeys() [][]byte {
if x != nil {
return x.PublicKeys
}
return nil
}
func (x *KeysResponse) GetSignTime() *timestamppb.Timestamp {
if x != nil {
return x.SignTime
}
return nil
}
func (x *KeysResponse) GetSignatures() [][]byte {
if x != nil {
return x.Signatures
}
return nil
}
type TokenRefreshRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Signature with the node key over the UTF-8 bytes of
// "mesh:refresh:<peer_id>:<challenge_unix_ms>", where peer_id is the one
// bound in the presented biscuit. Peer- and endpoint-bound so a captured
// signature verifies nowhere else.
ChallengeSignature []byte `protobuf:"bytes,1,opt,name=challenge_signature,json=challengeSignature,proto3" json:"challenge_signature,omitempty"`
// The caller's clock in unix milliseconds, the number in the signed text.
// Must be within the control plane's freshness window.
ChallengeUnixMs int64 `protobuf:"varint,2,opt,name=challenge_unix_ms,json=challengeUnixMs,proto3" json:"challenge_unix_ms,omitempty"`
// The caller's peer ID. Optional: the control plane normally reads it
// from the verified biscuit. It is consulted only when the biscuit's
// signing key has been retired, so the biscuit cannot be verified: the
// control plane then looks up the enrolled node record by this ID and,
// if the node was opted in to autonomous recovery, accepts the request
// when the presented biscuit is byte-identical to the last one it
// issued and the challenge verifies against the stored public key.
PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// Optional fresh platform JWT for an OIDC-enrolled node. When set, the
// control plane verifies the JWT, confirms that iss|sub matches the
// stored enrollment's identity, and renews the stored claims and session
// expiry in place before minting the refreshed biscuit.
Jwt string `protobuf:"bytes,4,opt,name=jwt,proto3" json:"jwt,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TokenRefreshRequest) Reset() {
*x = TokenRefreshRequest{}
mi := &file_api_agentmesh_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TokenRefreshRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TokenRefreshRequest) ProtoMessage() {}
func (x *TokenRefreshRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[46]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TokenRefreshRequest.ProtoReflect.Descriptor instead.
func (*TokenRefreshRequest) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{46}
}
func (x *TokenRefreshRequest) GetChallengeSignature() []byte {
if x != nil {
return x.ChallengeSignature
}
return nil
}
func (x *TokenRefreshRequest) GetChallengeUnixMs() int64 {
if x != nil {
return x.ChallengeUnixMs
}
return 0
}
func (x *TokenRefreshRequest) GetPeerId() string {
if x != nil {
return x.PeerId
}
return ""
}
func (x *TokenRefreshRequest) GetJwt() string {
if x != nil {
return x.Jwt
}
return ""
}
type TokenRefreshResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
BiscuitToken []byte `protobuf:"bytes,1,opt,name=biscuit_token,json=biscuitToken,proto3" json:"biscuit_token,omitempty"`
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TokenRefreshResponse) Reset() {
*x = TokenRefreshResponse{}
mi := &file_api_agentmesh_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TokenRefreshResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TokenRefreshResponse) ProtoMessage() {}
func (x *TokenRefreshResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[47]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TokenRefreshResponse.ProtoReflect.Descriptor instead.
func (*TokenRefreshResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{47}
}
func (x *TokenRefreshResponse) GetBiscuitToken() []byte {
if x != nil {
return x.BiscuitToken
}
return nil
}
func (x *TokenRefreshResponse) GetExpireTime() *timestamppb.Timestamp {
if x != nil {
return x.ExpireTime
}
return nil
}
func (x *TokenRefreshResponse) GetErrorMessage() string {
if x != nil {
return x.ErrorMessage
}
return ""
}
// NodeCatalogReport is the body of POST /nodes/catalog: a node's
// self-reported list of locally registered services. The reporting peer is
// taken from the presented biscuit, never from the body, so a node can only
// ever describe itself. Display-only; carries no authorization weight.
type NodeCatalogReport struct {
state protoimpl.MessageState `protogen:"open.v1"`
Services []*ServiceInfo `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NodeCatalogReport) Reset() {
*x = NodeCatalogReport{}
mi := &file_api_agentmesh_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NodeCatalogReport) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NodeCatalogReport) ProtoMessage() {}
func (x *NodeCatalogReport) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[48]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NodeCatalogReport.ProtoReflect.Descriptor instead.
func (*NodeCatalogReport) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{48}
}
func (x *NodeCatalogReport) GetServices() []*ServiceInfo {
if x != nil {
return x.Services
}
return nil
}
type TokenRevokeRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TokenRevokeRequest) Reset() {
*x = TokenRevokeRequest{}
mi := &file_api_agentmesh_proto_msgTypes[49]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TokenRevokeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TokenRevokeRequest) ProtoMessage() {}
func (x *TokenRevokeRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[49]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TokenRevokeRequest.ProtoReflect.Descriptor instead.
func (*TokenRevokeRequest) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{49}
}
func (x *TokenRevokeRequest) GetPeerId() string {
if x != nil {
return x.PeerId
}
return ""
}
type TokenRevokeResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TokenRevokeResponse) Reset() {
*x = TokenRevokeResponse{}
mi := &file_api_agentmesh_proto_msgTypes[50]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TokenRevokeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TokenRevokeResponse) ProtoMessage() {}
func (x *TokenRevokeResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[50]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TokenRevokeResponse.ProtoReflect.Descriptor instead.
func (*TokenRevokeResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{50}
}
func (x *TokenRevokeResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
func (x *TokenRevokeResponse) GetError() string {
if x != nil {
return x.Error
}
return ""
}
// BootstrapTokenCreateRequest is the body of POST /admin/bootstrap-tokens
// (admin bearer) and POST /user/bootstrap-tokens (mesh user).
type BootstrapTokenCreateRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Role the token enrolls into, e.g. "mesh:role:node". Required on the admin
// endpoint; the user endpoint defaults it to "mesh:role:node".
Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
// User the token is issued on behalf of. Honored by the user endpoint
// only, and only for admins; defaults to the caller.
OwnerId string `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
// How long the token stays valid; unset or non-positive means 24.
TtlHours int32 `protobuf:"varint,3,opt,name=ttl_hours,json=ttlHours,proto3" json:"ttl_hours,omitempty"`
// How many enrollments the token admits; unset or non-positive means 1.
MaxUsages int32 `protobuf:"varint,4,opt,name=max_usages,json=maxUsages,proto3" json:"max_usages,omitempty"`
// Free-form operator note stored with the token.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Copied onto every node the token enrolls: such a node may still refresh
// its credential after the control plane's signing key rotated past its
// grace period, on proof of possession of its own key alone. Admin-only,
// because a node that can always recover holds a credential that never
// expires.
AutonomousRecovery bool `protobuf:"varint,6,opt,name=autonomous_recovery,json=autonomousRecovery,proto3" json:"autonomous_recovery,omitempty"`
// Copied onto every node the token enrolls: such a node is forgotten
// soon after it falls silent (the control plane's
// --ephemeral-node-retention, an hour by default) instead of being kept
// for --node-retention. For members that come and go: a fleet in a scale
// test, a probe, a CI job.
Ephemeral bool `protobuf:"varint,7,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *BootstrapTokenCreateRequest) Reset() {
*x = BootstrapTokenCreateRequest{}
mi := &file_api_agentmesh_proto_msgTypes[51]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *BootstrapTokenCreateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BootstrapTokenCreateRequest) ProtoMessage() {}
func (x *BootstrapTokenCreateRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[51]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use BootstrapTokenCreateRequest.ProtoReflect.Descriptor instead.
func (*BootstrapTokenCreateRequest) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{51}
}
func (x *BootstrapTokenCreateRequest) GetRole() string {
if x != nil {
return x.Role
}
return ""
}
func (x *BootstrapTokenCreateRequest) GetOwnerId() string {
if x != nil {
return x.OwnerId
}
return ""
}
func (x *BootstrapTokenCreateRequest) GetTtlHours() int32 {
if x != nil {
return x.TtlHours
}
return 0
}
func (x *BootstrapTokenCreateRequest) GetMaxUsages() int32 {
if x != nil {
return x.MaxUsages
}
return 0
}
func (x *BootstrapTokenCreateRequest) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *BootstrapTokenCreateRequest) GetAutonomousRecovery() bool {
if x != nil {
return x.AutonomousRecovery
}
return false
}
func (x *BootstrapTokenCreateRequest) GetEphemeral() bool {
if x != nil {
return x.Ephemeral
}
return false
}
// BootstrapTokenCreateResponse is returned (201) when a token is minted.
// token is the plaintext and is shown exactly once; the control plane keeps
// only its hash, which is also the id.
type BootstrapTokenCreateResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
OwnerId string `protobuf:"bytes,4,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *BootstrapTokenCreateResponse) Reset() {
*x = BootstrapTokenCreateResponse{}
mi := &file_api_agentmesh_proto_msgTypes[52]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *BootstrapTokenCreateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BootstrapTokenCreateResponse) ProtoMessage() {}
func (x *BootstrapTokenCreateResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[52]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use BootstrapTokenCreateResponse.ProtoReflect.Descriptor instead.
func (*BootstrapTokenCreateResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{52}
}
func (x *BootstrapTokenCreateResponse) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *BootstrapTokenCreateResponse) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
func (x *BootstrapTokenCreateResponse) GetRole() string {
if x != nil {
return x.Role
}
return ""
}
func (x *BootstrapTokenCreateResponse) GetOwnerId() string {
if x != nil {
return x.OwnerId
}
return ""
}
func (x *BootstrapTokenCreateResponse) GetExpireTime() *timestamppb.Timestamp {
if x != nil {
return x.ExpireTime
}
return nil
}
// BootstrapToken is a minted token as operators list it.
type BootstrapToken struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
OwnerId string `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
MaxUsages int32 `protobuf:"varint,4,opt,name=max_usages,json=maxUsages,proto3" json:"max_usages,omitempty"`
UsagesCount int32 `protobuf:"varint,5,opt,name=usages_count,json=usagesCount,proto3" json:"usages_count,omitempty"`
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// Set when an operator revoked the token, which is distinct from expiry
// or exhausted usages. Unset means never revoked.
RevokeTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=revoke_time,json=revokeTime,proto3" json:"revoke_time,omitempty"`
AutonomousRecovery bool `protobuf:"varint,10,opt,name=autonomous_recovery,json=autonomousRecovery,proto3" json:"autonomous_recovery,omitempty"`
Ephemeral bool `protobuf:"varint,11,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *BootstrapToken) Reset() {
*x = BootstrapToken{}
mi := &file_api_agentmesh_proto_msgTypes[53]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *BootstrapToken) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BootstrapToken) ProtoMessage() {}
func (x *BootstrapToken) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[53]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use BootstrapToken.ProtoReflect.Descriptor instead.
func (*BootstrapToken) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{53}
}
func (x *BootstrapToken) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *BootstrapToken) GetRole() string {
if x != nil {
return x.Role
}
return ""
}
func (x *BootstrapToken) GetOwnerId() string {
if x != nil {
return x.OwnerId
}
return ""
}
func (x *BootstrapToken) GetMaxUsages() int32 {
if x != nil {
return x.MaxUsages
}
return 0
}
func (x *BootstrapToken) GetUsagesCount() int32 {
if x != nil {
return x.UsagesCount
}
return 0
}
func (x *BootstrapToken) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *BootstrapToken) GetCreateTime() *timestamppb.Timestamp {
if x != nil {
return x.CreateTime
}
return nil
}
func (x *BootstrapToken) GetExpireTime() *timestamppb.Timestamp {
if x != nil {
return x.ExpireTime
}
return nil
}
func (x *BootstrapToken) GetRevokeTime() *timestamppb.Timestamp {
if x != nil {
return x.RevokeTime
}
return nil
}
func (x *BootstrapToken) GetAutonomousRecovery() bool {
if x != nil {
return x.AutonomousRecovery
}
return false
}
func (x *BootstrapToken) GetEphemeral() bool {
if x != nil {
return x.Ephemeral
}
return false
}
type BootstrapTokenListResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Tokens []*BootstrapToken `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *BootstrapTokenListResponse) Reset() {
*x = BootstrapTokenListResponse{}
mi := &file_api_agentmesh_proto_msgTypes[54]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *BootstrapTokenListResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BootstrapTokenListResponse) ProtoMessage() {}
func (x *BootstrapTokenListResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[54]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use BootstrapTokenListResponse.ProtoReflect.Descriptor instead.
func (*BootstrapTokenListResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{54}
}
func (x *BootstrapTokenListResponse) GetTokens() []*BootstrapToken {
if x != nil {
return x.Tokens
}
return nil
}
// EnrollmentRequest is a bootstrap enrollment awaiting or past an operator
// decision (see BootstrapEnrollRequest).
type EnrollmentRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
PeerId string `protobuf:"bytes,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// The bootstrap token the request was made with.
TokenId string `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
Status EnrollmentStatus `protobuf:"varint,4,opt,name=status,proto3,enum=agentmesh.v1.EnrollmentStatus" json:"status,omitempty"`
// Labels the node declared; approval attests them into its biscuit.
Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Unset while the request is pending.
ResolveTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=resolve_time,json=resolveTime,proto3" json:"resolve_time,omitempty"`
ResolvedBy string `protobuf:"bytes,8,opt,name=resolved_by,json=resolvedBy,proto3" json:"resolved_by,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EnrollmentRequest) Reset() {
*x = EnrollmentRequest{}
mi := &file_api_agentmesh_proto_msgTypes[55]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EnrollmentRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EnrollmentRequest) ProtoMessage() {}
func (x *EnrollmentRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[55]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EnrollmentRequest.ProtoReflect.Descriptor instead.
func (*EnrollmentRequest) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{55}
}
func (x *EnrollmentRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *EnrollmentRequest) GetPeerId() string {
if x != nil {
return x.PeerId
}
return ""
}
func (x *EnrollmentRequest) GetTokenId() string {
if x != nil {
return x.TokenId
}
return ""
}
func (x *EnrollmentRequest) GetStatus() EnrollmentStatus {
if x != nil {
return x.Status
}
return EnrollmentStatus_ENROLLMENT_STATUS_UNSPECIFIED
}
func (x *EnrollmentRequest) GetLabels() map[string]string {
if x != nil {
return x.Labels
}
return nil
}
func (x *EnrollmentRequest) GetCreateTime() *timestamppb.Timestamp {
if x != nil {
return x.CreateTime
}
return nil
}
func (x *EnrollmentRequest) GetResolveTime() *timestamppb.Timestamp {
if x != nil {
return x.ResolveTime
}
return nil
}
func (x *EnrollmentRequest) GetResolvedBy() string {
if x != nil {
return x.ResolvedBy
}
return ""
}
type EnrollmentRequestListResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Requests []*EnrollmentRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EnrollmentRequestListResponse) Reset() {
*x = EnrollmentRequestListResponse{}
mi := &file_api_agentmesh_proto_msgTypes[56]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EnrollmentRequestListResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EnrollmentRequestListResponse) ProtoMessage() {}
func (x *EnrollmentRequestListResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[56]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EnrollmentRequestListResponse.ProtoReflect.Descriptor instead.
func (*EnrollmentRequestListResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{56}
}
func (x *EnrollmentRequestListResponse) GetRequests() []*EnrollmentRequest {
if x != nil {
return x.Requests
}
return nil
}
// User is a human identity known to the mesh.
type User struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The identity provider's subject.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Issuer string `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"`
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
// "admin" or "user".
Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *User) Reset() {
*x = User{}
mi := &file_api_agentmesh_proto_msgTypes[57]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *User) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*User) ProtoMessage() {}
func (x *User) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[57]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use User.ProtoReflect.Descriptor instead.
func (*User) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{57}
}
func (x *User) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *User) GetIssuer() string {
if x != nil {
return x.Issuer
}
return ""
}
func (x *User) GetEmail() string {
if x != nil {
return x.Email
}
return ""
}
func (x *User) GetRole() string {
if x != nil {
return x.Role
}
return ""
}
func (x *User) GetCreateTime() *timestamppb.Timestamp {
if x != nil {
return x.CreateTime
}
return nil
}
// EnrolledNode is a member's enrollment record without its credential.
type EnrolledNode struct {
state protoimpl.MessageState `protogen:"open.v1"`
PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
// How the node enrolled, e.g. "oidc" or "bootstrap".
EnrollmentType string `protobuf:"bytes,3,opt,name=enrollment_type,json=enrollmentType,proto3" json:"enrollment_type,omitempty"`
// The identity provider's claims as stored at enrollment. Admin-only.
ClaimsJson string `protobuf:"bytes,4,opt,name=claims_json,json=claimsJson,proto3" json:"claims_json,omitempty"`
OwnerId string `protobuf:"bytes,5,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
EnrollTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=enroll_time,json=enrollTime,proto3" json:"enroll_time,omitempty"`
// When the enrollment session ends; unset means it does not expire.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
Banned bool `protobuf:"varint,9,opt,name=banned,proto3" json:"banned,omitempty"`
AutonomousRecovery bool `protobuf:"varint,10,opt,name=autonomous_recovery,json=autonomousRecovery,proto3" json:"autonomous_recovery,omitempty"`
// The node was enrolled by an ephemeral token and is forgotten soon after
// it falls silent.
Ephemeral bool `protobuf:"varint,11,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EnrolledNode) Reset() {
*x = EnrolledNode{}
mi := &file_api_agentmesh_proto_msgTypes[58]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EnrolledNode) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EnrolledNode) ProtoMessage() {}
func (x *EnrolledNode) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[58]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EnrolledNode.ProtoReflect.Descriptor instead.
func (*EnrolledNode) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{58}
}
func (x *EnrolledNode) GetPeerId() string {
if x != nil {
return x.PeerId
}
return ""
}
func (x *EnrolledNode) GetRole() string {
if x != nil {
return x.Role
}
return ""
}
func (x *EnrolledNode) GetEnrollmentType() string {
if x != nil {
return x.EnrollmentType
}
return ""
}
func (x *EnrolledNode) GetClaimsJson() string {
if x != nil {
return x.ClaimsJson
}
return ""
}
func (x *EnrolledNode) GetOwnerId() string {
if x != nil {
return x.OwnerId
}
return ""
}
func (x *EnrolledNode) GetLabels() map[string]string {
if x != nil {
return x.Labels
}
return nil
}
func (x *EnrolledNode) GetEnrollTime() *timestamppb.Timestamp {
if x != nil {
return x.EnrollTime
}
return nil
}
func (x *EnrolledNode) GetExpireTime() *timestamppb.Timestamp {
if x != nil {
return x.ExpireTime
}
return nil
}
func (x *EnrolledNode) GetBanned() bool {
if x != nil {
return x.Banned
}
return false
}
func (x *EnrolledNode) GetAutonomousRecovery() bool {
if x != nil {
return x.AutonomousRecovery
}
return false
}
func (x *EnrolledNode) GetEphemeral() bool {
if x != nil {
return x.Ephemeral
}
return false
}
// RouterLease is a router's current registration with the control plane.
type RouterLease struct {
state protoimpl.MessageState `protogen:"open.v1"`
PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// Multiaddrs, `/p2p/<peer id>` suffixed.
Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"`
LastRenewalTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_renewal_time,json=lastRenewalTime,proto3" json:"last_renewal_time,omitempty"`
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
ConnectedPeers []string `protobuf:"bytes,5,rep,name=connected_peers,json=connectedPeers,proto3" json:"connected_peers,omitempty"`
DhtSize int32 `protobuf:"varint,6,opt,name=dht_size,json=dhtSize,proto3" json:"dht_size,omitempty"`
IngressUrl string `protobuf:"bytes,7,opt,name=ingress_url,json=ingressUrl,proto3" json:"ingress_url,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RouterLease) Reset() {
*x = RouterLease{}
mi := &file_api_agentmesh_proto_msgTypes[59]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RouterLease) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RouterLease) ProtoMessage() {}
func (x *RouterLease) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[59]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RouterLease.ProtoReflect.Descriptor instead.
func (*RouterLease) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{59}
}
func (x *RouterLease) GetPeerId() string {
if x != nil {
return x.PeerId
}
return ""
}
func (x *RouterLease) GetAddresses() []string {
if x != nil {
return x.Addresses
}
return nil
}
func (x *RouterLease) GetLastRenewalTime() *timestamppb.Timestamp {
if x != nil {
return x.LastRenewalTime
}
return nil
}
func (x *RouterLease) GetExpireTime() *timestamppb.Timestamp {
if x != nil {
return x.ExpireTime
}
return nil
}
func (x *RouterLease) GetConnectedPeers() []string {
if x != nil {
return x.ConnectedPeers
}
return nil
}
func (x *RouterLease) GetDhtSize() int32 {
if x != nil {
return x.DhtSize
}
return 0
}
func (x *RouterLease) GetIngressUrl() string {
if x != nil {
return x.IngressUrl
}
return ""
}
// NodeServices is the services one node last reported (see
// NodeCatalogReport).
type NodeServices struct {
state protoimpl.MessageState `protogen:"open.v1"`
Services []*ServiceInfo `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
ReportTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=report_time,json=reportTime,proto3" json:"report_time,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NodeServices) Reset() {
*x = NodeServices{}
mi := &file_api_agentmesh_proto_msgTypes[60]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NodeServices) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NodeServices) ProtoMessage() {}
func (x *NodeServices) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[60]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NodeServices.ProtoReflect.Descriptor instead.
func (*NodeServices) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{60}
}
func (x *NodeServices) GetServices() []*ServiceInfo {
if x != nil {
return x.Services
}
return nil
}
func (x *NodeServices) GetReportTime() *timestamppb.Timestamp {
if x != nil {
return x.ReportTime
}
return nil
}
// AdminStatusResponse answers GET /admin/status: everything the console
// shows an administrator, except expired nodes (see GET /user/nodes).
type AdminStatusResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
ActiveRouters []*RouterLease `protobuf:"bytes,2,rep,name=active_routers,json=activeRouters,proto3" json:"active_routers,omitempty"`
EnrolledNodes []*EnrolledNode `protobuf:"bytes,3,rep,name=enrolled_nodes,json=enrolledNodes,proto3" json:"enrolled_nodes,omitempty"`
EnrollmentRequests []*EnrollmentRequest `protobuf:"bytes,4,rep,name=enrollment_requests,json=enrollmentRequests,proto3" json:"enrollment_requests,omitempty"`
BootstrapTokens []*BootstrapToken `protobuf:"bytes,5,rep,name=bootstrap_tokens,json=bootstrapTokens,proto3" json:"bootstrap_tokens,omitempty"`
Policy *PolicyConfig `protobuf:"bytes,6,opt,name=policy,proto3" json:"policy,omitempty"`
// Keyed by the reporting node's peer ID; admitted nodes only.
NodeCatalog map[string]*NodeServices `protobuf:"bytes,7,rep,name=node_catalog,json=nodeCatalog,proto3" json:"node_catalog,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AdminStatusResponse) Reset() {
*x = AdminStatusResponse{}
mi := &file_api_agentmesh_proto_msgTypes[61]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AdminStatusResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AdminStatusResponse) ProtoMessage() {}
func (x *AdminStatusResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[61]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AdminStatusResponse.ProtoReflect.Descriptor instead.
func (*AdminStatusResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{61}
}
func (x *AdminStatusResponse) GetUsers() []*User {
if x != nil {
return x.Users
}
return nil
}
func (x *AdminStatusResponse) GetActiveRouters() []*RouterLease {
if x != nil {
return x.ActiveRouters
}
return nil
}
func (x *AdminStatusResponse) GetEnrolledNodes() []*EnrolledNode {
if x != nil {
return x.EnrolledNodes
}
return nil
}
func (x *AdminStatusResponse) GetEnrollmentRequests() []*EnrollmentRequest {
if x != nil {
return x.EnrollmentRequests
}
return nil
}
func (x *AdminStatusResponse) GetBootstrapTokens() []*BootstrapToken {
if x != nil {
return x.BootstrapTokens
}
return nil
}
func (x *AdminStatusResponse) GetPolicy() *PolicyConfig {
if x != nil {
return x.Policy
}
return nil
}
func (x *AdminStatusResponse) GetNodeCatalog() map[string]*NodeServices {
if x != nil {
return x.NodeCatalog
}
return nil
}
// UserStatusResponse answers GET /user/status: the caller and what it owns,
// except expired nodes (see GET /user/nodes). The router fleet and the mesh
// policy describe the whole mesh and are set for an administrator only.
type UserStatusResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
EnrolledNodes []*EnrolledNode `protobuf:"bytes,2,rep,name=enrolled_nodes,json=enrolledNodes,proto3" json:"enrolled_nodes,omitempty"`
BootstrapTokens []*BootstrapToken `protobuf:"bytes,3,rep,name=bootstrap_tokens,json=bootstrapTokens,proto3" json:"bootstrap_tokens,omitempty"`
ActiveRouters []*RouterLease `protobuf:"bytes,4,rep,name=active_routers,json=activeRouters,proto3" json:"active_routers,omitempty"`
Policy *PolicyConfig `protobuf:"bytes,5,opt,name=policy,proto3" json:"policy,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UserStatusResponse) Reset() {
*x = UserStatusResponse{}
mi := &file_api_agentmesh_proto_msgTypes[62]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UserStatusResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserStatusResponse) ProtoMessage() {}
func (x *UserStatusResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[62]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UserStatusResponse.ProtoReflect.Descriptor instead.
func (*UserStatusResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{62}
}
func (x *UserStatusResponse) GetUser() *User {
if x != nil {
return x.User
}
return nil
}
func (x *UserStatusResponse) GetEnrolledNodes() []*EnrolledNode {
if x != nil {
return x.EnrolledNodes
}
return nil
}
func (x *UserStatusResponse) GetBootstrapTokens() []*BootstrapToken {
if x != nil {
return x.BootstrapTokens
}
return nil
}
func (x *UserStatusResponse) GetActiveRouters() []*RouterLease {
if x != nil {
return x.ActiveRouters
}
return nil
}
func (x *UserStatusResponse) GetPolicy() *PolicyConfig {
if x != nil {
return x.Policy
}
return nil
}
// NodeListResponse answers GET /user/nodes: enrolled nodes, newest enrollment
// first, page_size (default 50, at most 200) at a time. state (admitted,
// expired or banned, repeatable) and role narrow the list. An administrator
// sees every owner's nodes and may pick one with owner_id; a user sees its own.
type NodeListResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Nodes []*EnrolledNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
// Pass as page_token for the next page; empty on the last page.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NodeListResponse) Reset() {
*x = NodeListResponse{}
mi := &file_api_agentmesh_proto_msgTypes[63]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NodeListResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NodeListResponse) ProtoMessage() {}
func (x *NodeListResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[63]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NodeListResponse.ProtoReflect.Descriptor instead.
func (*NodeListResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{63}
}
func (x *NodeListResponse) GetNodes() []*EnrolledNode {
if x != nil {
return x.Nodes
}
return nil
}
func (x *NodeListResponse) GetNextPageToken() string {
if x != nil {
return x.NextPageToken
}
return ""
}
type IdentityEvidenceResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
Biscuit []byte `protobuf:"bytes,2,opt,name=biscuit,proto3" json:"biscuit,omitempty"`
BiscuitExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=biscuit_expire_time,json=biscuitExpireTime,proto3" json:"biscuit_expire_time,omitempty"`
ControlPlaneUrl string `protobuf:"bytes,4,opt,name=control_plane_url,json=controlPlaneUrl,proto3" json:"control_plane_url,omitempty"`
TrustedControlPlaneKeys [][]byte `protobuf:"bytes,5,rep,name=trusted_control_plane_keys,json=trustedControlPlaneKeys,proto3" json:"trusted_control_plane_keys,omitempty"` // Ed25519 SPKI DER
CheckTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=check_time,json=checkTime,proto3" json:"check_time,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IdentityEvidenceResponse) Reset() {
*x = IdentityEvidenceResponse{}
mi := &file_api_agentmesh_proto_msgTypes[64]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IdentityEvidenceResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IdentityEvidenceResponse) ProtoMessage() {}
func (x *IdentityEvidenceResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[64]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use IdentityEvidenceResponse.ProtoReflect.Descriptor instead.
func (*IdentityEvidenceResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{64}
}
func (x *IdentityEvidenceResponse) GetPeerId() string {
if x != nil {
return x.PeerId
}
return ""
}
func (x *IdentityEvidenceResponse) GetBiscuit() []byte {
if x != nil {
return x.Biscuit
}
return nil
}
func (x *IdentityEvidenceResponse) GetBiscuitExpireTime() *timestamppb.Timestamp {
if x != nil {
return x.BiscuitExpireTime
}
return nil
}
func (x *IdentityEvidenceResponse) GetControlPlaneUrl() string {
if x != nil {
return x.ControlPlaneUrl
}
return ""
}
func (x *IdentityEvidenceResponse) GetTrustedControlPlaneKeys() [][]byte {
if x != nil {
return x.TrustedControlPlaneKeys
}
return nil
}
func (x *IdentityEvidenceResponse) GetCheckTime() *timestamppb.Timestamp {
if x != nil {
return x.CheckTime
}
return nil
}
type PeerEvidenceResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
Biscuit []byte `protobuf:"bytes,2,opt,name=biscuit,proto3" json:"biscuit,omitempty"`
VerifyingKey []byte `protobuf:"bytes,3,opt,name=verifying_key,json=verifyingKey,proto3" json:"verifying_key,omitempty"` // Ed25519 SPKI DER, member of the trusted set
Roles []string `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"`
Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
RevocationIds []string `protobuf:"bytes,7,rep,name=revocation_ids,json=revocationIds,proto3" json:"revocation_ids,omitempty"` // hex
CheckTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=check_time,json=checkTime,proto3" json:"check_time,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PeerEvidenceResponse) Reset() {
*x = PeerEvidenceResponse{}
mi := &file_api_agentmesh_proto_msgTypes[65]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PeerEvidenceResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PeerEvidenceResponse) ProtoMessage() {}
func (x *PeerEvidenceResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[65]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PeerEvidenceResponse.ProtoReflect.Descriptor instead.
func (*PeerEvidenceResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{65}
}
func (x *PeerEvidenceResponse) GetPeerId() string {
if x != nil {
return x.PeerId
}
return ""
}
func (x *PeerEvidenceResponse) GetBiscuit() []byte {
if x != nil {
return x.Biscuit
}
return nil
}
func (x *PeerEvidenceResponse) GetVerifyingKey() []byte {
if x != nil {
return x.VerifyingKey
}
return nil
}
func (x *PeerEvidenceResponse) GetRoles() []string {
if x != nil {
return x.Roles
}
return nil
}
func (x *PeerEvidenceResponse) GetLabels() map[string]string {
if x != nil {
return x.Labels
}
return nil
}
func (x *PeerEvidenceResponse) GetExpireTime() *timestamppb.Timestamp {
if x != nil {
return x.ExpireTime
}
return nil
}
func (x *PeerEvidenceResponse) GetRevocationIds() []string {
if x != nil {
return x.RevocationIds
}
return nil
}
func (x *PeerEvidenceResponse) GetCheckTime() *timestamppb.Timestamp {
if x != nil {
return x.CheckTime
}
return nil
}
type MemberCredential struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Base URL of the control plane that minted the biscuit.
ControlPlaneUrl string `protobuf:"bytes,1,opt,name=control_plane_url,json=controlPlaneUrl,proto3" json:"control_plane_url,omitempty"`
// The member's biscuit.
Biscuit []byte `protobuf:"bytes,2,opt,name=biscuit,proto3" json:"biscuit,omitempty"`
// When the biscuit expires.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// Control plane signing keys trusted now; a rotation keeps several valid.
TrustedKeys []*TrustedSigningKey `protobuf:"bytes,4,rep,name=trusted_keys,json=trustedKeys,proto3" json:"trusted_keys,omitempty"`
// The keys trusted when the biscuit was issued. A key trusted now that is
// absent here means a rotation happened since: the biscuit is signed by a
// retiring key and must be refreshed before that key leaves its grace
// period.
IssuedUnderKeys [][]byte `protobuf:"bytes,5,rep,name=issued_under_keys,json=issuedUnderKeys,proto3" json:"issued_under_keys,omitempty"`
// Router multiaddrs, `/p2p/<peer id>` suffixed.
RouterAddresses []string `protobuf:"bytes,6,rep,name=router_addresses,json=routerAddresses,proto3" json:"router_addresses,omitempty"`
// The session that renews an identity enrolled through the mesh's
// identity provider. Unset for a member enrolled with a bootstrap token.
OidcSession *OIDCSession `protobuf:"bytes,7,opt,name=oidc_session,json=oidcSession,proto3" json:"oidc_session,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *MemberCredential) Reset() {
*x = MemberCredential{}
mi := &file_api_agentmesh_proto_msgTypes[66]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *MemberCredential) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MemberCredential) ProtoMessage() {}
func (x *MemberCredential) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[66]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MemberCredential.ProtoReflect.Descriptor instead.
func (*MemberCredential) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{66}
}
func (x *MemberCredential) GetControlPlaneUrl() string {
if x != nil {
return x.ControlPlaneUrl
}
return ""
}
func (x *MemberCredential) GetBiscuit() []byte {
if x != nil {
return x.Biscuit
}
return nil
}
func (x *MemberCredential) GetExpireTime() *timestamppb.Timestamp {
if x != nil {
return x.ExpireTime
}
return nil
}
func (x *MemberCredential) GetTrustedKeys() []*TrustedSigningKey {
if x != nil {
return x.TrustedKeys
}
return nil
}
func (x *MemberCredential) GetIssuedUnderKeys() [][]byte {
if x != nil {
return x.IssuedUnderKeys
}
return nil
}
func (x *MemberCredential) GetRouterAddresses() []string {
if x != nil {
return x.RouterAddresses
}
return nil
}
func (x *MemberCredential) GetOidcSession() *OIDCSession {
if x != nil {
return x.OidcSession
}
return nil
}
type TrustedSigningKey struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Raw ed25519 public key.
PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
// When the member first learned the key. A key rotated out is dropped a
// grace period after this; unset means unknown and is read as now.
ReceiveTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=receive_time,json=receiveTime,proto3" json:"receive_time,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TrustedSigningKey) Reset() {
*x = TrustedSigningKey{}
mi := &file_api_agentmesh_proto_msgTypes[67]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TrustedSigningKey) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TrustedSigningKey) ProtoMessage() {}
func (x *TrustedSigningKey) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[67]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TrustedSigningKey.ProtoReflect.Descriptor instead.
func (*TrustedSigningKey) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{67}
}
func (x *TrustedSigningKey) GetPublicKey() []byte {
if x != nil {
return x.PublicKey
}
return nil
}
func (x *TrustedSigningKey) GetReceiveTime() *timestamppb.Timestamp {
if x != nil {
return x.ReceiveTime
}
return nil
}
type OIDCSession struct {
state protoimpl.MessageState `protogen:"open.v1"`
Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
Audience string `protobuf:"bytes,3,opt,name=audience,proto3" json:"audience,omitempty"`
RefreshToken string `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OIDCSession) Reset() {
*x = OIDCSession{}
mi := &file_api_agentmesh_proto_msgTypes[68]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OIDCSession) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OIDCSession) ProtoMessage() {}
func (x *OIDCSession) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[68]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OIDCSession.ProtoReflect.Descriptor instead.
func (*OIDCSession) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{68}
}
func (x *OIDCSession) GetIssuer() string {
if x != nil {
return x.Issuer
}
return ""
}
func (x *OIDCSession) GetClientId() string {
if x != nil {
return x.ClientId
}
return ""
}
func (x *OIDCSession) GetAudience() string {
if x != nil {
return x.Audience
}
return ""
}
func (x *OIDCSession) GetRefreshToken() string {
if x != nil {
return x.RefreshToken
}
return ""
}
// TaskAuthorizationRule narrows a credential's authority for a specific task or
// sub-agent hop. Across multiple appended blocks (1..k), semantics are strict
// set intersection (logical AND): a request is permitted only if it is allowed
// by the standing mesh policy AND is before every block's expire_time AND
// matches at least one TaskRule in EVERY appended TaskAuthorizationRule block.
type TaskAuthorizationRule struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Positive allow-list of rules for this hop. Empty rules list denies everything.
Rules []*TaskRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"`
// Optional shorter expiration for this task hop. Effective token expiry is
// the minimum across the authority block's expiration() fact and every
// appended block's expire_time.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TaskAuthorizationRule) Reset() {
*x = TaskAuthorizationRule{}
mi := &file_api_agentmesh_proto_msgTypes[69]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TaskAuthorizationRule) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TaskAuthorizationRule) ProtoMessage() {}
func (x *TaskAuthorizationRule) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[69]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TaskAuthorizationRule.ProtoReflect.Descriptor instead.
func (*TaskAuthorizationRule) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{69}
}
func (x *TaskAuthorizationRule) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *TaskAuthorizationRule) GetDisplayName() string {
if x != nil {
return x.DisplayName
}
return ""
}
func (x *TaskAuthorizationRule) GetRules() []*TaskRule {
if x != nil {
return x.Rules
}
return nil
}
func (x *TaskAuthorizationRule) GetExpireTime() *timestamppb.Timestamp {
if x != nil {
return x.ExpireTime
}
return nil
}
type TaskRule struct {
state protoimpl.MessageState `protogen:"open.v1"`
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// Allowed mesh services (e.g., "mcp://bigquery", "inference://gemini.*",
// "egress://bigquery.googleapis.com"). Uses the dot-anchored grammar of
// api.ValidateServiceFormat ("*", "<type>://*", "<type>://*.<suffix>",
// "<type>://<prefix>.*", "<type>://<exact>"). Required (non-empty).
AllowedServices []string `protobuf:"bytes,2,rep,name=allowed_services,json=allowedServices,proto3" json:"allowed_services,omitempty"`
// Optional operation-level allow-list. If set, the request must also match
// the specified MCP tools, HTTP methods/paths, or cloud permissions.
Operation *TaskOperation `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"`
// Optional allowed upstream resource names (e.g. CRM resource prefixes
// "//bigquery.googleapis.com/projects/my-proj/datasets/sales_2026").
// Opaque to the wire PEP; consumed by CloudTokenExchanger at egress.
AllowedResources []string `protobuf:"bytes,4,rep,name=allowed_resources,json=allowedResources,proto3" json:"allowed_resources,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TaskRule) Reset() {
*x = TaskRule{}
mi := &file_api_agentmesh_proto_msgTypes[70]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TaskRule) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TaskRule) ProtoMessage() {}
func (x *TaskRule) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[70]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TaskRule.ProtoReflect.Descriptor instead.
func (*TaskRule) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{70}
}
func (x *TaskRule) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *TaskRule) GetAllowedServices() []string {
if x != nil {
return x.AllowedServices
}
return nil
}
func (x *TaskRule) GetOperation() *TaskOperation {
if x != nil {
return x.Operation
}
return nil
}
func (x *TaskRule) GetAllowedResources() []string {
if x != nil {
return x.AllowedResources
}
return nil
}
type TaskOperation struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Allowed MCP tool names (enforced by the PEP on mcp:// tools/call).
AllowedTools []string `protobuf:"bytes,1,rep,name=allowed_tools,json=allowedTools,proto3" json:"allowed_tools,omitempty"`
// Allowed HTTP methods (e.g. ["GET", "POST"]), validated with httpMethodSyntax.
AllowedMethods []string `protobuf:"bytes,2,rep,name=allowed_methods,json=allowedMethods,proto3" json:"allowed_methods,omitempty"`
// Allowed HTTP path patterns ("/exact" or "/prefix/*"), validated with
// validateHTTPGrantPath.
AllowedPaths []string `protobuf:"bytes,3,rep,name=allowed_paths,json=allowedPaths,proto3" json:"allowed_paths,omitempty"`
// Allowed cloud IAM permissions (e.g. "bigquery.googleapis.com/datasets.get").
// Opaque to the wire PEP; consumed by CloudTokenExchanger at egress.
AllowedPermissions []string `protobuf:"bytes,4,rep,name=allowed_permissions,json=allowedPermissions,proto3" json:"allowed_permissions,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TaskOperation) Reset() {
*x = TaskOperation{}
mi := &file_api_agentmesh_proto_msgTypes[71]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TaskOperation) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TaskOperation) ProtoMessage() {}
func (x *TaskOperation) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[71]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TaskOperation.ProtoReflect.Descriptor instead.
func (*TaskOperation) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{71}
}
func (x *TaskOperation) GetAllowedTools() []string {
if x != nil {
return x.AllowedTools
}
return nil
}
func (x *TaskOperation) GetAllowedMethods() []string {
if x != nil {
return x.AllowedMethods
}
return nil
}
func (x *TaskOperation) GetAllowedPaths() []string {
if x != nil {
return x.AllowedPaths
}
return nil
}
func (x *TaskOperation) GetAllowedPermissions() []string {
if x != nil {
return x.AllowedPermissions
}
return nil
}
// TokenExchangeRequest is the body of POST /token/exchange on the control
// plane: an enrolled agentmesh-node (authenticated via its own Biscuit in
// Authorization: Bearer and proof of possession below) exchanges a caller's
// platform JWT (OIDC ID token, K8s projected SA JWT, or SPIFFE JWT-SVID) into
// a short-lived Delegated Session Biscuit bound to the calling node's
// transport channel (client_peer_id + actor_node, without node()).
type TokenExchangeRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The subject's platform JWT to verify against the control plane's OIDC
// providers and allowed audiences.
SubjectToken string `protobuf:"bytes,1,opt,name=subject_token,json=subjectToken,proto3" json:"subject_token,omitempty"`
// Optional initial task narrowing to append as block 1 on the minted
// Biscuit.
TaskRule *TaskAuthorizationRule `protobuf:"bytes,2,opt,name=task_rule,json=taskRule,proto3" json:"task_rule,omitempty"`
// If true, the minted Biscuit is sealed (b.Seal()) before returning so
// downstream holders cannot append further blocks.
Seal bool `protobuf:"varint,3,opt,name=seal,proto3" json:"seal,omitempty"`
// Proof of possession of the calling node's enrolled key:
// challenge_unix_ms is the caller's clock in unix milliseconds and
// challenge_signature signs the UTF-8 bytes of
// "mesh:token-exchange:<peer_id>:<challenge_unix_ms>".
ChallengeUnixMs int64 `protobuf:"varint,4,opt,name=challenge_unix_ms,json=challengeUnixMs,proto3" json:"challenge_unix_ms,omitempty"`
ChallengeSignature []byte `protobuf:"bytes,5,opt,name=challenge_signature,json=challengeSignature,proto3" json:"challenge_signature,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TokenExchangeRequest) Reset() {
*x = TokenExchangeRequest{}
mi := &file_api_agentmesh_proto_msgTypes[72]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TokenExchangeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TokenExchangeRequest) ProtoMessage() {}
func (x *TokenExchangeRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[72]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TokenExchangeRequest.ProtoReflect.Descriptor instead.
func (*TokenExchangeRequest) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{72}
}
func (x *TokenExchangeRequest) GetSubjectToken() string {
if x != nil {
return x.SubjectToken
}
return ""
}
func (x *TokenExchangeRequest) GetTaskRule() *TaskAuthorizationRule {
if x != nil {
return x.TaskRule
}
return nil
}
func (x *TokenExchangeRequest) GetSeal() bool {
if x != nil {
return x.Seal
}
return false
}
func (x *TokenExchangeRequest) GetChallengeUnixMs() int64 {
if x != nil {
return x.ChallengeUnixMs
}
return 0
}
func (x *TokenExchangeRequest) GetChallengeSignature() []byte {
if x != nil {
return x.ChallengeSignature
}
return nil
}
type TokenExchangeResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
BiscuitToken []byte `protobuf:"bytes,1,opt,name=biscuit_token,json=biscuitToken,proto3" json:"biscuit_token,omitempty"`
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
Roles []string `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
Subject string `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TokenExchangeResponse) Reset() {
*x = TokenExchangeResponse{}
mi := &file_api_agentmesh_proto_msgTypes[73]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TokenExchangeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TokenExchangeResponse) ProtoMessage() {}
func (x *TokenExchangeResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[73]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TokenExchangeResponse.ProtoReflect.Descriptor instead.
func (*TokenExchangeResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{73}
}
func (x *TokenExchangeResponse) GetBiscuitToken() []byte {
if x != nil {
return x.BiscuitToken
}
return nil
}
func (x *TokenExchangeResponse) GetExpireTime() *timestamppb.Timestamp {
if x != nil {
return x.ExpireTime
}
return nil
}
func (x *TokenExchangeResponse) GetRoles() []string {
if x != nil {
return x.Roles
}
return nil
}
func (x *TokenExchangeResponse) GetSubject() string {
if x != nil {
return x.Subject
}
return ""
}
// STSTokenRequest is the body of POST /sts/token on the control plane: an
// enrolled egress agentmesh-node asks the control plane (acting as OIDC issuer) to
// verify a caller's Biscuit and TaskAuthorizationRule chain for an egress
// destination and mint a short-lived ES256 border JWT for cloud STS federation.
type STSTokenRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The caller's Biscuit token (authority block + any tar_block chain).
Biscuit []byte `protobuf:"bytes,1,opt,name=biscuit,proto3" json:"biscuit,omitempty"`
// The egress destination hostname (e.g. "bigquery.googleapis.com").
Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
// Optional explicit audience for the border JWT when not derived from the
// destination's broker configuration.
Audience string `protobuf:"bytes,3,opt,name=audience,proto3" json:"audience,omitempty"`
// Proof of possession of the calling egress node's enrolled key:
// challenge_unix_ms is the caller's clock in unix milliseconds and
// challenge_signature signs the UTF-8 bytes of
// "mesh:sts-token:<peer_id>:<challenge_unix_ms>".
ChallengeUnixMs int64 `protobuf:"varint,4,opt,name=challenge_unix_ms,json=challengeUnixMs,proto3" json:"challenge_unix_ms,omitempty"`
ChallengeSignature []byte `protobuf:"bytes,5,opt,name=challenge_signature,json=challengeSignature,proto3" json:"challenge_signature,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *STSTokenRequest) Reset() {
*x = STSTokenRequest{}
mi := &file_api_agentmesh_proto_msgTypes[74]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *STSTokenRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*STSTokenRequest) ProtoMessage() {}
func (x *STSTokenRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[74]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use STSTokenRequest.ProtoReflect.Descriptor instead.
func (*STSTokenRequest) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{74}
}
func (x *STSTokenRequest) GetBiscuit() []byte {
if x != nil {
return x.Biscuit
}
return nil
}
func (x *STSTokenRequest) GetDestination() string {
if x != nil {
return x.Destination
}
return ""
}
func (x *STSTokenRequest) GetAudience() string {
if x != nil {
return x.Audience
}
return ""
}
func (x *STSTokenRequest) GetChallengeUnixMs() int64 {
if x != nil {
return x.ChallengeUnixMs
}
return 0
}
func (x *STSTokenRequest) GetChallengeSignature() []byte {
if x != nil {
return x.ChallengeSignature
}
return nil
}
type STSTokenResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Jwt string `protobuf:"bytes,1,opt,name=jwt,proto3" json:"jwt,omitempty"`
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
Roles []string `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"`
TaskName string `protobuf:"bytes,5,opt,name=task_name,json=taskName,proto3" json:"task_name,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *STSTokenResponse) Reset() {
*x = STSTokenResponse{}
mi := &file_api_agentmesh_proto_msgTypes[75]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *STSTokenResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*STSTokenResponse) ProtoMessage() {}
func (x *STSTokenResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[75]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use STSTokenResponse.ProtoReflect.Descriptor instead.
func (*STSTokenResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{75}
}
func (x *STSTokenResponse) GetJwt() string {
if x != nil {
return x.Jwt
}
return ""
}
func (x *STSTokenResponse) GetExpireTime() *timestamppb.Timestamp {
if x != nil {
return x.ExpireTime
}
return nil
}
func (x *STSTokenResponse) GetSubject() string {
if x != nil {
return x.Subject
}
return ""
}
func (x *STSTokenResponse) GetRoles() []string {
if x != nil {
return x.Roles
}
return nil
}
func (x *STSTokenResponse) GetTaskName() string {
if x != nil {
return x.TaskName
}
return ""
}
// RevocationsResponse answers GET /revocations on the control plane: the set of
// revoked Biscuit authority revocation IDs (hex-encoded RevocationIds()[0]) and
// banned peer IDs.
type RevocationsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
RevocationIds []string `protobuf:"bytes,1,rep,name=revocation_ids,json=revocationIds,proto3" json:"revocation_ids,omitempty"`
BannedPeerIds []string `protobuf:"bytes,2,rep,name=banned_peer_ids,json=bannedPeerIds,proto3" json:"banned_peer_ids,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RevocationsResponse) Reset() {
*x = RevocationsResponse{}
mi := &file_api_agentmesh_proto_msgTypes[76]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RevocationsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RevocationsResponse) ProtoMessage() {}
func (x *RevocationsResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_agentmesh_proto_msgTypes[76]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RevocationsResponse.ProtoReflect.Descriptor instead.
func (*RevocationsResponse) Descriptor() ([]byte, []int) {
return file_api_agentmesh_proto_rawDescGZIP(), []int{76}
}
func (x *RevocationsResponse) GetRevocationIds() []string {
if x != nil {
return x.RevocationIds
}
return nil
}
func (x *RevocationsResponse) GetBannedPeerIds() []string {
if x != nil {
return x.BannedPeerIds
}
return nil
}
var File_api_agentmesh_proto protoreflect.FileDescriptor
const file_api_agentmesh_proto_rawDesc = "" +
"\n" +
"\x13api/agentmesh.proto\x12\fagentmesh.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"L\n" +
"\tAuthFrame\x12\x18\n" +
"\abiscuit\x18\x01 \x01(\fR\abiscuit\x12%\n" +
"\x0etarget_service\x18\x02 \x01(\tR\rtargetService\"X\n" +
"\fAuthResponse\x12\x18\n" +
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x14\n" +
"\x05error\x18\x02 \x01(\tR\x05error\x12\x18\n" +
"\abiscuit\x18\x03 \x01(\fR\abiscuit\"\xc5\x01\n" +
"\fRouterGoAway\x129\n" +
"\x06reason\x18\x01 \x01(\x0e2!.agentmesh.v1.RouterGoAway.ReasonR\x06reason\x12:\n" +
"\vretry_after\x18\x02 \x01(\v2\x19.google.protobuf.DurationR\n" +
"retryAfter\">\n" +
"\x06Reason\x12\x16\n" +
"\x12REASON_UNSPECIFIED\x10\x00\x12\f\n" +
"\bDRAINING\x10\x01\x12\x0e\n" +
"\n" +
"OVERLOADED\x10\x02\"\x8e\x02\n" +
"\tMeshEvent\x120\n" +
"\x04type\x18\x01 \x01(\x0e2\x1c.agentmesh.v1.MeshEvent.TypeR\x04type\x12\x17\n" +
"\apeer_id\x18\x02 \x01(\tR\x06peerId\x129\n" +
"\n" +
"event_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\teventTime\x12$\n" +
"\x0enew_public_key\x18\x04 \x01(\fR\fnewPublicKey\x12\x1c\n" +
"\tsignature\x18\x05 \x01(\fR\tsignature\"7\n" +
"\x04Type\x12\n" +
"\n" +
"\x06BANNED\x10\x00\x12\x10\n" +
"\fKEY_ROTATION\x10\x01\x12\x11\n" +
"\rPOLICY_UPDATE\x10\x02\"\xd9\x02\n" +
"\rEnrollRequest\x12\x10\n" +
"\x03jwt\x18\x01 \x01(\tR\x03jwt\x12\x17\n" +
"\apeer_id\x18\x02 \x01(\tR\x06peerId\x12\x1d\n" +
"\n" +
"public_key\x18\x03 \x01(\fR\tpublicKey\x12%\n" +
"\x0erequested_role\x18\x04 \x01(\tR\rrequestedRole\x12?\n" +
"\x06labels\x18\x05 \x03(\v2'.agentmesh.v1.EnrollRequest.LabelsEntryR\x06labels\x12*\n" +
"\x11challenge_unix_ms\x18\x06 \x01(\x03R\x0fchallengeUnixMs\x12/\n" +
"\x13challenge_signature\x18\a \x01(\fR\x12challengeSignature\x1a9\n" +
"\vLabelsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xfb\x01\n" +
"\x0eEnrollResponse\x12#\n" +
"\rbiscuit_token\x18\x01 \x01(\fR\fbiscuitToken\x12#\n" +
"\rerror_message\x18\x02 \x01(\tR\ferrorMessage\x127\n" +
"\x18control_plane_public_key\x18\x03 \x01(\fR\x15controlPlanePublicKey\x12)\n" +
"\x10router_addresses\x18\x04 \x03(\tR\x0frouterAddresses\x12;\n" +
"\vexpire_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"expireTime\"\x82\x03\n" +
"\x16BootstrapEnrollRequest\x12'\n" +
"\x0fbootstrap_token\x18\x01 \x01(\tR\x0ebootstrapToken\x12\x17\n" +
"\apeer_id\x18\x02 \x01(\tR\x06peerId\x12\x1d\n" +
"\n" +
"public_key\x18\x03 \x01(\fR\tpublicKey\x12%\n" +
"\x0erequested_role\x18\x04 \x01(\tR\rrequestedRole\x12H\n" +
"\x06labels\x18\x05 \x03(\v20.agentmesh.v1.BootstrapEnrollRequest.LabelsEntryR\x06labels\x12*\n" +
"\x11challenge_unix_ms\x18\x06 \x01(\x03R\x0fchallengeUnixMs\x12/\n" +
"\x13challenge_signature\x18\a \x01(\fR\x12challengeSignature\x1a9\n" +
"\vLabelsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xf0\x02\n" +
"\x17BootstrapEnrollResponse\x126\n" +
"\x06status\x18\x01 \x01(\x0e2\x1e.agentmesh.v1.EnrollmentStatusR\x06status\x12#\n" +
"\rbiscuit_token\x18\x02 \x01(\fR\fbiscuitToken\x122\n" +
"\x15poll_interval_seconds\x18\x03 \x01(\x05R\x13pollIntervalSeconds\x12#\n" +
"\rerror_message\x18\x04 \x01(\tR\ferrorMessage\x127\n" +
"\x18control_plane_public_key\x18\x05 \x01(\fR\x15controlPlanePublicKey\x12)\n" +
"\x10router_addresses\x18\x06 \x03(\tR\x0frouterAddresses\x12;\n" +
"\vexpire_time\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"expireTime\"b\n" +
"\x0eServiceIngress\x12:\n" +
"\tauth_mode\x18\x01 \x01(\x0e2\x1d.agentmesh.v1.IngressAuthModeR\bauthMode\x12\x14\n" +
"\x05allow\x18\x02 \x03(\tR\x05allow\"\xaa\x01\n" +
"\vServiceInfo\x12-\n" +
"\x04type\x18\x01 \x01(\x0e2\x19.agentmesh.v1.ServiceTypeR\x04type\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
"\vdescription\x18\x03 \x01(\tR\vdescription\x126\n" +
"\aingress\x18\x04 \x01(\v2\x1c.agentmesh.v1.ServiceIngressR\aingress\"\x9b\x01\n" +
"\x0eCommandBackend\x12\x18\n" +
"\acommand\x18\x01 \x03(\tR\acommand\x127\n" +
"\x03env\x18\x02 \x03(\v2%.agentmesh.v1.CommandBackend.EnvEntryR\x03env\x1a6\n" +
"\bEnvEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xb3\x01\n" +
"\x16RegisterServiceRequest\x123\n" +
"\aservice\x18\x01 \x01(\v2\x19.agentmesh.v1.ServiceInfoR\aservice\x12\x1f\n" +
"\n" +
"target_url\x18\x02 \x01(\tH\x00R\ttargetUrl\x128\n" +
"\acommand\x18\x03 \x01(\v2\x1c.agentmesh.v1.CommandBackendH\x00R\acommandB\t\n" +
"\abackend\"\x99\x01\n" +
"\x12DiscoveredProvider\x12\x17\n" +
"\apeer_id\x18\x01 \x01(\tR\x06peerId\x12&\n" +
"\x0flocal_proxy_url\x18\x02 \x01(\tR\rlocalProxyUrl\x12\x19\n" +
"\bsrv_name\x18\x03 \x01(\tR\asrvName\x12'\n" +
"\x0fsrv_description\x18\x04 \x01(\tR\x0esrvDescription\"\xbc\x02\n" +
"\x18ControlPlaneInfoResponse\x12\x1f\n" +
"\voidc_issuer\x18\x01 \x01(\tR\n" +
"oidcIssuer\x12\x1b\n" +
"\tclient_id\x18\x02 \x01(\tR\bclientId\x12\x1a\n" +
"\baudience\x18\x03 \x01(\tR\baudience\x12)\n" +
"\x10router_addresses\x18\x04 \x03(\tR\x0frouterAddresses\x12&\n" +
"\x0fbanned_peer_ids\x18\x05 \x03(\tR\rbannedPeerIds\x122\n" +
"\arouters\x18\x06 \x03(\v2\x18.agentmesh.v1.RouterInfoR\arouters\x12?\n" +
"\tdirectory\x18\a \x01(\v2!.agentmesh.v1.DirectoryParametersR\tdirectory\"\xbb\x01\n" +
"\x13DirectoryParameters\x12 \n" +
"\vreplication\x18\x01 \x01(\x05R\vreplication\x12H\n" +
"\x12reprovide_interval\x18\x02 \x01(\v2\x19.google.protobuf.DurationR\x11reprovideInterval\x128\n" +
"\n" +
"record_ttl\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\trecordTtl\"\xa7\x02\n" +
"\x10DirectoryRequest\x12:\n" +
"\aprovide\x18\x01 \x01(\v2\x1e.agentmesh.v1.DirectoryProvideH\x00R\aprovide\x12M\n" +
"\x0efind_providers\x18\x02 \x01(\v2$.agentmesh.v1.DirectoryFindProvidersH\x00R\rfindProviders\x12>\n" +
"\tfind_peer\x18\x03 \x01(\v2\x1f.agentmesh.v1.DirectoryFindPeerH\x00R\bfindPeer\x12=\n" +
"\bwithdraw\x18\x04 \x01(\v2\x1f.agentmesh.v1.DirectoryWithdrawH\x00R\bwithdrawB\t\n" +
"\arequest\"\xa8\x01\n" +
"\x10DirectoryProvide\x12\x10\n" +
"\x03key\x18\x01 \x01(\fR\x03key\x12\x14\n" +
"\x05addrs\x18\x02 \x03(\tR\x05addrs\x12\x1a\n" +
"\bprovider\x18\x03 \x01(\tR\bprovider\x12\x18\n" +
"\aservice\x18\x04 \x01(\tR\aservice\x126\n" +
"\aingress\x18\x05 \x01(\v2\x1c.agentmesh.v1.ServiceIngressR\aingress\"A\n" +
"\x11DirectoryWithdraw\x12\x10\n" +
"\x03key\x18\x01 \x01(\fR\x03key\x12\x1a\n" +
"\bprovider\x18\x02 \x01(\tR\bprovider\"@\n" +
"\x16DirectoryFindProviders\x12\x10\n" +
"\x03key\x18\x01 \x01(\fR\x03key\x12\x14\n" +
"\x05limit\x18\x02 \x01(\rR\x05limit\",\n" +
"\x11DirectoryFindPeer\x12\x17\n" +
"\apeer_id\x18\x01 \x01(\tR\x06peerId\"\x8f\x01\n" +
"\x11DirectoryResponse\x126\n" +
"\tproviders\x18\x01 \x03(\v2\x18.agentmesh.v1.PeerRecordR\tproviders\x12,\n" +
"\x04peer\x18\x02 \x01(\v2\x18.agentmesh.v1.PeerRecordR\x04peer\x12\x14\n" +
"\x05error\x18\x03 \x01(\tR\x05error\"s\n" +
"\n" +
"PeerRecord\x12\x17\n" +
"\apeer_id\x18\x01 \x01(\tR\x06peerId\x12\x14\n" +
"\x05addrs\x18\x02 \x03(\tR\x05addrs\x126\n" +
"\aingress\x18\x03 \x01(\v2\x1c.agentmesh.v1.ServiceIngressR\aingress\"\xaa\x02\n" +
"\n" +
"RouterInfo\x12\x17\n" +
"\apeer_id\x18\x01 \x01(\tR\x06peerId\x12\x1c\n" +
"\taddresses\x18\x02 \x03(\tR\taddresses\x12<\n" +
"\x06labels\x18\x03 \x03(\v2$.agentmesh.v1.RouterInfo.LabelsEntryR\x06labels\x12 \n" +
"\vconnections\x18\x04 \x01(\x05R\vconnections\x12)\n" +
"\x10connection_limit\x18\x05 \x01(\x05R\x0fconnectionLimit\x12\x1f\n" +
"\vingress_url\x18\x06 \x01(\tR\n" +
"ingressUrl\x1a9\n" +
"\vLabelsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xa1\x03\n" +
"\x12RouterLeaseRequest\x12\x17\n" +
"\apeer_id\x18\x01 \x01(\tR\x06peerId\x12\x1c\n" +
"\taddresses\x18\x02 \x03(\tR\taddresses\x12\x18\n" +
"\abiscuit\x18\x03 \x01(\fR\abiscuit\x12'\n" +
"\x0fconnected_peers\x18\x04 \x03(\tR\x0econnectedPeers\x12\x19\n" +
"\bdht_size\x18\x05 \x01(\x05R\adhtSize\x12*\n" +
"\x11challenge_unix_ms\x18\x06 \x01(\x03R\x0fchallengeUnixMs\x12/\n" +
"\x13challenge_signature\x18\a \x01(\fR\x12challengeSignature\x12+\n" +
"\x03ttl\x18\b \x01(\v2\x19.google.protobuf.DurationR\x03ttl\x12 \n" +
"\vconnections\x18\t \x01(\x05R\vconnections\x12)\n" +
"\x10connection_limit\x18\n" +
" \x01(\x05R\x0fconnectionLimit\x12\x1f\n" +
"\vingress_url\x18\v \x01(\tR\n" +
"ingressUrl\"\x82\x01\n" +
"\x13RouterLeaseResponse\x12\x18\n" +
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x14\n" +
"\x05error\x18\x02 \x01(\tR\x05error\x12;\n" +
"\vexpire_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"expireTime\"\xdd\x02\n" +
"\n" +
"PolicyRole\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12'\n" +
"\x0fallowed_targets\x18\x02 \x03(\tR\x0eallowedTargets\x12)\n" +
"\x10allowed_services\x18\x03 \x03(\tR\x0fallowedServices\x12%\n" +
"\x0ecustom_datalog\x18\x04 \x03(\tR\rcustomDatalog\x12%\n" +
"\x0eallowed_labels\x18\x05 \x03(\tR\rallowedLabels\x12+\n" +
"\x04http\x18\x06 \x03(\v2\x17.agentmesh.v1.HTTPGrantR\x04http\x12'\n" +
"\x0fallowed_publish\x18\a \x03(\tR\x0eallowedPublish\x12C\n" +
"\x0fallowed_ingress\x18\b \x03(\v2\x1a.agentmesh.v1.IngressGrantR\x0eallowedIngress\"w\n" +
"\fIngressGrant\x12\x1a\n" +
"\bservices\x18\x01 \x03(\tR\bservices\x12K\n" +
"\x12allowed_auth_modes\x18\x02 \x03(\x0e2\x1d.agentmesh.v1.IngressAuthModeR\x10allowedAuthModes\"U\n" +
"\tHTTPGrant\x12\x18\n" +
"\aservice\x18\x01 \x01(\tR\aservice\x12\x18\n" +
"\amethods\x18\x02 \x03(\tR\amethods\x12\x14\n" +
"\x05paths\x18\x03 \x03(\tR\x05paths\"\x87\x03\n" +
"\x11EgressDestination\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1d\n" +
"\n" +
"target_url\x18\x02 \x01(\tR\ttargetUrl\x12\x1e\n" +
"\n" +
"credential\x18\x03 \x01(\tR\n" +
"credential\x12\x1b\n" +
"\tserved_by\x18\x04 \x03(\tR\bservedBy\x126\n" +
"\x06broker\x18\x05 \x01(\v2\x1e.agentmesh.v1.CredentialBrokerR\x06broker\x128\n" +
"\n" +
"inspection\x18\x06 \x01(\v2\x18.agentmesh.v1.InspectionR\n" +
"inspection\x12,\n" +
"\x04mode\x18\a \x01(\x0e2\x18.agentmesh.v1.EgressModeR\x04mode\x12\x14\n" +
"\x05ports\x18\b \x03(\rR\x05ports\x12#\n" +
"\rpreserve_host\x18\t \x01(\bR\fpreserveHost\x12'\n" +
"\x0fforward_context\x18\n" +
" \x01(\bR\x0eforwardContext\"E\n" +
"\n" +
"Inspection\x127\n" +
"\n" +
"inspectors\x18\x01 \x03(\v2\x17.agentmesh.v1.InspectorR\n" +
"inspectors\"\x84\x01\n" +
"\tInspector\x12;\n" +
"\vmodel_armor\x18\x01 \x01(\v2\x18.agentmesh.v1.ModelArmorH\x00R\n" +
"modelArmor\x122\n" +
"\bext_proc\x18\x02 \x01(\v2\x15.agentmesh.v1.ExtProcH\x00R\aextProcB\x06\n" +
"\x04kind\"\xb8\x01\n" +
"\n" +
"ModelArmor\x12\x1a\n" +
"\btemplate\x18\x01 \x01(\tR\btemplate\x12<\n" +
"\bresponse\x18\x02 \x01(\x0e2 .agentmesh.v1.ResponseInspectionR\bresponse\x12\x1b\n" +
"\tfail_open\x18\x03 \x01(\bR\bfailOpen\x123\n" +
"\atimeout\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\atimeout\"\xfe\x02\n" +
"\aExtProc\x12\x16\n" +
"\x06target\x18\x01 \x01(\tR\x06target\x12\x0e\n" +
"\x02ca\x18\x02 \x01(\tR\x02ca\x12-\n" +
"\x12client_certificate\x18\x03 \x01(\tR\x11clientCertificate\x12L\n" +
"\x0fprocessing_mode\x18\x04 \x01(\v2#.agentmesh.v1.ExtProcProcessingModeR\x0eprocessingMode\x12.\n" +
"\x13allow_mode_override\x18\x05 \x01(\bR\x11allowModeOverride\x12B\n" +
"\x0fmessage_timeout\x18\x06 \x01(\v2\x19.google.protobuf.DurationR\x0emessageTimeout\x12,\n" +
"\x12failure_mode_allow\x18\a \x01(\bR\x10failureModeAllow\x12,\n" +
"\x12max_buffered_bytes\x18\b \x01(\rR\x10maxBufferedBytes\"\xf2\x05\n" +
"\x15ExtProcProcessingMode\x12^\n" +
"\x13request_header_mode\x18\x01 \x01(\x0e2..agentmesh.v1.ExtProcProcessingMode.HeaderModeR\x11requestHeaderMode\x12`\n" +
"\x14response_header_mode\x18\x02 \x01(\x0e2..agentmesh.v1.ExtProcProcessingMode.HeaderModeR\x12responseHeaderMode\x12X\n" +
"\x11request_body_mode\x18\x03 \x01(\x0e2,.agentmesh.v1.ExtProcProcessingMode.BodyModeR\x0frequestBodyMode\x12Z\n" +
"\x12response_body_mode\x18\x04 \x01(\x0e2,.agentmesh.v1.ExtProcProcessingMode.BodyModeR\x10responseBodyMode\x12`\n" +
"\x14request_trailer_mode\x18\x05 \x01(\x0e2..agentmesh.v1.ExtProcProcessingMode.HeaderModeR\x12requestTrailerMode\x12b\n" +
"\x15response_trailer_mode\x18\x06 \x01(\x0e2..agentmesh.v1.ExtProcProcessingMode.HeaderModeR\x13responseTrailerMode\"9\n" +
"\n" +
"HeaderMode\x12\x17\n" +
"\x13HEADER_MODE_DEFAULT\x10\x00\x12\b\n" +
"\x04SEND\x10\x01\x12\b\n" +
"\x04SKIP\x10\x02\"`\n" +
"\bBodyMode\x12\b\n" +
"\x04NONE\x10\x00\x12\f\n" +
"\bSTREAMED\x10\x01\x12\f\n" +
"\bBUFFERED\x10\x02\x12\x14\n" +
"\x10BUFFERED_PARTIAL\x10\x03\x12\x18\n" +
"\x14FULL_DUPLEX_STREAMED\x10\x04\"\xa0\x02\n" +
"\x10CredentialBroker\x12%\n" +
"\rstatic_secret\x18\x01 \x01(\tH\x00R\fstaticSecret\x12G\n" +
"\x0foidc_federation\x18\x02 \x01(\v2\x1c.agentmesh.v1.OIDCFederationH\x00R\x0eoidcFederation\x12E\n" +
"\x0faws_assume_role\x18\x03 \x01(\v2\x1b.agentmesh.v1.AWSAssumeRoleH\x00R\rawsAssumeRole\x12M\n" +
"\x11platform_identity\x18\x04 \x01(\v2\x1e.agentmesh.v1.PlatformIdentityH\x00R\x10platformIdentityB\x06\n" +
"\x04kind\"\x8d\x01\n" +
"\x0eOIDCFederation\x12%\n" +
"\x0etoken_endpoint\x18\x01 \x01(\tR\rtokenEndpoint\x12\x1a\n" +
"\baudience\x18\x02 \x01(\tR\baudience\x12 \n" +
"\vimpersonate\x18\x03 \x01(\tR\vimpersonate\x12\x16\n" +
"\x06scopes\x18\x04 \x03(\tR\x06scopes\"Q\n" +
"\rAWSAssumeRole\x12\x19\n" +
"\brole_arn\x18\x01 \x01(\tR\aroleArn\x12%\n" +
"\x0esession_policy\x18\x02 \x01(\tR\rsessionPolicy\"*\n" +
"\x10PlatformIdentity\x12\x16\n" +
"\x06scopes\x18\x01 \x03(\tR\x06scopes\"=\n" +
"\rPolicyBinding\x12\x12\n" +
"\x04role\x18\x01 \x01(\tR\x04role\x12\x18\n" +
"\amembers\x18\x02 \x03(\tR\amembers\"\xb0\x01\n" +
"\fPolicyConfig\x12.\n" +
"\x05roles\x18\x01 \x03(\v2\x18.agentmesh.v1.PolicyRoleR\x05roles\x127\n" +
"\bbindings\x18\x02 \x03(\v2\x1b.agentmesh.v1.PolicyBindingR\bbindings\x127\n" +
"\x06egress\x18\x03 \x03(\v2\x1f.agentmesh.v1.EgressDestinationR\x06egress\"\x18\n" +
"\x16PolicyConfigGetRequest\">\n" +
"\x17PolicyConfigGetResponse\x12#\n" +
"\rdatalog_rules\x18\x01 \x03(\tR\fdatalogRules\"L\n" +
"\x1aPolicyConfigUpdateResponse\x12\x18\n" +
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x14\n" +
"\x05error\x18\x02 \x01(\tR\x05error\"\x1a\n" +
"\x18EgressAssignmentsRequest\"T\n" +
"\x19EgressAssignmentsResponse\x127\n" +
"\x06egress\x18\x01 \x03(\v2\x1f.agentmesh.v1.EgressDestinationR\x06egress\"\x88\x01\n" +
"\fKeysResponse\x12\x1f\n" +
"\vpublic_keys\x18\x01 \x03(\fR\n" +
"publicKeys\x127\n" +
"\tsign_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\bsignTime\x12\x1e\n" +
"\n" +
"signatures\x18\x03 \x03(\fR\n" +
"signatures\"\x9d\x01\n" +
"\x13TokenRefreshRequest\x12/\n" +
"\x13challenge_signature\x18\x01 \x01(\fR\x12challengeSignature\x12*\n" +
"\x11challenge_unix_ms\x18\x02 \x01(\x03R\x0fchallengeUnixMs\x12\x17\n" +
"\apeer_id\x18\x03 \x01(\tR\x06peerId\x12\x10\n" +
"\x03jwt\x18\x04 \x01(\tR\x03jwt\"\x9d\x01\n" +
"\x14TokenRefreshResponse\x12#\n" +
"\rbiscuit_token\x18\x01 \x01(\fR\fbiscuitToken\x12;\n" +
"\vexpire_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"expireTime\x12#\n" +
"\rerror_message\x18\x03 \x01(\tR\ferrorMessage\"J\n" +
"\x11NodeCatalogReport\x125\n" +
"\bservices\x18\x01 \x03(\v2\x19.agentmesh.v1.ServiceInfoR\bservices\"-\n" +
"\x12TokenRevokeRequest\x12\x17\n" +
"\apeer_id\x18\x01 \x01(\tR\x06peerId\"E\n" +
"\x13TokenRevokeResponse\x12\x18\n" +
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x14\n" +
"\x05error\x18\x02 \x01(\tR\x05error\"\xf9\x01\n" +
"\x1bBootstrapTokenCreateRequest\x12\x12\n" +
"\x04role\x18\x01 \x01(\tR\x04role\x12\x19\n" +
"\bowner_id\x18\x02 \x01(\tR\aownerId\x12\x1b\n" +
"\tttl_hours\x18\x03 \x01(\x05R\bttlHours\x12\x1d\n" +
"\n" +
"max_usages\x18\x04 \x01(\x05R\tmaxUsages\x12 \n" +
"\vdescription\x18\x05 \x01(\tR\vdescription\x12/\n" +
"\x13autonomous_recovery\x18\x06 \x01(\bR\x12autonomousRecovery\x12\x1c\n" +
"\tephemeral\x18\a \x01(\bR\tephemeral\"\xb0\x01\n" +
"\x1cBootstrapTokenCreateResponse\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
"\x05token\x18\x02 \x01(\tR\x05token\x12\x12\n" +
"\x04role\x18\x03 \x01(\tR\x04role\x12\x19\n" +
"\bowner_id\x18\x04 \x01(\tR\aownerId\x12;\n" +
"\vexpire_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"expireTime\"\xb9\x03\n" +
"\x0eBootstrapToken\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
"\x04role\x18\x02 \x01(\tR\x04role\x12\x19\n" +
"\bowner_id\x18\x03 \x01(\tR\aownerId\x12\x1d\n" +
"\n" +
"max_usages\x18\x04 \x01(\x05R\tmaxUsages\x12!\n" +
"\fusages_count\x18\x05 \x01(\x05R\vusagesCount\x12 \n" +
"\vdescription\x18\x06 \x01(\tR\vdescription\x12;\n" +
"\vcreate_time\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"createTime\x12;\n" +
"\vexpire_time\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"expireTime\x12;\n" +
"\vrevoke_time\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"revokeTime\x12/\n" +
"\x13autonomous_recovery\x18\n" +
" \x01(\bR\x12autonomousRecovery\x12\x1c\n" +
"\tephemeral\x18\v \x01(\bR\tephemeral\"R\n" +
"\x1aBootstrapTokenListResponse\x124\n" +
"\x06tokens\x18\x01 \x03(\v2\x1c.agentmesh.v1.BootstrapTokenR\x06tokens\"\xac\x03\n" +
"\x11EnrollmentRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n" +
"\apeer_id\x18\x02 \x01(\tR\x06peerId\x12\x19\n" +
"\btoken_id\x18\x03 \x01(\tR\atokenId\x126\n" +
"\x06status\x18\x04 \x01(\x0e2\x1e.agentmesh.v1.EnrollmentStatusR\x06status\x12C\n" +
"\x06labels\x18\x05 \x03(\v2+.agentmesh.v1.EnrollmentRequest.LabelsEntryR\x06labels\x12;\n" +
"\vcreate_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"createTime\x12=\n" +
"\fresolve_time\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\vresolveTime\x12\x1f\n" +
"\vresolved_by\x18\b \x01(\tR\n" +
"resolvedBy\x1a9\n" +
"\vLabelsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\\\n" +
"\x1dEnrollmentRequestListResponse\x12;\n" +
"\brequests\x18\x01 \x03(\v2\x1f.agentmesh.v1.EnrollmentRequestR\brequests\"\x95\x01\n" +
"\x04User\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n" +
"\x06issuer\x18\x02 \x01(\tR\x06issuer\x12\x14\n" +
"\x05email\x18\x03 \x01(\tR\x05email\x12\x12\n" +
"\x04role\x18\x04 \x01(\tR\x04role\x12;\n" +
"\vcreate_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"createTime\"\xfc\x03\n" +
"\fEnrolledNode\x12\x17\n" +
"\apeer_id\x18\x01 \x01(\tR\x06peerId\x12\x12\n" +
"\x04role\x18\x02 \x01(\tR\x04role\x12'\n" +
"\x0fenrollment_type\x18\x03 \x01(\tR\x0eenrollmentType\x12\x1f\n" +
"\vclaims_json\x18\x04 \x01(\tR\n" +
"claimsJson\x12\x19\n" +
"\bowner_id\x18\x05 \x01(\tR\aownerId\x12>\n" +
"\x06labels\x18\x06 \x03(\v2&.agentmesh.v1.EnrolledNode.LabelsEntryR\x06labels\x12;\n" +
"\venroll_time\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"enrollTime\x12;\n" +
"\vexpire_time\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"expireTime\x12\x16\n" +
"\x06banned\x18\t \x01(\bR\x06banned\x12/\n" +
"\x13autonomous_recovery\x18\n" +
" \x01(\bR\x12autonomousRecovery\x12\x1c\n" +
"\tephemeral\x18\v \x01(\bR\tephemeral\x1a9\n" +
"\vLabelsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xae\x02\n" +
"\vRouterLease\x12\x17\n" +
"\apeer_id\x18\x01 \x01(\tR\x06peerId\x12\x1c\n" +
"\taddresses\x18\x02 \x03(\tR\taddresses\x12F\n" +
"\x11last_renewal_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x0flastRenewalTime\x12;\n" +
"\vexpire_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"expireTime\x12'\n" +
"\x0fconnected_peers\x18\x05 \x03(\tR\x0econnectedPeers\x12\x19\n" +
"\bdht_size\x18\x06 \x01(\x05R\adhtSize\x12\x1f\n" +
"\vingress_url\x18\a \x01(\tR\n" +
"ingressUrl\"\x82\x01\n" +
"\fNodeServices\x125\n" +
"\bservices\x18\x01 \x03(\v2\x19.agentmesh.v1.ServiceInfoR\bservices\x12;\n" +
"\vreport_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"reportTime\"\xc6\x04\n" +
"\x13AdminStatusResponse\x12(\n" +
"\x05users\x18\x01 \x03(\v2\x12.agentmesh.v1.UserR\x05users\x12@\n" +
"\x0eactive_routers\x18\x02 \x03(\v2\x19.agentmesh.v1.RouterLeaseR\ractiveRouters\x12A\n" +
"\x0eenrolled_nodes\x18\x03 \x03(\v2\x1a.agentmesh.v1.EnrolledNodeR\renrolledNodes\x12P\n" +
"\x13enrollment_requests\x18\x04 \x03(\v2\x1f.agentmesh.v1.EnrollmentRequestR\x12enrollmentRequests\x12G\n" +
"\x10bootstrap_tokens\x18\x05 \x03(\v2\x1c.agentmesh.v1.BootstrapTokenR\x0fbootstrapTokens\x122\n" +
"\x06policy\x18\x06 \x01(\v2\x1a.agentmesh.v1.PolicyConfigR\x06policy\x12U\n" +
"\fnode_catalog\x18\a \x03(\v22.agentmesh.v1.AdminStatusResponse.NodeCatalogEntryR\vnodeCatalog\x1aZ\n" +
"\x10NodeCatalogEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x120\n" +
"\x05value\x18\x02 \x01(\v2\x1a.agentmesh.v1.NodeServicesR\x05value:\x028\x01\"\xbe\x02\n" +
"\x12UserStatusResponse\x12&\n" +
"\x04user\x18\x01 \x01(\v2\x12.agentmesh.v1.UserR\x04user\x12A\n" +
"\x0eenrolled_nodes\x18\x02 \x03(\v2\x1a.agentmesh.v1.EnrolledNodeR\renrolledNodes\x12G\n" +
"\x10bootstrap_tokens\x18\x03 \x03(\v2\x1c.agentmesh.v1.BootstrapTokenR\x0fbootstrapTokens\x12@\n" +
"\x0eactive_routers\x18\x04 \x03(\v2\x19.agentmesh.v1.RouterLeaseR\ractiveRouters\x122\n" +
"\x06policy\x18\x05 \x01(\v2\x1a.agentmesh.v1.PolicyConfigR\x06policy\"l\n" +
"\x10NodeListResponse\x120\n" +
"\x05nodes\x18\x01 \x03(\v2\x1a.agentmesh.v1.EnrolledNodeR\x05nodes\x12&\n" +
"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\xbd\x02\n" +
"\x18IdentityEvidenceResponse\x12\x17\n" +
"\apeer_id\x18\x01 \x01(\tR\x06peerId\x12\x18\n" +
"\abiscuit\x18\x02 \x01(\fR\abiscuit\x12J\n" +
"\x13biscuit_expire_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x11biscuitExpireTime\x12*\n" +
"\x11control_plane_url\x18\x04 \x01(\tR\x0fcontrolPlaneUrl\x12;\n" +
"\x1atrusted_control_plane_keys\x18\x05 \x03(\fR\x17trustedControlPlaneKeys\x129\n" +
"\n" +
"check_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\tcheckTime\"\xa6\x03\n" +
"\x14PeerEvidenceResponse\x12\x17\n" +
"\apeer_id\x18\x01 \x01(\tR\x06peerId\x12\x18\n" +
"\abiscuit\x18\x02 \x01(\fR\abiscuit\x12#\n" +
"\rverifying_key\x18\x03 \x01(\fR\fverifyingKey\x12\x14\n" +
"\x05roles\x18\x04 \x03(\tR\x05roles\x12F\n" +
"\x06labels\x18\x05 \x03(\v2..agentmesh.v1.PeerEvidenceResponse.LabelsEntryR\x06labels\x12;\n" +
"\vexpire_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"expireTime\x12%\n" +
"\x0erevocation_ids\x18\a \x03(\tR\rrevocationIds\x129\n" +
"\n" +
"check_time\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\tcheckTime\x1a9\n" +
"\vLabelsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xee\x02\n" +
"\x10MemberCredential\x12*\n" +
"\x11control_plane_url\x18\x01 \x01(\tR\x0fcontrolPlaneUrl\x12\x18\n" +
"\abiscuit\x18\x02 \x01(\fR\abiscuit\x12;\n" +
"\vexpire_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"expireTime\x12B\n" +
"\ftrusted_keys\x18\x04 \x03(\v2\x1f.agentmesh.v1.TrustedSigningKeyR\vtrustedKeys\x12*\n" +
"\x11issued_under_keys\x18\x05 \x03(\fR\x0fissuedUnderKeys\x12)\n" +
"\x10router_addresses\x18\x06 \x03(\tR\x0frouterAddresses\x12<\n" +
"\foidc_session\x18\a \x01(\v2\x19.agentmesh.v1.OIDCSessionR\voidcSession\"q\n" +
"\x11TrustedSigningKey\x12\x1d\n" +
"\n" +
"public_key\x18\x01 \x01(\fR\tpublicKey\x12=\n" +
"\freceive_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\vreceiveTime\"\x83\x01\n" +
"\vOIDCSession\x12\x16\n" +
"\x06issuer\x18\x01 \x01(\tR\x06issuer\x12\x1b\n" +
"\tclient_id\x18\x02 \x01(\tR\bclientId\x12\x1a\n" +
"\baudience\x18\x03 \x01(\tR\baudience\x12#\n" +
"\rrefresh_token\x18\x04 \x01(\tR\frefreshToken\"\xb9\x01\n" +
"\x15TaskAuthorizationRule\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12!\n" +
"\fdisplay_name\x18\x02 \x01(\tR\vdisplayName\x12,\n" +
"\x05rules\x18\x03 \x03(\v2\x16.agentmesh.v1.TaskRuleR\x05rules\x12;\n" +
"\vexpire_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"expireTime\"\xbf\x01\n" +
"\bTaskRule\x12 \n" +
"\vdescription\x18\x01 \x01(\tR\vdescription\x12)\n" +
"\x10allowed_services\x18\x02 \x03(\tR\x0fallowedServices\x129\n" +
"\toperation\x18\x03 \x01(\v2\x1b.agentmesh.v1.TaskOperationR\toperation\x12+\n" +
"\x11allowed_resources\x18\x04 \x03(\tR\x10allowedResources\"\xb3\x01\n" +
"\rTaskOperation\x12#\n" +
"\rallowed_tools\x18\x01 \x03(\tR\fallowedTools\x12'\n" +
"\x0fallowed_methods\x18\x02 \x03(\tR\x0eallowedMethods\x12#\n" +
"\rallowed_paths\x18\x03 \x03(\tR\fallowedPaths\x12/\n" +
"\x13allowed_permissions\x18\x04 \x03(\tR\x12allowedPermissions\"\xee\x01\n" +
"\x14TokenExchangeRequest\x12#\n" +
"\rsubject_token\x18\x01 \x01(\tR\fsubjectToken\x12@\n" +
"\ttask_rule\x18\x02 \x01(\v2#.agentmesh.v1.TaskAuthorizationRuleR\btaskRule\x12\x12\n" +
"\x04seal\x18\x03 \x01(\bR\x04seal\x12*\n" +
"\x11challenge_unix_ms\x18\x04 \x01(\x03R\x0fchallengeUnixMs\x12/\n" +
"\x13challenge_signature\x18\x05 \x01(\fR\x12challengeSignature\"\xa9\x01\n" +
"\x15TokenExchangeResponse\x12#\n" +
"\rbiscuit_token\x18\x01 \x01(\fR\fbiscuitToken\x12;\n" +
"\vexpire_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"expireTime\x12\x14\n" +
"\x05roles\x18\x03 \x03(\tR\x05roles\x12\x18\n" +
"\asubject\x18\x04 \x01(\tR\asubject\"\xc6\x01\n" +
"\x0fSTSTokenRequest\x12\x18\n" +
"\abiscuit\x18\x01 \x01(\fR\abiscuit\x12 \n" +
"\vdestination\x18\x02 \x01(\tR\vdestination\x12\x1a\n" +
"\baudience\x18\x03 \x01(\tR\baudience\x12*\n" +
"\x11challenge_unix_ms\x18\x04 \x01(\x03R\x0fchallengeUnixMs\x12/\n" +
"\x13challenge_signature\x18\x05 \x01(\fR\x12challengeSignature\"\xae\x01\n" +
"\x10STSTokenResponse\x12\x10\n" +
"\x03jwt\x18\x01 \x01(\tR\x03jwt\x12;\n" +
"\vexpire_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"expireTime\x12\x18\n" +
"\asubject\x18\x03 \x01(\tR\asubject\x12\x14\n" +
"\x05roles\x18\x04 \x03(\tR\x05roles\x12\x1b\n" +
"\ttask_name\x18\x05 \x01(\tR\btaskName\"d\n" +
"\x13RevocationsResponse\x12%\n" +
"\x0erevocation_ids\x18\x01 \x03(\tR\rrevocationIds\x12&\n" +
"\x0fbanned_peer_ids\x18\x02 \x03(\tR\rbannedPeerIds*\x94\x01\n" +
"\x10EnrollmentStatus\x12!\n" +
"\x1dENROLLMENT_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n" +
"\x19ENROLLMENT_STATUS_PENDING\x10\x01\x12\x1e\n" +
"\x1aENROLLMENT_STATUS_APPROVED\x10\x02\x12\x1e\n" +
"\x1aENROLLMENT_STATUS_REJECTED\x10\x03*\x8c\x01\n" +
"\vServiceType\x12\x1c\n" +
"\x18SERVICE_TYPE_UNSPECIFIED\x10\x00\x12\x14\n" +
"\x10SERVICE_TYPE_MCP\x10\x01\x12\x1a\n" +
"\x16SERVICE_TYPE_INFERENCE\x10\x02\x12\x14\n" +
"\x10SERVICE_TYPE_A2A\x10\x03\x12\x17\n" +
"\x13SERVICE_TYPE_EGRESS\x10\x04*s\n" +
"\x0fIngressAuthMode\x12!\n" +
"\x1dINGRESS_AUTH_MODE_UNSPECIFIED\x10\x00\x12\x1a\n" +
"\x16INGRESS_AUTH_MODE_EDGE\x10\x01\x12!\n" +
"\x1dINGRESS_AUTH_MODE_PASSTHROUGH\x10\x02*7\n" +
"\n" +
"EgressMode\x12\x14\n" +
"\x10EGRESS_MODE_HTTP\x10\x00\x12\x13\n" +
"\x0fEGRESS_MODE_TCP\x10\x01*\\\n" +
"\x12ResponseInspection\x12 \n" +
"\x1cRESPONSE_INSPECTION_BUFFERED\x10\x00\x12$\n" +
" RESPONSE_INSPECTION_REQUEST_ONLY\x10\x01B!Z\x1fgithub.com/google/agentmesh/apib\x06proto3"
var (
file_api_agentmesh_proto_rawDescOnce sync.Once
file_api_agentmesh_proto_rawDescData []byte
)
func file_api_agentmesh_proto_rawDescGZIP() []byte {
file_api_agentmesh_proto_rawDescOnce.Do(func() {
file_api_agentmesh_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_agentmesh_proto_rawDesc), len(file_api_agentmesh_proto_rawDesc)))
})
return file_api_agentmesh_proto_rawDescData
}
var file_api_agentmesh_proto_enumTypes = make([]protoimpl.EnumInfo, 9)
var file_api_agentmesh_proto_msgTypes = make([]protoimpl.MessageInfo, 85)
var file_api_agentmesh_proto_goTypes = []any{
(EnrollmentStatus)(0), // 0: agentmesh.v1.EnrollmentStatus
(ServiceType)(0), // 1: agentmesh.v1.ServiceType
(IngressAuthMode)(0), // 2: agentmesh.v1.IngressAuthMode
(EgressMode)(0), // 3: agentmesh.v1.EgressMode
(ResponseInspection)(0), // 4: agentmesh.v1.ResponseInspection
(RouterGoAway_Reason)(0), // 5: agentmesh.v1.RouterGoAway.Reason
(MeshEvent_Type)(0), // 6: agentmesh.v1.MeshEvent.Type
(ExtProcProcessingMode_HeaderMode)(0), // 7: agentmesh.v1.ExtProcProcessingMode.HeaderMode
(ExtProcProcessingMode_BodyMode)(0), // 8: agentmesh.v1.ExtProcProcessingMode.BodyMode
(*AuthFrame)(nil), // 9: agentmesh.v1.AuthFrame
(*AuthResponse)(nil), // 10: agentmesh.v1.AuthResponse
(*RouterGoAway)(nil), // 11: agentmesh.v1.RouterGoAway
(*MeshEvent)(nil), // 12: agentmesh.v1.MeshEvent
(*EnrollRequest)(nil), // 13: agentmesh.v1.EnrollRequest
(*EnrollResponse)(nil), // 14: agentmesh.v1.EnrollResponse
(*BootstrapEnrollRequest)(nil), // 15: agentmesh.v1.BootstrapEnrollRequest
(*BootstrapEnrollResponse)(nil), // 16: agentmesh.v1.BootstrapEnrollResponse
(*ServiceIngress)(nil), // 17: agentmesh.v1.ServiceIngress
(*ServiceInfo)(nil), // 18: agentmesh.v1.ServiceInfo
(*CommandBackend)(nil), // 19: agentmesh.v1.CommandBackend
(*RegisterServiceRequest)(nil), // 20: agentmesh.v1.RegisterServiceRequest
(*DiscoveredProvider)(nil), // 21: agentmesh.v1.DiscoveredProvider
(*ControlPlaneInfoResponse)(nil), // 22: agentmesh.v1.ControlPlaneInfoResponse
(*DirectoryParameters)(nil), // 23: agentmesh.v1.DirectoryParameters
(*DirectoryRequest)(nil), // 24: agentmesh.v1.DirectoryRequest
(*DirectoryProvide)(nil), // 25: agentmesh.v1.DirectoryProvide
(*DirectoryWithdraw)(nil), // 26: agentmesh.v1.DirectoryWithdraw
(*DirectoryFindProviders)(nil), // 27: agentmesh.v1.DirectoryFindProviders
(*DirectoryFindPeer)(nil), // 28: agentmesh.v1.DirectoryFindPeer
(*DirectoryResponse)(nil), // 29: agentmesh.v1.DirectoryResponse
(*PeerRecord)(nil), // 30: agentmesh.v1.PeerRecord
(*RouterInfo)(nil), // 31: agentmesh.v1.RouterInfo
(*RouterLeaseRequest)(nil), // 32: agentmesh.v1.RouterLeaseRequest
(*RouterLeaseResponse)(nil), // 33: agentmesh.v1.RouterLeaseResponse
(*PolicyRole)(nil), // 34: agentmesh.v1.PolicyRole
(*IngressGrant)(nil), // 35: agentmesh.v1.IngressGrant
(*HTTPGrant)(nil), // 36: agentmesh.v1.HTTPGrant
(*EgressDestination)(nil), // 37: agentmesh.v1.EgressDestination
(*Inspection)(nil), // 38: agentmesh.v1.Inspection
(*Inspector)(nil), // 39: agentmesh.v1.Inspector
(*ModelArmor)(nil), // 40: agentmesh.v1.ModelArmor
(*ExtProc)(nil), // 41: agentmesh.v1.ExtProc
(*ExtProcProcessingMode)(nil), // 42: agentmesh.v1.ExtProcProcessingMode
(*CredentialBroker)(nil), // 43: agentmesh.v1.CredentialBroker
(*OIDCFederation)(nil), // 44: agentmesh.v1.OIDCFederation
(*AWSAssumeRole)(nil), // 45: agentmesh.v1.AWSAssumeRole
(*PlatformIdentity)(nil), // 46: agentmesh.v1.PlatformIdentity
(*PolicyBinding)(nil), // 47: agentmesh.v1.PolicyBinding
(*PolicyConfig)(nil), // 48: agentmesh.v1.PolicyConfig
(*PolicyConfigGetRequest)(nil), // 49: agentmesh.v1.PolicyConfigGetRequest
(*PolicyConfigGetResponse)(nil), // 50: agentmesh.v1.PolicyConfigGetResponse
(*PolicyConfigUpdateResponse)(nil), // 51: agentmesh.v1.PolicyConfigUpdateResponse
(*EgressAssignmentsRequest)(nil), // 52: agentmesh.v1.EgressAssignmentsRequest
(*EgressAssignmentsResponse)(nil), // 53: agentmesh.v1.EgressAssignmentsResponse
(*KeysResponse)(nil), // 54: agentmesh.v1.KeysResponse
(*TokenRefreshRequest)(nil), // 55: agentmesh.v1.TokenRefreshRequest
(*TokenRefreshResponse)(nil), // 56: agentmesh.v1.TokenRefreshResponse
(*NodeCatalogReport)(nil), // 57: agentmesh.v1.NodeCatalogReport
(*TokenRevokeRequest)(nil), // 58: agentmesh.v1.TokenRevokeRequest
(*TokenRevokeResponse)(nil), // 59: agentmesh.v1.TokenRevokeResponse
(*BootstrapTokenCreateRequest)(nil), // 60: agentmesh.v1.BootstrapTokenCreateRequest
(*BootstrapTokenCreateResponse)(nil), // 61: agentmesh.v1.BootstrapTokenCreateResponse
(*BootstrapToken)(nil), // 62: agentmesh.v1.BootstrapToken
(*BootstrapTokenListResponse)(nil), // 63: agentmesh.v1.BootstrapTokenListResponse
(*EnrollmentRequest)(nil), // 64: agentmesh.v1.EnrollmentRequest
(*EnrollmentRequestListResponse)(nil), // 65: agentmesh.v1.EnrollmentRequestListResponse
(*User)(nil), // 66: agentmesh.v1.User
(*EnrolledNode)(nil), // 67: agentmesh.v1.EnrolledNode
(*RouterLease)(nil), // 68: agentmesh.v1.RouterLease
(*NodeServices)(nil), // 69: agentmesh.v1.NodeServices
(*AdminStatusResponse)(nil), // 70: agentmesh.v1.AdminStatusResponse
(*UserStatusResponse)(nil), // 71: agentmesh.v1.UserStatusResponse
(*NodeListResponse)(nil), // 72: agentmesh.v1.NodeListResponse
(*IdentityEvidenceResponse)(nil), // 73: agentmesh.v1.IdentityEvidenceResponse
(*PeerEvidenceResponse)(nil), // 74: agentmesh.v1.PeerEvidenceResponse
(*MemberCredential)(nil), // 75: agentmesh.v1.MemberCredential
(*TrustedSigningKey)(nil), // 76: agentmesh.v1.TrustedSigningKey
(*OIDCSession)(nil), // 77: agentmesh.v1.OIDCSession
(*TaskAuthorizationRule)(nil), // 78: agentmesh.v1.TaskAuthorizationRule
(*TaskRule)(nil), // 79: agentmesh.v1.TaskRule
(*TaskOperation)(nil), // 80: agentmesh.v1.TaskOperation
(*TokenExchangeRequest)(nil), // 81: agentmesh.v1.TokenExchangeRequest
(*TokenExchangeResponse)(nil), // 82: agentmesh.v1.TokenExchangeResponse
(*STSTokenRequest)(nil), // 83: agentmesh.v1.STSTokenRequest
(*STSTokenResponse)(nil), // 84: agentmesh.v1.STSTokenResponse
(*RevocationsResponse)(nil), // 85: agentmesh.v1.RevocationsResponse
nil, // 86: agentmesh.v1.EnrollRequest.LabelsEntry
nil, // 87: agentmesh.v1.BootstrapEnrollRequest.LabelsEntry
nil, // 88: agentmesh.v1.CommandBackend.EnvEntry
nil, // 89: agentmesh.v1.RouterInfo.LabelsEntry
nil, // 90: agentmesh.v1.EnrollmentRequest.LabelsEntry
nil, // 91: agentmesh.v1.EnrolledNode.LabelsEntry
nil, // 92: agentmesh.v1.AdminStatusResponse.NodeCatalogEntry
nil, // 93: agentmesh.v1.PeerEvidenceResponse.LabelsEntry
(*durationpb.Duration)(nil), // 94: google.protobuf.Duration
(*timestamppb.Timestamp)(nil), // 95: google.protobuf.Timestamp
}
var file_api_agentmesh_proto_depIdxs = []int32{
5, // 0: agentmesh.v1.RouterGoAway.reason:type_name -> agentmesh.v1.RouterGoAway.Reason
94, // 1: agentmesh.v1.RouterGoAway.retry_after:type_name -> google.protobuf.Duration
6, // 2: agentmesh.v1.MeshEvent.type:type_name -> agentmesh.v1.MeshEvent.Type
95, // 3: agentmesh.v1.MeshEvent.event_time:type_name -> google.protobuf.Timestamp
86, // 4: agentmesh.v1.EnrollRequest.labels:type_name -> agentmesh.v1.EnrollRequest.LabelsEntry
95, // 5: agentmesh.v1.EnrollResponse.expire_time:type_name -> google.protobuf.Timestamp
87, // 6: agentmesh.v1.BootstrapEnrollRequest.labels:type_name -> agentmesh.v1.BootstrapEnrollRequest.LabelsEntry
0, // 7: agentmesh.v1.BootstrapEnrollResponse.status:type_name -> agentmesh.v1.EnrollmentStatus
95, // 8: agentmesh.v1.BootstrapEnrollResponse.expire_time:type_name -> google.protobuf.Timestamp
2, // 9: agentmesh.v1.ServiceIngress.auth_mode:type_name -> agentmesh.v1.IngressAuthMode
1, // 10: agentmesh.v1.ServiceInfo.type:type_name -> agentmesh.v1.ServiceType
17, // 11: agentmesh.v1.ServiceInfo.ingress:type_name -> agentmesh.v1.ServiceIngress
88, // 12: agentmesh.v1.CommandBackend.env:type_name -> agentmesh.v1.CommandBackend.EnvEntry
18, // 13: agentmesh.v1.RegisterServiceRequest.service:type_name -> agentmesh.v1.ServiceInfo
19, // 14: agentmesh.v1.RegisterServiceRequest.command:type_name -> agentmesh.v1.CommandBackend
31, // 15: agentmesh.v1.ControlPlaneInfoResponse.routers:type_name -> agentmesh.v1.RouterInfo
23, // 16: agentmesh.v1.ControlPlaneInfoResponse.directory:type_name -> agentmesh.v1.DirectoryParameters
94, // 17: agentmesh.v1.DirectoryParameters.reprovide_interval:type_name -> google.protobuf.Duration
94, // 18: agentmesh.v1.DirectoryParameters.record_ttl:type_name -> google.protobuf.Duration
25, // 19: agentmesh.v1.DirectoryRequest.provide:type_name -> agentmesh.v1.DirectoryProvide
27, // 20: agentmesh.v1.DirectoryRequest.find_providers:type_name -> agentmesh.v1.DirectoryFindProviders
28, // 21: agentmesh.v1.DirectoryRequest.find_peer:type_name -> agentmesh.v1.DirectoryFindPeer
26, // 22: agentmesh.v1.DirectoryRequest.withdraw:type_name -> agentmesh.v1.DirectoryWithdraw
17, // 23: agentmesh.v1.DirectoryProvide.ingress:type_name -> agentmesh.v1.ServiceIngress
30, // 24: agentmesh.v1.DirectoryResponse.providers:type_name -> agentmesh.v1.PeerRecord
30, // 25: agentmesh.v1.DirectoryResponse.peer:type_name -> agentmesh.v1.PeerRecord
17, // 26: agentmesh.v1.PeerRecord.ingress:type_name -> agentmesh.v1.ServiceIngress
89, // 27: agentmesh.v1.RouterInfo.labels:type_name -> agentmesh.v1.RouterInfo.LabelsEntry
94, // 28: agentmesh.v1.RouterLeaseRequest.ttl:type_name -> google.protobuf.Duration
95, // 29: agentmesh.v1.RouterLeaseResponse.expire_time:type_name -> google.protobuf.Timestamp
36, // 30: agentmesh.v1.PolicyRole.http:type_name -> agentmesh.v1.HTTPGrant
35, // 31: agentmesh.v1.PolicyRole.allowed_ingress:type_name -> agentmesh.v1.IngressGrant
2, // 32: agentmesh.v1.IngressGrant.allowed_auth_modes:type_name -> agentmesh.v1.IngressAuthMode
43, // 33: agentmesh.v1.EgressDestination.broker:type_name -> agentmesh.v1.CredentialBroker
38, // 34: agentmesh.v1.EgressDestination.inspection:type_name -> agentmesh.v1.Inspection
3, // 35: agentmesh.v1.EgressDestination.mode:type_name -> agentmesh.v1.EgressMode
39, // 36: agentmesh.v1.Inspection.inspectors:type_name -> agentmesh.v1.Inspector
40, // 37: agentmesh.v1.Inspector.model_armor:type_name -> agentmesh.v1.ModelArmor
41, // 38: agentmesh.v1.Inspector.ext_proc:type_name -> agentmesh.v1.ExtProc
4, // 39: agentmesh.v1.ModelArmor.response:type_name -> agentmesh.v1.ResponseInspection
94, // 40: agentmesh.v1.ModelArmor.timeout:type_name -> google.protobuf.Duration
42, // 41: agentmesh.v1.ExtProc.processing_mode:type_name -> agentmesh.v1.ExtProcProcessingMode
94, // 42: agentmesh.v1.ExtProc.message_timeout:type_name -> google.protobuf.Duration
7, // 43: agentmesh.v1.ExtProcProcessingMode.request_header_mode:type_name -> agentmesh.v1.ExtProcProcessingMode.HeaderMode
7, // 44: agentmesh.v1.ExtProcProcessingMode.response_header_mode:type_name -> agentmesh.v1.ExtProcProcessingMode.HeaderMode
8, // 45: agentmesh.v1.ExtProcProcessingMode.request_body_mode:type_name -> agentmesh.v1.ExtProcProcessingMode.BodyMode
8, // 46: agentmesh.v1.ExtProcProcessingMode.response_body_mode:type_name -> agentmesh.v1.ExtProcProcessingMode.BodyMode
7, // 47: agentmesh.v1.ExtProcProcessingMode.request_trailer_mode:type_name -> agentmesh.v1.ExtProcProcessingMode.HeaderMode
7, // 48: agentmesh.v1.ExtProcProcessingMode.response_trailer_mode:type_name -> agentmesh.v1.ExtProcProcessingMode.HeaderMode
44, // 49: agentmesh.v1.CredentialBroker.oidc_federation:type_name -> agentmesh.v1.OIDCFederation
45, // 50: agentmesh.v1.CredentialBroker.aws_assume_role:type_name -> agentmesh.v1.AWSAssumeRole
46, // 51: agentmesh.v1.CredentialBroker.platform_identity:type_name -> agentmesh.v1.PlatformIdentity
34, // 52: agentmesh.v1.PolicyConfig.roles:type_name -> agentmesh.v1.PolicyRole
47, // 53: agentmesh.v1.PolicyConfig.bindings:type_name -> agentmesh.v1.PolicyBinding
37, // 54: agentmesh.v1.PolicyConfig.egress:type_name -> agentmesh.v1.EgressDestination
37, // 55: agentmesh.v1.EgressAssignmentsResponse.egress:type_name -> agentmesh.v1.EgressDestination
95, // 56: agentmesh.v1.KeysResponse.sign_time:type_name -> google.protobuf.Timestamp
95, // 57: agentmesh.v1.TokenRefreshResponse.expire_time:type_name -> google.protobuf.Timestamp
18, // 58: agentmesh.v1.NodeCatalogReport.services:type_name -> agentmesh.v1.ServiceInfo
95, // 59: agentmesh.v1.BootstrapTokenCreateResponse.expire_time:type_name -> google.protobuf.Timestamp
95, // 60: agentmesh.v1.BootstrapToken.create_time:type_name -> google.protobuf.Timestamp
95, // 61: agentmesh.v1.BootstrapToken.expire_time:type_name -> google.protobuf.Timestamp
95, // 62: agentmesh.v1.BootstrapToken.revoke_time:type_name -> google.protobuf.Timestamp
62, // 63: agentmesh.v1.BootstrapTokenListResponse.tokens:type_name -> agentmesh.v1.BootstrapToken
0, // 64: agentmesh.v1.EnrollmentRequest.status:type_name -> agentmesh.v1.EnrollmentStatus
90, // 65: agentmesh.v1.EnrollmentRequest.labels:type_name -> agentmesh.v1.EnrollmentRequest.LabelsEntry
95, // 66: agentmesh.v1.EnrollmentRequest.create_time:type_name -> google.protobuf.Timestamp
95, // 67: agentmesh.v1.EnrollmentRequest.resolve_time:type_name -> google.protobuf.Timestamp
64, // 68: agentmesh.v1.EnrollmentRequestListResponse.requests:type_name -> agentmesh.v1.EnrollmentRequest
95, // 69: agentmesh.v1.User.create_time:type_name -> google.protobuf.Timestamp
91, // 70: agentmesh.v1.EnrolledNode.labels:type_name -> agentmesh.v1.EnrolledNode.LabelsEntry
95, // 71: agentmesh.v1.EnrolledNode.enroll_time:type_name -> google.protobuf.Timestamp
95, // 72: agentmesh.v1.EnrolledNode.expire_time:type_name -> google.protobuf.Timestamp
95, // 73: agentmesh.v1.RouterLease.last_renewal_time:type_name -> google.protobuf.Timestamp
95, // 74: agentmesh.v1.RouterLease.expire_time:type_name -> google.protobuf.Timestamp
18, // 75: agentmesh.v1.NodeServices.services:type_name -> agentmesh.v1.ServiceInfo
95, // 76: agentmesh.v1.NodeServices.report_time:type_name -> google.protobuf.Timestamp
66, // 77: agentmesh.v1.AdminStatusResponse.users:type_name -> agentmesh.v1.User
68, // 78: agentmesh.v1.AdminStatusResponse.active_routers:type_name -> agentmesh.v1.RouterLease
67, // 79: agentmesh.v1.AdminStatusResponse.enrolled_nodes:type_name -> agentmesh.v1.EnrolledNode
64, // 80: agentmesh.v1.AdminStatusResponse.enrollment_requests:type_name -> agentmesh.v1.EnrollmentRequest
62, // 81: agentmesh.v1.AdminStatusResponse.bootstrap_tokens:type_name -> agentmesh.v1.BootstrapToken
48, // 82: agentmesh.v1.AdminStatusResponse.policy:type_name -> agentmesh.v1.PolicyConfig
92, // 83: agentmesh.v1.AdminStatusResponse.node_catalog:type_name -> agentmesh.v1.AdminStatusResponse.NodeCatalogEntry
66, // 84: agentmesh.v1.UserStatusResponse.user:type_name -> agentmesh.v1.User
67, // 85: agentmesh.v1.UserStatusResponse.enrolled_nodes:type_name -> agentmesh.v1.EnrolledNode
62, // 86: agentmesh.v1.UserStatusResponse.bootstrap_tokens:type_name -> agentmesh.v1.BootstrapToken
68, // 87: agentmesh.v1.UserStatusResponse.active_routers:type_name -> agentmesh.v1.RouterLease
48, // 88: agentmesh.v1.UserStatusResponse.policy:type_name -> agentmesh.v1.PolicyConfig
67, // 89: agentmesh.v1.NodeListResponse.nodes:type_name -> agentmesh.v1.EnrolledNode
95, // 90: agentmesh.v1.IdentityEvidenceResponse.biscuit_expire_time:type_name -> google.protobuf.Timestamp
95, // 91: agentmesh.v1.IdentityEvidenceResponse.check_time:type_name -> google.protobuf.Timestamp
93, // 92: agentmesh.v1.PeerEvidenceResponse.labels:type_name -> agentmesh.v1.PeerEvidenceResponse.LabelsEntry
95, // 93: agentmesh.v1.PeerEvidenceResponse.expire_time:type_name -> google.protobuf.Timestamp
95, // 94: agentmesh.v1.PeerEvidenceResponse.check_time:type_name -> google.protobuf.Timestamp
95, // 95: agentmesh.v1.MemberCredential.expire_time:type_name -> google.protobuf.Timestamp
76, // 96: agentmesh.v1.MemberCredential.trusted_keys:type_name -> agentmesh.v1.TrustedSigningKey
77, // 97: agentmesh.v1.MemberCredential.oidc_session:type_name -> agentmesh.v1.OIDCSession
95, // 98: agentmesh.v1.TrustedSigningKey.receive_time:type_name -> google.protobuf.Timestamp
79, // 99: agentmesh.v1.TaskAuthorizationRule.rules:type_name -> agentmesh.v1.TaskRule
95, // 100: agentmesh.v1.TaskAuthorizationRule.expire_time:type_name -> google.protobuf.Timestamp
80, // 101: agentmesh.v1.TaskRule.operation:type_name -> agentmesh.v1.TaskOperation
78, // 102: agentmesh.v1.TokenExchangeRequest.task_rule:type_name -> agentmesh.v1.TaskAuthorizationRule
95, // 103: agentmesh.v1.TokenExchangeResponse.expire_time:type_name -> google.protobuf.Timestamp
95, // 104: agentmesh.v1.STSTokenResponse.expire_time:type_name -> google.protobuf.Timestamp
69, // 105: agentmesh.v1.AdminStatusResponse.NodeCatalogEntry.value:type_name -> agentmesh.v1.NodeServices
106, // [106:106] is the sub-list for method output_type
106, // [106:106] is the sub-list for method input_type
106, // [106:106] is the sub-list for extension type_name
106, // [106:106] is the sub-list for extension extendee
0, // [0:106] is the sub-list for field type_name
}
func init() { file_api_agentmesh_proto_init() }
func file_api_agentmesh_proto_init() {
if File_api_agentmesh_proto != nil {
return
}
file_api_agentmesh_proto_msgTypes[11].OneofWrappers = []any{
(*RegisterServiceRequest_TargetUrl)(nil),
(*RegisterServiceRequest_Command)(nil),
}
file_api_agentmesh_proto_msgTypes[15].OneofWrappers = []any{
(*DirectoryRequest_Provide)(nil),
(*DirectoryRequest_FindProviders)(nil),
(*DirectoryRequest_FindPeer)(nil),
(*DirectoryRequest_Withdraw)(nil),
}
file_api_agentmesh_proto_msgTypes[30].OneofWrappers = []any{
(*Inspector_ModelArmor)(nil),
(*Inspector_ExtProc)(nil),
}
file_api_agentmesh_proto_msgTypes[34].OneofWrappers = []any{
(*CredentialBroker_StaticSecret)(nil),
(*CredentialBroker_OidcFederation)(nil),
(*CredentialBroker_AwsAssumeRole)(nil),
(*CredentialBroker_PlatformIdentity)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_agentmesh_proto_rawDesc), len(file_api_agentmesh_proto_rawDesc)),
NumEnums: 9,
NumMessages: 85,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_api_agentmesh_proto_goTypes,
DependencyIndexes: file_api_agentmesh_proto_depIdxs,
EnumInfos: file_api_agentmesh_proto_enumTypes,
MessageInfos: file_api_agentmesh_proto_msgTypes,
}.Build()
File_api_agentmesh_proto = out.File
file_api_agentmesh_proto_goTypes = nil
file_api_agentmesh_proto_depIdxs = nil
}