translatorv1

package
v0.0.1-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
var File_translator_v1_translator_proto protoreflect.FileDescriptor
View Source
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 (*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 (*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 (*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 (*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 (*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 (*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 (*TranslateProviderSchemaRequest) Reset

func (x *TranslateProviderSchemaRequest) Reset()

func (*TranslateProviderSchemaRequest) 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 (*TranslateProviderSchemaResponse) Reset

func (*TranslateProviderSchemaResponse) 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

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.

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.

Jump to

Keyboard shortcuts

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