Documentation ¶
Index ¶
- Variables
- func RegisterModuleServiceServer(s grpc.ServiceRegistrar, srv ModuleServiceServer)
- func RegisterResourceServiceServer(s grpc.ServiceRegistrar, srv ResourceServiceServer)
- type ModuleServiceClient
- type ModuleServiceServer
- type ResourceServiceClient
- type ResourceServiceServer
- type ResourceService_GetLogClient
- type ResourceService_GetLogServer
- type UnimplementedModuleServiceServer
- func (UnimplementedModuleServiceServer) CreateModule(context.Context, *v1beta1.CreateModuleRequest) (*v1beta1.CreateModuleResponse, error)
- func (UnimplementedModuleServiceServer) DeleteModule(context.Context, *v1beta1.DeleteModuleRequest) (*v1beta1.DeleteModuleResponse, error)
- func (UnimplementedModuleServiceServer) GetModule(context.Context, *v1beta1.GetModuleRequest) (*v1beta1.GetModuleResponse, error)
- func (UnimplementedModuleServiceServer) ListModules(context.Context, *v1beta1.ListModulesRequest) (*v1beta1.ListModulesResponse, error)
- func (UnimplementedModuleServiceServer) UpdateModule(context.Context, *v1beta1.UpdateModuleRequest) (*v1beta1.UpdateModuleResponse, error)
- type UnimplementedResourceServiceServer
- func (UnimplementedResourceServiceServer) ApplyAction(context.Context, *v1beta1.ApplyActionRequest) (*v1beta1.ApplyActionResponse, error)
- func (UnimplementedResourceServiceServer) CreateResource(context.Context, *v1beta1.CreateResourceRequest) (*v1beta1.CreateResourceResponse, error)
- func (UnimplementedResourceServiceServer) DeleteResource(context.Context, *v1beta1.DeleteResourceRequest) (*v1beta1.DeleteResourceResponse, error)
- func (UnimplementedResourceServiceServer) GetLog(*v1beta1.GetLogRequest, ResourceService_GetLogServer) error
- func (UnimplementedResourceServiceServer) GetResource(context.Context, *v1beta1.GetResourceRequest) (*v1beta1.GetResourceResponse, error)
- func (UnimplementedResourceServiceServer) GetResourceRevisions(context.Context, *v1beta1.GetResourceRevisionsRequest) (*v1beta1.GetResourceRevisionsResponse, error)
- func (UnimplementedResourceServiceServer) ListResources(context.Context, *v1beta1.ListResourcesRequest) (*v1beta1.ListResourcesResponse, error)
- func (UnimplementedResourceServiceServer) UpdateResource(context.Context, *v1beta1.UpdateResourceRequest) (*v1beta1.UpdateResourceResponse, error)
- type UnsafeModuleServiceServer
- type UnsafeResourceServiceServer
Constants ¶
This section is empty.
Variables ¶
var ModuleService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "odpf.entropy.v1beta1.ModuleService", HandlerType: (*ModuleServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListModules", Handler: _ModuleService_ListModules_Handler, }, { MethodName: "GetModule", Handler: _ModuleService_GetModule_Handler, }, { MethodName: "CreateModule", Handler: _ModuleService_CreateModule_Handler, }, { MethodName: "UpdateModule", Handler: _ModuleService_UpdateModule_Handler, }, { MethodName: "DeleteModule", Handler: _ModuleService_DeleteModule_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "odpf/entropy/v1beta1/module.proto", }
ModuleService_ServiceDesc is the grpc.ServiceDesc for ModuleService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ResourceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "odpf.entropy.v1beta1.ResourceService", HandlerType: (*ResourceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListResources", Handler: _ResourceService_ListResources_Handler, }, { MethodName: "GetResource", Handler: _ResourceService_GetResource_Handler, }, { MethodName: "CreateResource", Handler: _ResourceService_CreateResource_Handler, }, { MethodName: "UpdateResource", Handler: _ResourceService_UpdateResource_Handler, }, { MethodName: "DeleteResource", Handler: _ResourceService_DeleteResource_Handler, }, { MethodName: "ApplyAction", Handler: _ResourceService_ApplyAction_Handler, }, { MethodName: "GetResourceRevisions", Handler: _ResourceService_GetResourceRevisions_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetLog", Handler: _ResourceService_GetLog_Handler, ServerStreams: true, }, }, Metadata: "odpf/entropy/v1beta1/resource.proto", }
ResourceService_ServiceDesc is the grpc.ServiceDesc for ResourceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterModuleServiceServer ¶
func RegisterModuleServiceServer(s grpc.ServiceRegistrar, srv ModuleServiceServer)
func RegisterResourceServiceServer ¶
func RegisterResourceServiceServer(s grpc.ServiceRegistrar, srv ResourceServiceServer)
Types ¶
type ModuleServiceClient ¶
type ModuleServiceClient interface { ListModules(ctx context.Context, in *v1beta1.ListModulesRequest, opts ...grpc.CallOption) (*v1beta1.ListModulesResponse, error) GetModule(ctx context.Context, in *v1beta1.GetModuleRequest, opts ...grpc.CallOption) (*v1beta1.GetModuleResponse, error) CreateModule(ctx context.Context, in *v1beta1.CreateModuleRequest, opts ...grpc.CallOption) (*v1beta1.CreateModuleResponse, error) UpdateModule(ctx context.Context, in *v1beta1.UpdateModuleRequest, opts ...grpc.CallOption) (*v1beta1.UpdateModuleResponse, error) DeleteModule(ctx context.Context, in *v1beta1.DeleteModuleRequest, opts ...grpc.CallOption) (*v1beta1.DeleteModuleResponse, error) }
ModuleServiceClient is the client API for ModuleService 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 NewModuleServiceClient ¶
func NewModuleServiceClient(cc grpc.ClientConnInterface) ModuleServiceClient
type ModuleServiceServer ¶
type ModuleServiceServer interface { ListModules(context.Context, *v1beta1.ListModulesRequest) (*v1beta1.ListModulesResponse, error) GetModule(context.Context, *v1beta1.GetModuleRequest) (*v1beta1.GetModuleResponse, error) CreateModule(context.Context, *v1beta1.CreateModuleRequest) (*v1beta1.CreateModuleResponse, error) UpdateModule(context.Context, *v1beta1.UpdateModuleRequest) (*v1beta1.UpdateModuleResponse, error) DeleteModule(context.Context, *v1beta1.DeleteModuleRequest) (*v1beta1.DeleteModuleResponse, error) }
ModuleServiceServer is the server API for ModuleService service. All implementations should embed UnimplementedModuleServiceServer for forward compatibility
type ResourceServiceClient ¶
type ResourceServiceClient interface { ListResources(ctx context.Context, in *v1beta1.ListResourcesRequest, opts ...grpc.CallOption) (*v1beta1.ListResourcesResponse, error) GetResource(ctx context.Context, in *v1beta1.GetResourceRequest, opts ...grpc.CallOption) (*v1beta1.GetResourceResponse, error) CreateResource(ctx context.Context, in *v1beta1.CreateResourceRequest, opts ...grpc.CallOption) (*v1beta1.CreateResourceResponse, error) UpdateResource(ctx context.Context, in *v1beta1.UpdateResourceRequest, opts ...grpc.CallOption) (*v1beta1.UpdateResourceResponse, error) DeleteResource(ctx context.Context, in *v1beta1.DeleteResourceRequest, opts ...grpc.CallOption) (*v1beta1.DeleteResourceResponse, error) ApplyAction(ctx context.Context, in *v1beta1.ApplyActionRequest, opts ...grpc.CallOption) (*v1beta1.ApplyActionResponse, error) GetLog(ctx context.Context, in *v1beta1.GetLogRequest, opts ...grpc.CallOption) (ResourceService_GetLogClient, error) GetResourceRevisions(ctx context.Context, in *v1beta1.GetResourceRevisionsRequest, opts ...grpc.CallOption) (*v1beta1.GetResourceRevisionsResponse, error) }
ResourceServiceClient is the client API for ResourceService 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 NewResourceServiceClient ¶
func NewResourceServiceClient(cc grpc.ClientConnInterface) ResourceServiceClient
type ResourceServiceServer ¶
type ResourceServiceServer interface { ListResources(context.Context, *v1beta1.ListResourcesRequest) (*v1beta1.ListResourcesResponse, error) GetResource(context.Context, *v1beta1.GetResourceRequest) (*v1beta1.GetResourceResponse, error) CreateResource(context.Context, *v1beta1.CreateResourceRequest) (*v1beta1.CreateResourceResponse, error) UpdateResource(context.Context, *v1beta1.UpdateResourceRequest) (*v1beta1.UpdateResourceResponse, error) DeleteResource(context.Context, *v1beta1.DeleteResourceRequest) (*v1beta1.DeleteResourceResponse, error) ApplyAction(context.Context, *v1beta1.ApplyActionRequest) (*v1beta1.ApplyActionResponse, error) GetLog(*v1beta1.GetLogRequest, ResourceService_GetLogServer) error GetResourceRevisions(context.Context, *v1beta1.GetResourceRevisionsRequest) (*v1beta1.GetResourceRevisionsResponse, error) }
ResourceServiceServer is the server API for ResourceService service. All implementations should embed UnimplementedResourceServiceServer for forward compatibility
type ResourceService_GetLogClient ¶
type ResourceService_GetLogClient interface { Recv() (*v1beta1.GetLogResponse, error) grpc.ClientStream }
type ResourceService_GetLogServer ¶
type ResourceService_GetLogServer interface { Send(*v1beta1.GetLogResponse) error grpc.ServerStream }
type UnimplementedModuleServiceServer ¶
type UnimplementedModuleServiceServer struct { }
UnimplementedModuleServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedModuleServiceServer) CreateModule ¶
func (UnimplementedModuleServiceServer) CreateModule(context.Context, *v1beta1.CreateModuleRequest) (*v1beta1.CreateModuleResponse, error)
func (UnimplementedModuleServiceServer) DeleteModule ¶
func (UnimplementedModuleServiceServer) DeleteModule(context.Context, *v1beta1.DeleteModuleRequest) (*v1beta1.DeleteModuleResponse, error)
func (UnimplementedModuleServiceServer) GetModule ¶
func (UnimplementedModuleServiceServer) GetModule(context.Context, *v1beta1.GetModuleRequest) (*v1beta1.GetModuleResponse, error)
func (UnimplementedModuleServiceServer) ListModules ¶
func (UnimplementedModuleServiceServer) ListModules(context.Context, *v1beta1.ListModulesRequest) (*v1beta1.ListModulesResponse, error)
func (UnimplementedModuleServiceServer) UpdateModule ¶
func (UnimplementedModuleServiceServer) UpdateModule(context.Context, *v1beta1.UpdateModuleRequest) (*v1beta1.UpdateModuleResponse, error)
type UnimplementedResourceServiceServer ¶
type UnimplementedResourceServiceServer struct { }
UnimplementedResourceServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedResourceServiceServer) ApplyAction ¶
func (UnimplementedResourceServiceServer) ApplyAction(context.Context, *v1beta1.ApplyActionRequest) (*v1beta1.ApplyActionResponse, error)
func (UnimplementedResourceServiceServer) CreateResource ¶
func (UnimplementedResourceServiceServer) CreateResource(context.Context, *v1beta1.CreateResourceRequest) (*v1beta1.CreateResourceResponse, error)
func (UnimplementedResourceServiceServer) DeleteResource ¶
func (UnimplementedResourceServiceServer) DeleteResource(context.Context, *v1beta1.DeleteResourceRequest) (*v1beta1.DeleteResourceResponse, error)
func (UnimplementedResourceServiceServer) GetLog ¶
func (UnimplementedResourceServiceServer) GetResource ¶
func (UnimplementedResourceServiceServer) GetResource(context.Context, *v1beta1.GetResourceRequest) (*v1beta1.GetResourceResponse, error)
func (UnimplementedResourceServiceServer) GetResourceRevisions ¶
func (UnimplementedResourceServiceServer) GetResourceRevisions(context.Context, *v1beta1.GetResourceRevisionsRequest) (*v1beta1.GetResourceRevisionsResponse, error)
func (UnimplementedResourceServiceServer) ListResources ¶
func (UnimplementedResourceServiceServer) ListResources(context.Context, *v1beta1.ListResourcesRequest) (*v1beta1.ListResourcesResponse, error)
func (UnimplementedResourceServiceServer) UpdateResource ¶
func (UnimplementedResourceServiceServer) UpdateResource(context.Context, *v1beta1.UpdateResourceRequest) (*v1beta1.UpdateResourceResponse, error)
type UnsafeModuleServiceServer ¶
type UnsafeModuleServiceServer interface {
// contains filtered or unexported methods
}
UnsafeModuleServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ModuleServiceServer will result in compilation errors.
type UnsafeResourceServiceServer ¶
type UnsafeResourceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeResourceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourceServiceServer will result in compilation errors.