Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterSecretDiscoveryServiceServer(s grpc.ServiceRegistrar, srv SecretDiscoveryServiceServer)
- type SdsDummy
- type SecretDiscoveryServiceClient
- type SecretDiscoveryServiceServer
- type SecretDiscoveryService_DeltaSecretsClient
- type SecretDiscoveryService_DeltaSecretsServer
- type SecretDiscoveryService_StreamSecretsClient
- type SecretDiscoveryService_StreamSecretsServer
- type UnimplementedSecretDiscoveryServiceServer
- func (UnimplementedSecretDiscoveryServiceServer) DeltaSecrets(grpc.BidiStreamingServer[v3.DeltaDiscoveryRequest, v3.DeltaDiscoveryResponse]) error
- func (UnimplementedSecretDiscoveryServiceServer) FetchSecrets(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
- func (UnimplementedSecretDiscoveryServiceServer) StreamSecrets(grpc.BidiStreamingServer[v3.DiscoveryRequest, v3.DiscoveryResponse]) error
- type UnsafeSecretDiscoveryServiceServer
Constants ¶
const ( SecretDiscoveryService_DeltaSecrets_FullMethodName = "/envoy.service.secret.v3.SecretDiscoveryService/DeltaSecrets" SecretDiscoveryService_StreamSecrets_FullMethodName = "/envoy.service.secret.v3.SecretDiscoveryService/StreamSecrets" SecretDiscoveryService_FetchSecrets_FullMethodName = "/envoy.service.secret.v3.SecretDiscoveryService/FetchSecrets" )
Variables ¶
var File_envoy_service_secret_v3_sds_proto protoreflect.FileDescriptor
var SecretDiscoveryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "envoy.service.secret.v3.SecretDiscoveryService", HandlerType: (*SecretDiscoveryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FetchSecrets", Handler: _SecretDiscoveryService_FetchSecrets_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "DeltaSecrets", Handler: _SecretDiscoveryService_DeltaSecrets_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "StreamSecrets", Handler: _SecretDiscoveryService_StreamSecrets_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "envoy/service/secret/v3/sds.proto", }
SecretDiscoveryService_ServiceDesc is the grpc.ServiceDesc for SecretDiscoveryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSecretDiscoveryServiceServer ¶
func RegisterSecretDiscoveryServiceServer(s grpc.ServiceRegistrar, srv SecretDiscoveryServiceServer)
Types ¶
type SdsDummy ¶
type SdsDummy 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
func (*SdsDummy) Descriptor
deprecated
func (*SdsDummy) ProtoMessage ¶
func (*SdsDummy) ProtoMessage()
func (*SdsDummy) ProtoReflect ¶
func (x *SdsDummy) ProtoReflect() protoreflect.Message
type SecretDiscoveryServiceClient ¶
type SecretDiscoveryServiceClient interface { DeltaSecrets(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[v3.DeltaDiscoveryRequest, v3.DeltaDiscoveryResponse], error) StreamSecrets(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[v3.DiscoveryRequest, v3.DiscoveryResponse], error) FetchSecrets(ctx context.Context, in *v3.DiscoveryRequest, opts ...grpc.CallOption) (*v3.DiscoveryResponse, error) }
SecretDiscoveryServiceClient is the client API for SecretDiscoveryService 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 NewSecretDiscoveryServiceClient ¶
func NewSecretDiscoveryServiceClient(cc grpc.ClientConnInterface) SecretDiscoveryServiceClient
type SecretDiscoveryServiceServer ¶
type SecretDiscoveryServiceServer interface { DeltaSecrets(grpc.BidiStreamingServer[v3.DeltaDiscoveryRequest, v3.DeltaDiscoveryResponse]) error StreamSecrets(grpc.BidiStreamingServer[v3.DiscoveryRequest, v3.DiscoveryResponse]) error FetchSecrets(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error) // contains filtered or unexported methods }
SecretDiscoveryServiceServer is the server API for SecretDiscoveryService service. All implementations must embed UnimplementedSecretDiscoveryServiceServer for forward compatibility.
type SecretDiscoveryService_DeltaSecretsClient ¶
type SecretDiscoveryService_DeltaSecretsClient = 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 SecretDiscoveryService_DeltaSecretsServer ¶
type SecretDiscoveryService_DeltaSecretsServer = 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 SecretDiscoveryService_StreamSecretsClient ¶
type SecretDiscoveryService_StreamSecretsClient = 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 SecretDiscoveryService_StreamSecretsServer ¶
type SecretDiscoveryService_StreamSecretsServer = 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 UnimplementedSecretDiscoveryServiceServer ¶
type UnimplementedSecretDiscoveryServiceServer struct{}
UnimplementedSecretDiscoveryServiceServer 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 (UnimplementedSecretDiscoveryServiceServer) DeltaSecrets ¶
func (UnimplementedSecretDiscoveryServiceServer) DeltaSecrets(grpc.BidiStreamingServer[v3.DeltaDiscoveryRequest, v3.DeltaDiscoveryResponse]) error
func (UnimplementedSecretDiscoveryServiceServer) FetchSecrets ¶
func (UnimplementedSecretDiscoveryServiceServer) FetchSecrets(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
func (UnimplementedSecretDiscoveryServiceServer) StreamSecrets ¶
func (UnimplementedSecretDiscoveryServiceServer) StreamSecrets(grpc.BidiStreamingServer[v3.DiscoveryRequest, v3.DiscoveryResponse]) error
type UnsafeSecretDiscoveryServiceServer ¶
type UnsafeSecretDiscoveryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSecretDiscoveryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SecretDiscoveryServiceServer will result in compilation errors.