Documentation ¶
Index ¶
- Constants
- Variables
- func NewPlugin(desc *grpc.ServiceDesc, impl interface{}) plugin.Plugin
- func RegisterManagementAPIExtensionServer(s grpc.ServiceRegistrar, srv ManagementAPIExtensionServer)
- type ManagementAPIExtensionClient
- type ManagementAPIExtensionServer
- type UnimplementedManagementAPIExtensionServer
- type UnsafeManagementAPIExtensionServer
Constants ¶
const ManagementAPIExtensionPluginID = "apiextensions.ManagementAPIExtension"
Variables ¶
var File_pkg_plugins_apis_apiextensions_apiextensions_proto protoreflect.FileDescriptor
var ManagementAPIExtension_ServiceDesc = grpc.ServiceDesc{ ServiceName: "apiextensions.ManagementAPIExtension", HandlerType: (*ManagementAPIExtensionServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Descriptor", Handler: _ManagementAPIExtension_Descriptor_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/plugins/apis/apiextensions/apiextensions.proto", }
ManagementAPIExtension_ServiceDesc is the grpc.ServiceDesc for ManagementAPIExtension service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func NewPlugin ¶
func NewPlugin(desc *grpc.ServiceDesc, impl interface{}) plugin.Plugin
func RegisterManagementAPIExtensionServer ¶
func RegisterManagementAPIExtensionServer(s grpc.ServiceRegistrar, srv ManagementAPIExtensionServer)
Types ¶
type ManagementAPIExtensionClient ¶
type ManagementAPIExtensionClient interface {
Descriptor(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*descriptorpb.ServiceDescriptorProto, error)
}
ManagementAPIExtensionClient is the client API for ManagementAPIExtension 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 NewManagementAPIExtensionClient ¶
func NewManagementAPIExtensionClient(cc grpc.ClientConnInterface) ManagementAPIExtensionClient
type ManagementAPIExtensionServer ¶
type ManagementAPIExtensionServer interface { Descriptor(context.Context, *emptypb.Empty) (*descriptorpb.ServiceDescriptorProto, error) // contains filtered or unexported methods }
ManagementAPIExtensionServer is the server API for ManagementAPIExtension service. All implementations must embed UnimplementedManagementAPIExtensionServer for forward compatibility
type UnimplementedManagementAPIExtensionServer ¶
type UnimplementedManagementAPIExtensionServer struct { }
UnimplementedManagementAPIExtensionServer must be embedded to have forward compatible implementations.
func (UnimplementedManagementAPIExtensionServer) Descriptor ¶
func (UnimplementedManagementAPIExtensionServer) Descriptor(context.Context, *emptypb.Empty) (*descriptorpb.ServiceDescriptorProto, error)
type UnsafeManagementAPIExtensionServer ¶
type UnsafeManagementAPIExtensionServer interface {
// contains filtered or unexported methods
}
UnsafeManagementAPIExtensionServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ManagementAPIExtensionServer will result in compilation errors.