service

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: ISC Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_magnolia_service_proto protoreflect.FileDescriptor
View Source
var MagnoliaFabricsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "magnoliafabrics.MagnoliaFabricsService",
	HandlerType: (*MagnoliaFabricsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAllFabrics",
			Handler:    _MagnoliaFabricsService_GetAllFabrics_Handler,
		},
		{
			MethodName: "GetAllFabricsWithoutInventory",
			Handler:    _MagnoliaFabricsService_GetAllFabricsWithoutInventory_Handler,
		},
		{
			MethodName: "GetAllInventory",
			Handler:    _MagnoliaFabricsService_GetAllInventory_Handler,
		},
		{
			MethodName: "GetFabricByID",
			Handler:    _MagnoliaFabricsService_GetFabricByID_Handler,
		},
		{
			MethodName: "GetFabricByName",
			Handler:    _MagnoliaFabricsService_GetFabricByName_Handler,
		},
		{
			MethodName: "GetAllFabricTaxonomy",
			Handler:    _MagnoliaFabricsService_GetAllFabricTaxonomy_Handler,
		},
		{
			MethodName: "GetCleaningCodes",
			Handler:    _MagnoliaFabricsService_GetCleaningCodes_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "magnolia_service.proto",
}

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

Functions

func RegisterMagnoliaFabricsServiceServer

func RegisterMagnoliaFabricsServiceServer(s grpc.ServiceRegistrar, srv MagnoliaFabricsServiceServer)

Types

type GetAllFabricTaxonomyRequest

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

func (*GetAllFabricTaxonomyRequest) Descriptor deprecated

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

Deprecated: Use GetAllFabricTaxonomyRequest.ProtoReflect.Descriptor instead.

func (*GetAllFabricTaxonomyRequest) ProtoMessage

func (*GetAllFabricTaxonomyRequest) ProtoMessage()

func (*GetAllFabricTaxonomyRequest) ProtoReflect

func (*GetAllFabricTaxonomyRequest) Reset

func (x *GetAllFabricTaxonomyRequest) Reset()

func (*GetAllFabricTaxonomyRequest) String

func (x *GetAllFabricTaxonomyRequest) String() string

type GetAllFabricTaxonomyResponse

