Documentation ¶
Index ¶
- Variables
- type AsyncFileManagerConfig
- func (*AsyncFileManagerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AsyncFileManagerConfig) GetId() string
- func (m *AsyncFileManagerConfig) GetManagerType() isAsyncFileManagerConfig_ManagerType
- func (x *AsyncFileManagerConfig) GetThreadPool() *AsyncFileManagerConfig_ThreadPool
- func (*AsyncFileManagerConfig) ProtoMessage()
- func (x *AsyncFileManagerConfig) ProtoReflect() protoreflect.Message
- func (x *AsyncFileManagerConfig) Reset()
- func (x *AsyncFileManagerConfig) String() string
- func (m *AsyncFileManagerConfig) Validate() error
- func (m *AsyncFileManagerConfig) ValidateAll() error
- type AsyncFileManagerConfigMultiError
- type AsyncFileManagerConfigValidationError
- func (e AsyncFileManagerConfigValidationError) Cause() error
- func (e AsyncFileManagerConfigValidationError) Error() string
- func (e AsyncFileManagerConfigValidationError) ErrorName() string
- func (e AsyncFileManagerConfigValidationError) Field() string
- func (e AsyncFileManagerConfigValidationError) Key() bool
- func (e AsyncFileManagerConfigValidationError) Reason() string
- type AsyncFileManagerConfig_ThreadPool
- func (*AsyncFileManagerConfig_ThreadPool) Descriptor() ([]byte, []int)deprecated
- func (x *AsyncFileManagerConfig_ThreadPool) GetThreadCount() uint32
- func (*AsyncFileManagerConfig_ThreadPool) ProtoMessage()
- func (x *AsyncFileManagerConfig_ThreadPool) ProtoReflect() protoreflect.Message
- func (x *AsyncFileManagerConfig_ThreadPool) Reset()
- func (x *AsyncFileManagerConfig_ThreadPool) String() string
- func (m *AsyncFileManagerConfig_ThreadPool) Validate() error
- func (m *AsyncFileManagerConfig_ThreadPool) ValidateAll() error
- type AsyncFileManagerConfig_ThreadPoolMultiError
- type AsyncFileManagerConfig_ThreadPoolValidationError
- func (e AsyncFileManagerConfig_ThreadPoolValidationError) Cause() error
- func (e AsyncFileManagerConfig_ThreadPoolValidationError) Error() string
- func (e AsyncFileManagerConfig_ThreadPoolValidationError) ErrorName() string
- func (e AsyncFileManagerConfig_ThreadPoolValidationError) Field() string
- func (e AsyncFileManagerConfig_ThreadPoolValidationError) Key() bool
- func (e AsyncFileManagerConfig_ThreadPoolValidationError) Reason() string
- type AsyncFileManagerConfig_ThreadPool_
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_common_async_files_v3_async_file_manager_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AsyncFileManagerConfig ¶
type AsyncFileManagerConfig struct { // An optional identifier for the manager. An empty string is a valid identifier // for a common, default `AsyncFileManager`. // // Reusing the same id with different configurations in the same envoy instance // is an error. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Types that are assignable to ManagerType: // *AsyncFileManagerConfig_ThreadPool_ ManagerType isAsyncFileManagerConfig_ManagerType `protobuf_oneof:"manager_type"` // contains filtered or unexported fields }
Configuration to instantiate or select a singleton `AsyncFileManager`.
func (*AsyncFileManagerConfig) Descriptor
deprecated
func (*AsyncFileManagerConfig) Descriptor() ([]byte, []int)
Deprecated: Use AsyncFileManagerConfig.ProtoReflect.Descriptor instead.
func (*AsyncFileManagerConfig) GetId ¶
func (x *AsyncFileManagerConfig) GetId() string
func (*AsyncFileManagerConfig) GetManagerType ¶
func (m *AsyncFileManagerConfig) GetManagerType() isAsyncFileManagerConfig_ManagerType
func (*AsyncFileManagerConfig) GetThreadPool ¶
func (x *AsyncFileManagerConfig) GetThreadPool() *AsyncFileManagerConfig_ThreadPool
func (*AsyncFileManagerConfig) ProtoMessage ¶
func (*AsyncFileManagerConfig) ProtoMessage()
func (*AsyncFileManagerConfig) ProtoReflect ¶
func (x *AsyncFileManagerConfig) ProtoReflect() protoreflect.Message
func (*AsyncFileManagerConfig) Reset ¶
func (x *AsyncFileManagerConfig) Reset()
func (*AsyncFileManagerConfig) String ¶
func (x *AsyncFileManagerConfig) String() string
func (*AsyncFileManagerConfig) Validate ¶
func (m *AsyncFileManagerConfig) Validate() error
Validate checks the field values on AsyncFileManagerConfig 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 (*AsyncFileManagerConfig) ValidateAll ¶
func (m *AsyncFileManagerConfig) ValidateAll() error
ValidateAll checks the field values on AsyncFileManagerConfig 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 AsyncFileManagerConfigMultiError, or nil if none found.
type AsyncFileManagerConfigMultiError ¶
type AsyncFileManagerConfigMultiError []error
AsyncFileManagerConfigMultiError is an error wrapping multiple validation errors returned by AsyncFileManagerConfig.ValidateAll() if the designated constraints aren't met.
func (AsyncFileManagerConfigMultiError) AllErrors ¶
func (m AsyncFileManagerConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AsyncFileManagerConfigMultiError) Error ¶
func (m AsyncFileManagerConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AsyncFileManagerConfigValidationError ¶
type AsyncFileManagerConfigValidationError struct {
// contains filtered or unexported fields
}
AsyncFileManagerConfigValidationError is the validation error returned by AsyncFileManagerConfig.Validate if the designated constraints aren't met.
func (AsyncFileManagerConfigValidationError) Cause ¶
func (e AsyncFileManagerConfigValidationError) Cause() error
Cause function returns cause value.
func (AsyncFileManagerConfigValidationError) Error ¶
func (e AsyncFileManagerConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AsyncFileManagerConfigValidationError) ErrorName ¶
func (e AsyncFileManagerConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AsyncFileManagerConfigValidationError) Field ¶
func (e AsyncFileManagerConfigValidationError) Field() string
Field function returns field value.
func (AsyncFileManagerConfigValidationError) Key ¶
func (e AsyncFileManagerConfigValidationError) Key() bool
Key function returns key value.
func (AsyncFileManagerConfigValidationError) Reason ¶
func (e AsyncFileManagerConfigValidationError) Reason() string
Reason function returns reason value.
type AsyncFileManagerConfig_ThreadPool ¶
type AsyncFileManagerConfig_ThreadPool struct { // The number of threads to use. If unset or zero, will default to the number // of concurrent threads the hardware supports. This default is subject to // change if performance analysis suggests it. ThreadCount uint32 `protobuf:"varint,1,opt,name=thread_count,json=threadCount,proto3" json:"thread_count,omitempty"` // contains filtered or unexported fields }
func (*AsyncFileManagerConfig_ThreadPool) Descriptor
deprecated
func (*AsyncFileManagerConfig_ThreadPool) Descriptor() ([]byte, []int)
Deprecated: Use AsyncFileManagerConfig_ThreadPool.ProtoReflect.Descriptor instead.
func (*AsyncFileManagerConfig_ThreadPool) GetThreadCount ¶
func (x *AsyncFileManagerConfig_ThreadPool) GetThreadCount() uint32
func (*AsyncFileManagerConfig_ThreadPool) ProtoMessage ¶
func (*AsyncFileManagerConfig_ThreadPool) ProtoMessage()
func (*AsyncFileManagerConfig_ThreadPool) ProtoReflect ¶
func (x *AsyncFileManagerConfig_ThreadPool) ProtoReflect() protoreflect.Message
func (*AsyncFileManagerConfig_ThreadPool) Reset ¶
func (x *AsyncFileManagerConfig_ThreadPool) Reset()
func (*AsyncFileManagerConfig_ThreadPool) String ¶
func (x *AsyncFileManagerConfig_ThreadPool) String() string
func (*AsyncFileManagerConfig_ThreadPool) Validate ¶
func (m *AsyncFileManagerConfig_ThreadPool) Validate() error
Validate checks the field values on AsyncFileManagerConfig_ThreadPool 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 (*AsyncFileManagerConfig_ThreadPool) ValidateAll ¶
func (m *AsyncFileManagerConfig_ThreadPool) ValidateAll() error
ValidateAll checks the field values on AsyncFileManagerConfig_ThreadPool 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 AsyncFileManagerConfig_ThreadPoolMultiError, or nil if none found.
type AsyncFileManagerConfig_ThreadPoolMultiError ¶
type AsyncFileManagerConfig_ThreadPoolMultiError []error
AsyncFileManagerConfig_ThreadPoolMultiError is an error wrapping multiple validation errors returned by AsyncFileManagerConfig_ThreadPool.ValidateAll() if the designated constraints aren't met.
func (AsyncFileManagerConfig_ThreadPoolMultiError) AllErrors ¶
func (m AsyncFileManagerConfig_ThreadPoolMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AsyncFileManagerConfig_ThreadPoolMultiError) Error ¶
func (m AsyncFileManagerConfig_ThreadPoolMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AsyncFileManagerConfig_ThreadPoolValidationError ¶
type AsyncFileManagerConfig_ThreadPoolValidationError struct {
// contains filtered or unexported fields
}
AsyncFileManagerConfig_ThreadPoolValidationError is the validation error returned by AsyncFileManagerConfig_ThreadPool.Validate if the designated constraints aren't met.
func (AsyncFileManagerConfig_ThreadPoolValidationError) Cause ¶
func (e AsyncFileManagerConfig_ThreadPoolValidationError) Cause() error
Cause function returns cause value.
func (AsyncFileManagerConfig_ThreadPoolValidationError) Error ¶
func (e AsyncFileManagerConfig_ThreadPoolValidationError) Error() string
Error satisfies the builtin error interface
func (AsyncFileManagerConfig_ThreadPoolValidationError) ErrorName ¶
func (e AsyncFileManagerConfig_ThreadPoolValidationError) ErrorName() string
ErrorName returns error name.
func (AsyncFileManagerConfig_ThreadPoolValidationError) Field ¶
func (e AsyncFileManagerConfig_ThreadPoolValidationError) Field() string
Field function returns field value.
func (AsyncFileManagerConfig_ThreadPoolValidationError) Key ¶
func (e AsyncFileManagerConfig_ThreadPoolValidationError) Key() bool
Key function returns key value.
func (AsyncFileManagerConfig_ThreadPoolValidationError) Reason ¶
func (e AsyncFileManagerConfig_ThreadPoolValidationError) Reason() string
Reason function returns reason value.
type AsyncFileManagerConfig_ThreadPool_ ¶
type AsyncFileManagerConfig_ThreadPool_ struct { // Configuration for a thread-pool based async file manager. ThreadPool *AsyncFileManagerConfig_ThreadPool `protobuf:"bytes,2,opt,name=thread_pool,json=threadPool,proto3,oneof"` }