mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-29 14:31:30 +08:00
b70cb3e0b2
$brew install protobuf $ protoc --version libprotoc 3.17.3 $ go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26 $ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1
63 lines
2.6 KiB
Go
63 lines
2.6 KiB
Go
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
|
|
package iam_pb
|
|
|
|
import (
|
|
grpc "google.golang.org/grpc"
|
|
)
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
// Requires gRPC-Go v1.32.0 or later.
|
|
const _ = grpc.SupportPackageIsVersion7
|
|
|
|
// SeaweedIdentityAccessManagementClient is the client API for SeaweedIdentityAccessManagement 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.
|
|
type SeaweedIdentityAccessManagementClient interface {
|
|
}
|
|
|
|
type seaweedIdentityAccessManagementClient struct {
|
|
cc grpc.ClientConnInterface
|
|
}
|
|
|
|
func NewSeaweedIdentityAccessManagementClient(cc grpc.ClientConnInterface) SeaweedIdentityAccessManagementClient {
|
|
return &seaweedIdentityAccessManagementClient{cc}
|
|
}
|
|
|
|
// SeaweedIdentityAccessManagementServer is the server API for SeaweedIdentityAccessManagement service.
|
|
// All implementations must embed UnimplementedSeaweedIdentityAccessManagementServer
|
|
// for forward compatibility
|
|
type SeaweedIdentityAccessManagementServer interface {
|
|
mustEmbedUnimplementedSeaweedIdentityAccessManagementServer()
|
|
}
|
|
|
|
// UnimplementedSeaweedIdentityAccessManagementServer must be embedded to have forward compatible implementations.
|
|
type UnimplementedSeaweedIdentityAccessManagementServer struct {
|
|
}
|
|
|
|
func (UnimplementedSeaweedIdentityAccessManagementServer) mustEmbedUnimplementedSeaweedIdentityAccessManagementServer() {
|
|
}
|
|
|
|
// UnsafeSeaweedIdentityAccessManagementServer may be embedded to opt out of forward compatibility for this service.
|
|
// Use of this interface is not recommended, as added methods to SeaweedIdentityAccessManagementServer will
|
|
// result in compilation errors.
|
|
type UnsafeSeaweedIdentityAccessManagementServer interface {
|
|
mustEmbedUnimplementedSeaweedIdentityAccessManagementServer()
|
|
}
|
|
|
|
func RegisterSeaweedIdentityAccessManagementServer(s grpc.ServiceRegistrar, srv SeaweedIdentityAccessManagementServer) {
|
|
s.RegisterService(&SeaweedIdentityAccessManagement_ServiceDesc, srv)
|
|
}
|
|
|
|
// SeaweedIdentityAccessManagement_ServiceDesc is the grpc.ServiceDesc for SeaweedIdentityAccessManagement service.
|
|
// It's only intended for direct use with grpc.RegisterService,
|
|
// and not to be introspected or modified (even as a copy)
|
|
var SeaweedIdentityAccessManagement_ServiceDesc = grpc.ServiceDesc{
|
|
ServiceName: "iam_pb.SeaweedIdentityAccessManagement",
|
|
HandlerType: (*SeaweedIdentityAccessManagementServer)(nil),
|
|
Methods: []grpc.MethodDesc{},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "iam.proto",
|
|
}
|