proto

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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)

View Source
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.

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 (*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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL