mirror of
https://github.com/openziti/zrok.git
synced 2026-08-28 10:16:59 -05:00
1411 lines
44 KiB
Go
1411 lines
44 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.10
|
|
// protoc v6.33.2
|
|
// source: agent/agentGrpc/agent.proto
|
|
|
|
package agentGrpc
|
|
|
|
import (
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
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 AccessDetail struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
FrontendToken string `protobuf:"bytes,1,opt,name=frontendToken,proto3" json:"frontendToken,omitempty"`
|
|
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
|
|
BindAddress string `protobuf:"bytes,3,opt,name=bindAddress,proto3" json:"bindAddress,omitempty"`
|
|
ResponseHeaders []string `protobuf:"bytes,4,rep,name=responseHeaders,proto3" json:"responseHeaders,omitempty"`
|
|
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
|
|
Failure *Failure `protobuf:"bytes,6,opt,name=failure,proto3" json:"failure,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AccessDetail) Reset() {
|
|
*x = AccessDetail{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AccessDetail) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccessDetail) ProtoMessage() {}
|
|
|
|
func (x *AccessDetail) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 AccessDetail.ProtoReflect.Descriptor instead.
|
|
func (*AccessDetail) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *AccessDetail) GetFrontendToken() string {
|
|
if x != nil {
|
|
return x.FrontendToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessDetail) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessDetail) GetBindAddress() string {
|
|
if x != nil {
|
|
return x.BindAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessDetail) GetResponseHeaders() []string {
|
|
if x != nil {
|
|
return x.ResponseHeaders
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccessDetail) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessDetail) GetFailure() *Failure {
|
|
if x != nil {
|
|
return x.Failure
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AccessPrivateResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
FrontendToken string `protobuf:"bytes,1,opt,name=frontendToken,proto3" json:"frontendToken,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AccessPrivateResponse) Reset() {
|
|
*x = AccessPrivateResponse{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AccessPrivateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccessPrivateResponse) ProtoMessage() {}
|
|
|
|
func (x *AccessPrivateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 AccessPrivateResponse.ProtoReflect.Descriptor instead.
|
|
func (*AccessPrivateResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *AccessPrivateResponse) GetFrontendToken() string {
|
|
if x != nil {
|
|
return x.FrontendToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AccessPrivateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
BindAddress string `protobuf:"bytes,2,opt,name=bindAddress,proto3" json:"bindAddress,omitempty"`
|
|
AutoMode bool `protobuf:"varint,3,opt,name=autoMode,proto3" json:"autoMode,omitempty"`
|
|
AutoAddress string `protobuf:"bytes,4,opt,name=autoAddress,proto3" json:"autoAddress,omitempty"`
|
|
AutoStartPort uint32 `protobuf:"varint,5,opt,name=autoStartPort,proto3" json:"autoStartPort,omitempty"`
|
|
AutoEndPort uint32 `protobuf:"varint,6,opt,name=autoEndPort,proto3" json:"autoEndPort,omitempty"`
|
|
ResponseHeaders []string `protobuf:"bytes,7,rep,name=responseHeaders,proto3" json:"responseHeaders,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AccessPrivateRequest) Reset() {
|
|
*x = AccessPrivateRequest{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AccessPrivateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccessPrivateRequest) ProtoMessage() {}
|
|
|
|
func (x *AccessPrivateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 AccessPrivateRequest.ProtoReflect.Descriptor instead.
|
|
func (*AccessPrivateRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *AccessPrivateRequest) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessPrivateRequest) GetBindAddress() string {
|
|
if x != nil {
|
|
return x.BindAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessPrivateRequest) GetAutoMode() bool {
|
|
if x != nil {
|
|
return x.AutoMode
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *AccessPrivateRequest) GetAutoAddress() string {
|
|
if x != nil {
|
|
return x.AutoAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessPrivateRequest) GetAutoStartPort() uint32 {
|
|
if x != nil {
|
|
return x.AutoStartPort
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccessPrivateRequest) GetAutoEndPort() uint32 {
|
|
if x != nil {
|
|
return x.AutoEndPort
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccessPrivateRequest) GetResponseHeaders() []string {
|
|
if x != nil {
|
|
return x.ResponseHeaders
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Failure struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
|
|
LastError string `protobuf:"bytes,3,opt,name=lastError,proto3" json:"lastError,omitempty"`
|
|
NextRetry *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=nextRetry,proto3" json:"nextRetry,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Failure) Reset() {
|
|
*x = Failure{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Failure) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Failure) ProtoMessage() {}
|
|
|
|
func (x *Failure) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 Failure.ProtoReflect.Descriptor instead.
|
|
func (*Failure) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *Failure) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Failure) GetCount() int32 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Failure) GetLastError() string {
|
|
if x != nil {
|
|
return x.LastError
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Failure) GetNextRetry() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.NextRetry
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type NameSelection struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NamespaceToken string `protobuf:"bytes,1,opt,name=namespaceToken,proto3" json:"namespaceToken,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *NameSelection) Reset() {
|
|
*x = NameSelection{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *NameSelection) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NameSelection) ProtoMessage() {}
|
|
|
|
func (x *NameSelection) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 NameSelection.ProtoReflect.Descriptor instead.
|
|
func (*NameSelection) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *NameSelection) GetNamespaceToken() string {
|
|
if x != nil {
|
|
return x.NamespaceToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NameSelection) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ReleaseAccessRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
FrontendToken string `protobuf:"bytes,1,opt,name=frontendToken,proto3" json:"frontendToken,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReleaseAccessRequest) Reset() {
|
|
*x = ReleaseAccessRequest{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReleaseAccessRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReleaseAccessRequest) ProtoMessage() {}
|
|
|
|
func (x *ReleaseAccessRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 ReleaseAccessRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReleaseAccessRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ReleaseAccessRequest) GetFrontendToken() string {
|
|
if x != nil {
|
|
return x.FrontendToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ReleaseAccessResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReleaseAccessResponse) Reset() {
|
|
*x = ReleaseAccessResponse{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReleaseAccessResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReleaseAccessResponse) ProtoMessage() {}
|
|
|
|
func (x *ReleaseAccessResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 ReleaseAccessResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReleaseAccessResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
type ReleaseShareRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReleaseShareRequest) Reset() {
|
|
*x = ReleaseShareRequest{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReleaseShareRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReleaseShareRequest) ProtoMessage() {}
|
|
|
|
func (x *ReleaseShareRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 ReleaseShareRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReleaseShareRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *ReleaseShareRequest) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ReleaseShareResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReleaseShareResponse) Reset() {
|
|
*x = ReleaseShareResponse{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReleaseShareResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReleaseShareResponse) ProtoMessage() {}
|
|
|
|
func (x *ReleaseShareResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 ReleaseShareResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReleaseShareResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
type ShareDetail struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
ShareMode string `protobuf:"bytes,2,opt,name=shareMode,proto3" json:"shareMode,omitempty"`
|
|
BackendMode string `protobuf:"bytes,3,opt,name=backendMode,proto3" json:"backendMode,omitempty"`
|
|
FrontendEndpoint []string `protobuf:"bytes,4,rep,name=frontendEndpoint,proto3" json:"frontendEndpoint,omitempty"`
|
|
BackendEndpoint string `protobuf:"bytes,5,opt,name=backendEndpoint,proto3" json:"backendEndpoint,omitempty"`
|
|
Closed bool `protobuf:"varint,6,opt,name=closed,proto3" json:"closed,omitempty"`
|
|
Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
|
|
Failure *Failure `protobuf:"bytes,8,opt,name=failure,proto3" json:"failure,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ShareDetail) Reset() {
|
|
*x = ShareDetail{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ShareDetail) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ShareDetail) ProtoMessage() {}
|
|
|
|
func (x *ShareDetail) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 ShareDetail.ProtoReflect.Descriptor instead.
|
|
func (*ShareDetail) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *ShareDetail) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ShareDetail) GetShareMode() string {
|
|
if x != nil {
|
|
return x.ShareMode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ShareDetail) GetBackendMode() string {
|
|
if x != nil {
|
|
return x.BackendMode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ShareDetail) GetFrontendEndpoint() []string {
|
|
if x != nil {
|
|
return x.FrontendEndpoint
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ShareDetail) GetBackendEndpoint() string {
|
|
if x != nil {
|
|
return x.BackendEndpoint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ShareDetail) GetClosed() bool {
|
|
if x != nil {
|
|
return x.Closed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ShareDetail) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ShareDetail) GetFailure() *Failure {
|
|
if x != nil {
|
|
return x.Failure
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ShareHttpHealthcheckRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
HttpVerb string `protobuf:"bytes,2,opt,name=httpVerb,proto3" json:"httpVerb,omitempty"`
|
|
Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
|
|
ExpectedHttpResponse uint32 `protobuf:"varint,4,opt,name=expectedHttpResponse,proto3" json:"expectedHttpResponse,omitempty"`
|
|
TimeoutMs uint64 `protobuf:"varint,5,opt,name=timeoutMs,proto3" json:"timeoutMs,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ShareHttpHealthcheckRequest) Reset() {
|
|
*x = ShareHttpHealthcheckRequest{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ShareHttpHealthcheckRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ShareHttpHealthcheckRequest) ProtoMessage() {}
|
|
|
|
func (x *ShareHttpHealthcheckRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 ShareHttpHealthcheckRequest.ProtoReflect.Descriptor instead.
|
|
func (*ShareHttpHealthcheckRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *ShareHttpHealthcheckRequest) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ShareHttpHealthcheckRequest) GetHttpVerb() string {
|
|
if x != nil {
|
|
return x.HttpVerb
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ShareHttpHealthcheckRequest) GetEndpoint() string {
|
|
if x != nil {
|
|
return x.Endpoint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ShareHttpHealthcheckRequest) GetExpectedHttpResponse() uint32 {
|
|
if x != nil {
|
|
return x.ExpectedHttpResponse
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ShareHttpHealthcheckRequest) GetTimeoutMs() uint64 {
|
|
if x != nil {
|
|
return x.TimeoutMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ShareHttpHealthcheckResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Healthy bool `protobuf:"varint,1,opt,name=healthy,proto3" json:"healthy,omitempty"`
|
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ShareHttpHealthcheckResponse) Reset() {
|
|
*x = ShareHttpHealthcheckResponse{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ShareHttpHealthcheckResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ShareHttpHealthcheckResponse) ProtoMessage() {}
|
|
|
|
func (x *ShareHttpHealthcheckResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 ShareHttpHealthcheckResponse.ProtoReflect.Descriptor instead.
|
|
func (*ShareHttpHealthcheckResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *ShareHttpHealthcheckResponse) GetHealthy() bool {
|
|
if x != nil {
|
|
return x.Healthy
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ShareHttpHealthcheckResponse) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SharePrivateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
|
|
PrivateShareToken string `protobuf:"bytes,2,opt,name=privateShareToken,proto3" json:"privateShareToken,omitempty"`
|
|
BackendMode string `protobuf:"bytes,3,opt,name=backendMode,proto3" json:"backendMode,omitempty"`
|
|
Insecure bool `protobuf:"varint,4,opt,name=insecure,proto3" json:"insecure,omitempty"`
|
|
Closed bool `protobuf:"varint,5,opt,name=closed,proto3" json:"closed,omitempty"`
|
|
AccessGrants []string `protobuf:"bytes,6,rep,name=accessGrants,proto3" json:"accessGrants,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SharePrivateRequest) Reset() {
|
|
*x = SharePrivateRequest{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SharePrivateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SharePrivateRequest) ProtoMessage() {}
|
|
|
|
func (x *SharePrivateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 SharePrivateRequest.ProtoReflect.Descriptor instead.
|
|
func (*SharePrivateRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *SharePrivateRequest) GetTarget() string {
|
|
if x != nil {
|
|
return x.Target
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SharePrivateRequest) GetPrivateShareToken() string {
|
|
if x != nil {
|
|
return x.PrivateShareToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SharePrivateRequest) GetBackendMode() string {
|
|
if x != nil {
|
|
return x.BackendMode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SharePrivateRequest) GetInsecure() bool {
|
|
if x != nil {
|
|
return x.Insecure
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SharePrivateRequest) GetClosed() bool {
|
|
if x != nil {
|
|
return x.Closed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SharePrivateRequest) GetAccessGrants() []string {
|
|
if x != nil {
|
|
return x.AccessGrants
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SharePrivateResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SharePrivateResponse) Reset() {
|
|
*x = SharePrivateResponse{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SharePrivateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SharePrivateResponse) ProtoMessage() {}
|
|
|
|
func (x *SharePrivateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 SharePrivateResponse.ProtoReflect.Descriptor instead.
|
|
func (*SharePrivateResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *SharePrivateResponse) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SharePublicRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
|
|
BasicAuth []string `protobuf:"bytes,2,rep,name=basicAuth,proto3" json:"basicAuth,omitempty"`
|
|
NameSelections []*NameSelection `protobuf:"bytes,3,rep,name=nameSelections,proto3" json:"nameSelections,omitempty"`
|
|
BackendMode string `protobuf:"bytes,4,opt,name=backendMode,proto3" json:"backendMode,omitempty"`
|
|
Insecure bool `protobuf:"varint,5,opt,name=insecure,proto3" json:"insecure,omitempty"`
|
|
OauthProvider string `protobuf:"bytes,6,opt,name=oauthProvider,proto3" json:"oauthProvider,omitempty"`
|
|
OauthEmailDomains []string `protobuf:"bytes,7,rep,name=oauthEmailDomains,proto3" json:"oauthEmailDomains,omitempty"`
|
|
OauthRefreshInterval string `protobuf:"bytes,8,opt,name=oauthRefreshInterval,proto3" json:"oauthRefreshInterval,omitempty"`
|
|
Closed bool `protobuf:"varint,9,opt,name=closed,proto3" json:"closed,omitempty"`
|
|
AccessGrants []string `protobuf:"bytes,10,rep,name=accessGrants,proto3" json:"accessGrants,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SharePublicRequest) Reset() {
|
|
*x = SharePublicRequest{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SharePublicRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SharePublicRequest) ProtoMessage() {}
|
|
|
|
func (x *SharePublicRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 SharePublicRequest.ProtoReflect.Descriptor instead.
|
|
func (*SharePublicRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *SharePublicRequest) GetTarget() string {
|
|
if x != nil {
|
|
return x.Target
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SharePublicRequest) GetBasicAuth() []string {
|
|
if x != nil {
|
|
return x.BasicAuth
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SharePublicRequest) GetNameSelections() []*NameSelection {
|
|
if x != nil {
|
|
return x.NameSelections
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SharePublicRequest) GetBackendMode() string {
|
|
if x != nil {
|
|
return x.BackendMode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SharePublicRequest) GetInsecure() bool {
|
|
if x != nil {
|
|
return x.Insecure
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SharePublicRequest) GetOauthProvider() string {
|
|
if x != nil {
|
|
return x.OauthProvider
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SharePublicRequest) GetOauthEmailDomains() []string {
|
|
if x != nil {
|
|
return x.OauthEmailDomains
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SharePublicRequest) GetOauthRefreshInterval() string {
|
|
if x != nil {
|
|
return x.OauthRefreshInterval
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SharePublicRequest) GetClosed() bool {
|
|
if x != nil {
|
|
return x.Closed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SharePublicRequest) GetAccessGrants() []string {
|
|
if x != nil {
|
|
return x.AccessGrants
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SharePublicResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
FrontendEndpoints []string `protobuf:"bytes,2,rep,name=frontendEndpoints,proto3" json:"frontendEndpoints,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SharePublicResponse) Reset() {
|
|
*x = SharePublicResponse{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SharePublicResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SharePublicResponse) ProtoMessage() {}
|
|
|
|
func (x *SharePublicResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 SharePublicResponse.ProtoReflect.Descriptor instead.
|
|
func (*SharePublicResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *SharePublicResponse) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SharePublicResponse) GetFrontendEndpoints() []string {
|
|
if x != nil {
|
|
return x.FrontendEndpoints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type StatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StatusRequest) Reset() {
|
|
*x = StatusRequest{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StatusRequest) ProtoMessage() {}
|
|
|
|
func (x *StatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 StatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*StatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
type StatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Accesses []*AccessDetail `protobuf:"bytes,1,rep,name=accesses,proto3" json:"accesses,omitempty"`
|
|
Shares []*ShareDetail `protobuf:"bytes,2,rep,name=shares,proto3" json:"shares,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StatusResponse) Reset() {
|
|
*x = StatusResponse{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StatusResponse) ProtoMessage() {}
|
|
|
|
func (x *StatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 StatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*StatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *StatusResponse) GetAccesses() []*AccessDetail {
|
|
if x != nil {
|
|
return x.Accesses
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StatusResponse) GetShares() []*ShareDetail {
|
|
if x != nil {
|
|
return x.Shares
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VersionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VersionRequest) Reset() {
|
|
*x = VersionRequest{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VersionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VersionRequest) ProtoMessage() {}
|
|
|
|
func (x *VersionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 VersionRequest.ProtoReflect.Descriptor instead.
|
|
func (*VersionRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
type VersionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
V string `protobuf:"bytes,1,opt,name=v,proto3" json:"v,omitempty"`
|
|
ConsoleEndpoint string `protobuf:"bytes,2,opt,name=consoleEndpoint,proto3" json:"consoleEndpoint,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VersionResponse) Reset() {
|
|
*x = VersionResponse{}
|
|
mi := &file_agent_agentGrpc_agent_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VersionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VersionResponse) ProtoMessage() {}
|
|
|
|
func (x *VersionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_agentGrpc_agent_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 VersionResponse.ProtoReflect.Descriptor instead.
|
|
func (*VersionResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_agentGrpc_agent_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *VersionResponse) GetV() string {
|
|
if x != nil {
|
|
return x.V
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VersionResponse) GetConsoleEndpoint() string {
|
|
if x != nil {
|
|
return x.ConsoleEndpoint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_agent_agentGrpc_agent_proto protoreflect.FileDescriptor
|
|
|
|
const file_agent_agentGrpc_agent_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x1bagent/agentGrpc/agent.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd2\x01\n" +
|
|
"\fAccessDetail\x12$\n" +
|
|
"\rfrontendToken\x18\x01 \x01(\tR\rfrontendToken\x12\x14\n" +
|
|
"\x05token\x18\x02 \x01(\tR\x05token\x12 \n" +
|
|
"\vbindAddress\x18\x03 \x01(\tR\vbindAddress\x12(\n" +
|
|
"\x0fresponseHeaders\x18\x04 \x03(\tR\x0fresponseHeaders\x12\x16\n" +
|
|
"\x06status\x18\x05 \x01(\tR\x06status\x12\"\n" +
|
|
"\afailure\x18\x06 \x01(\v2\b.FailureR\afailure\"=\n" +
|
|
"\x15AccessPrivateResponse\x12$\n" +
|
|
"\rfrontendToken\x18\x01 \x01(\tR\rfrontendToken\"\xfe\x01\n" +
|
|
"\x14AccessPrivateRequest\x12\x14\n" +
|
|
"\x05token\x18\x01 \x01(\tR\x05token\x12 \n" +
|
|
"\vbindAddress\x18\x02 \x01(\tR\vbindAddress\x12\x1a\n" +
|
|
"\bautoMode\x18\x03 \x01(\bR\bautoMode\x12 \n" +
|
|
"\vautoAddress\x18\x04 \x01(\tR\vautoAddress\x12$\n" +
|
|
"\rautoStartPort\x18\x05 \x01(\rR\rautoStartPort\x12 \n" +
|
|
"\vautoEndPort\x18\x06 \x01(\rR\vautoEndPort\x12(\n" +
|
|
"\x0fresponseHeaders\x18\a \x03(\tR\x0fresponseHeaders\"\x87\x01\n" +
|
|
"\aFailure\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
|
|
"\x05count\x18\x02 \x01(\x05R\x05count\x12\x1c\n" +
|
|
"\tlastError\x18\x03 \x01(\tR\tlastError\x128\n" +
|
|
"\tnextRetry\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\tnextRetry\"K\n" +
|
|
"\rNameSelection\x12&\n" +
|
|
"\x0enamespaceToken\x18\x01 \x01(\tR\x0enamespaceToken\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\"<\n" +
|
|
"\x14ReleaseAccessRequest\x12$\n" +
|
|
"\rfrontendToken\x18\x01 \x01(\tR\rfrontendToken\"\x17\n" +
|
|
"\x15ReleaseAccessResponse\"+\n" +
|
|
"\x13ReleaseShareRequest\x12\x14\n" +
|
|
"\x05token\x18\x01 \x01(\tR\x05token\"\x16\n" +
|
|
"\x14ReleaseShareResponse\"\x8d\x02\n" +
|
|
"\vShareDetail\x12\x14\n" +
|
|
"\x05token\x18\x01 \x01(\tR\x05token\x12\x1c\n" +
|
|
"\tshareMode\x18\x02 \x01(\tR\tshareMode\x12 \n" +
|
|
"\vbackendMode\x18\x03 \x01(\tR\vbackendMode\x12*\n" +
|
|
"\x10frontendEndpoint\x18\x04 \x03(\tR\x10frontendEndpoint\x12(\n" +
|
|
"\x0fbackendEndpoint\x18\x05 \x01(\tR\x0fbackendEndpoint\x12\x16\n" +
|
|
"\x06closed\x18\x06 \x01(\bR\x06closed\x12\x16\n" +
|
|
"\x06status\x18\a \x01(\tR\x06status\x12\"\n" +
|
|
"\afailure\x18\b \x01(\v2\b.FailureR\afailure\"\xbd\x01\n" +
|
|
"\x1bShareHttpHealthcheckRequest\x12\x14\n" +
|
|
"\x05token\x18\x01 \x01(\tR\x05token\x12\x1a\n" +
|
|
"\bhttpVerb\x18\x02 \x01(\tR\bhttpVerb\x12\x1a\n" +
|
|
"\bendpoint\x18\x03 \x01(\tR\bendpoint\x122\n" +
|
|
"\x14expectedHttpResponse\x18\x04 \x01(\rR\x14expectedHttpResponse\x12\x1c\n" +
|
|
"\ttimeoutMs\x18\x05 \x01(\x04R\ttimeoutMs\"N\n" +
|
|
"\x1cShareHttpHealthcheckResponse\x12\x18\n" +
|
|
"\ahealthy\x18\x01 \x01(\bR\ahealthy\x12\x14\n" +
|
|
"\x05error\x18\x02 \x01(\tR\x05error\"\xd5\x01\n" +
|
|
"\x13SharePrivateRequest\x12\x16\n" +
|
|
"\x06target\x18\x01 \x01(\tR\x06target\x12,\n" +
|
|
"\x11privateShareToken\x18\x02 \x01(\tR\x11privateShareToken\x12 \n" +
|
|
"\vbackendMode\x18\x03 \x01(\tR\vbackendMode\x12\x1a\n" +
|
|
"\binsecure\x18\x04 \x01(\bR\binsecure\x12\x16\n" +
|
|
"\x06closed\x18\x05 \x01(\bR\x06closed\x12\"\n" +
|
|
"\faccessGrants\x18\x06 \x03(\tR\faccessGrants\",\n" +
|
|
"\x14SharePrivateResponse\x12\x14\n" +
|
|
"\x05token\x18\x01 \x01(\tR\x05token\"\x84\x03\n" +
|
|
"\x12SharePublicRequest\x12\x16\n" +
|
|
"\x06target\x18\x01 \x01(\tR\x06target\x12\x1c\n" +
|
|
"\tbasicAuth\x18\x02 \x03(\tR\tbasicAuth\x126\n" +
|
|
"\x0enameSelections\x18\x03 \x03(\v2\x0e.NameSelectionR\x0enameSelections\x12 \n" +
|
|
"\vbackendMode\x18\x04 \x01(\tR\vbackendMode\x12\x1a\n" +
|
|
"\binsecure\x18\x05 \x01(\bR\binsecure\x12$\n" +
|
|
"\roauthProvider\x18\x06 \x01(\tR\roauthProvider\x12,\n" +
|
|
"\x11oauthEmailDomains\x18\a \x03(\tR\x11oauthEmailDomains\x122\n" +
|
|
"\x14oauthRefreshInterval\x18\b \x01(\tR\x14oauthRefreshInterval\x12\x16\n" +
|
|
"\x06closed\x18\t \x01(\bR\x06closed\x12\"\n" +
|
|
"\faccessGrants\x18\n" +
|
|
" \x03(\tR\faccessGrants\"Y\n" +
|
|
"\x13SharePublicResponse\x12\x14\n" +
|
|
"\x05token\x18\x01 \x01(\tR\x05token\x12,\n" +
|
|
"\x11frontendEndpoints\x18\x02 \x03(\tR\x11frontendEndpoints\"\x0f\n" +
|
|
"\rStatusRequest\"a\n" +
|
|
"\x0eStatusResponse\x12)\n" +
|
|
"\baccesses\x18\x01 \x03(\v2\r.AccessDetailR\baccesses\x12$\n" +
|
|
"\x06shares\x18\x02 \x03(\v2\f.ShareDetailR\x06shares\"\x10\n" +
|
|
"\x0eVersionRequest\"I\n" +
|
|
"\x0fVersionResponse\x12\f\n" +
|
|
"\x01v\x18\x01 \x01(\tR\x01v\x12(\n" +
|
|
"\x0fconsoleEndpoint\x18\x02 \x01(\tR\x0fconsoleEndpoint2\xe7\x05\n" +
|
|
"\x05Agent\x12_\n" +
|
|
"\rAccessPrivate\x12\x15.AccessPrivateRequest\x1a\x16.AccessPrivateResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\"\x17/v1/agent/accessPrivate\x12_\n" +
|
|
"\rReleaseAccess\x12\x15.ReleaseAccessRequest\x1a\x16.ReleaseAccessResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\"\x17/v1/agent/releaseAccess\x12[\n" +
|
|
"\fReleaseShare\x12\x14.ReleaseShareRequest\x1a\x15.ReleaseShareResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\"\x16/v1/agent/releaseShare\x12{\n" +
|
|
"\x14ShareHttpHealthcheck\x12\x1c.ShareHttpHealthcheckRequest\x1a\x1d.ShareHttpHealthcheckResponse\"&\x82\xd3\xe4\x93\x02 \"\x1e/v1/agent/httpShareHealthcheck\x12[\n" +
|
|
"\fSharePrivate\x12\x14.SharePrivateRequest\x1a\x15.SharePrivateResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\"\x16/v1/agent/sharePrivate\x12W\n" +
|
|
"\vSharePublic\x12\x13.SharePublicRequest\x1a\x14.SharePublicResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\"\x15/v1/agent/sharePublic\x12C\n" +
|
|
"\x06Status\x12\x0e.StatusRequest\x1a\x0f.StatusResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/v1/agent/status\x12G\n" +
|
|
"\aVersion\x12\x0f.VersionRequest\x1a\x10.VersionResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/v1/agent/versionB-Z+github.com/openziti/zrok/v2/agent/agentGrpcb\x06proto3"
|
|
|
|
var (
|
|
file_agent_agentGrpc_agent_proto_rawDescOnce sync.Once
|
|
file_agent_agentGrpc_agent_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_agent_agentGrpc_agent_proto_rawDescGZIP() []byte {
|
|
file_agent_agentGrpc_agent_proto_rawDescOnce.Do(func() {
|
|
file_agent_agentGrpc_agent_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_agent_agentGrpc_agent_proto_rawDesc), len(file_agent_agentGrpc_agent_proto_rawDesc)))
|
|
})
|
|
return file_agent_agentGrpc_agent_proto_rawDescData
|
|
}
|
|
|
|
var file_agent_agentGrpc_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
|
|
var file_agent_agentGrpc_agent_proto_goTypes = []any{
|
|
(*AccessDetail)(nil), // 0: AccessDetail
|
|
(*AccessPrivateResponse)(nil), // 1: AccessPrivateResponse
|
|
(*AccessPrivateRequest)(nil), // 2: AccessPrivateRequest
|
|
(*Failure)(nil), // 3: Failure
|
|
(*NameSelection)(nil), // 4: NameSelection
|
|
(*ReleaseAccessRequest)(nil), // 5: ReleaseAccessRequest
|
|
(*ReleaseAccessResponse)(nil), // 6: ReleaseAccessResponse
|
|
(*ReleaseShareRequest)(nil), // 7: ReleaseShareRequest
|
|
(*ReleaseShareResponse)(nil), // 8: ReleaseShareResponse
|
|
(*ShareDetail)(nil), // 9: ShareDetail
|
|
(*ShareHttpHealthcheckRequest)(nil), // 10: ShareHttpHealthcheckRequest
|
|
(*ShareHttpHealthcheckResponse)(nil), // 11: ShareHttpHealthcheckResponse
|
|
(*SharePrivateRequest)(nil), // 12: SharePrivateRequest
|
|
(*SharePrivateResponse)(nil), // 13: SharePrivateResponse
|
|
(*SharePublicRequest)(nil), // 14: SharePublicRequest
|
|
(*SharePublicResponse)(nil), // 15: SharePublicResponse
|
|
(*StatusRequest)(nil), // 16: StatusRequest
|
|
(*StatusResponse)(nil), // 17: StatusResponse
|
|
(*VersionRequest)(nil), // 18: VersionRequest
|
|
(*VersionResponse)(nil), // 19: VersionResponse
|
|
(*timestamppb.Timestamp)(nil), // 20: google.protobuf.Timestamp
|
|
}
|
|
var file_agent_agentGrpc_agent_proto_depIdxs = []int32{
|
|
3, // 0: AccessDetail.failure:type_name -> Failure
|
|
20, // 1: Failure.nextRetry:type_name -> google.protobuf.Timestamp
|
|
3, // 2: ShareDetail.failure:type_name -> Failure
|
|
4, // 3: SharePublicRequest.nameSelections:type_name -> NameSelection
|
|
0, // 4: StatusResponse.accesses:type_name -> AccessDetail
|
|
9, // 5: StatusResponse.shares:type_name -> ShareDetail
|
|
2, // 6: Agent.AccessPrivate:input_type -> AccessPrivateRequest
|
|
5, // 7: Agent.ReleaseAccess:input_type -> ReleaseAccessRequest
|
|
7, // 8: Agent.ReleaseShare:input_type -> ReleaseShareRequest
|
|
10, // 9: Agent.ShareHttpHealthcheck:input_type -> ShareHttpHealthcheckRequest
|
|
12, // 10: Agent.SharePrivate:input_type -> SharePrivateRequest
|
|
14, // 11: Agent.SharePublic:input_type -> SharePublicRequest
|
|
16, // 12: Agent.Status:input_type -> StatusRequest
|
|
18, // 13: Agent.Version:input_type -> VersionRequest
|
|
1, // 14: Agent.AccessPrivate:output_type -> AccessPrivateResponse
|
|
6, // 15: Agent.ReleaseAccess:output_type -> ReleaseAccessResponse
|
|
8, // 16: Agent.ReleaseShare:output_type -> ReleaseShareResponse
|
|
11, // 17: Agent.ShareHttpHealthcheck:output_type -> ShareHttpHealthcheckResponse
|
|
13, // 18: Agent.SharePrivate:output_type -> SharePrivateResponse
|
|
15, // 19: Agent.SharePublic:output_type -> SharePublicResponse
|
|
17, // 20: Agent.Status:output_type -> StatusResponse
|
|
19, // 21: Agent.Version:output_type -> VersionResponse
|
|
14, // [14:22] is the sub-list for method output_type
|
|
6, // [6:14] is the sub-list for method input_type
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
0, // [0:6] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_agent_agentGrpc_agent_proto_init() }
|
|
func file_agent_agentGrpc_agent_proto_init() {
|
|
if File_agent_agentGrpc_agent_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_agent_agentGrpc_agent_proto_rawDesc), len(file_agent_agentGrpc_agent_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 20,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_agent_agentGrpc_agent_proto_goTypes,
|
|
DependencyIndexes: file_agent_agentGrpc_agent_proto_depIdxs,
|
|
MessageInfos: file_agent_agentGrpc_agent_proto_msgTypes,
|
|
}.Build()
|
|
File_agent_agentGrpc_agent_proto = out.File
|
|
file_agent_agentGrpc_agent_proto_goTypes = nil
|
|
file_agent_agentGrpc_agent_proto_depIdxs = nil
|
|
}
|