Documentation ¶
Index ¶
- Variables
- func RegisterPluginServiceServer(s grpc.ServiceRegistrar, srv PluginServiceServer)
- type DecryptSecretRequest
- func (*DecryptSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DecryptSecretRequest) GetSecret() string
- func (*DecryptSecretRequest) ProtoMessage()
- func (x *DecryptSecretRequest) ProtoReflect() protoreflect.Message
- func (x *DecryptSecretRequest) Reset()
- func (x *DecryptSecretRequest) String() string
- func (m *DecryptSecretRequest) Validate() error
- func (m *DecryptSecretRequest) ValidateAll() error
- type DecryptSecretRequestMultiError
- type DecryptSecretRequestValidationError
- func (e DecryptSecretRequestValidationError) Cause() error
- func (e DecryptSecretRequestValidationError) Error() string
- func (e DecryptSecretRequestValidationError) ErrorName() string
- func (e DecryptSecretRequestValidationError) Field() string
- func (e DecryptSecretRequestValidationError) Key() bool
- func (e DecryptSecretRequestValidationError) Reason() string
- type DecryptSecretResponse
- func (*DecryptSecretResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DecryptSecretResponse) GetDecryptedSecret() string
- func (*DecryptSecretResponse) ProtoMessage()
- func (x *DecryptSecretResponse) ProtoReflect() protoreflect.Message
- func (x *DecryptSecretResponse) Reset()
- func (x *DecryptSecretResponse) String() string
- func (m *DecryptSecretResponse) Validate() error
- func (m *DecryptSecretResponse) ValidateAll() error
- type DecryptSecretResponseMultiError
- type DecryptSecretResponseValidationError
- func (e DecryptSecretResponseValidationError) Cause() error
- func (e DecryptSecretResponseValidationError) Error() string
- func (e DecryptSecretResponseValidationError) ErrorName() string
- func (e DecryptSecretResponseValidationError) Field() string
- func (e DecryptSecretResponseValidationError) Key() bool
- func (e DecryptSecretResponseValidationError) Reason() string
- type PluginServiceClient
- type PluginServiceServer
- type UnimplementedPluginServiceServer
- type UnsafePluginServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_pkg_app_pipedv1_cmd_piped_service_service_proto protoreflect.FileDescriptor
var PluginService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "grpc.piped.service.PluginService", HandlerType: (*PluginServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DecryptSecret", Handler: _PluginService_DecryptSecret_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/app/pipedv1/cmd/piped/service/service.proto", }
PluginService_ServiceDesc is the grpc.ServiceDesc for PluginService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPluginServiceServer ¶
func RegisterPluginServiceServer(s grpc.ServiceRegistrar, srv PluginServiceServer)
Types ¶
type DecryptSecretRequest ¶ added in v0.48.0
type DecryptSecretRequest struct { Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*DecryptSecretRequest) Descriptor
deprecated
added in
v0.48.0
func (*DecryptSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use DecryptSecretRequest.ProtoReflect.Descriptor instead.
func (*DecryptSecretRequest) GetSecret ¶ added in v0.48.0
func (x *DecryptSecretRequest) GetSecret() string
func (*DecryptSecretRequest) ProtoMessage ¶ added in v0.48.0
func (*DecryptSecretRequest) ProtoMessage()
func (*DecryptSecretRequest) ProtoReflect ¶ added in v0.48.0
func (x *DecryptSecretRequest) ProtoReflect() protoreflect.Message
func (*DecryptSecretRequest) Reset ¶ added in v0.48.0
func (x *DecryptSecretRequest) Reset()
func (*DecryptSecretRequest) String ¶ added in v0.48.0
func (x *DecryptSecretRequest) String() string
func (*DecryptSecretRequest) Validate ¶ added in v0.48.0
func (m *DecryptSecretRequest) Validate() error
Validate checks the field values on DecryptSecretRequest 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 (*DecryptSecretRequest) ValidateAll ¶ added in v0.48.0
func (m *DecryptSecretRequest) ValidateAll() error
ValidateAll checks the field values on DecryptSecretRequest 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 DecryptSecretRequestMultiError, or nil if none found.
type DecryptSecretRequestMultiError ¶ added in v0.48.0
type DecryptSecretRequestMultiError []error
DecryptSecretRequestMultiError is an error wrapping multiple validation errors returned by DecryptSecretRequest.ValidateAll() if the designated constraints aren't met.
func (DecryptSecretRequestMultiError) AllErrors ¶ added in v0.48.0
func (m DecryptSecretRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DecryptSecretRequestMultiError) Error ¶ added in v0.48.0
func (m DecryptSecretRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DecryptSecretRequestValidationError ¶ added in v0.48.0
type DecryptSecretRequestValidationError struct {
// contains filtered or unexported fields
}
DecryptSecretRequestValidationError is the validation error returned by DecryptSecretRequest.Validate if the designated constraints aren't met.
func (DecryptSecretRequestValidationError) Cause ¶ added in v0.48.0
func (e DecryptSecretRequestValidationError) Cause() error
Cause function returns cause value.
func (DecryptSecretRequestValidationError) Error ¶ added in v0.48.0
func (e DecryptSecretRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DecryptSecretRequestValidationError) ErrorName ¶ added in v0.48.0
func (e DecryptSecretRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DecryptSecretRequestValidationError) Field ¶ added in v0.48.0
func (e DecryptSecretRequestValidationError) Field() string
Field function returns field value.
func (DecryptSecretRequestValidationError) Key ¶ added in v0.48.0
func (e DecryptSecretRequestValidationError) Key() bool
Key function returns key value.
func (DecryptSecretRequestValidationError) Reason ¶ added in v0.48.0
func (e DecryptSecretRequestValidationError) Reason() string
Reason function returns reason value.
type DecryptSecretResponse ¶ added in v0.48.0
type DecryptSecretResponse struct { DecryptedSecret string `protobuf:"bytes,1,opt,name=decrypted_secret,json=decryptedSecret,proto3" json:"decrypted_secret,omitempty"` // contains filtered or unexported fields }
func (*DecryptSecretResponse) Descriptor
deprecated
added in
v0.48.0
func (*DecryptSecretResponse) Descriptor() ([]byte, []int)
Deprecated: Use DecryptSecretResponse.ProtoReflect.Descriptor instead.
func (*DecryptSecretResponse) GetDecryptedSecret ¶ added in v0.48.0
func (x *DecryptSecretResponse) GetDecryptedSecret() string
func (*DecryptSecretResponse) ProtoMessage ¶ added in v0.48.0
func (*DecryptSecretResponse) ProtoMessage()
func (*DecryptSecretResponse) ProtoReflect ¶ added in v0.48.0
func (x *DecryptSecretResponse) ProtoReflect() protoreflect.Message
func (*DecryptSecretResponse) Reset ¶ added in v0.48.0
func (x *DecryptSecretResponse) Reset()
func (*DecryptSecretResponse) String ¶ added in v0.48.0
func (x *DecryptSecretResponse) String() string
func (*DecryptSecretResponse) Validate ¶ added in v0.48.0
func (m *DecryptSecretResponse) Validate() error
Validate checks the field values on DecryptSecretResponse 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 (*DecryptSecretResponse) ValidateAll ¶ added in v0.48.0
func (m *DecryptSecretResponse) ValidateAll() error
ValidateAll checks the field values on DecryptSecretResponse 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 DecryptSecretResponseMultiError, or nil if none found.
type DecryptSecretResponseMultiError ¶ added in v0.48.0
type DecryptSecretResponseMultiError []error
DecryptSecretResponseMultiError is an error wrapping multiple validation errors returned by DecryptSecretResponse.ValidateAll() if the designated constraints aren't met.
func (DecryptSecretResponseMultiError) AllErrors ¶ added in v0.48.0
func (m DecryptSecretResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DecryptSecretResponseMultiError) Error ¶ added in v0.48.0
func (m DecryptSecretResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DecryptSecretResponseValidationError ¶ added in v0.48.0
type DecryptSecretResponseValidationError struct {
// contains filtered or unexported fields
}
DecryptSecretResponseValidationError is the validation error returned by DecryptSecretResponse.Validate if the designated constraints aren't met.
func (DecryptSecretResponseValidationError) Cause ¶ added in v0.48.0
func (e DecryptSecretResponseValidationError) Cause() error
Cause function returns cause value.
func (DecryptSecretResponseValidationError) Error ¶ added in v0.48.0
func (e DecryptSecretResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DecryptSecretResponseValidationError) ErrorName ¶ added in v0.48.0
func (e DecryptSecretResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DecryptSecretResponseValidationError) Field ¶ added in v0.48.0
func (e DecryptSecretResponseValidationError) Field() string
Field function returns field value.
func (DecryptSecretResponseValidationError) Key ¶ added in v0.48.0
func (e DecryptSecretResponseValidationError) Key() bool
Key function returns key value.
func (DecryptSecretResponseValidationError) Reason ¶ added in v0.48.0
func (e DecryptSecretResponseValidationError) Reason() string
Reason function returns reason value.
type PluginServiceClient ¶
type PluginServiceClient interface { // DecryptSecret decrypts the given secret. DecryptSecret(ctx context.Context, in *DecryptSecretRequest, opts ...grpc.CallOption) (*DecryptSecretResponse, error) }
PluginServiceClient is the client API for PluginService 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 NewPluginServiceClient ¶
func NewPluginServiceClient(cc grpc.ClientConnInterface) PluginServiceClient
type PluginServiceServer ¶
type PluginServiceServer interface { // DecryptSecret decrypts the given secret. DecryptSecret(context.Context, *DecryptSecretRequest) (*DecryptSecretResponse, error) // contains filtered or unexported methods }
PluginServiceServer is the server API for PluginService service. All implementations must embed UnimplementedPluginServiceServer for forward compatibility
type UnimplementedPluginServiceServer ¶
type UnimplementedPluginServiceServer struct { }
UnimplementedPluginServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPluginServiceServer) DecryptSecret ¶ added in v0.48.0
func (UnimplementedPluginServiceServer) DecryptSecret(context.Context, *DecryptSecretRequest) (*DecryptSecretResponse, error)
type UnsafePluginServiceServer ¶
type UnsafePluginServiceServer interface {
// contains filtered or unexported methods
}
UnsafePluginServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PluginServiceServer will result in compilation errors.