Documentation ¶
Index ¶
- Variables
- type QatPrivateKeyMethodConfig
- func (*QatPrivateKeyMethodConfig) Descriptor() ([]byte, []int)deprecated
- func (x *QatPrivateKeyMethodConfig) GetPollDelay() *duration.Duration
- func (x *QatPrivateKeyMethodConfig) GetPrivateKey() *v3.DataSource
- func (*QatPrivateKeyMethodConfig) ProtoMessage()
- func (x *QatPrivateKeyMethodConfig) ProtoReflect() protoreflect.Message
- func (x *QatPrivateKeyMethodConfig) Reset()
- func (x *QatPrivateKeyMethodConfig) String() string
- func (m *QatPrivateKeyMethodConfig) Validate() error
- func (m *QatPrivateKeyMethodConfig) ValidateAll() error
- type QatPrivateKeyMethodConfigMultiError
- type QatPrivateKeyMethodConfigValidationError
- func (e QatPrivateKeyMethodConfigValidationError) Cause() error
- func (e QatPrivateKeyMethodConfigValidationError) Error() string
- func (e QatPrivateKeyMethodConfigValidationError) ErrorName() string
- func (e QatPrivateKeyMethodConfigValidationError) Field() string
- func (e QatPrivateKeyMethodConfigValidationError) Key() bool
- func (e QatPrivateKeyMethodConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_contrib_envoy_extensions_private_key_providers_qat_v3alpha_qat_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type QatPrivateKeyMethodConfig ¶
type QatPrivateKeyMethodConfig struct { // Private key to use in the private key provider. If set to inline_bytes or // inline_string, the value needs to be the private key in PEM format. PrivateKey *v3.DataSource `protobuf:"bytes,1,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // How long to wait before polling the hardware accelerator after a // request has been submitted there. Having a small value leads to // quicker answers from the hardware but causes more polling loop // spins, leading to potentially larger CPU usage. The duration needs // to be set to a value greater than or equal to 1 millisecond. PollDelay *duration.Duration `protobuf:"bytes,2,opt,name=poll_delay,json=pollDelay,proto3" json:"poll_delay,omitempty"` // contains filtered or unexported fields }
func (*QatPrivateKeyMethodConfig) Descriptor
deprecated
func (*QatPrivateKeyMethodConfig) Descriptor() ([]byte, []int)
Deprecated: Use QatPrivateKeyMethodConfig.ProtoReflect.Descriptor instead.
func (*QatPrivateKeyMethodConfig) GetPollDelay ¶
func (x *QatPrivateKeyMethodConfig) GetPollDelay() *duration.Duration
func (*QatPrivateKeyMethodConfig) GetPrivateKey ¶
func (x *QatPrivateKeyMethodConfig) GetPrivateKey() *v3.DataSource
func (*QatPrivateKeyMethodConfig) ProtoMessage ¶
func (*QatPrivateKeyMethodConfig) ProtoMessage()
func (*QatPrivateKeyMethodConfig) ProtoReflect ¶
func (x *QatPrivateKeyMethodConfig) ProtoReflect() protoreflect.Message
func (*QatPrivateKeyMethodConfig) Reset ¶
func (x *QatPrivateKeyMethodConfig) Reset()
func (*QatPrivateKeyMethodConfig) String ¶
func (x *QatPrivateKeyMethodConfig) String() string
func (*QatPrivateKeyMethodConfig) Validate ¶
func (m *QatPrivateKeyMethodConfig) Validate() error
Validate checks the field values on QatPrivateKeyMethodConfig 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 (*QatPrivateKeyMethodConfig) ValidateAll ¶
func (m *QatPrivateKeyMethodConfig) ValidateAll() error
ValidateAll checks the field values on QatPrivateKeyMethodConfig 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 QatPrivateKeyMethodConfigMultiError, or nil if none found.
type QatPrivateKeyMethodConfigMultiError ¶
type QatPrivateKeyMethodConfigMultiError []error
QatPrivateKeyMethodConfigMultiError is an error wrapping multiple validation errors returned by QatPrivateKeyMethodConfig.ValidateAll() if the designated constraints aren't met.
func (QatPrivateKeyMethodConfigMultiError) AllErrors ¶
func (m QatPrivateKeyMethodConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QatPrivateKeyMethodConfigMultiError) Error ¶
func (m QatPrivateKeyMethodConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QatPrivateKeyMethodConfigValidationError ¶
type QatPrivateKeyMethodConfigValidationError struct {
// contains filtered or unexported fields
}
QatPrivateKeyMethodConfigValidationError is the validation error returned by QatPrivateKeyMethodConfig.Validate if the designated constraints aren't met.
func (QatPrivateKeyMethodConfigValidationError) Cause ¶
func (e QatPrivateKeyMethodConfigValidationError) Cause() error
Cause function returns cause value.
func (QatPrivateKeyMethodConfigValidationError) Error ¶
func (e QatPrivateKeyMethodConfigValidationError) Error() string
Error satisfies the builtin error interface
func (QatPrivateKeyMethodConfigValidationError) ErrorName ¶
func (e QatPrivateKeyMethodConfigValidationError) ErrorName() string
ErrorName returns error name.
func (QatPrivateKeyMethodConfigValidationError) Field ¶
func (e QatPrivateKeyMethodConfigValidationError) Field() string
Field function returns field value.
func (QatPrivateKeyMethodConfigValidationError) Key ¶
func (e QatPrivateKeyMethodConfigValidationError) Key() bool
Key function returns key value.
func (QatPrivateKeyMethodConfigValidationError) Reason ¶
func (e QatPrivateKeyMethodConfigValidationError) Reason() string
Reason function returns reason value.