Documentation ¶
Index ¶
- Variables
- func RegisterStencilServiceServer(s grpc.ServiceRegistrar, srv StencilServiceServer)
- type StencilServiceClient
- type StencilServiceServer
- type UnimplementedStencilServiceServer
- func (UnimplementedStencilServiceServer) CreateNamespace(context.Context, *v1beta1.CreateNamespaceRequest) (*v1beta1.CreateNamespaceResponse, error)
- func (UnimplementedStencilServiceServer) CreateSchema(context.Context, *v1beta1.CreateSchemaRequest) (*v1beta1.CreateSchemaResponse, error)
- func (UnimplementedStencilServiceServer) DeleteNamespace(context.Context, *v1beta1.DeleteNamespaceRequest) (*v1beta1.DeleteNamespaceResponse, error)
- func (UnimplementedStencilServiceServer) DeleteSchema(context.Context, *v1beta1.DeleteSchemaRequest) (*v1beta1.DeleteSchemaResponse, error)
- func (UnimplementedStencilServiceServer) DeleteVersion(context.Context, *v1beta1.DeleteVersionRequest) (*v1beta1.DeleteVersionResponse, error)
- func (UnimplementedStencilServiceServer) GetLatestSchema(context.Context, *v1beta1.GetLatestSchemaRequest) (*v1beta1.GetLatestSchemaResponse, error)
- func (UnimplementedStencilServiceServer) GetNamespace(context.Context, *v1beta1.GetNamespaceRequest) (*v1beta1.GetNamespaceResponse, error)
- func (UnimplementedStencilServiceServer) GetSchema(context.Context, *v1beta1.GetSchemaRequest) (*v1beta1.GetSchemaResponse, error)
- func (UnimplementedStencilServiceServer) GetSchemaMetadata(context.Context, *v1beta1.GetSchemaMetadataRequest) (*v1beta1.GetSchemaMetadataResponse, error)
- func (UnimplementedStencilServiceServer) ListNamespaces(context.Context, *v1beta1.ListNamespacesRequest) (*v1beta1.ListNamespacesResponse, error)
- func (UnimplementedStencilServiceServer) ListSchemas(context.Context, *v1beta1.ListSchemasRequest) (*v1beta1.ListSchemasResponse, error)
- func (UnimplementedStencilServiceServer) ListVersions(context.Context, *v1beta1.ListVersionsRequest) (*v1beta1.ListVersionsResponse, error)
- func (UnimplementedStencilServiceServer) UpdateNamespace(context.Context, *v1beta1.UpdateNamespaceRequest) (*v1beta1.UpdateNamespaceResponse, error)
- func (UnimplementedStencilServiceServer) UpdateSchemaMetadata(context.Context, *v1beta1.UpdateSchemaMetadataRequest) (*v1beta1.UpdateSchemaMetadataResponse, error)
- type UnsafeStencilServiceServer
Constants ¶
This section is empty.
Variables ¶
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 ¶
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) 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) }
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) CreateNamespace(context.Context, *v1beta1.CreateNamespaceRequest) (*v1beta1.CreateNamespaceResponse, error)
func (UnimplementedStencilServiceServer) CreateSchema ¶
func (UnimplementedStencilServiceServer) CreateSchema(context.Context, *v1beta1.CreateSchemaRequest) (*v1beta1.CreateSchemaResponse, error)
func (UnimplementedStencilServiceServer) DeleteNamespace ¶
func (UnimplementedStencilServiceServer) DeleteNamespace(context.Context, *v1beta1.DeleteNamespaceRequest) (*v1beta1.DeleteNamespaceResponse, error)
func (UnimplementedStencilServiceServer) DeleteSchema ¶
func (UnimplementedStencilServiceServer) DeleteSchema(context.Context, *v1beta1.DeleteSchemaRequest) (*v1beta1.DeleteSchemaResponse, error)
func (UnimplementedStencilServiceServer) DeleteVersion ¶
func (UnimplementedStencilServiceServer) DeleteVersion(context.Context, *v1beta1.DeleteVersionRequest) (*v1beta1.DeleteVersionResponse, error)
func (UnimplementedStencilServiceServer) GetLatestSchema ¶
func (UnimplementedStencilServiceServer) GetLatestSchema(context.Context, *v1beta1.GetLatestSchemaRequest) (*v1beta1.GetLatestSchemaResponse, error)
func (UnimplementedStencilServiceServer) GetNamespace ¶
func (UnimplementedStencilServiceServer) GetNamespace(context.Context, *v1beta1.GetNamespaceRequest) (*v1beta1.GetNamespaceResponse, error)
func (UnimplementedStencilServiceServer) GetSchema ¶
func (UnimplementedStencilServiceServer) GetSchema(context.Context, *v1beta1.GetSchemaRequest) (*v1beta1.GetSchemaResponse, error)
func (UnimplementedStencilServiceServer) GetSchemaMetadata ¶
func (UnimplementedStencilServiceServer) GetSchemaMetadata(context.Context, *v1beta1.GetSchemaMetadataRequest) (*v1beta1.GetSchemaMetadataResponse, error)
func (UnimplementedStencilServiceServer) ListNamespaces ¶
func (UnimplementedStencilServiceServer) ListNamespaces(context.Context, *v1beta1.ListNamespacesRequest) (*v1beta1.ListNamespacesResponse, error)
func (UnimplementedStencilServiceServer) ListSchemas ¶
func (UnimplementedStencilServiceServer) ListSchemas(context.Context, *v1beta1.ListSchemasRequest) (*v1beta1.ListSchemasResponse, error)
func (UnimplementedStencilServiceServer) ListVersions ¶
func (UnimplementedStencilServiceServer) ListVersions(context.Context, *v1beta1.ListVersionsRequest) (*v1beta1.ListVersionsResponse, error)
func (UnimplementedStencilServiceServer) UpdateNamespace ¶
func (UnimplementedStencilServiceServer) UpdateNamespace(context.Context, *v1beta1.UpdateNamespaceRequest) (*v1beta1.UpdateNamespaceResponse, error)
func (UnimplementedStencilServiceServer) UpdateSchemaMetadata ¶
func (UnimplementedStencilServiceServer) UpdateSchemaMetadata(context.Context, *v1beta1.UpdateSchemaMetadataRequest) (*v1beta1.UpdateSchemaMetadataResponse, 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.