Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterTranslatorServer(s grpc.ServiceRegistrar, srv TranslatorServer)
- type GenerateConsumerSDKRequest
- func (*GenerateConsumerSDKRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateConsumerSDKRequest) GetInputPath() string
- func (x *GenerateConsumerSDKRequest) GetOutputPath() string
- func (msg *GenerateConsumerSDKRequest) MarshalJSON() ([]byte, error)
- func (*GenerateConsumerSDKRequest) ProtoMessage()
- func (x *GenerateConsumerSDKRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateConsumerSDKRequest) Reset()
- func (x *GenerateConsumerSDKRequest) String() string
- func (msg *GenerateConsumerSDKRequest) UnmarshalJSON(b []byte) error
- type GenerateConsumerSDKResponse
- func (*GenerateConsumerSDKResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *GenerateConsumerSDKResponse) MarshalJSON() ([]byte, error)
- func (*GenerateConsumerSDKResponse) ProtoMessage()
- func (x *GenerateConsumerSDKResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateConsumerSDKResponse) Reset()
- func (x *GenerateConsumerSDKResponse) String() string
- func (msg *GenerateConsumerSDKResponse) UnmarshalJSON(b []byte) error
- type GenerateProviderSDKRequest
- func (*GenerateProviderSDKRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateProviderSDKRequest) GetArgs() map[string]string
- func (x *GenerateProviderSDKRequest) GetInputPath() string
- func (x *GenerateProviderSDKRequest) GetOutputPath() string
- func (msg *GenerateProviderSDKRequest) MarshalJSON() ([]byte, error)
- func (*GenerateProviderSDKRequest) ProtoMessage()
- func (x *GenerateProviderSDKRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateProviderSDKRequest) Reset()
- func (x *GenerateProviderSDKRequest) String() string
- func (msg *GenerateProviderSDKRequest) UnmarshalJSON(b []byte) error
- type GenerateProvierSDKResponse
- func (*GenerateProvierSDKResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *GenerateProvierSDKResponse) MarshalJSON() ([]byte, error)
- func (*GenerateProvierSDKResponse) ProtoMessage()
- func (x *GenerateProvierSDKResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateProvierSDKResponse) Reset()
- func (x *GenerateProvierSDKResponse) String() string
- func (msg *GenerateProvierSDKResponse) UnmarshalJSON(b []byte) error
- type TranslateBlueprintRequest
- func (*TranslateBlueprintRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TranslateBlueprintRequest) GetConfigPath() string
- func (x *TranslateBlueprintRequest) GetInputPath() string
- func (x *TranslateBlueprintRequest) GetOutputPath() string
- func (msg *TranslateBlueprintRequest) MarshalJSON() ([]byte, error)
- func (*TranslateBlueprintRequest) ProtoMessage()
- func (x *TranslateBlueprintRequest) ProtoReflect() protoreflect.Message
- func (x *TranslateBlueprintRequest) Reset()
- func (x *TranslateBlueprintRequest) String() string
- func (msg *TranslateBlueprintRequest) UnmarshalJSON(b []byte) error
- type TranslateBlueprintResponse
- func (*TranslateBlueprintResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *TranslateBlueprintResponse) MarshalJSON() ([]byte, error)
- func (*TranslateBlueprintResponse) ProtoMessage()
- func (x *TranslateBlueprintResponse) ProtoReflect() protoreflect.Message
- func (x *TranslateBlueprintResponse) Reset()
- func (x *TranslateBlueprintResponse) String() string
- func (msg *TranslateBlueprintResponse) UnmarshalJSON(b []byte) error
- type TranslateProviderSchemaRequest
- func (*TranslateProviderSchemaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TranslateProviderSchemaRequest) GetInputPath() string
- func (x *TranslateProviderSchemaRequest) GetOutputPath() string
- func (msg *TranslateProviderSchemaRequest) MarshalJSON() ([]byte, error)
- func (*TranslateProviderSchemaRequest) ProtoMessage()
- func (x *TranslateProviderSchemaRequest) ProtoReflect() protoreflect.Message
- func (x *TranslateProviderSchemaRequest) Reset()
- func (x *TranslateProviderSchemaRequest) String() string
- func (msg *TranslateProviderSchemaRequest) UnmarshalJSON(b []byte) error
- type TranslateProviderSchemaResponse
- func (*TranslateProviderSchemaResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *TranslateProviderSchemaResponse) MarshalJSON() ([]byte, error)
- func (*TranslateProviderSchemaResponse) ProtoMessage()
- func (x *TranslateProviderSchemaResponse) ProtoReflect() protoreflect.Message
- func (x *TranslateProviderSchemaResponse) Reset()
- func (x *TranslateProviderSchemaResponse) String() string
- func (msg *TranslateProviderSchemaResponse) UnmarshalJSON(b []byte) error
- type TranslatorClient
- type TranslatorServer
- type UnimplementedTranslatorServer
- func (UnimplementedTranslatorServer) GenerateConsumerSDK(context.Context, *GenerateConsumerSDKRequest) (*GenerateConsumerSDKResponse, error)
- func (UnimplementedTranslatorServer) GenerateProviderSDK(context.Context, *GenerateProviderSDKRequest) (*GenerateProvierSDKResponse, error)
- func (UnimplementedTranslatorServer) TranslateBlueprint(context.Context, *TranslateBlueprintRequest) (*TranslateBlueprintResponse, error)
- func (UnimplementedTranslatorServer) TranslateProviderSchema(context.Context, *TranslateProviderSchemaRequest) (*TranslateProviderSchemaResponse, error)
- type UnsafeTranslatorServer
Constants ¶
const ( Translator_TranslateProviderSchema_FullMethodName = "/alchematik.athanor.translator.v1.Translator/TranslateProviderSchema" Translator_TranslateBlueprint_FullMethodName = "/alchematik.athanor.translator.v1.Translator/TranslateBlueprint" Translator_GenerateProviderSDK_FullMethodName = "/alchematik.athanor.translator.v1.Translator/GenerateProviderSDK" Translator_GenerateConsumerSDK_FullMethodName = "/alchematik.athanor.translator.v1.Translator/GenerateConsumerSDK" )
Variables ¶
var File_translator_v1_translator_proto protoreflect.FileDescriptor
var Translator_ServiceDesc = grpc.ServiceDesc{ ServiceName: "alchematik.athanor.translator.v1.Translator", HandlerType: (*TranslatorServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "TranslateProviderSchema", Handler: _Translator_TranslateProviderSchema_Handler, }, { MethodName: "TranslateBlueprint", Handler: _Translator_TranslateBlueprint_Handler, }, { MethodName: "GenerateProviderSDK", Handler: _Translator_GenerateProviderSDK_Handler, }, { MethodName: "GenerateConsumerSDK", Handler: _Translator_GenerateConsumerSDK_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "translator/v1/translator.proto", }
Translator_ServiceDesc is the grpc.ServiceDesc for Translator service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTranslatorServer ¶
func RegisterTranslatorServer(s grpc.ServiceRegistrar, srv TranslatorServer)
Types ¶
type GenerateConsumerSDKRequest ¶
type GenerateConsumerSDKRequest struct { InputPath string `protobuf:"bytes,1,opt,name=input_path,json=inputPath,proto3" json:"input_path,omitempty"` OutputPath string `protobuf:"bytes,2,opt,name=output_path,json=outputPath,proto3" json:"output_path,omitempty"` // contains filtered or unexported fields }
func (*GenerateConsumerSDKRequest) Descriptor
deprecated
func (*GenerateConsumerSDKRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateConsumerSDKRequest.ProtoReflect.Descriptor instead.
func (*GenerateConsumerSDKRequest) GetInputPath ¶
func (x *GenerateConsumerSDKRequest) GetInputPath() string
func (*GenerateConsumerSDKRequest) GetOutputPath ¶
func (x *GenerateConsumerSDKRequest) GetOutputPath() string
func (*GenerateConsumerSDKRequest) MarshalJSON ¶
func (msg *GenerateConsumerSDKRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GenerateConsumerSDKRequest) ProtoMessage ¶
func (*GenerateConsumerSDKRequest) ProtoMessage()
func (*GenerateConsumerSDKRequest) ProtoReflect ¶
func (x *GenerateConsumerSDKRequest) ProtoReflect() protoreflect.Message
func (*GenerateConsumerSDKRequest) Reset ¶
func (x *GenerateConsumerSDKRequest) Reset()
func (*GenerateConsumerSDKRequest) String ¶
func (x *GenerateConsumerSDKRequest) String() string
func (*GenerateConsumerSDKRequest) UnmarshalJSON ¶
func (msg *GenerateConsumerSDKRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type GenerateConsumerSDKResponse ¶
type GenerateConsumerSDKResponse struct {
// contains filtered or unexported fields
}
func (*GenerateConsumerSDKResponse) Descriptor
deprecated
func (*GenerateConsumerSDKResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateConsumerSDKResponse.ProtoReflect.Descriptor instead.
func (*GenerateConsumerSDKResponse) MarshalJSON ¶
func (msg *GenerateConsumerSDKResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GenerateConsumerSDKResponse) ProtoMessage ¶
func (*GenerateConsumerSDKResponse) ProtoMessage()
func (*GenerateConsumerSDKResponse) ProtoReflect ¶
func (x *GenerateConsumerSDKResponse) ProtoReflect() protoreflect.Message
func (*GenerateConsumerSDKResponse) Reset ¶
func (x *GenerateConsumerSDKResponse) Reset()
func (*GenerateConsumerSDKResponse) String ¶
func (x *GenerateConsumerSDKResponse) String() string
func (*GenerateConsumerSDKResponse) UnmarshalJSON ¶
func (msg *GenerateConsumerSDKResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type GenerateProviderSDKRequest ¶
type GenerateProviderSDKRequest struct { InputPath string `protobuf:"bytes,1,opt,name=input_path,json=inputPath,proto3" json:"input_path,omitempty"` OutputPath string `protobuf:"bytes,2,opt,name=output_path,json=outputPath,proto3" json:"output_path,omitempty"` Args map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GenerateProviderSDKRequest) Descriptor
deprecated
func (*GenerateProviderSDKRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateProviderSDKRequest.ProtoReflect.Descriptor instead.
func (*GenerateProviderSDKRequest) GetArgs ¶
func (x *GenerateProviderSDKRequest) GetArgs() map[string]string
func (*GenerateProviderSDKRequest) GetInputPath ¶
func (x *GenerateProviderSDKRequest) GetInputPath() string
func (*GenerateProviderSDKRequest) GetOutputPath ¶
func (x *GenerateProviderSDKRequest) GetOutputPath() string
func (*GenerateProviderSDKRequest) MarshalJSON ¶
func (msg *GenerateProviderSDKRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GenerateProviderSDKRequest) ProtoMessage ¶
func (*GenerateProviderSDKRequest) ProtoMessage()
func (*GenerateProviderSDKRequest) ProtoReflect ¶
func (x *GenerateProviderSDKRequest) ProtoReflect() protoreflect.Message
func (*GenerateProviderSDKRequest) Reset ¶
func (x *GenerateProviderSDKRequest) Reset()
func (*GenerateProviderSDKRequest) String ¶
func (x *GenerateProviderSDKRequest) String() string
func (*GenerateProviderSDKRequest) UnmarshalJSON ¶
func (msg *GenerateProviderSDKRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type GenerateProvierSDKResponse ¶
type GenerateProvierSDKResponse struct {
// contains filtered or unexported fields
}
func (*GenerateProvierSDKResponse) Descriptor
deprecated
func (*GenerateProvierSDKResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateProvierSDKResponse.ProtoReflect.Descriptor instead.
func (*GenerateProvierSDKResponse) MarshalJSON ¶
func (msg *GenerateProvierSDKResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GenerateProvierSDKResponse) ProtoMessage ¶
func (*GenerateProvierSDKResponse) ProtoMessage()
func (*GenerateProvierSDKResponse) ProtoReflect ¶
func (x *GenerateProvierSDKResponse) ProtoReflect() protoreflect.Message
func (*GenerateProvierSDKResponse) Reset ¶
func (x *GenerateProvierSDKResponse) Reset()
func (*GenerateProvierSDKResponse) String ¶
func (x *GenerateProvierSDKResponse) String() string
func (*GenerateProvierSDKResponse) UnmarshalJSON ¶
func (msg *GenerateProvierSDKResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type TranslateBlueprintRequest ¶
type TranslateBlueprintRequest struct { InputPath string `protobuf:"bytes,1,opt,name=input_path,json=inputPath,proto3" json:"input_path,omitempty"` ConfigPath string `protobuf:"bytes,2,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"` OutputPath string `protobuf:"bytes,3,opt,name=output_path,json=outputPath,proto3" json:"output_path,omitempty"` // contains filtered or unexported fields }
func (*TranslateBlueprintRequest) Descriptor
deprecated
func (*TranslateBlueprintRequest) Descriptor() ([]byte, []int)
Deprecated: Use TranslateBlueprintRequest.ProtoReflect.Descriptor instead.
func (*TranslateBlueprintRequest) GetConfigPath ¶
func (x *TranslateBlueprintRequest) GetConfigPath() string
func (*TranslateBlueprintRequest) GetInputPath ¶
func (x *TranslateBlueprintRequest) GetInputPath() string
func (*TranslateBlueprintRequest) GetOutputPath ¶
func (x *TranslateBlueprintRequest) GetOutputPath() string
func (*TranslateBlueprintRequest) MarshalJSON ¶
func (msg *TranslateBlueprintRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*TranslateBlueprintRequest) ProtoMessage ¶
func (*TranslateBlueprintRequest) ProtoMessage()
func (*TranslateBlueprintRequest) ProtoReflect ¶
func (x *TranslateBlueprintRequest) ProtoReflect() protoreflect.Message
func (*TranslateBlueprintRequest) Reset ¶
func (x *TranslateBlueprintRequest) Reset()
func (*TranslateBlueprintRequest) String ¶
func (x *TranslateBlueprintRequest) String() string
func (*TranslateBlueprintRequest) UnmarshalJSON ¶
func (msg *TranslateBlueprintRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type TranslateBlueprintResponse ¶
type TranslateBlueprintResponse struct {
// contains filtered or unexported fields
}
func (*TranslateBlueprintResponse) Descriptor
deprecated
func (*TranslateBlueprintResponse) Descriptor() ([]byte, []int)
Deprecated: Use TranslateBlueprintResponse.ProtoReflect.Descriptor instead.
func (*TranslateBlueprintResponse) MarshalJSON ¶
func (msg *TranslateBlueprintResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*TranslateBlueprintResponse) ProtoMessage ¶
func (*TranslateBlueprintResponse) ProtoMessage()
func (*TranslateBlueprintResponse) ProtoReflect ¶
func (x *TranslateBlueprintResponse) ProtoReflect() protoreflect.Message
func (*TranslateBlueprintResponse) Reset ¶
func (x *TranslateBlueprintResponse) Reset()
func (*TranslateBlueprintResponse) String ¶
func (x *TranslateBlueprintResponse) String() string
func (*TranslateBlueprintResponse) UnmarshalJSON ¶
func (msg *TranslateBlueprintResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type TranslateProviderSchemaRequest ¶
type TranslateProviderSchemaRequest struct { InputPath string `protobuf:"bytes,1,opt,name=input_path,json=inputPath,proto3" json:"input_path,omitempty"` OutputPath string `protobuf:"bytes,2,opt,name=output_path,json=outputPath,proto3" json:"output_path,omitempty"` // contains filtered or unexported fields }
func (*TranslateProviderSchemaRequest) Descriptor
deprecated
func (*TranslateProviderSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use TranslateProviderSchemaRequest.ProtoReflect.Descriptor instead.
func (*TranslateProviderSchemaRequest) GetInputPath ¶
func (x *TranslateProviderSchemaRequest) GetInputPath() string
func (*TranslateProviderSchemaRequest) GetOutputPath ¶
func (x *TranslateProviderSchemaRequest) GetOutputPath() string
func (*TranslateProviderSchemaRequest) MarshalJSON ¶
func (msg *TranslateProviderSchemaRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*TranslateProviderSchemaRequest) ProtoMessage ¶
func (*TranslateProviderSchemaRequest) ProtoMessage()
func (*TranslateProviderSchemaRequest) ProtoReflect ¶
func (x *TranslateProviderSchemaRequest) ProtoReflect() protoreflect.Message
func (*TranslateProviderSchemaRequest) Reset ¶
func (x *TranslateProviderSchemaRequest) Reset()
func (*TranslateProviderSchemaRequest) String ¶
func (x *TranslateProviderSchemaRequest) String() string
func (*TranslateProviderSchemaRequest) UnmarshalJSON ¶
func (msg *TranslateProviderSchemaRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type TranslateProviderSchemaResponse ¶
type TranslateProviderSchemaResponse struct {
// contains filtered or unexported fields
}
func (*TranslateProviderSchemaResponse) Descriptor
deprecated
func (*TranslateProviderSchemaResponse) Descriptor() ([]byte, []int)
Deprecated: Use TranslateProviderSchemaResponse.ProtoReflect.Descriptor instead.
func (*TranslateProviderSchemaResponse) MarshalJSON ¶
func (msg *TranslateProviderSchemaResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*TranslateProviderSchemaResponse) ProtoMessage ¶
func (*TranslateProviderSchemaResponse) ProtoMessage()
func (*TranslateProviderSchemaResponse) ProtoReflect ¶
func (x *TranslateProviderSchemaResponse) ProtoReflect() protoreflect.Message
func (*TranslateProviderSchemaResponse) Reset ¶
func (x *TranslateProviderSchemaResponse) Reset()
func (*TranslateProviderSchemaResponse) String ¶
func (x *TranslateProviderSchemaResponse) String() string
func (*TranslateProviderSchemaResponse) UnmarshalJSON ¶
func (msg *TranslateProviderSchemaResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type TranslatorClient ¶
type TranslatorClient interface { TranslateProviderSchema(ctx context.Context, in *TranslateProviderSchemaRequest, opts ...grpc.CallOption) (*TranslateProviderSchemaResponse, error) TranslateBlueprint(ctx context.Context, in *TranslateBlueprintRequest, opts ...grpc.CallOption) (*TranslateBlueprintResponse, error) GenerateProviderSDK(ctx context.Context, in *GenerateProviderSDKRequest, opts ...grpc.CallOption) (*GenerateProvierSDKResponse, error) GenerateConsumerSDK(ctx context.Context, in *GenerateConsumerSDKRequest, opts ...grpc.CallOption) (*GenerateConsumerSDKResponse, error) }
TranslatorClient is the client API for Translator 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 NewTranslatorClient ¶
func NewTranslatorClient(cc grpc.ClientConnInterface) TranslatorClient
type TranslatorServer ¶
type TranslatorServer interface { TranslateProviderSchema(context.Context, *TranslateProviderSchemaRequest) (*TranslateProviderSchemaResponse, error) TranslateBlueprint(context.Context, *TranslateBlueprintRequest) (*TranslateBlueprintResponse, error) GenerateProviderSDK(context.Context, *GenerateProviderSDKRequest) (*GenerateProvierSDKResponse, error) GenerateConsumerSDK(context.Context, *GenerateConsumerSDKRequest) (*GenerateConsumerSDKResponse, error) }
TranslatorServer is the server API for Translator service. All implementations should embed UnimplementedTranslatorServer for forward compatibility
type UnimplementedTranslatorServer ¶
type UnimplementedTranslatorServer struct { }
UnimplementedTranslatorServer should be embedded to have forward compatible implementations.
func (UnimplementedTranslatorServer) GenerateConsumerSDK ¶
func (UnimplementedTranslatorServer) GenerateConsumerSDK(context.Context, *GenerateConsumerSDKRequest) (*GenerateConsumerSDKResponse, error)
func (UnimplementedTranslatorServer) GenerateProviderSDK ¶
func (UnimplementedTranslatorServer) GenerateProviderSDK(context.Context, *GenerateProviderSDKRequest) (*GenerateProvierSDKResponse, error)
func (UnimplementedTranslatorServer) TranslateBlueprint ¶
func (UnimplementedTranslatorServer) TranslateBlueprint(context.Context, *TranslateBlueprintRequest) (*TranslateBlueprintResponse, error)
func (UnimplementedTranslatorServer) TranslateProviderSchema ¶
func (UnimplementedTranslatorServer) TranslateProviderSchema(context.Context, *TranslateProviderSchemaRequest) (*TranslateProviderSchemaResponse, error)
type UnsafeTranslatorServer ¶
type UnsafeTranslatorServer interface {
// contains filtered or unexported methods
}
UnsafeTranslatorServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TranslatorServer will result in compilation errors.