entropyv1beta1grpc

package
v1.2.0-20230223111740-... 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 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)

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

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

ModuleServiceServer is the server API for ModuleService service. All implementations should embed UnimplementedModuleServiceServer for forward compatibility

type ResourceServiceClient

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

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) DeleteModule

func (UnimplementedModuleServiceServer) GetModule

func (UnimplementedModuleServiceServer) ListModules

func (UnimplementedModuleServiceServer) UpdateModule

type UnimplementedResourceServiceServer

type UnimplementedResourceServiceServer struct {
}

UnimplementedResourceServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedResourceServiceServer) ApplyAction

func (UnimplementedResourceServiceServer) CreateResource

func (UnimplementedResourceServiceServer) DeleteResource

func (UnimplementedResourceServiceServer) GetLog

func (UnimplementedResourceServiceServer) GetResource

func (UnimplementedResourceServiceServer) GetResourceRevisions

func (UnimplementedResourceServiceServer) ListResources

func (UnimplementedResourceServiceServer) UpdateResource

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.

Jump to

Keyboard shortcuts

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