stencilv1beta1grpc

package
v1.2.0-20230223111504-... 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.v1beta1.StencilService",
	HandlerType: (*StencilServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListNamespaces",
			Handler:    _StencilService_ListNamespaces_Handler,
		},
		{
			MethodName: "GetNamespace",
			Handler:    _StencilService_GetNamespace_Handler,
		},
		{
			MethodName: "CreateNamespace",
			Handler:    _StencilService_CreateNamespace_Handler,
		},
		{
			MethodName: "UpdateNamespace",
			Handler:    _StencilService_UpdateNamespace_Handler,
		},
		{
			MethodName: "DeleteNamespace",
			Handler:    _StencilService_DeleteNamespace_Handler,
		},
		{
			MethodName: "ListSchemas",
			Handler:    _StencilService_ListSchemas_Handler,
		},
		{
			MethodName: "CreateSchema",
			Handler:    _StencilService_CreateSchema_Handler,
		},
		{
			MethodName: "GetSchemaMetadata",
			Handler:    _StencilService_GetSchemaMetadata_Handler,
		},
		{
			MethodName: "UpdateSchemaMetadata",
			Handler:    _StencilService_UpdateSchemaMetadata_Handler,
		},
		{
			MethodName: "GetLatestSchema",
			Handler:    _StencilService_GetLatestSchema_Handler,
		},
		{
			MethodName: "DeleteSchema",
			Handler:    _StencilService_DeleteSchema_Handler,
		},
		{
			MethodName: "GetSchema",
			Handler:    _StencilService_GetSchema_Handler,
		},
		{
			MethodName: "ListVersions",
			Handler:    _StencilService_ListVersions_Handler,
		},
		{
			MethodName: "DeleteVersion",
			Handler:    _StencilService_DeleteVersion_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "odpf/stencil/v1beta1/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 {
	ListNamespaces(ctx context.Context, in *v1beta1.ListNamespacesRequest, opts ...grpc.CallOption) (*v1beta1.ListNamespacesResponse, error)
	GetNamespace(ctx context.Context, in *v1beta1.GetNamespaceRequest, opts ...grpc.CallOption) (*v1beta1.GetNamespaceResponse, error)
	CreateNamespace(ctx context.Context, in *v1beta1.CreateNamespaceRequest, opts ...grpc.CallOption) (*v1beta1.CreateNamespaceResponse, error)
	UpdateNamespace(ctx context.Context, in *v1beta1.UpdateNamespaceRequest, opts ...grpc.CallOption) (*v1beta1.UpdateNamespaceResponse, error)
	DeleteNamespace(ctx context.Context, in *v1beta1.DeleteNamespaceRequest, opts ...grpc.CallOption) (*v1beta1.DeleteNamespaceResponse, error)
	ListSchemas(ctx context.Context, in *v1beta1.ListSchemasRequest, opts ...grpc.CallOption) (*v1beta1.ListSchemasResponse, error)
	CreateSchema(ctx context.Context, in *v1beta1.CreateSchemaRequest, opts ...grpc.CallOption) (*v1beta1.CreateSchemaResponse, error)
	GetSchemaMetadata(ctx context.Context, in *v1beta1.GetSchemaMetadataRequest, opts ...grpc.CallOption) (*v1beta1.GetSchemaMetadataResponse, error)
	UpdateSchemaMetadata(ctx context.Context, in *v1beta1.UpdateSchemaMetadataRequest, opts ...grpc.CallOption) (*v1beta1.UpdateSchemaMetadataResponse, error)
	GetLatestSchema(ctx context.Context, in *v1beta1.GetLatestSchemaRequest, opts ...grpc.CallOption) (*v1beta1.GetLatestSchemaResponse, error)
	DeleteSchema(ctx context.Context, in *v1beta1.DeleteSchemaRequest, opts ...grpc.CallOption) (*v1beta1.DeleteSchemaResponse, error)
	GetSchema(ctx context.Context, in *v1beta1.GetSchemaRequest, opts ...grpc.CallOption) (*v1beta1.GetSchemaResponse, error)
	ListVersions(ctx context.Context, in *v1beta1.ListVersionsRequest, opts ...grpc.CallOption) (*v1beta1.ListVersionsResponse, error)
	DeleteVersion(ctx context.Context, in *v1beta1.DeleteVersionRequest, opts ...grpc.CallOption) (*v1beta1.DeleteVersionResponse, 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) CreateNamespace

func (UnimplementedStencilServiceServer) CreateSchema

func (UnimplementedStencilServiceServer) DeleteNamespace

func (UnimplementedStencilServiceServer) DeleteSchema

func (UnimplementedStencilServiceServer) DeleteVersion

func (UnimplementedStencilServiceServer) GetLatestSchema

func (UnimplementedStencilServiceServer) GetNamespace

func (UnimplementedStencilServiceServer) GetSchema

func (UnimplementedStencilServiceServer) GetSchemaMetadata

func (UnimplementedStencilServiceServer) ListNamespaces

func (UnimplementedStencilServiceServer) ListSchemas

func (UnimplementedStencilServiceServer) ListVersions

func (UnimplementedStencilServiceServer) UpdateNamespace

func (UnimplementedStencilServiceServer) UpdateSchemaMetadata

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