Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterSecretDiscoveryServiceServer(s grpc.ServiceRegistrar, srv SecretDiscoveryServiceServer)
- type SdsDummy
- type SdsDummyMultiError
- type SdsDummyValidationError
- type SecretDiscoveryServiceClient
- type SecretDiscoveryServiceServer
- type SecretDiscoveryService_DeltaSecretsClient
- type SecretDiscoveryService_DeltaSecretsServer
- type SecretDiscoveryService_StreamSecretsClient
- type SecretDiscoveryService_StreamSecretsServer
- type UnimplementedSecretDiscoveryServiceServer
- func (UnimplementedSecretDiscoveryServiceServer) DeltaSecrets(SecretDiscoveryService_DeltaSecretsServer) error
- func (UnimplementedSecretDiscoveryServiceServer) FetchSecrets(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
- func (UnimplementedSecretDiscoveryServiceServer) StreamSecrets(SecretDiscoveryService_StreamSecretsServer) 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 ¶ added in v0.9.6
func (x *SdsDummy) ProtoReflect() protoreflect.Message
func (*SdsDummy) Validate ¶
Validate checks the field values on SdsDummy with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SdsDummy) ValidateAll ¶ added in v0.10.0
ValidateAll checks the field values on SdsDummy with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SdsDummyMultiError, or nil if none found.
type SdsDummyMultiError ¶ added in v0.10.0
type SdsDummyMultiError []error
SdsDummyMultiError is an error wrapping multiple validation errors returned by SdsDummy.ValidateAll() if the designated constraints aren't met.
func (SdsDummyMultiError) AllErrors ¶ added in v0.10.0
func (m SdsDummyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SdsDummyMultiError) Error ¶ added in v0.10.0
func (m SdsDummyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SdsDummyValidationError ¶
type SdsDummyValidationError struct {
// contains filtered or unexported fields
}
SdsDummyValidationError is the validation error returned by SdsDummy.Validate if the designated constraints aren't met.
func (SdsDummyValidationError) Cause ¶
func (e SdsDummyValidationError) Cause() error
Cause function returns cause value.
func (SdsDummyValidationError) Error ¶
func (e SdsDummyValidationError) Error() string
Error satisfies the builtin error interface
func (SdsDummyValidationError) ErrorName ¶
func (e SdsDummyValidationError) ErrorName() string
ErrorName returns error name.
func (SdsDummyValidationError) Field ¶
func (e SdsDummyValidationError) Field() string
Field function returns field value.
func (SdsDummyValidationError) Key ¶
func (e SdsDummyValidationError) Key() bool
Key function returns key value.
func (SdsDummyValidationError) Reason ¶
func (e SdsDummyValidationError) Reason() string
Reason function returns reason value.
type SecretDiscoveryServiceClient ¶
type SecretDiscoveryServiceClient interface { DeltaSecrets(ctx context.Context, opts ...grpc.CallOption) (SecretDiscoveryService_DeltaSecretsClient, error) StreamSecrets(ctx context.Context, opts ...grpc.CallOption) (SecretDiscoveryService_StreamSecretsClient, 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(SecretDiscoveryService_DeltaSecretsServer) error StreamSecrets(SecretDiscoveryService_StreamSecretsServer) error FetchSecrets(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error) }
SecretDiscoveryServiceServer is the server API for SecretDiscoveryService service. All implementations should embed UnimplementedSecretDiscoveryServiceServer for forward compatibility
type SecretDiscoveryService_DeltaSecretsClient ¶
type SecretDiscoveryService_DeltaSecretsClient interface { Send(*v3.DeltaDiscoveryRequest) error Recv() (*v3.DeltaDiscoveryResponse, error) grpc.ClientStream }
type SecretDiscoveryService_DeltaSecretsServer ¶
type SecretDiscoveryService_DeltaSecretsServer interface { Send(*v3.DeltaDiscoveryResponse) error Recv() (*v3.DeltaDiscoveryRequest, error) grpc.ServerStream }
type SecretDiscoveryService_StreamSecretsClient ¶
type SecretDiscoveryService_StreamSecretsClient interface { Send(*v3.DiscoveryRequest) error Recv() (*v3.DiscoveryResponse, error) grpc.ClientStream }
type SecretDiscoveryService_StreamSecretsServer ¶
type SecretDiscoveryService_StreamSecretsServer interface { Send(*v3.DiscoveryResponse) error Recv() (*v3.DiscoveryRequest, error) grpc.ServerStream }
type UnimplementedSecretDiscoveryServiceServer ¶
type UnimplementedSecretDiscoveryServiceServer struct { }
UnimplementedSecretDiscoveryServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedSecretDiscoveryServiceServer) DeltaSecrets ¶
func (UnimplementedSecretDiscoveryServiceServer) DeltaSecrets(SecretDiscoveryService_DeltaSecretsServer) error
func (UnimplementedSecretDiscoveryServiceServer) FetchSecrets ¶
func (UnimplementedSecretDiscoveryServiceServer) FetchSecrets(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
func (UnimplementedSecretDiscoveryServiceServer) StreamSecrets ¶
func (UnimplementedSecretDiscoveryServiceServer) StreamSecrets(SecretDiscoveryService_StreamSecretsServer) error
type UnsafeSecretDiscoveryServiceServer ¶ added in v0.13.0
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.