package
1.7.16
Repository: https://github.com/vdaas/vald.git
Documentation: pkg.go.dev

# Functions

Is represents a function to check whether err and the target is the same or not.
IsCassandraNotFoundError reports whether any error in err's chain matches CassandraNotFoundError.
IsCassandraUnavailableError reports whether any error in err's chain matches CassandraUnavailableIdentityError.
IsErrBlobNoSuchBucket returns if the error is ErrBlobNoSuchBucket.
IsErrBlobNoSuchKey returns if the error is ErrBlobNoSuchKey.
IsMySQLInvalidArgumentError returns true when the err type is MySQLInvalidArgumentIdentityError.
IsMySQLNotFoundError returns true when the err type is MySQLNotFoundIdentityError.
IsRedisNotFoundError compares the input error and RedisNotFoundIdentityError.error and returns true or false that is the result of errors.As.
Join represents a function to generate multiple error when the input errors is not nil.
No description provided by the author
No description provided by the author
NewErrCriticalOption represents a function to generate a new error of ErrCriticalOption that invalid option.
NewErrIgnoredOption represents a function to generate a new error of ErrIgnoredOption that option is ignored.
NewErrInvalidOption represents a function to generate a new error of ErrInvalidOption that invalid option.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Unwrap represents errors.Unwrap.

# Variables

