stencilv1grpc

package
v1.2.0-20230223111429-... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StencilService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "odpf.stencil.v1.StencilService",
	HandlerType: (*StencilServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UploadDescriptor",
			Handler:    _StencilService_UploadDescriptor_Handler,
		},
		{
			MethodName: "DownloadDescriptor",
			Handler:    _StencilService_DownloadDescriptor_Handler,
		},
		{
			MethodName: "ListSnapshots",
			Handler:    _StencilService_ListSnapshots_Handler,
		},
		{
			MethodName: "PromoteSnapshot",
			Handler:    _StencilService_PromoteSnapshot_Handler,
		},
		{
			MethodName: "Search",
			Handler:    _StencilService_Search_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "odpf/stencil/v1/stencil.proto",
}

StencilService_ServiceDesc is the grpc.ServiceDesc for StencilService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterStencilServiceServer

func RegisterStencilServiceServer(s grpc.ServiceRegistrar, srv StencilServiceServer)

Types

type StencilServiceClient

type StencilServiceClient interface {
	UploadDescriptor(ctx context.Context, in *v1.UploadDescriptorRequest, opts ...grpc.CallOption) (*v1.UploadDescriptorResponse, error)
	DownloadDescriptor(ctx context.Context, in *v1.DownloadDescriptorRequest, opts ...grpc.CallOption) (*v1.DownloadDescriptorResponse, error)
	ListSnapshots(ctx context.Context, in *v1.ListSnapshotsRequest, opts ...grpc.CallOption) (*v1.ListSnapshotsResponse, error)
	PromoteSnapshot(ctx context.Context, in *v1.PromoteSnapshotRequest, opts ...grpc.CallOption) (*v1.PromoteSnapshotResponse, error)
	Search(ctx context.Context, in *v1.SearchRequest, opts ...grpc.CallOption) (*v1.SearchResponse, error)
}

StencilServiceClient is the client API for StencilService 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 NewStencilServiceClient

func NewStencilServiceClient(cc grpc.ClientConnInterface) StencilServiceClient

type StencilServiceServer

StencilServiceServer is the server API for StencilService service. All implementations should embed UnimplementedStencilServiceServer for forward compatibility

type UnimplementedStencilServiceServer

type UnimplementedStencilServiceServer struct {
}

UnimplementedStencilServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedStencilServiceServer) DownloadDescriptor

func (UnimplementedStencilServiceServer) ListSnapshots

func (UnimplementedStencilServiceServer) PromoteSnapshot

func (UnimplementedStencilServiceServer) Search

func (UnimplementedStencilServiceServer) UploadDescriptor

type UnsafeStencilServiceServer

type UnsafeStencilServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeStencilServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StencilServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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