Documentation ¶
Overview ¶
Package api is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterSesameHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSesameHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SesameClient) error
- func RegisterSesameHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSesameHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SesameServer) error
- func RegisterSesameServer(s grpc.ServiceRegistrar, srv SesameServer)
- type CreateEndpointRequest
- func (*CreateEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEndpointRequest) GetEndpoint() *Endpoint
- func (x *CreateEndpointRequest) GetParent() string
- func (x *CreateEndpointRequest) GetResourceId() string
- func (*CreateEndpointRequest) ProtoMessage()
- func (x *CreateEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEndpointRequest) Proto_ShallowClone() (c *CreateEndpointRequest)
- func (x *CreateEndpointRequest) Proto_ShallowCopy(v interface{})
- func (x *CreateEndpointRequest) Reset()
- func (x *CreateEndpointRequest) String() string
- type CreateRemoteRequest
- func (*CreateRemoteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRemoteRequest) GetParent() string
- func (x *CreateRemoteRequest) GetRemote() *Remote
- func (x *CreateRemoteRequest) GetResourceId() string
- func (*CreateRemoteRequest) ProtoMessage()
- func (x *CreateRemoteRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRemoteRequest) Proto_ShallowClone() (c *CreateRemoteRequest)
- func (x *CreateRemoteRequest) Proto_ShallowCopy(v interface{})
- func (x *CreateRemoteRequest) Reset()
- func (x *CreateRemoteRequest) String() string
- type DeleteEndpointRequest
- func (*DeleteEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteEndpointRequest) GetName() string
- func (*DeleteEndpointRequest) ProtoMessage()
- func (x *DeleteEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteEndpointRequest) Proto_ShallowClone() (c *DeleteEndpointRequest)
- func (x *DeleteEndpointRequest) Proto_ShallowCopy(v interface{})
- func (x *DeleteEndpointRequest) Reset()
- func (x *DeleteEndpointRequest) String() string
- type DeleteRemoteRequest
- func (*DeleteRemoteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRemoteRequest) GetName() string
- func (*DeleteRemoteRequest) ProtoMessage()
- func (x *DeleteRemoteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRemoteRequest) Proto_ShallowClone() (c *DeleteRemoteRequest)
- func (x *DeleteRemoteRequest) Proto_ShallowCopy(v interface{})
- func (x *DeleteRemoteRequest) Reset()
- func (x *DeleteRemoteRequest) String() string
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Endpoint) GetCreateTime() *timestamppb.Timestamp
- func (x *Endpoint) GetDescription() string
- func (x *Endpoint) GetDisplayName() string
- func (x *Endpoint) GetName() string
- func (x *Endpoint) GetSpec() *Endpoint_Spec
- func (*Endpoint) ProtoMessage()
- func (x *Endpoint) ProtoReflect() protoreflect.Message
- func (x *Endpoint) Proto_ShallowClone() (c *Endpoint)
- func (x *Endpoint) Proto_ShallowCopy(v interface{})
- func (x *Endpoint) Reset()
- func (x *Endpoint) String() string
- type Endpoint_Spec
- func (*Endpoint_Spec) Descriptor() ([]byte, []int)deprecated
- func (m *Endpoint_Spec) GetData() isEndpoint_Spec_Data
- func (x *Endpoint_Spec) GetTunnel() *Endpoint_Tunnel
- func (*Endpoint_Spec) ProtoMessage()
- func (x *Endpoint_Spec) ProtoReflect() protoreflect.Message
- func (x *Endpoint_Spec) Proto_ShallowClone() (c *Endpoint_Spec)
- func (x *Endpoint_Spec) Proto_ShallowCopy(v interface{})
- func (x *Endpoint_Spec) Reset()
- func (x *Endpoint_Spec) String() string
- type Endpoint_Spec_Tunnel
- type Endpoint_Tunnel
- func (*Endpoint_Tunnel) Descriptor() ([]byte, []int)deprecated
- func (*Endpoint_Tunnel) ProtoMessage()
- func (x *Endpoint_Tunnel) ProtoReflect() protoreflect.Message
- func (x *Endpoint_Tunnel) Proto_ShallowClone() (c *Endpoint_Tunnel)
- func (x *Endpoint_Tunnel) Proto_ShallowCopy(v interface{})
- func (x *Endpoint_Tunnel) Reset()
- func (x *Endpoint_Tunnel) String() string
- type GetEndpointRequest
- func (*GetEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEndpointRequest) GetName() string
- func (*GetEndpointRequest) ProtoMessage()
- func (x *GetEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *GetEndpointRequest) Proto_ShallowClone() (c *GetEndpointRequest)
- func (x *GetEndpointRequest) Proto_ShallowCopy(v interface{})
- func (x *GetEndpointRequest) Reset()
- func (x *GetEndpointRequest) String() string
- type GetRemoteRequest
- func (*GetRemoteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRemoteRequest) GetName() string
- func (*GetRemoteRequest) ProtoMessage()
- func (x *GetRemoteRequest) ProtoReflect() protoreflect.Message
- func (x *GetRemoteRequest) Proto_ShallowClone() (c *GetRemoteRequest)
- func (x *GetRemoteRequest) Proto_ShallowCopy(v interface{})
- func (x *GetRemoteRequest) Reset()
- func (x *GetRemoteRequest) String() string
- type ListEndpointsRequest
- func (*ListEndpointsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEndpointsRequest) GetPageSize() int32
- func (x *ListEndpointsRequest) GetPageToken() string
- func (x *ListEndpointsRequest) GetParent() string
- func (*ListEndpointsRequest) ProtoMessage()
- func (x *ListEndpointsRequest) ProtoReflect() protoreflect.Message
- func (x *ListEndpointsRequest) Proto_ShallowClone() (c *ListEndpointsRequest)
- func (x *ListEndpointsRequest) Proto_ShallowCopy(v interface{})
- func (x *ListEndpointsRequest) Reset()
- func (x *ListEndpointsRequest) String() string
- type ListEndpointsResponse
- func (*ListEndpointsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEndpointsResponse) GetEndpoints() []*Endpoint
- func (x *ListEndpointsResponse) GetNextPageToken() string
- func (*ListEndpointsResponse) ProtoMessage()
- func (x *ListEndpointsResponse) ProtoReflect() protoreflect.Message
- func (x *ListEndpointsResponse) Proto_ShallowClone() (c *ListEndpointsResponse)
- func (x *ListEndpointsResponse) Proto_ShallowCopy(v interface{})
- func (x *ListEndpointsResponse) Reset()
- func (x *ListEndpointsResponse) String() string
- type ListRemotesRequest
- func (*ListRemotesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRemotesRequest) GetPageSize() int32
- func (x *ListRemotesRequest) GetPageToken() string
- func (x *ListRemotesRequest) GetParent() string
- func (*ListRemotesRequest) ProtoMessage()
- func (x *ListRemotesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRemotesRequest) Proto_ShallowClone() (c *ListRemotesRequest)
- func (x *ListRemotesRequest) Proto_ShallowCopy(v interface{})
- func (x *ListRemotesRequest) Reset()
- func (x *ListRemotesRequest) String() string
- type ListRemotesResponse
- func (*ListRemotesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRemotesResponse) GetNextPageToken() string
- func (x *ListRemotesResponse) GetRemotes() []*Remote
- func (*ListRemotesResponse) ProtoMessage()
- func (x *ListRemotesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRemotesResponse) Proto_ShallowClone() (c *ListRemotesResponse)
- func (x *ListRemotesResponse) Proto_ShallowCopy(v interface{})
- func (x *ListRemotesResponse) Reset()
- func (x *ListRemotesResponse) String() string
- type Namespace
- func (*Namespace) Descriptor() ([]byte, []int)deprecated
- func (x *Namespace) GetName() string
- func (*Namespace) ProtoMessage()
- func (x *Namespace) ProtoReflect() protoreflect.Message
- func (x *Namespace) Proto_ShallowClone() (c *Namespace)
- func (x *Namespace) Proto_ShallowCopy(v interface{})
- func (x *Namespace) Reset()
- func (x *Namespace) String() string
- type ProxyRequest
- func (*ProxyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyRequest) GetContent() *anypb.Any
- func (m *ProxyRequest) GetData() isProxyRequest_Data
- func (x *ProxyRequest) GetDial() *ProxyRequest_Dial
- func (x *ProxyRequest) GetHeader() *grpcmetadata.GrpcMetadata
- func (*ProxyRequest) ProtoMessage()
- func (x *ProxyRequest) ProtoReflect() protoreflect.Message
- func (x *ProxyRequest) Proto_ShallowClone() (c *ProxyRequest)
- func (x *ProxyRequest) Proto_ShallowCopy(v interface{})
- func (x *ProxyRequest) Reset()
- func (x *ProxyRequest) String() string
- type ProxyRequest_Content
- type ProxyRequest_Dial
- func (*ProxyRequest_Dial) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyRequest_Dial) GetConnMask() *fieldmaskpb.FieldMask
- func (x *ProxyRequest_Dial) GetEndpoint() string
- func (x *ProxyRequest_Dial) GetMethod() string
- func (*ProxyRequest_Dial) ProtoMessage()
- func (x *ProxyRequest_Dial) ProtoReflect() protoreflect.Message
- func (x *ProxyRequest_Dial) Proto_ShallowClone() (c *ProxyRequest_Dial)
- func (x *ProxyRequest_Dial) Proto_ShallowCopy(v interface{})
- func (x *ProxyRequest_Dial) Reset()
- func (x *ProxyRequest_Dial) String() string
- type ProxyRequest_Dial_
- type ProxyRequest_Header
- type ProxyResponse
- func (*ProxyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyResponse) GetConn() *ProxyResponse_Conn
- func (x *ProxyResponse) GetContent() *anypb.Any
- func (m *ProxyResponse) GetData() isProxyResponse_Data
- func (x *ProxyResponse) GetError() *status.Status
- func (x *ProxyResponse) GetHeader() *grpcmetadata.GrpcMetadata
- func (x *ProxyResponse) GetTrailer() *grpcmetadata.GrpcMetadata
- func (*ProxyResponse) ProtoMessage()
- func (x *ProxyResponse) ProtoReflect() protoreflect.Message
- func (x *ProxyResponse) Proto_ShallowClone() (c *ProxyResponse)
- func (x *ProxyResponse) Proto_ShallowCopy(v interface{})
- func (x *ProxyResponse) Reset()
- func (x *ProxyResponse) String() string
- type ProxyResponse_Conn
- func (*ProxyResponse_Conn) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyResponse_Conn) GetEndpoint() *Endpoint
- func (x *ProxyResponse_Conn) GetNamespace() *Namespace
- func (x *ProxyResponse_Conn) GetRemote() *Remote
- func (*ProxyResponse_Conn) ProtoMessage()
- func (x *ProxyResponse_Conn) ProtoReflect() protoreflect.Message
- func (x *ProxyResponse_Conn) Proto_ShallowClone() (c *ProxyResponse_Conn)
- func (x *ProxyResponse_Conn) Proto_ShallowCopy(v interface{})
- func (x *ProxyResponse_Conn) Reset()
- func (x *ProxyResponse_Conn) String() string
- type ProxyResponse_Conn_
- type ProxyResponse_Content
- type ProxyResponse_Error
- type ProxyResponse_Header
- type ProxyResponse_Trailer
- type Remote
- func (*Remote) Descriptor() ([]byte, []int)deprecated
- func (x *Remote) GetCreateTime() *timestamppb.Timestamp
- func (x *Remote) GetDescription() string
- func (x *Remote) GetDisplayName() string
- func (x *Remote) GetName() string
- func (*Remote) ProtoMessage()
- func (x *Remote) ProtoReflect() protoreflect.Message
- func (x *Remote) Proto_ShallowClone() (c *Remote)
- func (x *Remote) Proto_ShallowCopy(v interface{})
- func (x *Remote) Reset()
- func (x *Remote) String() string
- type SesameClient
- type SesameServer
- type Sesame_ProxyClient
- type Sesame_ProxyServer
- type UnimplementedSesameServer
- func (UnimplementedSesameServer) CreateEndpoint(context.Context, *CreateEndpointRequest) (*Endpoint, error)
- func (UnimplementedSesameServer) CreateRemote(context.Context, *CreateRemoteRequest) (*Remote, error)
- func (UnimplementedSesameServer) DeleteEndpoint(context.Context, *DeleteEndpointRequest) (*emptypb.Empty, error)
- func (UnimplementedSesameServer) DeleteRemote(context.Context, *DeleteRemoteRequest) (*emptypb.Empty, error)
- func (UnimplementedSesameServer) GetEndpoint(context.Context, *GetEndpointRequest) (*Endpoint, error)
- func (UnimplementedSesameServer) GetRemote(context.Context, *GetRemoteRequest) (*Remote, error)
- func (UnimplementedSesameServer) ListEndpoints(context.Context, *ListEndpointsRequest) (*ListEndpointsResponse, error)
- func (UnimplementedSesameServer) ListRemotes(context.Context, *ListRemotesRequest) (*ListRemotesResponse, error)
- func (UnimplementedSesameServer) Proxy(Sesame_ProxyServer) error
- func (UnimplementedSesameServer) UpdateEndpoint(context.Context, *UpdateEndpointRequest) (*Endpoint, error)
- func (UnimplementedSesameServer) UpdateRemote(context.Context, *UpdateRemoteRequest) (*Remote, error)
- type UnsafeSesameServer
- type UpdateEndpointRequest
- func (*UpdateEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEndpointRequest) GetEndpoint() *Endpoint
- func (x *UpdateEndpointRequest) GetName() string
- func (x *UpdateEndpointRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateEndpointRequest) ProtoMessage()
- func (x *UpdateEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEndpointRequest) Proto_ShallowClone() (c *UpdateEndpointRequest)
- func (x *UpdateEndpointRequest) Proto_ShallowCopy(v interface{})
- func (x *UpdateEndpointRequest) Reset()
- func (x *UpdateEndpointRequest) String() string
- type UpdateRemoteRequest
- func (*UpdateRemoteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRemoteRequest) GetName() string
- func (x *UpdateRemoteRequest) GetRemote() *Remote
- func (x *UpdateRemoteRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateRemoteRequest) ProtoMessage()
- func (x *UpdateRemoteRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRemoteRequest) Proto_ShallowClone() (c *UpdateRemoteRequest)
- func (x *UpdateRemoteRequest) Proto_ShallowCopy(v interface{})
- func (x *UpdateRemoteRequest) Reset()
- func (x *UpdateRemoteRequest) String() string
Constants ¶
const ( Sesame_CreateRemote_FullMethodName = "/sesame.v1alpha1.Sesame/CreateRemote" Sesame_GetRemote_FullMethodName = "/sesame.v1alpha1.Sesame/GetRemote" Sesame_DeleteRemote_FullMethodName = "/sesame.v1alpha1.Sesame/DeleteRemote" Sesame_UpdateRemote_FullMethodName = "/sesame.v1alpha1.Sesame/UpdateRemote" Sesame_ListRemotes_FullMethodName = "/sesame.v1alpha1.Sesame/ListRemotes" Sesame_CreateEndpoint_FullMethodName = "/sesame.v1alpha1.Sesame/CreateEndpoint" Sesame_GetEndpoint_FullMethodName = "/sesame.v1alpha1.Sesame/GetEndpoint" Sesame_DeleteEndpoint_FullMethodName = "/sesame.v1alpha1.Sesame/DeleteEndpoint" Sesame_UpdateEndpoint_FullMethodName = "/sesame.v1alpha1.Sesame/UpdateEndpoint" Sesame_ListEndpoints_FullMethodName = "/sesame.v1alpha1.Sesame/ListEndpoints" Sesame_Proxy_FullMethodName = "/sesame.v1alpha1.Sesame/Proxy" )
Variables ¶
var File_sesame_v1alpha1_sesame_proto protoreflect.FileDescriptor
var Sesame_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sesame.v1alpha1.Sesame", HandlerType: (*SesameServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateRemote", Handler: _Sesame_CreateRemote_Handler, }, { MethodName: "GetRemote", Handler: _Sesame_GetRemote_Handler, }, { MethodName: "DeleteRemote", Handler: _Sesame_DeleteRemote_Handler, }, { MethodName: "UpdateRemote", Handler: _Sesame_UpdateRemote_Handler, }, { MethodName: "ListRemotes", Handler: _Sesame_ListRemotes_Handler, }, { MethodName: "CreateEndpoint", Handler: _Sesame_CreateEndpoint_Handler, }, { MethodName: "GetEndpoint", Handler: _Sesame_GetEndpoint_Handler, }, { MethodName: "DeleteEndpoint", Handler: _Sesame_DeleteEndpoint_Handler, }, { MethodName: "UpdateEndpoint", Handler: _Sesame_UpdateEndpoint_Handler, }, { MethodName: "ListEndpoints", Handler: _Sesame_ListEndpoints_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Proxy", Handler: _Sesame_Proxy_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "sesame/v1alpha1/sesame.proto", }
Sesame_ServiceDesc is the grpc.ServiceDesc for Sesame service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSesameHandler ¶
RegisterSesameHandler registers the http handlers for service Sesame to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSesameHandlerClient ¶
func RegisterSesameHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SesameClient) error
RegisterSesameHandlerClient registers the http handlers for service Sesame to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SesameClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SesameClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SesameClient" to call the correct interceptors.
func RegisterSesameHandlerFromEndpoint ¶
func RegisterSesameHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSesameHandlerFromEndpoint is same as RegisterSesameHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSesameHandlerServer ¶
func RegisterSesameHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SesameServer) error
RegisterSesameHandlerServer registers the http handlers for service Sesame to "mux". UnaryRPC :call SesameServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSesameHandlerFromEndpoint instead.
func RegisterSesameServer ¶
func RegisterSesameServer(s grpc.ServiceRegistrar, srv SesameServer)
Types ¶
type CreateEndpointRequest ¶
type CreateEndpointRequest struct { // The name of the parent Remote, note that endpoint.name MUST NOT be set. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // May be specified to request a specific (non-trailing) resource id, note it's a single path segment, w/o any "/". ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` Endpoint *Endpoint `protobuf:"bytes,11,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
func (*CreateEndpointRequest) Descriptor
deprecated
func (*CreateEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEndpointRequest.ProtoReflect.Descriptor instead.
func (*CreateEndpointRequest) GetEndpoint ¶
func (x *CreateEndpointRequest) GetEndpoint() *Endpoint
func (*CreateEndpointRequest) GetParent ¶
func (x *CreateEndpointRequest) GetParent() string
func (*CreateEndpointRequest) GetResourceId ¶
func (x *CreateEndpointRequest) GetResourceId() string
func (*CreateEndpointRequest) ProtoMessage ¶
func (*CreateEndpointRequest) ProtoMessage()
func (*CreateEndpointRequest) ProtoReflect ¶
func (x *CreateEndpointRequest) ProtoReflect() protoreflect.Message
func (*CreateEndpointRequest) Proto_ShallowClone ¶
func (x *CreateEndpointRequest) Proto_ShallowClone() (c *CreateEndpointRequest)
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*CreateEndpointRequest) Proto_ShallowCopy ¶
func (x *CreateEndpointRequest) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
func (*CreateEndpointRequest) Reset ¶
func (x *CreateEndpointRequest) Reset()
func (*CreateEndpointRequest) String ¶
func (x *CreateEndpointRequest) String() string
type CreateRemoteRequest ¶
type CreateRemoteRequest struct { // The name of the parent Namespace, note that remote.name MUST NOT be set. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // May be specified to request a specific (non-trailing) resource id, note it's a single path segment, w/o any "/". ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` Remote *Remote `protobuf:"bytes,11,opt,name=remote,proto3" json:"remote,omitempty"` // contains filtered or unexported fields }
func (*CreateRemoteRequest) Descriptor
deprecated
func (*CreateRemoteRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRemoteRequest.ProtoReflect.Descriptor instead.
func (*CreateRemoteRequest) GetParent ¶
func (x *CreateRemoteRequest) GetParent() string
func (*CreateRemoteRequest) GetRemote ¶
func (x *CreateRemoteRequest) GetRemote() *Remote
func (*CreateRemoteRequest) GetResourceId ¶
func (x *CreateRemoteRequest) GetResourceId() string
func (*CreateRemoteRequest) ProtoMessage ¶
func (*CreateRemoteRequest) ProtoMessage()
func (*CreateRemoteRequest) ProtoReflect ¶
func (x *CreateRemoteRequest) ProtoReflect() protoreflect.Message
func (*CreateRemoteRequest) Proto_ShallowClone ¶
func (x *CreateRemoteRequest) Proto_ShallowClone() (c *CreateRemoteRequest)
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*CreateRemoteRequest) Proto_ShallowCopy ¶
func (x *CreateRemoteRequest) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
func (*CreateRemoteRequest) Reset ¶
func (x *CreateRemoteRequest) Reset()
func (*CreateRemoteRequest) String ¶
func (x *CreateRemoteRequest) String() string
type DeleteEndpointRequest ¶
type DeleteEndpointRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteEndpointRequest) Descriptor
deprecated
func (*DeleteEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEndpointRequest.ProtoReflect.Descriptor instead.
func (*DeleteEndpointRequest) GetName ¶
func (x *DeleteEndpointRequest) GetName() string
func (*DeleteEndpointRequest) ProtoMessage ¶
func (*DeleteEndpointRequest) ProtoMessage()
func (*DeleteEndpointRequest) ProtoReflect ¶
func (x *DeleteEndpointRequest) ProtoReflect() protoreflect.Message
func (*DeleteEndpointRequest) Proto_ShallowClone ¶
func (x *DeleteEndpointRequest) Proto_ShallowClone() (c *DeleteEndpointRequest)
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*DeleteEndpointRequest) Proto_ShallowCopy ¶
func (x *DeleteEndpointRequest) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
func (*DeleteEndpointRequest) Reset ¶
func (x *DeleteEndpointRequest) Reset()
func (*DeleteEndpointRequest) String ¶
func (x *DeleteEndpointRequest) String() string
type DeleteRemoteRequest ¶
type DeleteRemoteRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteRemoteRequest) Descriptor
deprecated
func (*DeleteRemoteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRemoteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRemoteRequest) GetName ¶
func (x *DeleteRemoteRequest) GetName() string
func (*DeleteRemoteRequest) ProtoMessage ¶
func (*DeleteRemoteRequest) ProtoMessage()
func (*DeleteRemoteRequest) ProtoReflect ¶
func (x *DeleteRemoteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRemoteRequest) Proto_ShallowClone ¶
func (x *DeleteRemoteRequest) Proto_ShallowClone() (c *DeleteRemoteRequest)
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*DeleteRemoteRequest) Proto_ShallowCopy ¶
func (x *DeleteRemoteRequest) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
func (*DeleteRemoteRequest) Reset ¶
func (x *DeleteRemoteRequest) Reset()
func (*DeleteRemoteRequest) String ¶
func (x *DeleteRemoteRequest) String() string
type Endpoint ¶
type Endpoint struct { 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"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` Spec *Endpoint_Spec `protobuf:"bytes,11,opt,name=spec,proto3" json:"spec,omitempty"` // contains filtered or unexported fields }
Endpoint is a gRPC service available via a remote.
func (*Endpoint) Descriptor
deprecated
func (*Endpoint) GetCreateTime ¶
func (x *Endpoint) GetCreateTime() *timestamppb.Timestamp
func (*Endpoint) GetDescription ¶
func (*Endpoint) GetDisplayName ¶
func (*Endpoint) GetSpec ¶
func (x *Endpoint) GetSpec() *Endpoint_Spec
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
func (*Endpoint) Proto_ShallowClone ¶
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*Endpoint) Proto_ShallowCopy ¶
func (x *Endpoint) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
type Endpoint_Spec ¶
type Endpoint_Spec struct { // Types that are assignable to Data: // // *Endpoint_Spec_Tunnel Data isEndpoint_Spec_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
Spec models the endpoint specification, containing configuration around access and usage behavior.
func (*Endpoint_Spec) Descriptor
deprecated
func (*Endpoint_Spec) Descriptor() ([]byte, []int)
Deprecated: Use Endpoint_Spec.ProtoReflect.Descriptor instead.
func (*Endpoint_Spec) GetData ¶
func (m *Endpoint_Spec) GetData() isEndpoint_Spec_Data
func (*Endpoint_Spec) GetTunnel ¶
func (x *Endpoint_Spec) GetTunnel() *Endpoint_Tunnel
func (*Endpoint_Spec) ProtoMessage ¶
func (*Endpoint_Spec) ProtoMessage()
func (*Endpoint_Spec) ProtoReflect ¶
func (x *Endpoint_Spec) ProtoReflect() protoreflect.Message
func (*Endpoint_Spec) Proto_ShallowClone ¶
func (x *Endpoint_Spec) Proto_ShallowClone() (c *Endpoint_Spec)
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*Endpoint_Spec) Proto_ShallowCopy ¶
func (x *Endpoint_Spec) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
func (*Endpoint_Spec) Reset ¶
func (x *Endpoint_Spec) Reset()
func (*Endpoint_Spec) String ¶
func (x *Endpoint_Spec) String() string
type Endpoint_Spec_Tunnel ¶
type Endpoint_Spec_Tunnel struct {
Tunnel *Endpoint_Tunnel `protobuf:"bytes,1,opt,name=tunnel,proto3,oneof"`
}
type Endpoint_Tunnel ¶
type Endpoint_Tunnel struct {
// contains filtered or unexported fields
}
Tunnel models an endpoint exposed directly over a tunnel provider.
func (*Endpoint_Tunnel) Descriptor
deprecated
func (*Endpoint_Tunnel) Descriptor() ([]byte, []int)
Deprecated: Use Endpoint_Tunnel.ProtoReflect.Descriptor instead.
func (*Endpoint_Tunnel) ProtoMessage ¶
func (*Endpoint_Tunnel) ProtoMessage()
func (*Endpoint_Tunnel) ProtoReflect ¶
func (x *Endpoint_Tunnel) ProtoReflect() protoreflect.Message
func (*Endpoint_Tunnel) Proto_ShallowClone ¶
func (x *Endpoint_Tunnel) Proto_ShallowClone() (c *Endpoint_Tunnel)
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*Endpoint_Tunnel) Proto_ShallowCopy ¶
func (x *Endpoint_Tunnel) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
func (*Endpoint_Tunnel) Reset ¶
func (x *Endpoint_Tunnel) Reset()
func (*Endpoint_Tunnel) String ¶
func (x *Endpoint_Tunnel) String() string
type GetEndpointRequest ¶
type GetEndpointRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetEndpointRequest) Descriptor
deprecated
func (*GetEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEndpointRequest.ProtoReflect.Descriptor instead.
func (*GetEndpointRequest) GetName ¶
func (x *GetEndpointRequest) GetName() string
func (*GetEndpointRequest) ProtoMessage ¶
func (*GetEndpointRequest) ProtoMessage()
func (*GetEndpointRequest) ProtoReflect ¶
func (x *GetEndpointRequest) ProtoReflect() protoreflect.Message
func (*GetEndpointRequest) Proto_ShallowClone ¶
func (x *GetEndpointRequest) Proto_ShallowClone() (c *GetEndpointRequest)
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*GetEndpointRequest) Proto_ShallowCopy ¶
func (x *GetEndpointRequest) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
func (*GetEndpointRequest) Reset ¶
func (x *GetEndpointRequest) Reset()
func (*GetEndpointRequest) String ¶
func (x *GetEndpointRequest) String() string
type GetRemoteRequest ¶
type GetRemoteRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetRemoteRequest) Descriptor
deprecated
func (*GetRemoteRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRemoteRequest.ProtoReflect.Descriptor instead.
func (*GetRemoteRequest) GetName ¶
func (x *GetRemoteRequest) GetName() string
func (*GetRemoteRequest) ProtoMessage ¶
func (*GetRemoteRequest) ProtoMessage()
func (*GetRemoteRequest) ProtoReflect ¶
func (x *GetRemoteRequest) ProtoReflect() protoreflect.Message
func (*GetRemoteRequest) Proto_ShallowClone ¶
func (x *GetRemoteRequest) Proto_ShallowClone() (c *GetRemoteRequest)
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*GetRemoteRequest) Proto_ShallowCopy ¶
func (x *GetRemoteRequest) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
func (*GetRemoteRequest) Reset ¶
func (x *GetRemoteRequest) Reset()
func (*GetRemoteRequest) String ¶
func (x *GetRemoteRequest) String() string
type ListEndpointsRequest ¶
type ListEndpointsRequest struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListEndpointsRequest) Descriptor
deprecated
func (*ListEndpointsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEndpointsRequest.ProtoReflect.Descriptor instead.
func (*ListEndpointsRequest) GetPageSize ¶
func (x *ListEndpointsRequest) GetPageSize() int32
func (*ListEndpointsRequest) GetPageToken ¶
func (x *ListEndpointsRequest) GetPageToken() string
func (*ListEndpointsRequest) GetParent ¶
func (x *ListEndpointsRequest) GetParent() string
func (*ListEndpointsRequest) ProtoMessage ¶
func (*ListEndpointsRequest) ProtoMessage()
func (*ListEndpointsRequest) ProtoReflect ¶
func (x *ListEndpointsRequest) ProtoReflect() protoreflect.Message
func (*ListEndpointsRequest) Proto_ShallowClone ¶
func (x *ListEndpointsRequest) Proto_ShallowClone() (c *ListEndpointsRequest)
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*ListEndpointsRequest) Proto_ShallowCopy ¶
func (x *ListEndpointsRequest) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
func (*ListEndpointsRequest) Reset ¶
func (x *ListEndpointsRequest) Reset()
func (*ListEndpointsRequest) String ¶
func (x *ListEndpointsRequest) String() string
type ListEndpointsResponse ¶
type ListEndpointsResponse struct { Endpoints []*Endpoint `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListEndpointsResponse) Descriptor
deprecated
func (*ListEndpointsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEndpointsResponse.ProtoReflect.Descriptor instead.
func (*ListEndpointsResponse) GetEndpoints ¶
func (x *ListEndpointsResponse) GetEndpoints() []*Endpoint
func (*ListEndpointsResponse) GetNextPageToken ¶
func (x *ListEndpointsResponse) GetNextPageToken() string
func (*ListEndpointsResponse) ProtoMessage ¶
func (*ListEndpointsResponse) ProtoMessage()
func (*ListEndpointsResponse) ProtoReflect ¶
func (x *ListEndpointsResponse) ProtoReflect() protoreflect.Message
func (*ListEndpointsResponse) Proto_ShallowClone ¶
func (x *ListEndpointsResponse) Proto_ShallowClone() (c *ListEndpointsResponse)
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*ListEndpointsResponse) Proto_ShallowCopy ¶
func (x *ListEndpointsResponse) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
func (*ListEndpointsResponse) Reset ¶
func (x *ListEndpointsResponse) Reset()
func (*ListEndpointsResponse) String ¶
func (x *ListEndpointsResponse) String() string
type ListRemotesRequest ¶
type ListRemotesRequest struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRemotesRequest) Descriptor
deprecated
func (*ListRemotesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRemotesRequest.ProtoReflect.Descriptor instead.
func (*ListRemotesRequest) GetPageSize ¶
func (x *ListRemotesRequest) GetPageSize() int32
func (*ListRemotesRequest) GetPageToken ¶
func (x *ListRemotesRequest) GetPageToken() string
func (*ListRemotesRequest) GetParent ¶
func (x *ListRemotesRequest) GetParent() string
func (*ListRemotesRequest) ProtoMessage ¶
func (*ListRemotesRequest) ProtoMessage()
func (*ListRemotesRequest) ProtoReflect ¶
func (x *ListRemotesRequest) ProtoReflect() protoreflect.Message
func (*ListRemotesRequest) Proto_ShallowClone ¶
func (x *ListRemotesRequest) Proto_ShallowClone() (c *ListRemotesRequest)
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*ListRemotesRequest) Proto_ShallowCopy ¶
func (x *ListRemotesRequest) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
func (*ListRemotesRequest) Reset ¶
func (x *ListRemotesRequest) Reset()
func (*ListRemotesRequest) String ¶
func (x *ListRemotesRequest) String() string
type ListRemotesResponse ¶
type ListRemotesResponse struct { Remotes []*Remote `protobuf:"bytes,1,rep,name=remotes,proto3" json:"remotes,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRemotesResponse) Descriptor
deprecated
func (*ListRemotesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRemotesResponse.ProtoReflect.Descriptor instead.
func (*ListRemotesResponse) GetNextPageToken ¶
func (x *ListRemotesResponse) GetNextPageToken() string
func (*ListRemotesResponse) GetRemotes ¶
func (x *ListRemotesResponse) GetRemotes() []*Remote
func (*ListRemotesResponse) ProtoMessage ¶
func (*ListRemotesResponse) ProtoMessage()
func (*ListRemotesResponse) ProtoReflect ¶
func (x *ListRemotesResponse) ProtoReflect() protoreflect.Message
func (*ListRemotesResponse) Proto_ShallowClone ¶
func (x *ListRemotesResponse) Proto_ShallowClone() (c *ListRemotesResponse)
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*ListRemotesResponse) Proto_ShallowCopy ¶
func (x *ListRemotesResponse) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
func (*ListRemotesResponse) Reset ¶
func (x *ListRemotesResponse) Reset()
func (*ListRemotesResponse) String ¶
func (x *ListRemotesResponse) String() string
type Namespace ¶
type Namespace struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Namespace scopes resources in the Sesame API, and is intended to (eventually) facilitate scoped simple auth.
func (*Namespace) Descriptor
deprecated
func (*Namespace) ProtoMessage ¶
func (*Namespace) ProtoMessage()
func (*Namespace) ProtoReflect ¶
func (x *Namespace) ProtoReflect() protoreflect.Message
func (*Namespace) Proto_ShallowClone ¶
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*Namespace) Proto_ShallowCopy ¶
func (x *Namespace) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
type ProxyRequest ¶
type ProxyRequest struct { // Types that are assignable to Data: // // *ProxyRequest_Dial_ // *ProxyRequest_Header // *ProxyRequest_Content Data isProxyRequest_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*ProxyRequest) Descriptor
deprecated
func (*ProxyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProxyRequest.ProtoReflect.Descriptor instead.
func (*ProxyRequest) GetContent ¶
func (x *ProxyRequest) GetContent() *anypb.Any
func (*ProxyRequest) GetData ¶
func (m *ProxyRequest) GetData() isProxyRequest_Data
func (*ProxyRequest) GetDial ¶
func (x *ProxyRequest) GetDial() *ProxyRequest_Dial
func (*ProxyRequest) GetHeader ¶
func (x *ProxyRequest) GetHeader() *grpcmetadata.GrpcMetadata
func (*ProxyRequest) ProtoMessage ¶
func (*ProxyRequest) ProtoMessage()
func (*ProxyRequest) ProtoReflect ¶
func (x *ProxyRequest) ProtoReflect() protoreflect.Message
func (*ProxyRequest) Proto_ShallowClone ¶
func (x *ProxyRequest) Proto_ShallowClone() (c *ProxyRequest)
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*ProxyRequest) Proto_ShallowCopy ¶
func (x *ProxyRequest) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
func (*ProxyRequest) Reset ¶
func (x *ProxyRequest) Reset()
func (*ProxyRequest) String ¶
func (x *ProxyRequest) String() string
type ProxyRequest_Content ¶
type ProxyRequest_Dial ¶
type ProxyRequest_Dial struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` // conn_mask is an optional field mask for ProxyResponse.conn. ConnMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=conn_mask,json=connMask,proto3" json:"conn_mask,omitempty"` // contains filtered or unexported fields }
Dial models the initial request routing of a method call.
func (*ProxyRequest_Dial) Descriptor
deprecated
func (*ProxyRequest_Dial) Descriptor() ([]byte, []int)
Deprecated: Use ProxyRequest_Dial.ProtoReflect.Descriptor instead.
func (*ProxyRequest_Dial) GetConnMask ¶
func (x *ProxyRequest_Dial) GetConnMask() *fieldmaskpb.FieldMask
func (*ProxyRequest_Dial) GetEndpoint ¶
func (x *ProxyRequest_Dial) GetEndpoint() string
func (*ProxyRequest_Dial) GetMethod ¶
func (x *ProxyRequest_Dial) GetMethod() string
func (*ProxyRequest_Dial) ProtoMessage ¶
func (*ProxyRequest_Dial) ProtoMessage()
func (*ProxyRequest_Dial) ProtoReflect ¶
func (x *ProxyRequest_Dial) ProtoReflect() protoreflect.Message
func (*ProxyRequest_Dial) Proto_ShallowClone ¶
func (x *ProxyRequest_Dial) Proto_ShallowClone() (c *ProxyRequest_Dial)
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*ProxyRequest_Dial) Proto_ShallowCopy ¶
func (x *ProxyRequest_Dial) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
func (*ProxyRequest_Dial) Reset ¶
func (x *ProxyRequest_Dial) Reset()
func (*ProxyRequest_Dial) String ¶
func (x *ProxyRequest_Dial) String() string
type ProxyRequest_Dial_ ¶
type ProxyRequest_Dial_ struct {
Dial *ProxyRequest_Dial `protobuf:"bytes,1,opt,name=dial,proto3,oneof"`
}
type ProxyRequest_Header ¶
type ProxyRequest_Header struct {
Header *grpcmetadata.GrpcMetadata `protobuf:"bytes,2,opt,name=header,proto3,oneof"`
}
type ProxyResponse ¶
type ProxyResponse struct { // Types that are assignable to Data: // // *ProxyResponse_Conn_ // *ProxyResponse_Error // *ProxyResponse_Header // *ProxyResponse_Content // *ProxyResponse_Trailer Data isProxyResponse_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*ProxyResponse) Descriptor
deprecated
func (*ProxyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProxyResponse.ProtoReflect.Descriptor instead.
func (*ProxyResponse) GetConn ¶
func (x *ProxyResponse) GetConn() *ProxyResponse_Conn
func (*ProxyResponse) GetContent ¶
func (x *ProxyResponse) GetContent() *anypb.Any
func (*ProxyResponse) GetData ¶
func (m *ProxyResponse) GetData() isProxyResponse_Data
func (*ProxyResponse) GetError ¶
func (x *ProxyResponse) GetError() *status.Status
func (*ProxyResponse) GetHeader ¶
func (x *ProxyResponse) GetHeader() *grpcmetadata.GrpcMetadata
func (*ProxyResponse) GetTrailer ¶
func (x *ProxyResponse) GetTrailer() *grpcmetadata.GrpcMetadata
func (*ProxyResponse) ProtoMessage ¶
func (*ProxyResponse) ProtoMessage()
func (*ProxyResponse) ProtoReflect ¶
func (x *ProxyResponse) ProtoReflect() protoreflect.Message
func (*ProxyResponse) Proto_ShallowClone ¶
func (x *ProxyResponse) Proto_ShallowClone() (c *ProxyResponse)
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*ProxyResponse) Proto_ShallowCopy ¶
func (x *ProxyResponse) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
func (*ProxyResponse) Reset ¶
func (x *ProxyResponse) Reset()
func (*ProxyResponse) String ¶
func (x *ProxyResponse) String() string
type ProxyResponse_Conn ¶
type ProxyResponse_Conn struct { Namespace *Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Remote *Remote `protobuf:"bytes,2,opt,name=remote,proto3" json:"remote,omitempty"` Endpoint *Endpoint `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
Conn is the response to ProxyRequest.dial.
func (*ProxyResponse_Conn) Descriptor
deprecated
func (*ProxyResponse_Conn) Descriptor() ([]byte, []int)
Deprecated: Use ProxyResponse_Conn.ProtoReflect.Descriptor instead.
func (*ProxyResponse_Conn) GetEndpoint ¶
func (x *ProxyResponse_Conn) GetEndpoint() *Endpoint
func (*ProxyResponse_Conn) GetNamespace ¶
func (x *ProxyResponse_Conn) GetNamespace() *Namespace
func (*ProxyResponse_Conn) GetRemote ¶
func (x *ProxyResponse_Conn) GetRemote() *Remote
func (*ProxyResponse_Conn) ProtoMessage ¶
func (*ProxyResponse_Conn) ProtoMessage()
func (*ProxyResponse_Conn) ProtoReflect ¶
func (x *ProxyResponse_Conn) ProtoReflect() protoreflect.Message
func (*ProxyResponse_Conn) Proto_ShallowClone ¶
func (x *ProxyResponse_Conn) Proto_ShallowClone() (c *ProxyResponse_Conn)
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*ProxyResponse_Conn) Proto_ShallowCopy ¶
func (x *ProxyResponse_Conn) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
func (*ProxyResponse_Conn) Reset ¶
func (x *ProxyResponse_Conn) Reset()
func (*ProxyResponse_Conn) String ¶
func (x *ProxyResponse_Conn) String() string
type ProxyResponse_Conn_ ¶
type ProxyResponse_Conn_ struct {
Conn *ProxyResponse_Conn `protobuf:"bytes,1,opt,name=conn,proto3,oneof"`
}
type ProxyResponse_Content ¶
type ProxyResponse_Error ¶
type ProxyResponse_Header ¶
type ProxyResponse_Header struct {
Header *grpcmetadata.GrpcMetadata `protobuf:"bytes,3,opt,name=header,proto3,oneof"`
}
type ProxyResponse_Trailer ¶
type ProxyResponse_Trailer struct {
Trailer *grpcmetadata.GrpcMetadata `protobuf:"bytes,5,opt,name=trailer,proto3,oneof"`
}
type Remote ¶
type Remote struct { 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"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // contains filtered or unexported fields }
Remote is a network device or other resource that may be accessed by Sesame clients.
func (*Remote) Descriptor
deprecated
func (*Remote) GetCreateTime ¶
func (x *Remote) GetCreateTime() *timestamppb.Timestamp
func (*Remote) GetDescription ¶
func (*Remote) GetDisplayName ¶
func (*Remote) ProtoMessage ¶
func (*Remote) ProtoMessage()
func (*Remote) ProtoReflect ¶
func (x *Remote) ProtoReflect() protoreflect.Message
func (*Remote) Proto_ShallowClone ¶
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*Remote) Proto_ShallowCopy ¶
func (x *Remote) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
type SesameClient ¶
type SesameClient interface { CreateRemote(ctx context.Context, in *CreateRemoteRequest, opts ...grpc.CallOption) (*Remote, error) GetRemote(ctx context.Context, in *GetRemoteRequest, opts ...grpc.CallOption) (*Remote, error) DeleteRemote(ctx context.Context, in *DeleteRemoteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) UpdateRemote(ctx context.Context, in *UpdateRemoteRequest, opts ...grpc.CallOption) (*Remote, error) ListRemotes(ctx context.Context, in *ListRemotesRequest, opts ...grpc.CallOption) (*ListRemotesResponse, error) CreateEndpoint(ctx context.Context, in *CreateEndpointRequest, opts ...grpc.CallOption) (*Endpoint, error) GetEndpoint(ctx context.Context, in *GetEndpointRequest, opts ...grpc.CallOption) (*Endpoint, error) DeleteEndpoint(ctx context.Context, in *DeleteEndpointRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) UpdateEndpoint(ctx context.Context, in *UpdateEndpointRequest, opts ...grpc.CallOption) (*Endpoint, error) ListEndpoints(ctx context.Context, in *ListEndpointsRequest, opts ...grpc.CallOption) (*ListEndpointsResponse, error) Proxy(ctx context.Context, opts ...grpc.CallOption) (Sesame_ProxyClient, error) }
SesameClient is the client API for Sesame service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSesameClient ¶
func NewSesameClient(cc grpc.ClientConnInterface) SesameClient
type SesameServer ¶
type SesameServer interface { CreateRemote(context.Context, *CreateRemoteRequest) (*Remote, error) GetRemote(context.Context, *GetRemoteRequest) (*Remote, error) DeleteRemote(context.Context, *DeleteRemoteRequest) (*emptypb.Empty, error) UpdateRemote(context.Context, *UpdateRemoteRequest) (*Remote, error) ListRemotes(context.Context, *ListRemotesRequest) (*ListRemotesResponse, error) CreateEndpoint(context.Context, *CreateEndpointRequest) (*Endpoint, error) GetEndpoint(context.Context, *GetEndpointRequest) (*Endpoint, error) DeleteEndpoint(context.Context, *DeleteEndpointRequest) (*emptypb.Empty, error) UpdateEndpoint(context.Context, *UpdateEndpointRequest) (*Endpoint, error) ListEndpoints(context.Context, *ListEndpointsRequest) (*ListEndpointsResponse, error) Proxy(Sesame_ProxyServer) error // contains filtered or unexported methods }
SesameServer is the server API for Sesame service. All implementations must embed UnimplementedSesameServer for forward compatibility
type Sesame_ProxyClient ¶
type Sesame_ProxyClient interface { Send(*ProxyRequest) error Recv() (*ProxyResponse, error) grpc.ClientStream }
type Sesame_ProxyServer ¶
type Sesame_ProxyServer interface { Send(*ProxyResponse) error Recv() (*ProxyRequest, error) grpc.ServerStream }
type UnimplementedSesameServer ¶
type UnimplementedSesameServer struct { }
UnimplementedSesameServer must be embedded to have forward compatible implementations.
func (UnimplementedSesameServer) CreateEndpoint ¶
func (UnimplementedSesameServer) CreateEndpoint(context.Context, *CreateEndpointRequest) (*Endpoint, error)
func (UnimplementedSesameServer) CreateRemote ¶
func (UnimplementedSesameServer) CreateRemote(context.Context, *CreateRemoteRequest) (*Remote, error)
func (UnimplementedSesameServer) DeleteEndpoint ¶
func (UnimplementedSesameServer) DeleteEndpoint(context.Context, *DeleteEndpointRequest) (*emptypb.Empty, error)
func (UnimplementedSesameServer) DeleteRemote ¶
func (UnimplementedSesameServer) DeleteRemote(context.Context, *DeleteRemoteRequest) (*emptypb.Empty, error)
func (UnimplementedSesameServer) GetEndpoint ¶
func (UnimplementedSesameServer) GetEndpoint(context.Context, *GetEndpointRequest) (*Endpoint, error)
func (UnimplementedSesameServer) GetRemote ¶
func (UnimplementedSesameServer) GetRemote(context.Context, *GetRemoteRequest) (*Remote, error)
func (UnimplementedSesameServer) ListEndpoints ¶
func (UnimplementedSesameServer) ListEndpoints(context.Context, *ListEndpointsRequest) (*ListEndpointsResponse, error)
func (UnimplementedSesameServer) ListRemotes ¶
func (UnimplementedSesameServer) ListRemotes(context.Context, *ListRemotesRequest) (*ListRemotesResponse, error)
func (UnimplementedSesameServer) Proxy ¶
func (UnimplementedSesameServer) Proxy(Sesame_ProxyServer) error
func (UnimplementedSesameServer) UpdateEndpoint ¶
func (UnimplementedSesameServer) UpdateEndpoint(context.Context, *UpdateEndpointRequest) (*Endpoint, error)
func (UnimplementedSesameServer) UpdateRemote ¶
func (UnimplementedSesameServer) UpdateRemote(context.Context, *UpdateRemoteRequest) (*Remote, error)
type UnsafeSesameServer ¶
type UnsafeSesameServer interface {
// contains filtered or unexported methods
}
UnsafeSesameServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SesameServer will result in compilation errors.
type UpdateEndpointRequest ¶
type UpdateEndpointRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` Endpoint *Endpoint `protobuf:"bytes,11,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
func (*UpdateEndpointRequest) Descriptor
deprecated
func (*UpdateEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEndpointRequest.ProtoReflect.Descriptor instead.
func (*UpdateEndpointRequest) GetEndpoint ¶
func (x *UpdateEndpointRequest) GetEndpoint() *Endpoint
func (*UpdateEndpointRequest) GetName ¶
func (x *UpdateEndpointRequest) GetName() string
func (*UpdateEndpointRequest) GetUpdateMask ¶
func (x *UpdateEndpointRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateEndpointRequest) ProtoMessage ¶
func (*UpdateEndpointRequest) ProtoMessage()
func (*UpdateEndpointRequest) ProtoReflect ¶
func (x *UpdateEndpointRequest) ProtoReflect() protoreflect.Message
func (*UpdateEndpointRequest) Proto_ShallowClone ¶
func (x *UpdateEndpointRequest) Proto_ShallowClone() (c *UpdateEndpointRequest)
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*UpdateEndpointRequest) Proto_ShallowCopy ¶
func (x *UpdateEndpointRequest) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
func (*UpdateEndpointRequest) Reset ¶
func (x *UpdateEndpointRequest) Reset()
func (*UpdateEndpointRequest) String ¶
func (x *UpdateEndpointRequest) String() string
type UpdateRemoteRequest ¶
type UpdateRemoteRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` Remote *Remote `protobuf:"bytes,11,opt,name=remote,proto3" json:"remote,omitempty"` // contains filtered or unexported fields }
func (*UpdateRemoteRequest) Descriptor
deprecated
func (*UpdateRemoteRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRemoteRequest.ProtoReflect.Descriptor instead.
func (*UpdateRemoteRequest) GetName ¶
func (x *UpdateRemoteRequest) GetName() string
func (*UpdateRemoteRequest) GetRemote ¶
func (x *UpdateRemoteRequest) GetRemote() *Remote
func (*UpdateRemoteRequest) GetUpdateMask ¶
func (x *UpdateRemoteRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateRemoteRequest) ProtoMessage ¶
func (*UpdateRemoteRequest) ProtoMessage()
func (*UpdateRemoteRequest) ProtoReflect ¶
func (x *UpdateRemoteRequest) ProtoReflect() protoreflect.Message
func (*UpdateRemoteRequest) Proto_ShallowClone ¶
func (x *UpdateRemoteRequest) Proto_ShallowClone() (c *UpdateRemoteRequest)
Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (*UpdateRemoteRequest) Proto_ShallowCopy ¶
func (x *UpdateRemoteRequest) Proto_ShallowCopy(v interface{})
Proto_ShallowCopy copies fields, from v to the receiver, using field getters. Note that v is of an arbitrary type, which may implement any number of the field getters, which are defined as any methods of the same signature as those generated for the receiver type, with a name starting with Get. WARNING: Optional fields may be ignored, if v is not the receiver type.
func (*UpdateRemoteRequest) Reset ¶
func (x *UpdateRemoteRequest) Reset()
func (*UpdateRemoteRequest) String ¶
func (x *UpdateRemoteRequest) String() string