Versions in this module Expand all Collapse all v0 v0.10.5 Jul 28, 2022 Changes in this version + var File_fabcar_fabcar_proto protoreflect.FileDescriptor v0.10.4 Apr 26, 2022 v0.10.3 Apr 15, 2022 v0.10.2 Apr 6, 2022 v0.10.1 Apr 4, 2022 Changes in this version + const ChaincodeName + const FabCarServiceChaincodeMethodPrefix + const FabCarServiceChaincode_CreateCar + const FabCarServiceChaincode_CreateMaker + const FabCarServiceChaincode_DeleteCar + const FabCarServiceChaincode_DeleteCarDetail + const FabCarServiceChaincode_DeleteCarOwner + const FabCarServiceChaincode_DeleteMaker + const FabCarServiceChaincode_GetCar + const FabCarServiceChaincode_GetCarDetail + const FabCarServiceChaincode_GetCarOwner + const FabCarServiceChaincode_GetCarView + const FabCarServiceChaincode_GetMaker + const FabCarServiceChaincode_ListCarDetails + const FabCarServiceChaincode_ListCarOwners + const FabCarServiceChaincode_ListCars + const FabCarServiceChaincode_ListMakers + const FabCarServiceChaincode_UpdateCar + const FabCarServiceChaincode_UpdateCarDetails + const FabCarServiceChaincode_UpdateCarOwners + var DetailType_name = map[int32]string + var DetailType_value = map[string]int32 + var EventMappings = ...(&CarDetailsUpdated{}) + var FabCarServiceSwagger []byte + var File_fabcar_proto protoreflect.FileDescriptor + var StateMappings = ...(&CarDetail{}, m.PKeySchema(&CarDetailId{}), m.List(&CarDetails{})) + func ChaincodeInitFunc() func(router.Context) (interface{}, error) + func CreateCarID(car *Car) []string + func Event(ctx router.Context) state.Event + func New() (*router.Chaincode, error) + func RegisterFabCarServiceChaincode(r *cckit_router.Group, cc FabCarServiceChaincode) error + func RegisterFabCarServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterFabCarServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FabCarServiceClient) error + func RegisterFabCarServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterFabCarServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FabCarServiceServer) error + func RegisterFabCarServiceServer(s *grpc.Server, srv FabCarServiceServer) + func State(ctx router.Context) m.MappedState + type Car struct + Colour string + Id []string + Make string + Model string + Number uint64 + UpdatedAt *timestamppb.Timestamp + func (*Car) Descriptor() ([]byte, []int) + func (*Car) ProtoMessage() + func (this *Car) Validate() error + func (x *Car) GetColour() string + func (x *Car) GetId() []string + func (x *Car) GetMake() string + func (x *Car) GetModel() string + func (x *Car) GetNumber() uint64 + func (x *Car) GetUpdatedAt() *timestamppb.Timestamp + func (x *Car) ProtoReflect() protoreflect.Message + func (x *Car) Reset() + func (x *Car) String() string + type CarCreated struct + Colour string + Id []string + Make string + Model string + Number uint64 + func (*CarCreated) Descriptor() ([]byte, []int) + func (*CarCreated) ProtoMessage() + func (this *CarCreated) Validate() error + func (x *CarCreated) GetColour() string + func (x *CarCreated) GetId() []string + func (x *CarCreated) GetMake() string + func (x *CarCreated) GetModel() string + func (x *CarCreated) GetNumber() uint64 + func (x *CarCreated) ProtoReflect() protoreflect.Message + func (x *CarCreated) Reset() + func (x *CarCreated) String() string + type CarDeleted struct + Colour string + Details *CarDetails + Id []string + Make string + Model string + Number uint64 + Owners *CarOwners + func (*CarDeleted) Descriptor() ([]byte, []int) + func (*CarDeleted) ProtoMessage() + func (this *CarDeleted) Validate() error + func (x *CarDeleted) GetColour() string + func (x *CarDeleted) GetDetails() *CarDetails + func (x *CarDeleted) GetId() []string + func (x *CarDeleted) GetMake() string + func (x *CarDeleted) GetModel() string + func (x *CarDeleted) GetNumber() uint64 + func (x *CarDeleted) GetOwners() *CarOwners + func (x *CarDeleted) ProtoReflect() protoreflect.Message + func (x *CarDeleted) Reset() + func (x *CarDeleted) String() string + type CarDetail struct + CarId []string + Make string + Type DetailType + UpdatedAt *timestamppb.Timestamp + func (*CarDetail) Descriptor() ([]byte, []int) + func (*CarDetail) ProtoMessage() + func (this *CarDetail) Validate() error + func (x *CarDetail) GetCarId() []string + func (x *CarDetail) GetMake() string + func (x *CarDetail) GetType() DetailType + func (x *CarDetail) GetUpdatedAt() *timestamppb.Timestamp + func (x *CarDetail) ProtoReflect() protoreflect.Message + func (x *CarDetail) Reset() + func (x *CarDetail) String() string + type CarDetailDeleted struct + Detail *CarDetail + func (*CarDetailDeleted) Descriptor() ([]byte, []int) + func (*CarDetailDeleted) ProtoMessage() + func (this *CarDetailDeleted) Validate() error + func (x *CarDetailDeleted) GetDetail() *CarDetail + func (x *CarDetailDeleted) ProtoReflect() protoreflect.Message + func (x *CarDetailDeleted) Reset() + func (x *CarDetailDeleted) String() string + type CarDetailId struct + CarId []string + Type DetailType + func (*CarDetailId) Descriptor() ([]byte, []int) + func (*CarDetailId) ProtoMessage() + func (this *CarDetailId) Validate() error + func (x *CarDetailId) GetCarId() []string + func (x *CarDetailId) GetType() DetailType + func (x *CarDetailId) ProtoReflect() protoreflect.Message + func (x *CarDetailId) Reset() + func (x *CarDetailId) String() string + type CarDetails struct + Items []*CarDetail + func (*CarDetails) Descriptor() ([]byte, []int) + func (*CarDetails) ProtoMessage() + func (this *CarDetails) Validate() error + func (x *CarDetails) GetItems() []*CarDetail + func (x *CarDetails) ProtoReflect() protoreflect.Message + func (x *CarDetails) Reset() + func (x *CarDetails) String() string + type CarDetailsUpdated struct + Details *CarDetails + func (*CarDetailsUpdated) Descriptor() ([]byte, []int) + func (*CarDetailsUpdated) ProtoMessage() + func (this *CarDetailsUpdated) Validate() error + func (x *CarDetailsUpdated) GetDetails() *CarDetails + func (x *CarDetailsUpdated) ProtoReflect() protoreflect.Message + func (x *CarDetailsUpdated) Reset() + func (x *CarDetailsUpdated) String() string + type CarId struct + Id []string + func (*CarId) Descriptor() ([]byte, []int) + func (*CarId) ProtoMessage() + func (this *CarId) Validate() error + func (x *CarId) GetId() []string + func (x *CarId) ProtoReflect() protoreflect.Message + func (x *CarId) Reset() + func (x *CarId) String() string + type CarOwner struct + CarId []string + FirstName string + SecondName string + UpdatedAt *timestamppb.Timestamp + VehiclePassport string + func (*CarOwner) Descriptor() ([]byte, []int) + func (*CarOwner) ProtoMessage() + func (this *CarOwner) Validate() error + func (x *CarOwner) GetCarId() []string + func (x *CarOwner) GetFirstName() string + func (x *CarOwner) GetSecondName() string + func (x *CarOwner) GetUpdatedAt() *timestamppb.Timestamp + func (x *CarOwner) GetVehiclePassport() string + func (x *CarOwner) ProtoReflect() protoreflect.Message + func (x *CarOwner) Reset() + func (x *CarOwner) String() string + type CarOwnerDeleted struct + Owner *CarOwner + func (*CarOwnerDeleted) Descriptor() ([]byte, []int) + func (*CarOwnerDeleted) ProtoMessage() + func (this *CarOwnerDeleted) Validate() error + func (x *CarOwnerDeleted) GetOwner() *CarOwner + func (x *CarOwnerDeleted) ProtoReflect() protoreflect.Message + func (x *CarOwnerDeleted) Reset() + func (x *CarOwnerDeleted) String() string + type CarOwnerId struct + CarId []string + FirstName string + SecondName string + func (*CarOwnerId) Descriptor() ([]byte, []int) + func (*CarOwnerId) ProtoMessage() + func (this *CarOwnerId) Validate() error + func (x *CarOwnerId) GetCarId() []string + func (x *CarOwnerId) GetFirstName() string + func (x *CarOwnerId) GetSecondName() string + func (x *CarOwnerId) ProtoReflect() protoreflect.Message + func (x *CarOwnerId) Reset() + func (x *CarOwnerId) String() string + type CarOwners struct + Items []*CarOwner + func (*CarOwners) Descriptor() ([]byte, []int) + func (*CarOwners) ProtoMessage() + func (this *CarOwners) Validate() error + func (x *CarOwners) GetItems() []*CarOwner + func (x *CarOwners) ProtoReflect() protoreflect.Message + func (x *CarOwners) Reset() + func (x *CarOwners) String() string + type CarOwnersUpdated struct + Owners *CarOwners + func (*CarOwnersUpdated) Descriptor() ([]byte, []int) + func (*CarOwnersUpdated) ProtoMessage() + func (this *CarOwnersUpdated) Validate() error + func (x *CarOwnersUpdated) GetOwners() *CarOwners + func (x *CarOwnersUpdated) ProtoReflect() protoreflect.Message + func (x *CarOwnersUpdated) Reset() + func (x *CarOwnersUpdated) String() string + type CarUpdated struct + Colour string + Id []string + func (*CarUpdated) Descriptor() ([]byte, []int) + func (*CarUpdated) ProtoMessage() + func (this *CarUpdated) Validate() error + func (x *CarUpdated) GetColour() string + func (x *CarUpdated) GetId() []string + func (x *CarUpdated) ProtoReflect() protoreflect.Message + func (x *CarUpdated) Reset() + func (x *CarUpdated) String() string + type CarView struct + Car *Car + Details *CarDetails + Owners *CarOwners + func (*CarView) Descriptor() ([]byte, []int) + func (*CarView) ProtoMessage() + func (this *CarView) Validate() error + func (x *CarView) GetCar() *Car + func (x *CarView) GetDetails() *CarDetails + func (x *CarView) GetOwners() *CarOwners + func (x *CarView) ProtoReflect() protoreflect.Message + func (x *CarView) Reset() + func (x *CarView) String() string + type Cars struct + Items []*Car + func (*Cars) Descriptor() ([]byte, []int) + func (*Cars) ProtoMessage() + func (this *Cars) Validate() error + func (x *Cars) GetItems() []*Car + func (x *Cars) ProtoReflect() protoreflect.Message + func (x *Cars) Reset() + func (x *Cars) String() string + type CreateCarRequest struct + Colour string + Details []*SetCarDetail + Make string + Model string + Number uint64 + Owners []*SetCarOwner + func (*CreateCarRequest) Descriptor() ([]byte, []int) + func (*CreateCarRequest) ProtoMessage() + func (this *CreateCarRequest) Validate() error + func (x *CreateCarRequest) GetColour() string + func (x *CreateCarRequest) GetDetails() []*SetCarDetail + func (x *CreateCarRequest) GetMake() string + func (x *CreateCarRequest) GetModel() string + func (x *CreateCarRequest) GetNumber() uint64 + func (x *CreateCarRequest) GetOwners() []*SetCarOwner + func (x *CreateCarRequest) ProtoReflect() protoreflect.Message + func (x *CreateCarRequest) Reset() + func (x *CreateCarRequest) String() string + type CreateMakerRequest struct + Country string + FoundationYear uint64 + Name string + func (*CreateMakerRequest) Descriptor() ([]byte, []int) + func (*CreateMakerRequest) ProtoMessage() + func (this *CreateMakerRequest) Validate() error + func (x *CreateMakerRequest) GetCountry() string + func (x *CreateMakerRequest) GetFoundationYear() uint64 + func (x *CreateMakerRequest) GetName() string + func (x *CreateMakerRequest) ProtoReflect() protoreflect.Message + func (x *CreateMakerRequest) Reset() + func (x *CreateMakerRequest) String() string + type DetailType int32 + const DetailType_BATTERY + const DetailType_WHEELS + func (DetailType) Descriptor() protoreflect.EnumDescriptor + func (DetailType) EnumDescriptor() ([]byte, []int) + func (DetailType) Type() protoreflect.EnumType + func (x DetailType) Enum() *DetailType + func (x DetailType) Number() protoreflect.EnumNumber + func (x DetailType) String() string + type FabCarService struct + func (f *FabCarService) CreateCar(ctx router.Context, req *CreateCarRequest) (*CarView, error) + func (f *FabCarService) CreateMaker(ctx router.Context, req *CreateMakerRequest) (*Maker, error) + func (f *FabCarService) DeleteCar(ctx router.Context, id *CarId) (*CarView, error) + func (f *FabCarService) DeleteCarDetail(ctx router.Context, id *CarDetailId) (*CarDetail, error) + func (f *FabCarService) DeleteCarOwner(ctx router.Context, id *CarOwnerId) (*CarOwner, error) + func (f *FabCarService) DeleteMaker(ctx router.Context, name *MakerName) (*Maker, error) + func (f *FabCarService) GetCar(ctx router.Context, id *CarId) (*Car, error) + func (f *FabCarService) GetCarDetail(ctx router.Context, id *CarDetailId) (*CarDetail, error) + func (f *FabCarService) GetCarOwner(ctx router.Context, id *CarOwnerId) (*CarOwner, error) + func (f *FabCarService) GetCarView(ctx router.Context, id *CarId) (*CarView, error) + func (f *FabCarService) GetMaker(ctx router.Context, name *MakerName) (*Maker, error) + func (f *FabCarService) ListCarDetails(ctx router.Context, id *CarId) (*CarDetails, error) + func (f *FabCarService) ListCarOwners(ctx router.Context, id *CarId) (*CarOwners, error) + func (f *FabCarService) ListCars(ctx router.Context, _ *emptypb.Empty) (*Cars, error) + func (f *FabCarService) ListMakers(ctx router.Context, _ *emptypb.Empty) (*Makers, error) + func (f *FabCarService) UpdateCar(ctx router.Context, req *UpdateCarRequest) (*CarView, error) + func (f *FabCarService) UpdateCarDetails(ctx router.Context, req *UpdateCarDetailsRequest) (*CarDetails, error) + func (f *FabCarService) UpdateCarOwners(ctx router.Context, req *UpdateCarOwnersRequest) (*CarOwners, error) + type FabCarServiceChaincode interface + CreateCar func(cckit_router.Context, *CreateCarRequest) (*CarView, error) + CreateMaker func(cckit_router.Context, *CreateMakerRequest) (*Maker, error) + DeleteCar func(cckit_router.Context, *CarId) (*CarView, error) + DeleteCarDetail func(cckit_router.Context, *CarDetailId) (*CarDetail, error) + DeleteCarOwner func(cckit_router.Context, *CarOwnerId) (*CarOwner, error) + DeleteMaker func(cckit_router.Context, *MakerName) (*Maker, error) + GetCar func(cckit_router.Context, *CarId) (*Car, error) + GetCarDetail func(cckit_router.Context, *CarDetailId) (*CarDetail, error) + GetCarOwner func(cckit_router.Context, *CarOwnerId) (*CarOwner, error) + GetCarView func(cckit_router.Context, *CarId) (*CarView, error) + GetMaker func(cckit_router.Context, *MakerName) (*Maker, error) + ListCarDetails func(cckit_router.Context, *CarId) (*CarDetails, error) + ListCarOwners func(cckit_router.Context, *CarId) (*CarOwners, error) + ListCars func(cckit_router.Context, *emptypb.Empty) (*Cars, error) + ListMakers func(cckit_router.Context, *emptypb.Empty) (*Makers, error) + UpdateCar func(cckit_router.Context, *UpdateCarRequest) (*CarView, error) + UpdateCarDetails func(cckit_router.Context, *UpdateCarDetailsRequest) (*CarDetails, error) + UpdateCarOwners func(cckit_router.Context, *UpdateCarOwnersRequest) (*CarOwners, error) + type FabCarServiceChaincodeLocalResolver struct + func NewFabCarServiceChaincodeLocalResolver(service FabCarServiceChaincode) *FabCarServiceChaincodeLocalResolver + func (r *FabCarServiceChaincodeLocalResolver) Resolve(ctx cckit_router.Context) (FabCarServiceChaincode, error) + type FabCarServiceChaincodeLocatorResolver struct + func NewFabCarServiceChaincodeResolver(locatorResolver cckit_gateway.ChaincodeLocatorResolver) *FabCarServiceChaincodeLocatorResolver + func (r *FabCarServiceChaincodeLocatorResolver) Resolve(ctx cckit_router.Context) (FabCarServiceChaincode, error) + type FabCarServiceChaincodeResolver interface + Resolve func(ctx cckit_router.Context) (FabCarServiceChaincode, error) + type FabCarServiceChaincodeStubInvoker struct + Invoker cckit_gateway.ChaincodeStubInvoker + func NewFabCarServiceChaincodeStubInvoker(locator *cckit_gateway.ChaincodeLocator) *FabCarServiceChaincodeStubInvoker + func (c *FabCarServiceChaincodeStubInvoker) CreateCar(ctx cckit_router.Context, in *CreateCarRequest) (*CarView, error) + func (c *FabCarServiceChaincodeStubInvoker) CreateMaker(ctx cckit_router.Context, in *CreateMakerRequest) (*Maker, error) + func (c *FabCarServiceChaincodeStubInvoker) DeleteCar(ctx cckit_router.Context, in *CarId) (*CarView, error) + func (c *FabCarServiceChaincodeStubInvoker) DeleteCarDetail(ctx cckit_router.Context, in *CarDetailId) (*CarDetail, error) + func (c *FabCarServiceChaincodeStubInvoker) DeleteCarOwner(ctx cckit_router.Context, in *CarOwnerId) (*CarOwner, error) + func (c *FabCarServiceChaincodeStubInvoker) DeleteMaker(ctx cckit_router.Context, in *MakerName) (*Maker, error) + func (c *FabCarServiceChaincodeStubInvoker) GetCar(ctx cckit_router.Context, in *CarId) (*Car, error) + func (c *FabCarServiceChaincodeStubInvoker) GetCarDetail(ctx cckit_router.Context, in *CarDetailId) (*CarDetail, error) + func (c *FabCarServiceChaincodeStubInvoker) GetCarOwner(ctx cckit_router.Context, in *CarOwnerId) (*CarOwner, error) + func (c *FabCarServiceChaincodeStubInvoker) GetCarView(ctx cckit_router.Context, in *CarId) (*CarView, error) + func (c *FabCarServiceChaincodeStubInvoker) GetMaker(ctx cckit_router.Context, in *MakerName) (*Maker, error) + func (c *FabCarServiceChaincodeStubInvoker) ListCarDetails(ctx cckit_router.Context, in *CarId) (*CarDetails, error) + func (c *FabCarServiceChaincodeStubInvoker) ListCarOwners(ctx cckit_router.Context, in *CarId) (*CarOwners, error) + func (c *FabCarServiceChaincodeStubInvoker) ListCars(ctx cckit_router.Context, in *emptypb.Empty) (*Cars, error) + func (c *FabCarServiceChaincodeStubInvoker) ListMakers(ctx cckit_router.Context, in *emptypb.Empty) (*Makers, error) + func (c *FabCarServiceChaincodeStubInvoker) UpdateCar(ctx cckit_router.Context, in *UpdateCarRequest) (*CarView, error) + func (c *FabCarServiceChaincodeStubInvoker) UpdateCarDetails(ctx cckit_router.Context, in *UpdateCarDetailsRequest) (*CarDetails, error) + func (c *FabCarServiceChaincodeStubInvoker) UpdateCarOwners(ctx cckit_router.Context, in *UpdateCarOwnersRequest) (*CarOwners, error) + type FabCarServiceClient interface + CreateCar func(ctx context.Context, in *CreateCarRequest, opts ...grpc.CallOption) (*CarView, error) + CreateMaker func(ctx context.Context, in *CreateMakerRequest, opts ...grpc.CallOption) (*Maker, error) + DeleteCar func(ctx context.Context, in *CarId, opts ...grpc.CallOption) (*CarView, error) + DeleteCarDetail func(ctx context.Context, in *CarDetailId, opts ...grpc.CallOption) (*CarDetail, error) + DeleteCarOwner func(ctx context.Context, in *CarOwnerId, opts ...grpc.CallOption) (*CarOwner, error) + DeleteMaker func(ctx context.Context, in *MakerName, opts ...grpc.CallOption) (*Maker, error) + GetCar func(ctx context.Context, in *CarId, opts ...grpc.CallOption) (*Car, error) + GetCarDetail func(ctx context.Context, in *CarDetailId, opts ...grpc.CallOption) (*CarDetail, error) + GetCarOwner func(ctx context.Context, in *CarOwnerId, opts ...grpc.CallOption) (*CarOwner, error) + GetCarView func(ctx context.Context, in *CarId, opts ...grpc.CallOption) (*CarView, error) + GetMaker func(ctx context.Context, in *MakerName, opts ...grpc.CallOption) (*Maker, error) + ListCarDetails func(ctx context.Context, in *CarId, opts ...grpc.CallOption) (*CarDetails, error) + ListCarOwners func(ctx context.Context, in *CarId, opts ...grpc.CallOption) (*CarOwners, error) + ListCars func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Cars, error) + ListMakers func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Makers, error) + UpdateCar func(ctx context.Context, in *UpdateCarRequest, opts ...grpc.CallOption) (*CarView, error) + UpdateCarDetails func(ctx context.Context, in *UpdateCarDetailsRequest, opts ...grpc.CallOption) (*CarDetails, error) + UpdateCarOwners func(ctx context.Context, in *UpdateCarOwnersRequest, opts ...grpc.CallOption) (*CarOwners, error) + func NewFabCarServiceClient(cc grpc.ClientConnInterface) FabCarServiceClient + type FabCarServiceGateway struct + ChaincodeInstance cckit_gateway.ChaincodeInstance + func NewFabCarServiceGateway(sdk cckit_sdk.SDK, channel, chaincode string, opts ...cckit_gateway.Opt) *FabCarServiceGateway + func NewFabCarServiceGatewayFromInstance(chaincodeInstance cckit_gateway.ChaincodeInstance) *FabCarServiceGateway + func (c *FabCarServiceGateway) CreateCar(ctx context.Context, in *CreateCarRequest) (*CarView, error) + func (c *FabCarServiceGateway) CreateMaker(ctx context.Context, in *CreateMakerRequest) (*Maker, error) + func (c *FabCarServiceGateway) DeleteCar(ctx context.Context, in *CarId) (*CarView, error) + func (c *FabCarServiceGateway) DeleteCarDetail(ctx context.Context, in *CarDetailId) (*CarDetail, error) + func (c *FabCarServiceGateway) DeleteCarOwner(ctx context.Context, in *CarOwnerId) (*CarOwner, error) + func (c *FabCarServiceGateway) DeleteMaker(ctx context.Context, in *MakerName) (*Maker, error) + func (c *FabCarServiceGateway) GetCar(ctx context.Context, in *CarId) (*Car, error) + func (c *FabCarServiceGateway) GetCarDetail(ctx context.Context, in *CarDetailId) (*CarDetail, error) + func (c *FabCarServiceGateway) GetCarOwner(ctx context.Context, in *CarOwnerId) (*CarOwner, error) + func (c *FabCarServiceGateway) GetCarView(ctx context.Context, in *CarId) (*CarView, error) + func (c *FabCarServiceGateway) GetMaker(ctx context.Context, in *MakerName) (*Maker, error) + func (c *FabCarServiceGateway) Invoker() cckit_gateway.ChaincodeInstanceInvoker + func (c *FabCarServiceGateway) ListCarDetails(ctx context.Context, in *CarId) (*CarDetails, error) + func (c *FabCarServiceGateway) ListCarOwners(ctx context.Context, in *CarId) (*CarOwners, error) + func (c *FabCarServiceGateway) ListCars(ctx context.Context, in *emptypb.Empty) (*Cars, error) + func (c *FabCarServiceGateway) ListMakers(ctx context.Context, in *emptypb.Empty) (*Makers, error) + func (c *FabCarServiceGateway) ServiceDef() cckit_gateway.ServiceDef + func (c *FabCarServiceGateway) UpdateCar(ctx context.Context, in *UpdateCarRequest) (*CarView, error) + func (c *FabCarServiceGateway) UpdateCarDetails(ctx context.Context, in *UpdateCarDetailsRequest) (*CarDetails, error) + func (c *FabCarServiceGateway) UpdateCarOwners(ctx context.Context, in *UpdateCarOwnersRequest) (*CarOwners, error) + type FabCarServiceServer interface + CreateCar func(context.Context, *CreateCarRequest) (*CarView, error) + CreateMaker func(context.Context, *CreateMakerRequest) (*Maker, error) + DeleteCar func(context.Context, *CarId) (*CarView, error) + DeleteCarDetail func(context.Context, *CarDetailId) (*CarDetail, error) + DeleteCarOwner func(context.Context, *CarOwnerId) (*CarOwner, error) + DeleteMaker func(context.Context, *MakerName) (*Maker, error) + GetCar func(context.Context, *CarId) (*Car, error) + GetCarDetail func(context.Context, *CarDetailId) (*CarDetail, error) + GetCarOwner func(context.Context, *CarOwnerId) (*CarOwner, error) + GetCarView func(context.Context, *CarId) (*CarView, error) + GetMaker func(context.Context, *MakerName) (*Maker, error) + ListCarDetails func(context.Context, *CarId) (*CarDetails, error) + ListCarOwners func(context.Context, *CarId) (*CarOwners, error) + ListCars func(context.Context, *emptypb.Empty) (*Cars, error) + ListMakers func(context.Context, *emptypb.Empty) (*Makers, error) + UpdateCar func(context.Context, *UpdateCarRequest) (*CarView, error) + UpdateCarDetails func(context.Context, *UpdateCarDetailsRequest) (*CarDetails, error) + UpdateCarOwners func(context.Context, *UpdateCarOwnersRequest) (*CarOwners, error) + type Maker struct + Country string + FoundationYear uint64 + Name string + func (*Maker) Descriptor() ([]byte, []int) + func (*Maker) ProtoMessage() + func (this *Maker) Validate() error + func (x *Maker) GetCountry() string + func (x *Maker) GetFoundationYear() uint64 + func (x *Maker) GetName() string + func (x *Maker) ProtoReflect() protoreflect.Message + func (x *Maker) Reset() + func (x *Maker) String() string + type MakerCreated struct + Country string + FoundationYear uint64 + Name string + func (*MakerCreated) Descriptor() ([]byte, []int) + func (*MakerCreated) ProtoMessage() + func (this *MakerCreated) Validate() error + func (x *MakerCreated) GetCountry() string + func (x *MakerCreated) GetFoundationYear() uint64 + func (x *MakerCreated) GetName() string + func (x *MakerCreated) ProtoReflect() protoreflect.Message + func (x *MakerCreated) Reset() + func (x *MakerCreated) String() string + type MakerDeleted struct + Country string + FoundationYear uint64 + Name string + func (*MakerDeleted) Descriptor() ([]byte, []int) + func (*MakerDeleted) ProtoMessage() + func (this *MakerDeleted) Validate() error + func (x *MakerDeleted) GetCountry() string + func (x *MakerDeleted) GetFoundationYear() uint64 + func (x *MakerDeleted) GetName() string + func (x *MakerDeleted) ProtoReflect() protoreflect.Message + func (x *MakerDeleted) Reset() + func (x *MakerDeleted) String() string + type MakerName struct + Name string + func (*MakerName) Descriptor() ([]byte, []int) + func (*MakerName) ProtoMessage() + func (this *MakerName) Validate() error + func (x *MakerName) GetName() string + func (x *MakerName) ProtoReflect() protoreflect.Message + func (x *MakerName) Reset() + func (x *MakerName) String() string + type Makers struct + Items []*Maker + func (*Makers) Descriptor() ([]byte, []int) + func (*Makers) ProtoMessage() + func (this *Makers) Validate() error + func (x *Makers) GetItems() []*Maker + func (x *Makers) ProtoReflect() protoreflect.Message + func (x *Makers) Reset() + func (x *Makers) String() string + type Mapper struct + Car *Car + Details []*CarDetail + Owners []*CarOwner + State *mapping.EntryMapper + func (m *Mapper) CreateCar(ctx router.Context, req *CreateCarRequest) + func (m *Mapper) SetCar(ctx router.Context, req *UpdateCarRequest) + func (m *Mapper) SetCarDetails(ctx router.Context, reqs []*SetCarDetail) + func (m *Mapper) SetCarOwners(ctx router.Context, reqs []*SetCarOwner) + func (m *Mapper) View() *CarView + type SetCarDetail struct + Make string + Type DetailType + func (*SetCarDetail) Descriptor() ([]byte, []int) + func (*SetCarDetail) ProtoMessage() + func (this *SetCarDetail) Validate() error + func (x *SetCarDetail) GetMake() string + func (x *SetCarDetail) GetType() DetailType + func (x *SetCarDetail) ProtoReflect() protoreflect.Message + func (x *SetCarDetail) Reset() + func (x *SetCarDetail) String() string + type SetCarOwner struct + FirstName string + SecondName string + VehiclePassport string + func (*SetCarOwner) Descriptor() ([]byte, []int) + func (*SetCarOwner) ProtoMessage() + func (this *SetCarOwner) Validate() error + func (x *SetCarOwner) GetFirstName() string + func (x *SetCarOwner) GetSecondName() string + func (x *SetCarOwner) GetVehiclePassport() string + func (x *SetCarOwner) ProtoReflect() protoreflect.Message + func (x *SetCarOwner) Reset() + func (x *SetCarOwner) String() string + type UnimplementedFabCarServiceServer struct + func (*UnimplementedFabCarServiceServer) CreateCar(context.Context, *CreateCarRequest) (*CarView, error) + func (*UnimplementedFabCarServiceServer) CreateMaker(context.Context, *CreateMakerRequest) (*Maker, error) + func (*UnimplementedFabCarServiceServer) DeleteCar(context.Context, *CarId) (*CarView, error) + func (*UnimplementedFabCarServiceServer) DeleteCarDetail(context.Context, *CarDetailId) (*CarDetail, error) + func (*UnimplementedFabCarServiceServer) DeleteCarOwner(context.Context, *CarOwnerId) (*CarOwner, error) + func (*UnimplementedFabCarServiceServer) DeleteMaker(context.Context, *MakerName) (*Maker, error) + func (*UnimplementedFabCarServiceServer) GetCar(context.Context, *CarId) (*Car, error) + func (*UnimplementedFabCarServiceServer) GetCarDetail(context.Context, *CarDetailId) (*CarDetail, error) + func (*UnimplementedFabCarServiceServer) GetCarOwner(context.Context, *CarOwnerId) (*CarOwner, error) + func (*UnimplementedFabCarServiceServer) GetCarView(context.Context, *CarId) (*CarView, error) + func (*UnimplementedFabCarServiceServer) GetMaker(context.Context, *MakerName) (*Maker, error) + func (*UnimplementedFabCarServiceServer) ListCarDetails(context.Context, *CarId) (*CarDetails, error) + func (*UnimplementedFabCarServiceServer) ListCarOwners(context.Context, *CarId) (*CarOwners, error) + func (*UnimplementedFabCarServiceServer) ListCars(context.Context, *emptypb.Empty) (*Cars, error) + func (*UnimplementedFabCarServiceServer) ListMakers(context.Context, *emptypb.Empty) (*Makers, error) + func (*UnimplementedFabCarServiceServer) UpdateCar(context.Context, *UpdateCarRequest) (*CarView, error) + func (*UnimplementedFabCarServiceServer) UpdateCarDetails(context.Context, *UpdateCarDetailsRequest) (*CarDetails, error) + func (*UnimplementedFabCarServiceServer) UpdateCarOwners(context.Context, *UpdateCarOwnersRequest) (*CarOwners, error) + type UpdateCarDetailsRequest struct + CarId []string + Details []*SetCarDetail + func (*UpdateCarDetailsRequest) Descriptor() ([]byte, []int) + func (*UpdateCarDetailsRequest) ProtoMessage() + func (this *UpdateCarDetailsRequest) Validate() error + func (x *UpdateCarDetailsRequest) GetCarId() []string + func (x *UpdateCarDetailsRequest) GetDetails() []*SetCarDetail + func (x *UpdateCarDetailsRequest) ProtoReflect() protoreflect.Message + func (x *UpdateCarDetailsRequest) Reset() + func (x *UpdateCarDetailsRequest) String() string + type UpdateCarOwnersRequest struct + CarId []string + Owners []*SetCarOwner + func (*UpdateCarOwnersRequest) Descriptor() ([]byte, []int) + func (*UpdateCarOwnersRequest) ProtoMessage() + func (this *UpdateCarOwnersRequest) Validate() error + func (x *UpdateCarOwnersRequest) GetCarId() []string + func (x *UpdateCarOwnersRequest) GetOwners() []*SetCarOwner + func (x *UpdateCarOwnersRequest) ProtoReflect() protoreflect.Message + func (x *UpdateCarOwnersRequest) Reset() + func (x *UpdateCarOwnersRequest) String() string + type UpdateCarRequest struct + Color string + Details []*SetCarDetail + Id []string + Owners []*SetCarOwner + func (*UpdateCarRequest) Descriptor() ([]byte, []int) + func (*UpdateCarRequest) ProtoMessage() + func (this *UpdateCarRequest) Validate() error + func (x *UpdateCarRequest) GetColor() string + func (x *UpdateCarRequest) GetDetails() []*SetCarDetail + func (x *UpdateCarRequest) GetId() []string + func (x *UpdateCarRequest) GetOwners() []*SetCarOwner + func (x *UpdateCarRequest) ProtoReflect() protoreflect.Message + func (x *UpdateCarRequest) Reset() + func (x *UpdateCarRequest) String() string