Documentation ¶
Index ¶
- Variables
- func RegisterDPAuthServiceServer(s grpc.ServiceRegistrar, srv DPAuthServiceServer)
- type DPAuthServiceClient
- type DPAuthServiceServer
- type ErrorResponse
- type GetConnectionTokenRequest
- type GetConnectionTokenResponse
- func (*GetConnectionTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConnectionTokenResponse) GetErrorResponse() *ErrorResponse
- func (m *GetConnectionTokenResponse) GetResponse() isGetConnectionTokenResponse_Response
- func (x *GetConnectionTokenResponse) GetSuccessResponse() *GetConnectionTokenSuccessResponse
- func (*GetConnectionTokenResponse) ProtoMessage()
- func (x *GetConnectionTokenResponse) ProtoReflect() protoreflect.Message
- func (x *GetConnectionTokenResponse) Reset()
- func (x *GetConnectionTokenResponse) String() string
- type GetConnectionTokenResponse_ErrorResponse
- type GetConnectionTokenResponse_SuccessResponse
- type GetConnectionTokenSuccessResponse
- func (*GetConnectionTokenSuccessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConnectionTokenSuccessResponse) GetConnectionToken() string
- func (x *GetConnectionTokenSuccessResponse) GetInstanceID() string
- func (x *GetConnectionTokenSuccessResponse) GetService() string
- func (x *GetConnectionTokenSuccessResponse) GetTokenType() string
- func (*GetConnectionTokenSuccessResponse) ProtoMessage()
- func (x *GetConnectionTokenSuccessResponse) ProtoReflect() protoreflect.Message
- func (x *GetConnectionTokenSuccessResponse) Reset()
- func (x *GetConnectionTokenSuccessResponse) String() string
- type GetWorkspaceTokenRequest
- type GetWorkspaceTokenResponse
- func (*GetWorkspaceTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetWorkspaceTokenResponse) GetInstanceID() string
- func (x *GetWorkspaceTokenResponse) GetService() string
- func (x *GetWorkspaceTokenResponse) GetWorkspaceToken() string
- func (*GetWorkspaceTokenResponse) ProtoMessage()
- func (x *GetWorkspaceTokenResponse) ProtoReflect() protoreflect.Message
- func (x *GetWorkspaceTokenResponse) Reset()
- func (x *GetWorkspaceTokenResponse) String() string
- type UnimplementedDPAuthServiceServer
- type UnsafeDPAuthServiceServer
Constants ¶
This section is empty.
Variables ¶
var DPAuthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.DPAuthService", HandlerType: (*DPAuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetConnectionToken", Handler: _DPAuthService_GetConnectionToken_Handler, }, { MethodName: "GetWorkspaceToken", Handler: _DPAuthService_GetWorkspaceToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/common/dpauth.proto", }
DPAuthService_ServiceDesc is the grpc.ServiceDesc for DPAuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_common_dpauth_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDPAuthServiceServer ¶
func RegisterDPAuthServiceServer(s grpc.ServiceRegistrar, srv DPAuthServiceServer)
Types ¶
type DPAuthServiceClient ¶
type DPAuthServiceClient interface { GetConnectionToken(ctx context.Context, in *GetConnectionTokenRequest, opts ...grpc.CallOption) (*GetConnectionTokenResponse, error) GetWorkspaceToken(ctx context.Context, in *GetWorkspaceTokenRequest, opts ...grpc.CallOption) (*GetWorkspaceTokenResponse, error) }
DPAuthServiceClient is the client API for DPAuthService 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 NewDPAuthServiceClient ¶
func NewDPAuthServiceClient(cc grpc.ClientConnInterface) DPAuthServiceClient
type DPAuthServiceServer ¶
type DPAuthServiceServer interface { GetConnectionToken(context.Context, *GetConnectionTokenRequest) (*GetConnectionTokenResponse, error) GetWorkspaceToken(context.Context, *GetWorkspaceTokenRequest) (*GetWorkspaceTokenResponse, error) // contains filtered or unexported methods }
DPAuthServiceServer is the server API for DPAuthService service. All implementations must embed UnimplementedDPAuthServiceServer for forward compatibility
type ErrorResponse ¶ added in v1.1.0
type ErrorResponse struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ErrorResponse) Descriptor
deprecated
added in
v1.1.0
func (*ErrorResponse) Descriptor() ([]byte, []int)
Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.
func (*ErrorResponse) GetError ¶ added in v1.1.0
func (x *ErrorResponse) GetError() string
func (*ErrorResponse) ProtoMessage ¶ added in v1.1.0
func (*ErrorResponse) ProtoMessage()
func (*ErrorResponse) ProtoReflect ¶ added in v1.1.0
func (x *ErrorResponse) ProtoReflect() protoreflect.Message
func (*ErrorResponse) Reset ¶ added in v1.1.0
func (x *ErrorResponse) Reset()
func (*ErrorResponse) String ¶ added in v1.1.0
func (x *ErrorResponse) String() string
type GetConnectionTokenRequest ¶ added in v1.1.0
type GetConnectionTokenRequest struct {
// contains filtered or unexported fields
}
func (*GetConnectionTokenRequest) Descriptor
deprecated
added in
v1.1.0
func (*GetConnectionTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConnectionTokenRequest.ProtoReflect.Descriptor instead.
func (*GetConnectionTokenRequest) ProtoMessage ¶ added in v1.1.0
func (*GetConnectionTokenRequest) ProtoMessage()
func (*GetConnectionTokenRequest) ProtoReflect ¶ added in v1.1.0
func (x *GetConnectionTokenRequest) ProtoReflect() protoreflect.Message
func (*GetConnectionTokenRequest) Reset ¶ added in v1.1.0
func (x *GetConnectionTokenRequest) Reset()
func (*GetConnectionTokenRequest) String ¶ added in v1.1.0
func (x *GetConnectionTokenRequest) String() string
type GetConnectionTokenResponse ¶ added in v1.1.0
type GetConnectionTokenResponse struct { // Types that are assignable to Response: // // *GetConnectionTokenResponse_SuccessResponse // *GetConnectionTokenResponse_ErrorResponse Response isGetConnectionTokenResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*GetConnectionTokenResponse) Descriptor
deprecated
added in
v1.1.0
func (*GetConnectionTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConnectionTokenResponse.ProtoReflect.Descriptor instead.
func (*GetConnectionTokenResponse) GetErrorResponse ¶ added in v1.1.0
func (x *GetConnectionTokenResponse) GetErrorResponse() *ErrorResponse
func (*GetConnectionTokenResponse) GetResponse ¶ added in v1.1.0
func (m *GetConnectionTokenResponse) GetResponse() isGetConnectionTokenResponse_Response
func (*GetConnectionTokenResponse) GetSuccessResponse ¶ added in v1.1.0
func (x *GetConnectionTokenResponse) GetSuccessResponse() *GetConnectionTokenSuccessResponse
func (*GetConnectionTokenResponse) ProtoMessage ¶ added in v1.1.0
func (*GetConnectionTokenResponse) ProtoMessage()
func (*GetConnectionTokenResponse) ProtoReflect ¶ added in v1.1.0
func (x *GetConnectionTokenResponse) ProtoReflect() protoreflect.Message
func (*GetConnectionTokenResponse) Reset ¶ added in v1.1.0
func (x *GetConnectionTokenResponse) Reset()
func (*GetConnectionTokenResponse) String ¶ added in v1.1.0
func (x *GetConnectionTokenResponse) String() string
type GetConnectionTokenResponse_ErrorResponse ¶ added in v1.1.0
type GetConnectionTokenResponse_ErrorResponse struct {
ErrorResponse *ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,proto3,oneof"`
}
type GetConnectionTokenResponse_SuccessResponse ¶ added in v1.1.0
type GetConnectionTokenResponse_SuccessResponse struct {
SuccessResponse *GetConnectionTokenSuccessResponse `protobuf:"bytes,1,opt,name=success_response,json=successResponse,proto3,oneof"`
}
type GetConnectionTokenSuccessResponse ¶ added in v1.1.0
type GetConnectionTokenSuccessResponse struct { ConnectionToken string `protobuf:"bytes,1,opt,name=connectionToken,proto3" json:"connectionToken,omitempty"` Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` InstanceID string `protobuf:"bytes,3,opt,name=instanceID,proto3" json:"instanceID,omitempty"` TokenType string `protobuf:"bytes,4,opt,name=tokenType,proto3" json:"tokenType,omitempty"` // contains filtered or unexported fields }
func (*GetConnectionTokenSuccessResponse) Descriptor
deprecated
added in
v1.1.0
func (*GetConnectionTokenSuccessResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConnectionTokenSuccessResponse.ProtoReflect.Descriptor instead.
func (*GetConnectionTokenSuccessResponse) GetConnectionToken ¶ added in v1.1.0
func (x *GetConnectionTokenSuccessResponse) GetConnectionToken() string
func (*GetConnectionTokenSuccessResponse) GetInstanceID ¶ added in v1.1.0
func (x *GetConnectionTokenSuccessResponse) GetInstanceID() string
func (*GetConnectionTokenSuccessResponse) GetService ¶ added in v1.1.0
func (x *GetConnectionTokenSuccessResponse) GetService() string
func (*GetConnectionTokenSuccessResponse) GetTokenType ¶ added in v1.1.0
func (x *GetConnectionTokenSuccessResponse) GetTokenType() string
func (*GetConnectionTokenSuccessResponse) ProtoMessage ¶ added in v1.1.0
func (*GetConnectionTokenSuccessResponse) ProtoMessage()
func (*GetConnectionTokenSuccessResponse) ProtoReflect ¶ added in v1.1.0
func (x *GetConnectionTokenSuccessResponse) ProtoReflect() protoreflect.Message
func (*GetConnectionTokenSuccessResponse) Reset ¶ added in v1.1.0
func (x *GetConnectionTokenSuccessResponse) Reset()
func (*GetConnectionTokenSuccessResponse) String ¶ added in v1.1.0
func (x *GetConnectionTokenSuccessResponse) String() string
type GetWorkspaceTokenRequest ¶
type GetWorkspaceTokenRequest struct {
// contains filtered or unexported fields
}
func (*GetWorkspaceTokenRequest) Descriptor
deprecated
func (*GetWorkspaceTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWorkspaceTokenRequest.ProtoReflect.Descriptor instead.
func (*GetWorkspaceTokenRequest) ProtoMessage ¶
func (*GetWorkspaceTokenRequest) ProtoMessage()
func (*GetWorkspaceTokenRequest) ProtoReflect ¶
func (x *GetWorkspaceTokenRequest) ProtoReflect() protoreflect.Message
func (*GetWorkspaceTokenRequest) Reset ¶
func (x *GetWorkspaceTokenRequest) Reset()
func (*GetWorkspaceTokenRequest) String ¶
func (x *GetWorkspaceTokenRequest) String() string
type GetWorkspaceTokenResponse ¶
type GetWorkspaceTokenResponse struct { WorkspaceToken string `protobuf:"bytes,1,opt,name=workspaceToken,proto3" json:"workspaceToken,omitempty"` Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` InstanceID string `protobuf:"bytes,3,opt,name=instanceID,proto3" json:"instanceID,omitempty"` // contains filtered or unexported fields }
func (*GetWorkspaceTokenResponse) Descriptor
deprecated
func (*GetWorkspaceTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetWorkspaceTokenResponse.ProtoReflect.Descriptor instead.
func (*GetWorkspaceTokenResponse) GetInstanceID ¶
func (x *GetWorkspaceTokenResponse) GetInstanceID() string
func (*GetWorkspaceTokenResponse) GetService ¶
func (x *GetWorkspaceTokenResponse) GetService() string
func (*GetWorkspaceTokenResponse) GetWorkspaceToken ¶
func (x *GetWorkspaceTokenResponse) GetWorkspaceToken() string
func (*GetWorkspaceTokenResponse) ProtoMessage ¶
func (*GetWorkspaceTokenResponse) ProtoMessage()
func (*GetWorkspaceTokenResponse) ProtoReflect ¶
func (x *GetWorkspaceTokenResponse) ProtoReflect() protoreflect.Message
func (*GetWorkspaceTokenResponse) Reset ¶
func (x *GetWorkspaceTokenResponse) Reset()
func (*GetWorkspaceTokenResponse) String ¶
func (x *GetWorkspaceTokenResponse) String() string
type UnimplementedDPAuthServiceServer ¶
type UnimplementedDPAuthServiceServer struct { }
UnimplementedDPAuthServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDPAuthServiceServer) GetConnectionToken ¶ added in v1.1.0
func (UnimplementedDPAuthServiceServer) GetConnectionToken(context.Context, *GetConnectionTokenRequest) (*GetConnectionTokenResponse, error)
func (UnimplementedDPAuthServiceServer) GetWorkspaceToken ¶
func (UnimplementedDPAuthServiceServer) GetWorkspaceToken(context.Context, *GetWorkspaceTokenRequest) (*GetWorkspaceTokenResponse, error)
type UnsafeDPAuthServiceServer ¶
type UnsafeDPAuthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDPAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DPAuthServiceServer will result in compilation errors.