mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-25 10:17:55 +08:00
ae5bd0667a
For TTL volume converted into EC volume, this change may leave the volumes staying.
78 lines
3.3 KiB
Go
78 lines
3.3 KiB
Go
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
// versions:
|
|
// - protoc-gen-go-grpc v1.5.1
|
|
// - protoc v5.28.1
|
|
// source: iam.proto
|
|
|
|
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.64.0 or later.
|
|
const _ = grpc.SupportPackageIsVersion9
|
|
|
|
// 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.
|
|
//
|
|
// NOTE: this should be embedded by value instead of pointer to avoid a nil
|
|
// pointer dereference when methods are called.
|
|
type UnimplementedSeaweedIdentityAccessManagementServer struct{}
|
|
|
|
func (UnimplementedSeaweedIdentityAccessManagementServer) mustEmbedUnimplementedSeaweedIdentityAccessManagementServer() {
|
|
}
|
|
func (UnimplementedSeaweedIdentityAccessManagementServer) testEmbeddedByValue() {}
|
|
|
|
// 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) {
|
|
// If the following call pancis, it indicates UnimplementedSeaweedIdentityAccessManagementServer was
|
|
// embedded by pointer and is nil. This will cause panics if an
|
|
// unimplemented method is ever invoked, so we test this at initialization
|
|
// time to prevent it from happening at runtime later due to I/O.
|
|
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
|
|
t.testEmbeddedByValue()
|
|
}
|
|
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",
|
|
}
|