v1

package
v0.0.0-...-4241208 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Catalog_CreateCatalog_FullMethodName = "/api.catalog.service.v1.Catalog/CreateCatalog"
	Catalog_UpdateCatalog_FullMethodName = "/api.catalog.service.v1.Catalog/UpdateCatalog"
	Catalog_DeleteCatalog_FullMethodName = "/api.catalog.service.v1.Catalog/DeleteCatalog"
	Catalog_GetCatalog_FullMethodName    = "/api.catalog.service.v1.Catalog/GetCatalog"
	Catalog_ListCatalog_FullMethodName   = "/api.catalog.service.v1.Catalog/ListCatalog"
)

Variables

View Source
var Catalog_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.catalog.service.v1.Catalog",
	HandlerType: (*CatalogServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateCatalog",
			Handler:    _Catalog_CreateCatalog_Handler,
		},
		{
			MethodName: "UpdateCatalog",
			Handler:    _Catalog_UpdateCatalog_Handler,
		},
		{
			MethodName: "DeleteCatalog",
			Handler:    _Catalog_DeleteCatalog_Handler,
		},
		{
			MethodName: "GetCatalog",
			Handler:    _Catalog_GetCatalog_Handler,
		},
		{
			MethodName: "ListCatalog",
			Handler:    _Catalog_ListCatalog_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/catalog/service/v1/catalog.proto",
}

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

View Source
var File_api_catalog_service_v1_catalog_proto protoreflect.FileDescriptor

Functions

func RegisterCatalogServer

func RegisterCatalogServer(s grpc.ServiceRegistrar, srv CatalogServer)

Types

type CatalogClient

type CatalogClient interface {
	CreateCatalog(ctx context.Context, in *CreateCatalogRequest, opts ...grpc.CallOption) (*CreateCatalogReply, error)
	UpdateCatalog(ctx context.Context, in *UpdateCatalogRequest, opts ...grpc.CallOption) (*UpdateCatalogReply, error)
	DeleteCatalog(ctx context.Context, in *DeleteCatalogRequest, opts ...grpc.CallOption) (*DeleteCatalogReply, error)
	GetCatalog(ctx context.Context, in *GetCatalogRequest, opts ...grpc.CallOption) (*GetCatalogReply, error)
	ListCatalog(ctx context.Context, in *ListCatalogRequest, opts ...grpc.CallOption) (*ListCatalogReply, error)
}

CatalogClient is the client API for Catalog 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 NewCatalogClient

func NewCatalogClient(cc grpc.ClientConnInterface) CatalogClient

type CatalogServer

type CatalogServer interface {
	CreateCatalog(context.Context, *CreateCatalogRequest) (*CreateCatalogReply, error)
	UpdateCatalog(context.Context, *UpdateCatalogRequest) (*UpdateCatalogReply, error)
	DeleteCatalog(context.Context, *DeleteCatalogRequest) (*DeleteCatalogReply, error)
	GetCatalog(context.Context, *GetCatalogRequest) (*GetCatalogReply, error)
	ListCatalog(context.Context, *ListCatalogRequest) (*ListCatalogReply, error)
	// contains filtered or unexported methods
}

CatalogServer is the server API for Catalog service. All implementations must embed UnimplementedCatalogServer for forward compatibility

type CreateCatalogReply

type CreateCatalogReply struct {
	// contains filtered or unexported fields
}

func (*CreateCatalogReply) Descriptor deprecated

func (*CreateCatalogReply) Descriptor() ([]byte, []int)

Deprecated: Use CreateCatalogReply.ProtoReflect.Descriptor instead.

func (*CreateCatalogReply) ProtoMessage

func (*CreateCatalogReply) ProtoMessage()

func (*CreateCatalogReply) ProtoReflect

func (x *CreateCatalogReply) ProtoReflect() protoreflect.Message

func (*CreateCatalogReply) Reset

func (x *CreateCatalogReply) Reset()

func (*CreateCatalogReply) String

func (x *CreateCatalogReply) String() string

type CreateCatalogRequest

type CreateCatalogRequest struct {
	// contains filtered or unexported fields
}

func (*CreateCatalogRequest) Descriptor deprecated

