Documentation
¶
Index ¶
- Variables
- func RegisterProviderServiceServer(s grpc.ServiceRegistrar, srv ProviderServiceServer)
- func RegisterResourceServiceServer(s grpc.ServiceRegistrar, srv ResourceServiceServer)
- type ProviderServiceClient
- type ProviderServiceServer
- type ResourceServiceClient
- type ResourceServiceServer
- type ResourceService_GetLogClient
- type ResourceService_GetLogServer
- type UnimplementedProviderServiceServer
- 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) ListResources(context.Context, *v1beta1.ListResourcesRequest) (*v1beta1.ListResourcesResponse, error)
- func (UnimplementedResourceServiceServer) UpdateResource(context.Context, *v1beta1.UpdateResourceRequest) (*v1beta1.UpdateResourceResponse, error)
- type UnsafeProviderServiceServer
- type UnsafeResourceServiceServer
Constants ¶
This section is empty.
Variables ¶
var ProviderService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "odpf.entropy.v1beta1.ProviderService", HandlerType: (*ProviderServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListProviders", Handler: _ProviderService_ListProviders_Handler, }, { MethodName: "CreateProvider", Handler: _ProviderService_CreateProvider_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "odpf/entropy/v1beta1/service.proto", }
ProviderService_ServiceDesc is the grpc.ServiceDesc for ProviderService 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, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetLog", Handler: _ResourceService_GetLog_Handler, ServerStreams: true, }, }, Metadata: "odpf/entropy/v1beta1/service.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 RegisterProviderServiceServer ¶
func RegisterProviderServiceServer(s grpc.ServiceRegistrar, srv ProviderServiceServer)
func RegisterResourceServiceServer ¶
func RegisterResourceServiceServer(s grpc.ServiceRegistrar, srv ResourceServiceServer)
Types ¶
type ProviderServiceClient ¶
type ProviderServiceClient interface { ListProviders(ctx context.Context, in *v1beta1.ListProvidersRequest, opts ...grpc.CallOption) (*v1beta1.ListProvidersResponse, error) CreateProvider(ctx context.Context, in *v1beta1.CreateProviderRequest, opts ...grpc.CallOption) (*v1beta1.CreateProviderResponse, error) }
ProviderServiceClient is the client API for ProviderService 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 NewProviderServiceClient ¶
func NewProviderServiceClient(cc grpc.ClientConnInterface) ProviderServiceClient
type ProviderServiceServer ¶
type ProviderServiceServer interface { ListProviders(context.Context, *v1beta1.ListProvidersRequest) (*v1beta1.ListProvidersResponse, error) CreateProvider(context.Context, *v1beta1.CreateProviderRequest) (*v1beta1.CreateProviderResponse, error) }
ProviderServiceServer is the server API for ProviderService service. All implementations should embed UnimplementedProviderServiceServer 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) }
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 }
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 UnimplementedProviderServiceServer ¶
type UnimplementedProviderServiceServer struct { }
UnimplementedProviderServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedProviderServiceServer) CreateProvider ¶
func (UnimplementedProviderServiceServer) CreateProvider(context.Context, *v1beta1.CreateProviderRequest) (*v1beta1.CreateProviderResponse, error)
func (UnimplementedProviderServiceServer) ListProviders ¶
func (UnimplementedProviderServiceServer) ListProviders(context.Context, *v1beta1.ListProvidersRequest) (*v1beta1.ListProvidersResponse, 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) 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 UnsafeProviderServiceServer ¶
type UnsafeProviderServiceServer interface {
// contains filtered or unexported methods
}
UnsafeProviderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProviderServiceServer 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.