v3alpha

package
v0.0.0-...-c499cad Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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 (*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

AllErrors returns a list of validation violation errors.

func (QatPrivateKeyMethodConfigMultiError) Error

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

Cause function returns cause value.

func (QatPrivateKeyMethodConfigValidationError) Error

Error satisfies the builtin error interface

func (QatPrivateKeyMethodConfigValidationError) ErrorName

ErrorName returns error name.

func (QatPrivateKeyMethodConfigValidationError) Field

Field function returns field value.

func (QatPrivateKeyMethodConfigValidationError) Key

Key function returns key value.

func (QatPrivateKeyMethodConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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