async_filesv3

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 19 Imported by: 18

Documentation

Index

Constants

This section is empty.

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

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

Cause function returns cause value.

func (AsyncFileManagerConfigValidationError) Error

Error satisfies the builtin error interface

func (AsyncFileManagerConfigValidationError) ErrorName

ErrorName returns error name.

func (AsyncFileManagerConfigValidationError) Field

Field function returns field value.

func (AsyncFileManagerConfigValidationError) Key

Key function returns key value.

func (AsyncFileManagerConfigValidationError) Reason

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

func (*AsyncFileManagerConfig_ThreadPool) String

func (*AsyncFileManagerConfig_ThreadPool) Validate

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

AllErrors returns a list of validation violation errors.

func (AsyncFileManagerConfig_ThreadPoolMultiError) Error

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

Cause function returns cause value.

func (AsyncFileManagerConfig_ThreadPoolValidationError) Error

Error satisfies the builtin error interface

func (AsyncFileManagerConfig_ThreadPoolValidationError) ErrorName

ErrorName returns error name.

func (AsyncFileManagerConfig_ThreadPoolValidationError) Field

Field function returns field value.

func (AsyncFileManagerConfig_ThreadPoolValidationError) Key

Key function returns key value.

func (AsyncFileManagerConfig_ThreadPoolValidationError) Reason

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"`
}

Jump to

Keyboard shortcuts

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