Documentation ¶
Index ¶
- Constants
- Variables
- type AsyncFileManagerConfig
- func (x *AsyncFileManagerConfig) ClearManagerType()
- func (x *AsyncFileManagerConfig) ClearThreadPool()
- func (x *AsyncFileManagerConfig) GetId() string
- func (x *AsyncFileManagerConfig) GetManagerType() isAsyncFileManagerConfig_ManagerType
- func (x *AsyncFileManagerConfig) GetThreadPool() *AsyncFileManagerConfig_ThreadPool
- func (x *AsyncFileManagerConfig) HasManagerType() bool
- func (x *AsyncFileManagerConfig) HasThreadPool() bool
- func (*AsyncFileManagerConfig) ProtoMessage()
- func (x *AsyncFileManagerConfig) ProtoReflect() protoreflect.Message
- func (x *AsyncFileManagerConfig) Reset()
- func (x *AsyncFileManagerConfig) SetId(v string)
- func (x *AsyncFileManagerConfig) SetThreadPool(v *AsyncFileManagerConfig_ThreadPool)
- func (x *AsyncFileManagerConfig) String() string
- func (x *AsyncFileManagerConfig) WhichManagerType() case_AsyncFileManagerConfig_ManagerType
- type AsyncFileManagerConfig_ThreadPool
- 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) SetThreadCount(v uint32)
- func (x *AsyncFileManagerConfig_ThreadPool) String() string
- type AsyncFileManagerConfig_ThreadPool_
- type AsyncFileManagerConfig_ThreadPool_builder
- type AsyncFileManagerConfig_builder
Constants ¶
View Source
const AsyncFileManagerConfig_ManagerType_not_set_case case_AsyncFileManagerConfig_ManagerType = 0
View Source
const AsyncFileManagerConfig_ThreadPool_case case_AsyncFileManagerConfig_ManagerType = 2
Variables ¶
View Source
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 valid to be assigned 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) ClearManagerType ¶
func (x *AsyncFileManagerConfig) ClearManagerType()
func (*AsyncFileManagerConfig) ClearThreadPool ¶
func (x *AsyncFileManagerConfig) ClearThreadPool()
func (*AsyncFileManagerConfig) GetId ¶
func (x *AsyncFileManagerConfig) GetId() string
func (*AsyncFileManagerConfig) GetManagerType ¶
func (x *AsyncFileManagerConfig) GetManagerType() isAsyncFileManagerConfig_ManagerType
func (*AsyncFileManagerConfig) GetThreadPool ¶
func (x *AsyncFileManagerConfig) GetThreadPool() *AsyncFileManagerConfig_ThreadPool
func (*AsyncFileManagerConfig) HasManagerType ¶
func (x *AsyncFileManagerConfig) HasManagerType() bool
func (*AsyncFileManagerConfig) HasThreadPool ¶
func (x *AsyncFileManagerConfig) HasThreadPool() bool
func (*AsyncFileManagerConfig) ProtoMessage ¶
func (*AsyncFileManagerConfig) ProtoMessage()
func (*AsyncFileManagerConfig) ProtoReflect ¶
func (x *AsyncFileManagerConfig) ProtoReflect() protoreflect.Message
func (*AsyncFileManagerConfig) Reset ¶
func (x *AsyncFileManagerConfig) Reset()
func (*AsyncFileManagerConfig) SetId ¶
func (x *AsyncFileManagerConfig) SetId(v string)
func (*AsyncFileManagerConfig) SetThreadPool ¶
func (x *AsyncFileManagerConfig) SetThreadPool(v *AsyncFileManagerConfig_ThreadPool)
func (*AsyncFileManagerConfig) String ¶
func (x *AsyncFileManagerConfig) String() string
func (*AsyncFileManagerConfig) WhichManagerType ¶
func (x *AsyncFileManagerConfig) WhichManagerType() case_AsyncFileManagerConfig_ManagerType
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) 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) SetThreadCount ¶
func (x *AsyncFileManagerConfig_ThreadPool) SetThreadCount(v uint32)
func (*AsyncFileManagerConfig_ThreadPool) String ¶
func (x *AsyncFileManagerConfig_ThreadPool) String() string
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"` }
type AsyncFileManagerConfig_ThreadPool_builder ¶
type AsyncFileManagerConfig_ThreadPool_builder 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 // contains filtered or unexported fields }
func (AsyncFileManagerConfig_ThreadPool_builder) Build ¶
func (b0 AsyncFileManagerConfig_ThreadPool_builder) Build() *AsyncFileManagerConfig_ThreadPool
type AsyncFileManagerConfig_builder ¶
type AsyncFileManagerConfig_builder 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 // Fields of oneof ManagerType: // Configuration for a thread-pool based async file manager. ThreadPool *AsyncFileManagerConfig_ThreadPool // contains filtered or unexported fields }
func (AsyncFileManagerConfig_builder) Build ¶
func (b0 AsyncFileManagerConfig_builder) Build() *AsyncFileManagerConfig
Click to show internal directories.
Click to hide internal directories.