Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterBaseServer(s grpc.ServiceRegistrar, srv BaseServer)
- func RegisterCLIModServer(s grpc.ServiceRegistrar, srv CLIModServer)
- func RegisterDependencyResolverModServer(s grpc.ServiceRegistrar, srv DependencyResolverModServer)
- type BaseClient
- type BaseServer
- type CLIModClient
- type CLIModServer
- type DependencyResolverModClient
- type DependencyResolverModServer
- type UnimplementedBaseServer
- type UnimplementedCLIModServer
- func (UnimplementedCLIModServer) CompileAssets(context.Context, *plugins.CompileAssetsRequest) (*plugins.CompileAssetsResponse, error)
- func (UnimplementedCLIModServer) DefaultAssets(context.Context, *plugins.DefaultAssetsRequest) (*plugins.DefaultAssetsResponse, error)
- func (UnimplementedCLIModServer) DefaultConfig(context.Context, *plugins.DefaultConfigRequest) (*plugins.DefaultConfigResponse, error)
- func (UnimplementedCLIModServer) GetQuestions(context.Context, *plugins.GetQuestionsRequest) (*plugins.GetQuestionsResponse, error)
- func (UnimplementedCLIModServer) ValidateQuestion(context.Context, *plugins.ValidateQuestionRequest) (*plugins.ValidateQuestionResponse, error)
- type UnimplementedDependencyResolverModServer
- func (UnimplementedDependencyResolverModServer) GenerateDependencies(context.Context, *plugins.GenerateDependenciesRequest) (*plugins.GenerateDependenciesResponse, error)
- func (UnimplementedDependencyResolverModServer) GenerateDestination(context.Context, *plugins.GenerateDestinationRequest) (*plugins.GenerateDestinationResponse, error)
- type UnsafeBaseServer
- type UnsafeCLIModServer
- type UnsafeDependencyResolverModServer
Constants ¶
const ( CLIMod_GetQuestions_FullMethodName = "/odpf.optimus.plugins.CLIMod/GetQuestions" CLIMod_ValidateQuestion_FullMethodName = "/odpf.optimus.plugins.CLIMod/ValidateQuestion" CLIMod_DefaultConfig_FullMethodName = "/odpf.optimus.plugins.CLIMod/DefaultConfig" CLIMod_DefaultAssets_FullMethodName = "/odpf.optimus.plugins.CLIMod/DefaultAssets" CLIMod_CompileAssets_FullMethodName = "/odpf.optimus.plugins.CLIMod/CompileAssets" )
const ( DependencyResolverMod_GenerateDestination_FullMethodName = "/odpf.optimus.plugins.DependencyResolverMod/GenerateDestination" DependencyResolverMod_GenerateDependencies_FullMethodName = "/odpf.optimus.plugins.DependencyResolverMod/GenerateDependencies" )
const (
Base_PluginInfo_FullMethodName = "/odpf.optimus.plugins.Base/PluginInfo"
)
Variables ¶
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)
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)
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 ¶
type CLIModClient interface { GetQuestions(ctx context.Context, in *plugins.GetQuestionsRequest, opts ...grpc.CallOption) (*plugins.GetQuestionsResponse, error) ValidateQuestion(ctx context.Context, in *plugins.ValidateQuestionRequest, opts ...grpc.CallOption) (*plugins.ValidateQuestionResponse, error) DefaultConfig(ctx context.Context, in *plugins.DefaultConfigRequest, opts ...grpc.CallOption) (*plugins.DefaultConfigResponse, error) DefaultAssets(ctx context.Context, in *plugins.DefaultAssetsRequest, opts ...grpc.CallOption) (*plugins.DefaultAssetsResponse, error) CompileAssets(ctx context.Context, in *plugins.CompileAssetsRequest, opts ...grpc.CallOption) (*plugins.CompileAssetsResponse, error) }
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 ¶
type CLIModServer interface { GetQuestions(context.Context, *plugins.GetQuestionsRequest) (*plugins.GetQuestionsResponse, error) ValidateQuestion(context.Context, *plugins.ValidateQuestionRequest) (*plugins.ValidateQuestionResponse, error) DefaultConfig(context.Context, *plugins.DefaultConfigRequest) (*plugins.DefaultConfigResponse, error) DefaultAssets(context.Context, *plugins.DefaultAssetsRequest) (*plugins.DefaultAssetsResponse, error) CompileAssets(context.Context, *plugins.CompileAssetsRequest) (*plugins.CompileAssetsResponse, error) }
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 ¶
func (UnimplementedBaseServer) PluginInfo(context.Context, *plugins.PluginInfoRequest) (*plugins.PluginInfoResponse, error)
type UnimplementedCLIModServer ¶
type UnimplementedCLIModServer struct { }
UnimplementedCLIModServer should be embedded to have forward compatible implementations.
func (UnimplementedCLIModServer) CompileAssets ¶
func (UnimplementedCLIModServer) CompileAssets(context.Context, *plugins.CompileAssetsRequest) (*plugins.CompileAssetsResponse, error)
func (UnimplementedCLIModServer) DefaultAssets ¶
func (UnimplementedCLIModServer) DefaultAssets(context.Context, *plugins.DefaultAssetsRequest) (*plugins.DefaultAssetsResponse, error)
func (UnimplementedCLIModServer) DefaultConfig ¶
func (UnimplementedCLIModServer) DefaultConfig(context.Context, *plugins.DefaultConfigRequest) (*plugins.DefaultConfigResponse, error)
func (UnimplementedCLIModServer) GetQuestions ¶
func (UnimplementedCLIModServer) GetQuestions(context.Context, *plugins.GetQuestionsRequest) (*plugins.GetQuestionsResponse, error)
func (UnimplementedCLIModServer) ValidateQuestion ¶
func (UnimplementedCLIModServer) ValidateQuestion(context.Context, *plugins.ValidateQuestionRequest) (*plugins.ValidateQuestionResponse, error)
type UnimplementedDependencyResolverModServer ¶
type UnimplementedDependencyResolverModServer struct { }
UnimplementedDependencyResolverModServer should be embedded to have forward compatible implementations.
func (UnimplementedDependencyResolverModServer) GenerateDependencies ¶
func (UnimplementedDependencyResolverModServer) GenerateDependencies(context.Context, *plugins.GenerateDependenciesRequest) (*plugins.GenerateDependenciesResponse, error)
func (UnimplementedDependencyResolverModServer) GenerateDestination ¶
func (UnimplementedDependencyResolverModServer) GenerateDestination(context.Context, *plugins.GenerateDestinationRequest) (*plugins.GenerateDestinationResponse, error)
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.