As represents errors.As.
Cause represents a function to generate an error when the input error is not nil.
ErrAddrCouldNotDiscover represents a function to generate an error that address couldn't discover.
ErrAgentMigrationFailed represents a function to generate an error that agent migration failed.
ErrAgentReplicaOne represents an error that nothing to correct when agent replica is 1.
ErrArgumentParseFailed represents a function to generate an error that argument parse failed.
ErrBackoffTimeout represents a function to generate an error that backoff is timeout by limitation.
No description provided by the author
ErrCAPINotImplemented represents an error that the function is not implemented in C API.
ErrCassandraDeleteOperationFailed represents a function to generate an error of delete key failed.
No description provided by the author
ErrCassandraGetOperationFailed represents a function to generate an error of fetch key failed.
ErrCassandraHostDownDetected represents a function to generate an error of cassandra host down detected.
ErrCassandraInvalidConsistencyType represents a function to generate an error of consistency type not defined.
ErrCassandraNotFound represents a function to generate an error of cassandra keys not found.
ErrCassandraNotFoundIdentity generates an error of cassandra entry not found.
ErrCassandraSetOperationFailed represents a function to generate an error of set key failed.
ErrCassandraUnavailable represents NewErrCassandraUnavailableIdentity.
ErrCassandraUnavailableIdentity generates an error of cassandra unavailable.
No description provided by the author
ErrCircuitBreakerHalfOpenFlowLimitation is returned in case of flow limitation in half-open state.
ErrCircuitBreakerOpenState is returned when the CB state is open.
ErrCollectorNotFound represents an error that the observability collector is not found.
ErrCompressedDataNotFound returns an error of compressed data is not found.
ErrCompressFailed returns an error of compress failed.
ErrCompressorNameNotFound represents a function to generate an error of compressor not found.
ErrCompressorRegistererChannelIsFull generates an error that compressor registerer channel is full.
ErrCompressorRegistererIsNotRunning generates an error of compressor registerers is not running.
ErrCreateIndexingIsInProgress represents an error that the indexing is in progress but search request received.
ErrCreateProperty represents a function to generate an error that the property creation failed.
ErrDaemonStartFailed represents a function to generate an error that failed to start daemon.
ErrDaemonStopFailed represents a function to generate an error that failed to stop daemon.
ErrDecompressedDataNotFound returns an error of decompressed data is not found.
ErrDecompressFailed returns an error of decompressing failed.
No description provided by the author
ErrDimensionLimitExceed represents a function to generate an error that the supported dimension limit exceeded.
No description provided by the author
No description provided by the author
No description provided by the author
ErrFailedInitDialer represents an error that the initialization of the dialer failed.
ErrFailedToCheckConsistency represents an error that failed to check consistency process while index correction process.
No description provided by the author
No description provided by the author
No description provided by the author
ErrFailedToCorrectReplicaNum represents an error that failed to correct replica number after correction process.
ErrFailedToCreateBenchmarkJob represents a function to generate an error that failed to create benchmark job crd.
No description provided by the author
ErrFailedToCreateJob represents a function to generate an error that failed to create job resource.
No description provided by the author
No description provided by the author
ErrFailedToInitInfo represents an error to initialize info.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrFailedToSetCreationEdgeSize represents a function to generate an error that the set of creation edge size failed.
ErrFailedToSetDimension represents a function to generate an error that the set of dimension failed.
ErrFailedToSetDistanceType represents a function to generate an error that the set of distance type failed.
ErrFailedToSetObjectType represents a function to generate an error that the set of object type failed.
ErrFailedToSetSearchEdgeSize represents a function to generate an error that the set of search edge size failed.
No description provided by the author
ErrFileAlreadyExists represents a function to generate an error that the file already exists.
ErrFileNotFound represents a function to generate an error that the file not found.
No description provided by the author
ErrFlushingIsInProgress represents an error that the flushing is in progress, but any request has been received.
No description provided by the author
ErrGRPCClientConnectionClose represents a function to generate an error that the gRPC connection couldn't close.
ErrGRPCClientConnNotFound represents a function to generate an error that the gRPC client connection couldn't find.
ErrGRPCClientNotFound represents an error that the vald internal gRPC client couldn't find.
ErrGRPCClientStreamNotFound represents an error that the vald internal gRPC client couldn't find any gRPC client stream connection.
ErrGRPCLookupIPAddrNotFound represents a function to generate an error that the vald internal gRPC client couldn't find IP address.
ErrGRPCPoolConnectionNotFound represents an error that the vald internal gRPC client pool connection couldn't find.
ErrGRPCTargetAddrNotFound represents an error that the gRPC target address couldn't find.
ErrGRPCUnexpectedStatusError represents an error that the gRPC status code is undefined.
ErrHandler represents a function to generate an error that the handler returned an error.
ErrHandlerTimeout represents a function to generate an error that the handler was time out.
ErrIncompatibleDimensionSize represents a function to generate an error that the incompatible dimension size detected.
ErrAgentIndexDirectoryRecreationFailed represents an error that the index directory recreation failed during the process of broken index backup.
ErrIndexFileNotFound represents an error that the index file is not found.
ErrIndexLoadTimeout represents an error that the index loading timeout.
ErrIndexNotFound represents an error that the index not found.
ErrIndexReplicaOne represents an error that nothing to correct when index replica is 1.
ErrIndicesAreTooFewComparedToMetadata represents an error that the index count is not enough to be compared by metadata.
ErrInsuffcientSearchResult represents an error that the search result is insufficient.
No description provided by the author
ErrInvalidAPIConfig represents an error that the API configuration is invalid.
No description provided by the author
No description provided by the author
ErrInvalidCompressionLevel represents a function to generate an error of invalid compression level.
No description provided by the author
ErrRedisSetOperationFailed represents a function to generate an error that invalid configuration version.
No description provided by the author
ErrInvalidDimensionSize represents a function to generate an error that the dimension size is invalid.
ErrInvalidDiscoveryCache represents an error that type conversion of discovery cache failed.
ErrInvalidDNSConfig represents a function to generate an error that the configuration of the DNS is invalid.
ErrInvalidGRPCClientConn represents a function to generate an error that the vald internal gRPC connection is invalid.
ErrInvalidGRPCPort represents a function to generate an error that the gRPC port is invalid.
No description provided by the author
ErrInvalidProtoMessageType represents an error that the gRPC protocol buffers message type is invalid.
No description provided by the author
ErrInvalidRequest represents an error that the API request is invalid.
ErrInvalidStatusCode represents a function to generate an error that the http status code is invalid.
No description provided by the author
ErrInvalidTimestamp represents a function to generate an error that the timestamp is invalid.
ErrInvalidTypeConversion represents a function to generate an error that type conversion fails due to an invalid input type.
ErrInvalidUUID represents a function to generate an error that the uuid is invalid.
ErrJobFuncIsNil represents an error that job function is nil.
ErrJobFuncNotFound represents an error that job function is not found.
ErrLoggingFailed represents a function to generate an error that failing to output logs.
ErrLoggingRetry represents a function to generate an error that failing to output logs and retrying to output.
ErrLookupIPAddrNotFound represents a function to generate an error that the host's ip address could not discovered from DNS.
ErrMetaDataAlreadyExists represents an error that vald metadata is already exists.
ErrMetaDataCannotFetch represents an error that vald metadata cannot fetch.
No description provided by the author
No description provided by the author
ErrMismatchBenchmarkAtomics represents a function to generate an error that mismatch each atomic.Pointer stored corresponding to benchmark tasks.
ErrMySQLConnectionClosed represents a function to generate an error that the connection closed.
ErrMySQLConnectionPingFailed represents an error that the ping failed.
ErrMySQLInvalidArgumentIdentity generates an error that the argument is invalid.
ErrMySQLNotFoundIdentity generates an error that the element is not found.
ErrMySQLSessionNil represents a function to generate an error that the MySQL session is nil.
ErrMySQLTransactionNotCreated represents an error that the transaction is not closed.
ErrNamespaceNotFound represents a function to generate an error of discover namespace not found.
ErrNewerTimestampObjectAlreadyExists represents a function to generate an error that the object is already newer than request.
No description provided by the author
No description provided by the author
ErrNoAvailableAgentToInsert represents an error that no available agent to insert replica.
ErrNoAvailableAgentToRemove represents an error that no available agent to remove replica.
ErrNodeNotFound represents a function to generate an error of discover node not found.
No description provided by the author
ErrNoPortAvailable represents a function to generate an error that the port of the host is unavailable.
ErrNothingToBeDoneForUpdate represents a function to generate an error that there is no object to update.
No description provided by the author
No description provided by the author
No description provided by the author
ErrObjectIDNotFound represents a function to generate an error that the object id is not found.
ErrObjectNotFound represents a function to generate an error that the object is not found.
ErrOptionFailed represents a function to generate an error that the option setup failed.
Errorf represents a function to generate an error based on format and args.
ErrPanicRecovered represents a function to generate an error that the panic recovered.
ErrPanicString represents a function to generate an error that the panic recovered with a string message.
ErrParseUnitFailed represents a function to generate an error that failed to parse unit.
ErrPathNotAllowed represents a function to generate an error indicates that the specified path is not allowed.
ErrPathNotSpecified represents an error that the path is not specified.
ErrPodNameNotFound represents a function to generate an error of discover pod not found.
ErrPostStopFunc represents a function to generate an error that occurred in the post-stop function.
ErrPreStopFunc represents a function to generate an error that occurred in the pre-stop function.
ErrQueueIsAlreadyRunning represents an error that the queue is already running.
ErrQueueIsNotRunning represents an error that the queue is not running.
ErrReadReplicaIDEmpty represents error when trying to rotate agents with empty replicaID.
ErrRedisAddrsNotFound generates a new error of address not found.
ErrRedisConnectionPingFailed generates a new error of Redis connection ping failed.
ErrRedisSetOperationFailed represents a function to wrap failed to delete key error and err.
ErrRedisGetOperationFailed represents a function to wrap failed to fetch key error and err.
ErrRedisInvalidKVVKPrefix represents a function to generate an error that kv index and vk prefix are invalid.
ErrRedisInvalidOption generates a new error of Redis invalid option.
ErrRedisNotFound represents a function to wrap Redis key not found error and err.
ErrRedisNotFoundIdentity generates an RedisNotFoundIdentityError error.
ErrRedisSetOperationFailed represents a function to wrap failed to set key error and err.
ErrRemoveRequestedBeforeIndexing represents a function to generate an error that the object is not indexed so can not remove it.
ErrRequestBodyClose represents a function to generate an error that the close of the request body failed.
ErrRequestBodyCloseAndFlush represents a function to generate an error that the flush of the request body and the close failed.
ErrRequestBodyFlush represents a function to generate an error that the flush of the request body failed.
ErrRequiredElementNotFoundByUUID represents a function to generate an error that the required element is not found.
ErrRequiredMemberNotFilled represents a function to generate an error that the required member is not filled.
ErrRPCCallFailed represents a function to generate an error that the RPC call failed.
ErrRunnerWait represents a function to generate an error during runner.Wait.
ErrRuntimeError represents a function to generate an error that the panic caused by runtime error.
ErrRuntimeFuncNil represents an error that the runtime function is nil.
ErrSameVectorAlreadyExists represents an error that vald already has same features vector data.
No description provided by the author
ErrServerNotFound represents a function to generate an error that the server not found.
ErrServerStreamClientRecv represents a function to generate an error that the gRPC client couldn't receive from stream.
ErrServerStreamClientSend represents a function to generate an error that the gRPC server couldn't send to stream.
ErrStartFunc represents a function to generate an error that occurred in the start function.
ErrStopFunc represents a function to generate an error that occurred in the stop function.
No description provided by the author
No description provided by the author
ErrStreamListObjectStreamFinishedUnexpectedly represents an error that StreamListObject finished not because of io.EOF.
ErrSvcNameNotFound represents a function to generate an error of discover svc not found.
No description provided by the author
No description provided by the author
ErrTimeoutParseFailed represents a function to generate an error that the timeout value is invalid.
ErrTLSCertOrKeyNotFound is error variable, it's represents tls cert or key not found error.
ErrTLSDisabled is error variable, it's represents config error that tls is disabled by config.
ErrTransportRetryable represents an error that the transport is retryable.
ErrUncommittedIndexExists represents a function to generate an error that the uncommitted indexes exist.
ErrUncommittedIndexNotFound represents an error that the uncommitted indexes are not found.
ErrUnsupportedClientMethod is unsupported method error for gRPC/REST client.
No description provided by the author
ErrUnsupportedDistanceType represents an error that the distance type is unsupported.
ErrUnsupportedObjectType represents an error that the object type is unsupported.
ErrUUIDAlreadyExists represents a function to generate an error that the uuid already exists.
ErrUUIDNotFound represents a function to generate an error that the uuid is not found.
No description provided by the author
ErrWatchDirNotFound represents an error that the watch directory is not found.
ErrWorkerIsAlreadyRunning represents a function to generate worker is already running error.
ErrWorkerIsNotRunning represents a function to generate worker is not running error.
ErrWriteOperationToReadReplica represents an error that when a write operation is made to read replica.
ErrZeroTimestamp represents an error that the timestamp is zero.
New represents a function to generate the new error with a message.
NewErrBlobInvalidChunkRange represents a function to create invalid chunk range error.
NewErrBlobNoSuchBucket represents a function to create no such bucket error.
NewErrBlobNoSuchKey represents a function to create no such key error.
NewErrContextNotProvided represents a function to generate an error that the context is not provided.
NewErrReaderNotProvided represents a function to generate an error that the io.Reader is not provided.
NewErrWriterNotProvided represents an error that the io.Writer is not provided.
Wrap represents a function to generate an error that is used by input error and message.
Wrapf represents a function to generate an error that is used by input error, format, and args.

# Structs

CassandraNotFoundIdentityError represents custom error for cassandra not found.
CassandraUnavailableIdentityError represents custom error for cassandra unavailable.
ErrBlobInvalidChunkRange represents no invalid chunk range error of S3.
ErrBlobNoSuchBucket represents no such bucket error of S3.
ErrBlobNoSuchKey represents no such key error of S3.
No description provided by the author
No description provided by the author
ErrCriticalOption represents the critical option error.
ErrIgnoredOption represents the ignored option error.
ErrInvalidOption represents the invalid option error.
No description provided by the author
MySQLInvalidArgumentIdentityError represents a custom error type that the argument is not found.
MySQLNotFoundIdentityError represents a custom error type that the element is not found.
No description provided by the author
RedisNotFoundIdentityError represents a struct that includes err and has a method for Redis error handling.
No description provided by the author