Documentation ¶
Index ¶
- Variables
- func RegisterDPAuthServiceServer(s grpc.ServiceRegistrar, srv DPAuthServiceServer)
- type DPAuthServiceClient
- type DPAuthServiceServer
- 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: "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 {
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 { 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 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) 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.