stencilv1beta1grpc

package
v1.3.0-20230223111559-... 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

View Source
const (
	StencilService_ListNamespaces_FullMethodName       = "/odpf.stencil.v1beta1.StencilService/ListNamespaces"
	StencilService_GetNamespace_FullMethodName         = "/odpf.stencil.v1beta1.StencilService/GetNamespace"
	StencilService_CreateNamespace_FullMethodName      = "/odpf.stencil.v1beta1.StencilService/CreateNamespace"
	StencilService_UpdateNamespace_FullMethodName      = "/odpf.stencil.v1beta1.StencilService/UpdateNamespace"
	StencilService_DeleteNamespace_FullMethodName      = "/odpf.stencil.v1beta1.StencilService/DeleteNamespace"
	StencilService_ListSchemas_FullMethodName          = "/odpf.stencil.v1beta1.StencilService/ListSchemas"
	StencilService_CreateSchema_FullMethodName         = "/odpf.stencil.v1beta1.StencilService/CreateSchema"
	StencilService_CheckCompatibility_FullMethodName   = "/odpf.stencil.v1beta1.StencilService/CheckCompatibility"
	StencilService_GetSchemaMetadata_FullMethodName    = "/odpf.stencil.v1beta1.StencilService/GetSchemaMetadata"
	StencilService_UpdateSchemaMetadata_FullMethodName = "/odpf.stencil.v1beta1.StencilService/UpdateSchemaMetadata"
	StencilService_GetLatestSchema_FullMethodName      = "/odpf.stencil.v1beta1.StencilService/GetLatestSchema"
	StencilService_DeleteSchema_FullMethodName         = "/odpf.stencil.v1beta1.StencilService/DeleteSchema"
	StencilService_GetSchema_FullMethodName            = "/odpf.stencil.v1beta1.StencilService/GetSchema"
	StencilService_ListVersions_FullMethodName         = "/odpf.stencil.v1beta1.StencilService/ListVersions"
	StencilService_DeleteVersion_FullMethodName        = "/odpf.stencil.v1beta1.StencilService/DeleteVersion"
	StencilService_Search_FullMethodName               = "/odpf.stencil.v1beta1.StencilService/Search"
)

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: "CheckCompatibility",
			Handler:    _StencilService_CheckCompatibility_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,
		},
		{
			MethodName: "Search",
			Handler:    _StencilService_Search_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)
	CheckCompatibility(ctx context.Context, in *v1beta1.CheckCompatibilityRequest, opts ...grpc.CallOption) (*v1beta1.CheckCompatibilityResponse, 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)
	Search(ctx context.Context, in *v1beta1.SearchRequest, opts ...grpc.CallOption) (*v1beta1.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 {
	ListNamespaces(context.Context, *v1beta1.ListNamespacesRequest) (*v1beta1.ListNamespacesResponse, error)
	GetNamespace(context.Context, *v1beta1.GetNamespaceRequest) (*v1beta1.GetNamespaceResponse, error)
	CreateNamespace(context.Context, *v1beta1.CreateNamespaceRequest) (*v1beta1.CreateNamespaceResponse, error)
	UpdateNamespace(context.Context, *v1beta1.UpdateNamespaceRequest) (*v1beta1.UpdateNamespaceResponse, error)
	DeleteNamespace(context.Context, *v1beta1.DeleteNamespaceRequest) (*v1beta1.DeleteNamespaceResponse, error)
	ListSchemas(context.Context, *v1beta1.ListSchemasRequest) (*v1beta1.ListSchemasResponse, error)
	CreateSchema(context.Context, *v1beta1.CreateSchemaRequest) (*v1beta1.CreateSchemaResponse, error)
	CheckCompatibility(context.Context, *v1beta1.CheckCompatibilityRequest) (*v1beta1.CheckCompatibilityResponse, error)
	GetSchemaMetadata(context.Context, *v1beta1.GetSchemaMetadataRequest) (*v1beta1.GetSchemaMetadataResponse, error)
	UpdateSchemaMetadata(context.Context, *v1beta1.UpdateSchemaMetadataRequest) (*v1beta1.UpdateSchemaMetadataResponse, error)
	GetLatestSchema(context.Context, *v1beta1.GetLatestSchemaRequest) (*v1beta1.GetLatestSchemaResponse, error)
	DeleteSchema(context.Context, *v1beta1.DeleteSchemaRequest) (*v1beta1.DeleteSchemaResponse, error)
	GetSchema(context.Context, *v1beta1.GetSchemaRequest) (*v1beta1.GetSchemaResponse, error)
	ListVersions(context.Context, *v1beta1.ListVersionsRequest) (*v1beta1.ListVersionsResponse, error)
	DeleteVersion(context.Context, *v1beta1.DeleteVersionRequest) (*v1beta1.DeleteVersionResponse, error)
	Search(context.Context, *v1beta1.SearchRequest) (*v1beta1.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) CheckCompatibility

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) Search

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