meta

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetadataService_GetConfiguration_FullMethodName = "/flipt.meta.MetadataService/GetConfiguration"
	MetadataService_GetInfo_FullMethodName          = "/flipt.meta.MetadataService/GetInfo"
)

Variables

View Source
var File_meta_meta_proto protoreflect.FileDescriptor
View Source
var MetadataService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "flipt.meta.MetadataService",
	HandlerType: (*MetadataServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetConfiguration",
			Handler:    _MetadataService_GetConfiguration_Handler,
		},
		{
			MethodName: "GetInfo",
			Handler:    _MetadataService_GetInfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "meta/meta.proto",
}

MetadataService_ServiceDesc is the grpc.ServiceDesc for MetadataService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMetadataServiceServer

func RegisterMetadataServiceServer(s grpc.ServiceRegistrar, srv MetadataServiceServer)

Types

type MetadataServiceClient

type MetadataServiceClient interface {
	GetConfiguration(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
	GetInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
}

MetadataServiceClient is the client API for MetadataService 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 MetadataServiceServer

type MetadataServiceServer interface {
	GetConfiguration(context.Context, *emptypb.Empty) (*httpbody.HttpBody, error)
	GetInfo(context.Context, *emptypb.Empty) (*httpbody.HttpBody, error)
	// contains filtered or unexported methods
}

MetadataServiceServer is the server API for MetadataService service. All implementations must embed UnimplementedMetadataServiceServer for forward compatibility

type UnimplementedMetadataServiceServer

type UnimplementedMetadataServiceServer struct {
}

UnimplementedMetadataServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMetadataServiceServer) GetConfiguration

func (UnimplementedMetadataServiceServer) GetInfo

type UnsafeMetadataServiceServer

type UnsafeMetadataServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeMetadataServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MetadataServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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