async_filesv3

package
v1.36.4-20230809201205... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 (*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 (*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 (*AsyncFileManagerConfig_ThreadPool) Reset

func (*AsyncFileManagerConfig_ThreadPool) SetThreadCount

func (x *AsyncFileManagerConfig_ThreadPool) SetThreadCount(v uint32)

func (*AsyncFileManagerConfig_ThreadPool) 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

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

Jump to

Keyboard shortcuts

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