proto

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: AGPL-3.0 Imports: 8 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: "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)

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 {
	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.

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 (*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 (*GetConnectionTokenResponse) ProtoMessage added in v1.1.0

func (*GetConnectionTokenResponse) ProtoMessage()

func (*GetConnectionTokenResponse) ProtoReflect added in v1.1.0

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"`
	Labels          map[string]string `` /* 153-byte string literal not displayed */
	// 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) GetLabels added in v1.4.0

func (x *GetConnectionTokenSuccessResponse) GetLabels() map[string]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 (*GetConnectionTokenSuccessResponse) Reset added in v1.1.0

func (*GetConnectionTokenSuccessResponse) String added in v1.1.0

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) GetConnectionToken added in v1.1.0

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