Documentation ¶
Index ¶
- Variables
- func RegisterStencilServiceServer(s grpc.ServiceRegistrar, srv StencilServiceServer)
- type StencilServiceClient
- type StencilServiceServer
- type UnimplementedStencilServiceServer
- func (UnimplementedStencilServiceServer) DownloadDescriptor(context.Context, *v1.DownloadDescriptorRequest) (*v1.DownloadDescriptorResponse, error)
- func (UnimplementedStencilServiceServer) ListSnapshots(context.Context, *v1.ListSnapshotsRequest) (*v1.ListSnapshotsResponse, error)
- func (UnimplementedStencilServiceServer) PromoteSnapshot(context.Context, *v1.PromoteSnapshotRequest) (*v1.PromoteSnapshotResponse, error)
- func (UnimplementedStencilServiceServer) Search(context.Context, *v1.SearchRequest) (*v1.SearchResponse, error)
- func (UnimplementedStencilServiceServer) UploadDescriptor(context.Context, *v1.UploadDescriptorRequest) (*v1.UploadDescriptorResponse, error)
- type UnsafeStencilServiceServer
Constants ¶
This section is empty.
Variables ¶
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 ¶
type StencilServiceServer interface { UploadDescriptor(context.Context, *v1.UploadDescriptorRequest) (*v1.UploadDescriptorResponse, error) DownloadDescriptor(context.Context, *v1.DownloadDescriptorRequest) (*v1.DownloadDescriptorResponse, error) ListSnapshots(context.Context, *v1.ListSnapshotsRequest) (*v1.ListSnapshotsResponse, error) PromoteSnapshot(context.Context, *v1.PromoteSnapshotRequest) (*v1.PromoteSnapshotResponse, error) Search(context.Context, *v1.SearchRequest) (*v1.SearchResponse, error) }
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) DownloadDescriptor(context.Context, *v1.DownloadDescriptorRequest) (*v1.DownloadDescriptorResponse, error)
func (UnimplementedStencilServiceServer) ListSnapshots ¶
func (UnimplementedStencilServiceServer) ListSnapshots(context.Context, *v1.ListSnapshotsRequest) (*v1.ListSnapshotsResponse, error)
func (UnimplementedStencilServiceServer) PromoteSnapshot ¶
func (UnimplementedStencilServiceServer) PromoteSnapshot(context.Context, *v1.PromoteSnapshotRequest) (*v1.PromoteSnapshotResponse, error)
func (UnimplementedStencilServiceServer) Search ¶
func (UnimplementedStencilServiceServer) Search(context.Context, *v1.SearchRequest) (*v1.SearchResponse, error)
func (UnimplementedStencilServiceServer) UploadDescriptor ¶
func (UnimplementedStencilServiceServer) UploadDescriptor(context.Context, *v1.UploadDescriptorRequest) (*v1.UploadDescriptorResponse, error)
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.