extensionv3

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExtensionConfigDiscoveryService_StreamExtensionConfigs_FullMethodName = "/envoy.service.extension.v3.ExtensionConfigDiscoveryService/StreamExtensionConfigs"
	ExtensionConfigDiscoveryService_DeltaExtensionConfigs_FullMethodName  = "/envoy.service.extension.v3.ExtensionConfigDiscoveryService/DeltaExtensionConfigs"
	ExtensionConfigDiscoveryService_FetchExtensionConfigs_FullMethodName  = "/envoy.service.extension.v3.ExtensionConfigDiscoveryService/FetchExtensionConfigs"
)

Variables

View Source
var ExtensionConfigDiscoveryService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "envoy.service.extension.v3.ExtensionConfigDiscoveryService",
	HandlerType: (*ExtensionConfigDiscoveryServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FetchExtensionConfigs",
			Handler:    _ExtensionConfigDiscoveryService_FetchExtensionConfigs_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamExtensionConfigs",
			Handler:       _ExtensionConfigDiscoveryService_StreamExtensionConfigs_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "DeltaExtensionConfigs",
			Handler:       _ExtensionConfigDiscoveryService_DeltaExtensionConfigs_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "envoy/service/extension/v3/config_discovery.proto",
}

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

View Source
var File_envoy_service_extension_v3_config_discovery_proto protoreflect.FileDescriptor

Functions

func RegisterExtensionConfigDiscoveryServiceServer

func RegisterExtensionConfigDiscoveryServiceServer(s grpc.ServiceRegistrar, srv ExtensionConfigDiscoveryServiceServer)

Types

type EcdsDummy

type EcdsDummy struct {
	// contains filtered or unexported fields
}

[#not-implemented-hide:] Not configuration. Workaround c++ protobuf issue with importing services: https://github.com/google/protobuf/issues/4221 and protoxform to upgrade the file.

func (*EcdsDummy) Descriptor deprecated

func (*EcdsDummy) Descriptor() ([]byte, []int)

Deprecated: Use EcdsDummy.ProtoReflect.Descriptor instead.

func (*EcdsDummy) ProtoMessage

func (*EcdsDummy) ProtoMessage()

func (*EcdsDummy) ProtoReflect

func (x *EcdsDummy) ProtoReflect() protoreflect.Message

func (*EcdsDummy) Reset

func (x *EcdsDummy) Reset()

func (*EcdsDummy) String

func (x *EcdsDummy) String() string

type ExtensionConfigDiscoveryServiceClient

type ExtensionConfigDiscoveryServiceClient interface {
	StreamExtensionConfigs(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[v3.DiscoveryRequest, v3.DiscoveryResponse], error)
	DeltaExtensionConfigs(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[v3.DeltaDiscoveryRequest, v3.DeltaDiscoveryResponse], error)
	FetchExtensionConfigs(ctx context.Context, in *v3.DiscoveryRequest, opts ...grpc.CallOption) (*v3.DiscoveryResponse, error)
}

ExtensionConfigDiscoveryServiceClient is the client API for ExtensionConfigDiscoveryService 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.

Return extension configurations.

type ExtensionConfigDiscoveryServiceServer

type ExtensionConfigDiscoveryServiceServer interface {
	StreamExtensionConfigs(grpc.BidiStreamingServer[v3.DiscoveryRequest, v3.DiscoveryResponse]) error
	DeltaExtensionConfigs(grpc.BidiStreamingServer[v3.DeltaDiscoveryRequest, v3.DeltaDiscoveryResponse]) error
	FetchExtensionConfigs(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
	// contains filtered or unexported methods
}

ExtensionConfigDiscoveryServiceServer is the server API for ExtensionConfigDiscoveryService service. All implementations must embed UnimplementedExtensionConfigDiscoveryServiceServer for forward compatibility.

Return extension configurations.

type ExtensionConfigDiscoveryService_DeltaExtensionConfigsClient

type ExtensionConfigDiscoveryService_DeltaExtensionConfigsClient = grpc.BidiStreamingClient[v3.DeltaDiscoveryRequest, v3.DeltaDiscoveryResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type ExtensionConfigDiscoveryService_DeltaExtensionConfigsServer

type ExtensionConfigDiscoveryService_DeltaExtensionConfigsServer = grpc.BidiStreamingServer[v3.DeltaDiscoveryRequest, v3.DeltaDiscoveryResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type ExtensionConfigDiscoveryService_StreamExtensionConfigsClient

type ExtensionConfigDiscoveryService_StreamExtensionConfigsClient = grpc.BidiStreamingClient[v3.DiscoveryRequest, v3.DiscoveryResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type ExtensionConfigDiscoveryService_StreamExtensionConfigsServer

type ExtensionConfigDiscoveryService_StreamExtensionConfigsServer = grpc.BidiStreamingServer[v3.DiscoveryRequest, v3.DiscoveryResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type UnimplementedExtensionConfigDiscoveryServiceServer

type UnimplementedExtensionConfigDiscoveryServiceServer struct{}

UnimplementedExtensionConfigDiscoveryServiceServer 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.

func (UnimplementedExtensionConfigDiscoveryServiceServer) DeltaExtensionConfigs

func (UnimplementedExtensionConfigDiscoveryServiceServer) FetchExtensionConfigs

func (UnimplementedExtensionConfigDiscoveryServiceServer) StreamExtensionConfigs

type UnsafeExtensionConfigDiscoveryServiceServer

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

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

Jump to

Keyboard shortcuts

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