type GetAllFabricTaxonomyResponse struct {
	Taxonomy *taxonomy.Taxonomy `protobuf:"bytes,1,opt,name=taxonomy,proto3" json:"taxonomy,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllFabricTaxonomyResponse) Descriptor deprecated

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

Deprecated: Use GetAllFabricTaxonomyResponse.ProtoReflect.Descriptor instead.

func (*GetAllFabricTaxonomyResponse) GetTaxonomy

func (*GetAllFabricTaxonomyResponse) ProtoMessage

func (*GetAllFabricTaxonomyResponse) ProtoMessage()

func (*GetAllFabricTaxonomyResponse) ProtoReflect

func (*GetAllFabricTaxonomyResponse) Reset

func (x *GetAllFabricTaxonomyResponse) Reset()

func (*GetAllFabricTaxonomyResponse) String

type GetAllFabricsRequest

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

func (*GetAllFabricsRequest) Descriptor deprecated

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

Deprecated: Use GetAllFabricsRequest.ProtoReflect.Descriptor instead.

func (*GetAllFabricsRequest) ProtoMessage

func (*GetAllFabricsRequest) ProtoMessage()

func (*GetAllFabricsRequest) ProtoReflect

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

func (*GetAllFabricsRequest) Reset

func (x *GetAllFabricsRequest) Reset()

func (*GetAllFabricsRequest) String

func (x *GetAllFabricsRequest) String() string

type GetAllFabricsResponse

type GetAllFabricsResponse struct {
	Fabrics []*fabric.Fabric `protobuf:"bytes,1,rep,name=fabrics,proto3" json:"fabrics,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllFabricsResponse) Descriptor deprecated

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

Deprecated: Use GetAllFabricsResponse.ProtoReflect.Descriptor instead.

func (*GetAllFabricsResponse) GetFabrics

func (x *GetAllFabricsResponse) GetFabrics() []*fabric.Fabric

func (*GetAllFabricsResponse) ProtoMessage

func (*GetAllFabricsResponse) ProtoMessage()

func (*GetAllFabricsResponse) ProtoReflect

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

func (*GetAllFabricsResponse) Reset

func (x *GetAllFabricsResponse) Reset()

func (*GetAllFabricsResponse) String

func (x *GetAllFabricsResponse) String() string

type GetAllFabricsWithoutInventoryRequest

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

func (*GetAllFabricsWithoutInventoryRequest) Descriptor deprecated

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

Deprecated: Use GetAllFabricsWithoutInventoryRequest.ProtoReflect.Descriptor instead.

func (*GetAllFabricsWithoutInventoryRequest) ProtoMessage

func (*GetAllFabricsWithoutInventoryRequest) ProtoMessage()

func (*GetAllFabricsWithoutInventoryRequest) ProtoReflect

func (*GetAllFabricsWithoutInventoryRequest) Reset

func (*GetAllFabricsWithoutInventoryRequest) String

type GetAllFabricsWithoutInventoryResponse

type GetAllFabricsWithoutInventoryResponse struct {
	Fabrics []*fabric.Fabric `protobuf:"bytes,1,rep,name=fabrics,proto3" json:"fabrics,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllFabricsWithoutInventoryResponse) Descriptor deprecated

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

Deprecated: Use GetAllFabricsWithoutInventoryResponse.ProtoReflect.Descriptor instead.

func (*GetAllFabricsWithoutInventoryResponse) GetFabrics

func (*GetAllFabricsWithoutInventoryResponse) ProtoMessage

func (*GetAllFabricsWithoutInventoryResponse) ProtoMessage()

func (*GetAllFabricsWithoutInventoryResponse) ProtoReflect

func (*GetAllFabricsWithoutInventoryResponse) Reset

func (*GetAllFabricsWithoutInventoryResponse) String

type GetAllInventoryRequest

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

func (*GetAllInventoryRequest) Descriptor deprecated

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

Deprecated: Use GetAllInventoryRequest.ProtoReflect.Descriptor instead.

func (*GetAllInventoryRequest) ProtoMessage

func (*GetAllInventoryRequest) ProtoMessage()

func (*GetAllInventoryRequest) ProtoReflect

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

func (*GetAllInventoryRequest) Reset

func (x *GetAllInventoryRequest) Reset()

func (*GetAllInventoryRequest) String

func (x *GetAllInventoryRequest) String() string

type GetAllInventoryResponse

type GetAllInventoryResponse struct {
	Inventory []*inventory.Inventory `protobuf:"bytes,1,rep,name=inventory,proto3" json:"inventory,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllInventoryResponse) Descriptor deprecated

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

Deprecated: Use GetAllInventoryResponse.ProtoReflect.Descriptor instead.

func (*GetAllInventoryResponse) GetInventory

func (x *GetAllInventoryResponse) GetInventory() []*inventory.Inventory

func (*GetAllInventoryResponse) ProtoMessage

func (*GetAllInventoryResponse) ProtoMessage()

func (*GetAllInventoryResponse) ProtoReflect

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

func (*GetAllInventoryResponse) Reset

func (x *GetAllInventoryResponse) Reset()

func (*GetAllInventoryResponse) String

func (x *GetAllInventoryResponse) String() string

type GetCleaningCodesRequest

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

func (*GetCleaningCodesRequest) Descriptor deprecated

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

Deprecated: Use GetCleaningCodesRequest.ProtoReflect.Descriptor instead.

func (*GetCleaningCodesRequest) ProtoMessage

func (*GetCleaningCodesRequest) ProtoMessage()

func (*GetCleaningCodesRequest) ProtoReflect

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

func (*GetCleaningCodesRequest) Reset

func (x *GetCleaningCodesRequest) Reset()

func (*GetCleaningCodesRequest) String

func (x *GetCleaningCodesRequest) String() string

type GetCleaningCodesResponse

type GetCleaningCodesResponse struct {
	CleaningCodes map[string]*cleaningcode.CleaningCode `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetCleaningCodesResponse) Descriptor deprecated

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

Deprecated: Use GetCleaningCodesResponse.ProtoReflect.Descriptor instead.

func (*GetCleaningCodesResponse) GetCleaningCodes

func (x *GetCleaningCodesResponse) GetCleaningCodes() map[string]*cleaningcode.CleaningCode

func (*GetCleaningCodesResponse) ProtoMessage

func (*GetCleaningCodesResponse) ProtoMessage()

func (*GetCleaningCodesResponse) ProtoReflect

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

func (*GetCleaningCodesResponse) Reset

func (x *GetCleaningCodesResponse) Reset()

func (*GetCleaningCodesResponse) String

func (x *GetCleaningCodesResponse) String() string

type GetFabricByIDRequest

type GetFabricByIDRequest struct {
	FabricId string `protobuf:"bytes,1,opt,name=fabric_id,json=fabricId,proto3" json:"fabric_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFabricByIDRequest) Descriptor deprecated

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

Deprecated: Use GetFabricByIDRequest.ProtoReflect.Descriptor instead.

func (*GetFabricByIDRequest) GetFabricId

func (x *GetFabricByIDRequest) GetFabricId() string

func (*GetFabricByIDRequest) ProtoMessage

func (*GetFabricByIDRequest) ProtoMessage()

func (*GetFabricByIDRequest) ProtoReflect

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

func (*GetFabricByIDRequest) Reset

func (x *GetFabricByIDRequest) Reset()

func (*GetFabricByIDRequest) String

func (x *GetFabricByIDRequest) String() string

type GetFabricByIDResponse

type GetFabricByIDResponse struct {
	Fabric *fabric.Fabric `protobuf:"bytes,1,opt,name=fabric,proto3" json:"fabric,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFabricByIDResponse) Descriptor deprecated

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

Deprecated: Use GetFabricByIDResponse.ProtoReflect.Descriptor instead.

func (*GetFabricByIDResponse) GetFabric

func (x *GetFabricByIDResponse) GetFabric() *fabric.Fabric

func (*GetFabricByIDResponse) ProtoMessage

func (*GetFabricByIDResponse) ProtoMessage()

func (*GetFabricByIDResponse) ProtoReflect

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

func (*GetFabricByIDResponse) Reset

func (x *GetFabricByIDResponse) Reset()

func (*GetFabricByIDResponse) String

func (x *GetFabricByIDResponse) String() string

type GetFabricByNameRequest

type GetFabricByNameRequest struct {
	FabricName string `protobuf:"bytes,1,opt,name=fabric_name,json=fabricName,proto3" json:"fabric_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFabricByNameRequest) Descriptor deprecated

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

Deprecated: Use GetFabricByNameRequest.ProtoReflect.Descriptor instead.

func (*GetFabricByNameRequest) GetFabricName

func (x *GetFabricByNameRequest) GetFabricName() string

func (*GetFabricByNameRequest) ProtoMessage

func (*GetFabricByNameRequest) ProtoMessage()

func (*GetFabricByNameRequest) ProtoReflect

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

func (*GetFabricByNameRequest) Reset

func (x *GetFabricByNameRequest) Reset()

func (*GetFabricByNameRequest) String

func (x *GetFabricByNameRequest) String() string

type GetFabricByNameResponse

type GetFabricByNameResponse struct {
	Fabric *fabric.Fabric `protobuf:"bytes,1,opt,name=fabric,proto3" json:"fabric,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFabricByNameResponse) Descriptor deprecated

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

Deprecated: Use GetFabricByNameResponse.ProtoReflect.Descriptor instead.

func (*GetFabricByNameResponse) GetFabric

func (x *GetFabricByNameResponse) GetFabric() *fabric.Fabric

func (*GetFabricByNameResponse) ProtoMessage

func (*GetFabricByNameResponse) ProtoMessage()

func (*GetFabricByNameResponse) ProtoReflect

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

func (*GetFabricByNameResponse) Reset

func (x *GetFabricByNameResponse) Reset()

func (*GetFabricByNameResponse) String

func (x *GetFabricByNameResponse) String() string

type MagnoliaFabricsServiceClient

type MagnoliaFabricsServiceClient interface {
	GetAllFabrics(ctx context.Context, in *GetAllFabricsRequest, opts ...grpc.CallOption) (*GetAllFabricsResponse, error)
	GetAllFabricsWithoutInventory(ctx context.Context, in *GetAllFabricsWithoutInventoryRequest, opts ...grpc.CallOption) (*GetAllFabricsWithoutInventoryResponse, error)
	GetAllInventory(ctx context.Context, in *GetAllInventoryRequest, opts ...grpc.CallOption) (*GetAllInventoryResponse, error)
	GetFabricByID(ctx context.Context, in *GetFabricByIDRequest, opts ...grpc.CallOption) (*GetFabricByIDResponse, error)
	GetFabricByName(ctx context.Context, in *GetFabricByNameRequest, opts ...grpc.CallOption) (*GetFabricByNameResponse, error)
	GetAllFabricTaxonomy(ctx context.Context, in *GetAllFabricTaxonomyRequest, opts ...grpc.CallOption) (*GetAllFabricTaxonomyResponse, error)
	GetCleaningCodes(ctx context.Context, in *GetCleaningCodesRequest, opts ...grpc.CallOption) (*GetCleaningCodesResponse, error)
}

MagnoliaFabricsServiceClient is the client API for MagnoliaFabricsService 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.

type MagnoliaFabricsServiceServer

MagnoliaFabricsServiceServer is the server API for MagnoliaFabricsService service. All implementations must embed UnimplementedMagnoliaFabricsServiceServer for forward compatibility

type UnimplementedMagnoliaFabricsServiceServer

type UnimplementedMagnoliaFabricsServiceServer struct {
}

UnimplementedMagnoliaFabricsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMagnoliaFabricsServiceServer) GetAllFabricTaxonomy

func (UnimplementedMagnoliaFabricsServiceServer) GetAllFabrics

func (UnimplementedMagnoliaFabricsServiceServer) GetAllInventory

func (UnimplementedMagnoliaFabricsServiceServer) GetCleaningCodes

func (UnimplementedMagnoliaFabricsServiceServer) GetFabricByID

func (UnimplementedMagnoliaFabricsServiceServer) GetFabricByName

type UnsafeMagnoliaFabricsServiceServer

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

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

Jump to

Keyboard shortcuts

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