func (*CreateCatalogRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateCatalogRequest.ProtoReflect.Descriptor instead.

func (*CreateCatalogRequest) ProtoMessage

func (*CreateCatalogRequest) ProtoMessage()

func (*CreateCatalogRequest) ProtoReflect

func (x *CreateCatalogRequest) ProtoReflect() protoreflect.Message

func (*CreateCatalogRequest) Reset

func (x *CreateCatalogRequest) Reset()

func (*CreateCatalogRequest) String

func (x *CreateCatalogRequest) String() string

type DeleteCatalogReply

type DeleteCatalogReply struct {
	// contains filtered or unexported fields
}

func (*DeleteCatalogReply) Descriptor deprecated

func (*DeleteCatalogReply) Descriptor() ([]byte, []int)

Deprecated: Use DeleteCatalogReply.ProtoReflect.Descriptor instead.

func (*DeleteCatalogReply) ProtoMessage

func (*DeleteCatalogReply) ProtoMessage()

func (*DeleteCatalogReply) ProtoReflect

func (x *DeleteCatalogReply) ProtoReflect() protoreflect.Message

func (*DeleteCatalogReply) Reset

func (x *DeleteCatalogReply) Reset()

func (*DeleteCatalogReply) String

func (x *DeleteCatalogReply) String() string

type DeleteCatalogRequest

type DeleteCatalogRequest struct {
	// contains filtered or unexported fields
}

func (*DeleteCatalogRequest) Descriptor deprecated

func (*DeleteCatalogRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteCatalogRequest.ProtoReflect.Descriptor instead.

func (*DeleteCatalogRequest) ProtoMessage

func (*DeleteCatalogRequest) ProtoMessage()

func (*DeleteCatalogRequest) ProtoReflect

func (x *DeleteCatalogRequest) ProtoReflect() protoreflect.Message

func (*DeleteCatalogRequest) Reset

func (x *DeleteCatalogRequest) Reset()

func (*DeleteCatalogRequest) String

func (x *DeleteCatalogRequest) String() string

type GetCatalogReply

type GetCatalogReply struct {
	// contains filtered or unexported fields
}

func (*GetCatalogReply) Descriptor deprecated

func (*GetCatalogReply) Descriptor() ([]byte, []int)

Deprecated: Use GetCatalogReply.ProtoReflect.Descriptor instead.

func (*GetCatalogReply) ProtoMessage

func (*GetCatalogReply) ProtoMessage()

func (*GetCatalogReply) ProtoReflect

func (x *GetCatalogReply) ProtoReflect() protoreflect.Message

func (*GetCatalogReply) Reset

func (x *GetCatalogReply) Reset()

func (*GetCatalogReply) String

func (x *GetCatalogReply) String() string

type GetCatalogRequest

type GetCatalogRequest struct {
	// contains filtered or unexported fields
}

func (*GetCatalogRequest) Descriptor deprecated

func (*GetCatalogRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCatalogRequest.ProtoReflect.Descriptor instead.

func (*GetCatalogRequest) ProtoMessage

func (*GetCatalogRequest) ProtoMessage()

func (*GetCatalogRequest) ProtoReflect

func (x *GetCatalogRequest) ProtoReflect() protoreflect.Message

func (*GetCatalogRequest) Reset

func (x *GetCatalogRequest) Reset()

func (*GetCatalogRequest) String

func (x *GetCatalogRequest) String() string

type ListCatalogReply

type ListCatalogReply struct {
	// contains filtered or unexported fields
}

func (*ListCatalogReply) Descriptor deprecated

func (*ListCatalogReply) Descriptor() ([]byte, []int)

Deprecated: Use ListCatalogReply.ProtoReflect.Descriptor instead.

func (*ListCatalogReply) ProtoMessage

func (*ListCatalogReply) ProtoMessage()

func (*ListCatalogReply) ProtoReflect

func (x *ListCatalogReply) ProtoReflect() protoreflect.Message

func (*ListCatalogReply) Reset

func (x *ListCatalogReply) Reset()

func (*ListCatalogReply) String

func (x *ListCatalogReply) String() string

type ListCatalogRequest

type ListCatalogRequest struct {
	// contains filtered or unexported fields
}

func (*ListCatalogRequest) Descriptor deprecated

func (*ListCatalogRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListCatalogRequest.ProtoReflect.Descriptor instead.

func (*ListCatalogRequest) ProtoMessage

func (*ListCatalogRequest) ProtoMessage()

func (*ListCatalogRequest) ProtoReflect

func (x *ListCatalogRequest) ProtoReflect() protoreflect.Message

func (*ListCatalogRequest) Reset

func (x *ListCatalogRequest) Reset()

func (*ListCatalogRequest) String

func (x *ListCatalogRequest) String() string

type UnimplementedCatalogServer

type UnimplementedCatalogServer struct {
}

UnimplementedCatalogServer must be embedded to have forward compatible implementations.

func (UnimplementedCatalogServer) CreateCatalog

func (UnimplementedCatalogServer) DeleteCatalog

func (UnimplementedCatalogServer) GetCatalog

func (UnimplementedCatalogServer) ListCatalog

func (UnimplementedCatalogServer) UpdateCatalog

type UnsafeCatalogServer

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

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

type UpdateCatalogReply

type UpdateCatalogReply struct {
	// contains filtered or unexported fields
}

func (*UpdateCatalogReply) Descriptor deprecated

func (*UpdateCatalogReply) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCatalogReply.ProtoReflect.Descriptor instead.

func (*UpdateCatalogReply) ProtoMessage

func (*UpdateCatalogReply) ProtoMessage()

func (*UpdateCatalogReply) ProtoReflect

func (x *UpdateCatalogReply) ProtoReflect() protoreflect.Message

func (*UpdateCatalogReply) Reset

func (x *UpdateCatalogReply) Reset()

func (*UpdateCatalogReply) String

func (x *UpdateCatalogReply) String() string

type UpdateCatalogRequest

type UpdateCatalogRequest struct {
	// contains filtered or unexported fields
}

func (*UpdateCatalogRequest) Descriptor deprecated

func (*UpdateCatalogRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCatalogRequest.ProtoReflect.Descriptor instead.

func (*UpdateCatalogRequest) ProtoMessage

func (*UpdateCatalogRequest) ProtoMessage()

func (*UpdateCatalogRequest) ProtoReflect

func (x *UpdateCatalogRequest) ProtoReflect() protoreflect.Message

func (*UpdateCatalogRequest) Reset

func (x *UpdateCatalogRequest) Reset()

func (*UpdateCatalogRequest) String

func (x *UpdateCatalogRequest) String() string

Jump to

Keyboard shortcuts

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