pluginsgrpc

package
v1.2.0-20230223111412-... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Base_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "odpf.optimus.plugins.Base",
	HandlerType: (*BaseServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PluginInfo",
			Handler:    _Base_PluginInfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "odpf/optimus/plugins/base.proto",
}

Base_ServiceDesc is the grpc.ServiceDesc for Base 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 CLIMod_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "odpf.optimus.plugins.CLIMod",
	HandlerType: (*CLIModServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetQuestions",
			Handler:    _CLIMod_GetQuestions_Handler,
		},
		{
			MethodName: "ValidateQuestion",
			Handler:    _CLIMod_ValidateQuestion_Handler,
		},
		{
			MethodName: "DefaultConfig",
			Handler:    _CLIMod_DefaultConfig_Handler,
		},
		{
			MethodName: "DefaultAssets",
			Handler:    _CLIMod_DefaultAssets_Handler,
		},
		{
			MethodName: "CompileAssets",
			Handler:    _CLIMod_CompileAssets_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "odpf/optimus/plugins/cli.proto",
}

CLIMod_ServiceDesc is the grpc.ServiceDesc for CLIMod 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 DependencyResolverMod_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "odpf.optimus.plugins.DependencyResolverMod",
	HandlerType: (*DependencyResolverModServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GenerateDestination",
			Handler:    _DependencyResolverMod_GenerateDestination_Handler,
		},
		{
			MethodName: "GenerateDependencies",
			Handler:    _DependencyResolverMod_GenerateDependencies_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "odpf/optimus/plugins/dependency_resolver.proto",
}

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

Functions

func RegisterBaseServer

func RegisterBaseServer(s grpc.ServiceRegistrar, srv BaseServer)

func RegisterCLIModServer

func RegisterCLIModServer(s grpc.ServiceRegistrar, srv CLIModServer)

func RegisterDependencyResolverModServer

func RegisterDependencyResolverModServer(s grpc.ServiceRegistrar, srv DependencyResolverModServer)

Types

type BaseClient

type BaseClient interface {
	PluginInfo(ctx context.Context, in *plugins.PluginInfoRequest, opts ...grpc.CallOption) (*plugins.PluginInfoResponse, error)
}

BaseClient is the client API for Base 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 NewBaseClient

func NewBaseClient(cc grpc.ClientConnInterface) BaseClient

type BaseServer

type BaseServer interface {
	PluginInfo(context.Context, *plugins.PluginInfoRequest) (*plugins.PluginInfoResponse, error)
}

BaseServer is the server API for Base service. All implementations should embed UnimplementedBaseServer for forward compatibility

type CLIModClient

CLIModClient is the client API for CLIMod 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 NewCLIModClient

func NewCLIModClient(cc grpc.ClientConnInterface) CLIModClient

type CLIModServer

CLIModServer is the server API for CLIMod service. All implementations should embed UnimplementedCLIModServer for forward compatibility

type DependencyResolverModClient

type DependencyResolverModClient interface {
	GenerateDestination(ctx context.Context, in *plugins.GenerateDestinationRequest, opts ...grpc.CallOption) (*plugins.GenerateDestinationResponse, error)
	GenerateDependencies(ctx context.Context, in *plugins.GenerateDependenciesRequest, opts ...grpc.CallOption) (*plugins.GenerateDependenciesResponse, error)
}

DependencyResolverModClient is the client API for DependencyResolverMod 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 NewDependencyResolverModClient

func NewDependencyResolverModClient(cc grpc.ClientConnInterface) DependencyResolverModClient

type DependencyResolverModServer

type DependencyResolverModServer interface {
	GenerateDestination(context.Context, *plugins.GenerateDestinationRequest) (*plugins.GenerateDestinationResponse, error)
	GenerateDependencies(context.Context, *plugins.GenerateDependenciesRequest) (*plugins.GenerateDependenciesResponse, error)
}

DependencyResolverModServer is the server API for DependencyResolverMod service. All implementations should embed UnimplementedDependencyResolverModServer for forward compatibility

type UnimplementedBaseServer

type UnimplementedBaseServer struct {
}

UnimplementedBaseServer should be embedded to have forward compatible implementations.

func (UnimplementedBaseServer) PluginInfo

type UnimplementedCLIModServer

type UnimplementedCLIModServer struct {
}

UnimplementedCLIModServer should be embedded to have forward compatible implementations.

func (UnimplementedCLIModServer) CompileAssets

func (UnimplementedCLIModServer) DefaultAssets

func (UnimplementedCLIModServer) DefaultConfig

func (UnimplementedCLIModServer) GetQuestions

func (UnimplementedCLIModServer) ValidateQuestion

type UnimplementedDependencyResolverModServer

type UnimplementedDependencyResolverModServer struct {
}

UnimplementedDependencyResolverModServer should be embedded to have forward compatible implementations.

func (UnimplementedDependencyResolverModServer) GenerateDependencies

func (UnimplementedDependencyResolverModServer) GenerateDestination

type UnsafeBaseServer

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

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

type UnsafeCLIModServer

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

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

type UnsafeDependencyResolverModServer

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

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

Jump to

Keyboard shortcuts

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