client

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: MIT Imports: 19 Imported by: 3

Documentation

Overview

Package client is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbstractDataStoreFactory

type AbstractDataStoreFactory interface {
	NewFactory(
		cfg config.CustomDatastoreConfig,
		r resolver.ServiceResolver,
		clusterName string,
		logger log.Logger,
		metricsClient metrics.Client,
	) DataStoreFactory
}

AbstractDataStoreFactory creates a DataStoreFactory, can be used to implement custom datastore support outside of the Temporal core.

type Bean

type Bean interface {
	Close()

	GetClusterMetadataManager() persistence.ClusterMetadataManager
	GetMetadataManager() persistence.MetadataManager
	GetTaskManager() persistence.TaskManager
	GetNamespaceReplicationQueue() persistence.NamespaceReplicationQueue
	GetShardManager() persistence.ShardManager
	GetExecutionManager() persistence.ExecutionManager
}

Bean in an collection of persistence manager

type BeanImpl

type BeanImpl struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

BeanImpl stores persistence managers

func NewBean

func NewBean(
	factory Factory,
	clusterMetadataManager persistence.ClusterMetadataManager,
	metadataManager persistence.MetadataManager,
	taskManager persistence.TaskManager,
	namespaceReplicationQueue persistence.NamespaceReplicationQueue,
	shardManager persistence.ShardManager,
	executionManager persistence.ExecutionManager,
) *BeanImpl

NewBean create a new store bean

func NewBeanFromFactory

func NewBeanFromFactory(
	factory Factory,
) (*BeanImpl, error)

NewBeanFromFactory crate a new store bean using factory

func (*BeanImpl) Close

func (s *BeanImpl) Close()

Close cleanup connections

func (*BeanImpl) GetClusterMetadataManager

func (s *BeanImpl) GetClusterMetadataManager() persistence.ClusterMetadataManager

GetClusterMetadataManager get ClusterMetadataManager

func (*BeanImpl) GetExecutionManager

func (s *BeanImpl) GetExecutionManager() persistence.ExecutionManager

GetExecutionManager get ExecutionManager

func (*BeanImpl) GetMetadataManager

func (s *BeanImpl) GetMetadataManager() persistence.MetadataManager

GetMetadataManager get MetadataManager

func (*BeanImpl) GetNamespaceReplicationQueue

func (s *BeanImpl) GetNamespaceReplicationQueue() persistence.NamespaceReplicationQueue

GetNamespaceReplicationQueue get NamespaceReplicationQueue

func (*BeanImpl) GetShardManager

func (s *BeanImpl) GetShardManager() persistence.ShardManager

GetShardManager get ShardManager

func (*BeanImpl) GetTaskManager

func (s *BeanImpl) GetTaskManager() persistence.TaskManager

GetTaskManager get TaskManager

type DataStoreFactory

type DataStoreFactory interface {
	// Close closes the factory
	Close()
	// NewTaskStore returns a new task store
	NewTaskStore() (p.TaskStore, error)
	// NewShardStore returns a new shard store
	NewShardStore() (p.ShardStore, error)
	// NewMetadataStore returns a new metadata store
	NewMetadataStore() (p.MetadataStore, error)
	// NewExecutionStore returns a execution store
	NewExecutionStore() (p.ExecutionStore, error)
	NewQueue(queueType p.QueueType) (p.Queue, error)
	// NewClusterMetadataStore returns a new metadata store
	NewClusterMetadataStore() (p.ClusterMetadataStore, error)
}

DataStoreFactory is a low level interface to be implemented by a datastore Examples of datastores are cassandra, mysql etc

type Datastore

type Datastore struct {
	// contains filtered or unexported fields
}

Datastore represents a datastore

type DefaultErrorGenerator added in v1.12.0

type DefaultErrorGenerator struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewDefaultErrorGenerator added in v1.12.0

func NewDefaultErrorGenerator(rate float64, errorWeights []FaultWeight) *DefaultErrorGenerator

func (*DefaultErrorGenerator) Generate added in v1.12.0

func (p *DefaultErrorGenerator) Generate() error

func (*DefaultErrorGenerator) UpdateRate added in v1.12.0

func (p *DefaultErrorGenerator) UpdateRate(rate float64)

func (*DefaultErrorGenerator) UpdateWeights added in v1.12.0

func (p *DefaultErrorGenerator) UpdateWeights(errorWeights []FaultWeight)

type ErrorFactory added in v1.12.0

type ErrorFactory func(string) error

type ErrorGenerator added in v1.12.0

type ErrorGenerator interface {
	Generate() error
	UpdateRate(rate float64)
	UpdateWeights(weights []FaultWeight)
}

type Factory

type Factory interface {
	// Close the factory
	Close()
	// NewTaskManager returns a new task manager
	NewTaskManager() (p.TaskManager, error)
	// NewShardManager returns a new shard manager
	NewShardManager() (p.ShardManager, error)
	// NewMetadataManager returns a new metadata manager
	NewMetadataManager() (p.MetadataManager, error)
	// NewExecutionManager returns a new execution manager
	NewExecutionManager() (p.ExecutionManager, error)
	// NewNamespaceReplicationQueue returns a new queue for namespace replication
	NewNamespaceReplicationQueue() (p.NamespaceReplicationQueue, error)
	// NewClusterMetadataManager returns a new manager for cluster specific metadata
	NewClusterMetadataManager() (p.ClusterMetadataManager, error)
}

Factory defines the interface for any implementation that can vend persistence layer objects backed by a datastore. The actual datastore is implementation detail hidden behind this interface

func NewFactory

func NewFactory(
	cfg *config.Persistence,
	r resolver.ServiceResolver,
	persistenceMaxQPS dynamicconfig.IntPropertyFn,
	abstractDataStoreFactory AbstractDataStoreFactory,
	clusterName string,
	metricsClient metrics.Client,
	logger log.Logger,
) Factory

NewFactory returns an implementation of factory that vends persistence objects based on specified configuration. This factory takes as input a config.Persistence object which specifies the datastore to be used for a given type of object. This config also contains config for individual datastores themselves.

The objects returned by this factory enforce ratelimit and maxconns according to given configuration. In addition, all objects will emit metrics automatically

type FaultInjectionClusterMetadataStore added in v1.12.0

type FaultInjectionClusterMetadataStore struct {
	ErrorGenerator ErrorGenerator
	// contains filtered or unexported fields
}

func NewFaultInjectionClusterMetadataStore added in v1.12.0

func NewFaultInjectionClusterMetadataStore(config *config.FaultInjection, baseStore persistence.ClusterMetadataStore) (
	*FaultInjectionClusterMetadataStore,
	error,
)

func (*FaultInjectionClusterMetadataStore) Close added in v1.12.0

func (*FaultInjectionClusterMetadataStore) GetClusterMembers added in v1.12.0

func (*FaultInjectionClusterMetadataStore) GetClusterMetadata added in v1.12.0

func (*FaultInjectionClusterMetadataStore) GetName added in v1.12.0

func (*FaultInjectionClusterMetadataStore) PruneClusterMembership added in v1.12.0

func (*FaultInjectionClusterMetadataStore) SaveClusterMetadata added in v1.12.0

func (*FaultInjectionClusterMetadataStore) UpdateRate added in v1.12.0

func (c *FaultInjectionClusterMetadataStore) UpdateRate(rate float64)

func (*FaultInjectionClusterMetadataStore) UpsertClusterMembership added in v1.12.0

type FaultInjectionDataStoreFactory added in v1.12.0

type FaultInjectionDataStoreFactory struct {
	ErrorGenerator ErrorGenerator

	TaskStore      *FaultInjectionTaskStore
	ShardStore     *FaultInjectionShardStore
	MetadataStore  *FaultInjectionMetadataStore
	ExecutionStore *FaultInjectionExecutionStore
	Queue          *FaultInjectionQueue
	ClusterMDStore *FaultInjectionClusterMetadataStore
	// contains filtered or unexported fields
}

func NewFaultInjectionDatastoreFactory added in v1.12.0

func NewFaultInjectionDatastoreFactory(
	config *config.FaultInjection,
	baseFactory DataStoreFactory,
) *FaultInjectionDataStoreFactory

func (*FaultInjectionDataStoreFactory) Close added in v1.12.0

func (d *FaultInjectionDataStoreFactory) Close()

func (*FaultInjectionDataStoreFactory) NewClusterMetadataStore added in v1.12.0

func (d *FaultInjectionDataStoreFactory) NewClusterMetadataStore() (persistence.ClusterMetadataStore, error)

func (*FaultInjectionDataStoreFactory) NewExecutionStore added in v1.12.0

func (*FaultInjectionDataStoreFactory) NewMetadataStore added in v1.12.0

func (*FaultInjectionDataStoreFactory) NewQueue added in v1.12.0

func (*FaultInjectionDataStoreFactory) NewShardStore added in v1.12.0

func (*FaultInjectionDataStoreFactory) NewTaskStore added in v1.12.0

func (*FaultInjectionDataStoreFactory) UpdateRate added in v1.12.0

func (d *FaultInjectionDataStoreFactory) UpdateRate(rate float64)

type FaultInjectionExecutionStore added in v1.12.0

type FaultInjectionExecutionStore struct {
	ErrorGenerator ErrorGenerator
	// contains filtered or unexported fields
}

func NewFaultInjectionExecutionStore added in v1.12.0

func NewFaultInjectionExecutionStore(config *config.FaultInjection, executionStore persistence.ExecutionStore) (
	*FaultInjectionExecutionStore,
	error,
)

func (*FaultInjectionExecutionStore) AddTasks added in v1.12.0

func (*FaultInjectionExecutionStore) AppendHistoryNodes added in v1.12.0

func (*FaultInjectionExecutionStore) Close added in v1.12.0

func (e *FaultInjectionExecutionStore) Close()

func (*FaultInjectionExecutionStore) CompleteReplicationTask added in v1.12.0

func (*FaultInjectionExecutionStore) CompleteTimerTask added in v1.12.0

func (*FaultInjectionExecutionStore) CompleteTransferTask added in v1.12.0

func (*FaultInjectionExecutionStore) CompleteVisibilityTask added in v1.12.0

func (*FaultInjectionExecutionStore) ConflictResolveWorkflowExecution added in v1.12.0

func (*FaultInjectionExecutionStore) CreateWorkflowExecution added in v1.12.0

func (*FaultInjectionExecutionStore) DeleteCurrentWorkflowExecution added in v1.12.0

func (e *FaultInjectionExecutionStore) DeleteCurrentWorkflowExecution(request *persistence.DeleteCurrentWorkflowExecutionRequest) error

func (*FaultInjectionExecutionStore) DeleteHistoryBranch added in v1.12.0

func (*FaultInjectionExecutionStore) DeleteHistoryNodes added in v1.12.0

func (*FaultInjectionExecutionStore) DeleteReplicationTaskFromDLQ added in v1.12.0

func (e *FaultInjectionExecutionStore) DeleteReplicationTaskFromDLQ(request *persistence.DeleteReplicationTaskFromDLQRequest) error

func (*FaultInjectionExecutionStore) DeleteWorkflowExecution added in v1.12.0

func (*FaultInjectionExecutionStore) ForkHistoryBranch added in v1.12.0

func (*FaultInjectionExecutionStore) GetAllHistoryTreeBranches added in v1.12.0

func (*FaultInjectionExecutionStore) GetCurrentExecution added in v1.12.0

func (*FaultInjectionExecutionStore) GetHistoryTree added in v1.12.0

func (*FaultInjectionExecutionStore) GetName added in v1.12.0

func (e *FaultInjectionExecutionStore) GetName() string

func (*FaultInjectionExecutionStore) GetReplicationTask added in v1.12.0

func (*FaultInjectionExecutionStore) GetReplicationTasks added in v1.12.0

func (*FaultInjectionExecutionStore) GetReplicationTasksFromDLQ added in v1.12.0

func (*FaultInjectionExecutionStore) GetTimerIndexTasks added in v1.12.0

func (*FaultInjectionExecutionStore) GetTimerTask added in v1.12.0

func (*FaultInjectionExecutionStore) GetTransferTask added in v1.12.0

func (*FaultInjectionExecutionStore) GetTransferTasks added in v1.12.0

func (*FaultInjectionExecutionStore) GetVisibilityTask added in v1.12.0

func (*FaultInjectionExecutionStore) GetVisibilityTasks added in v1.12.0

func (*FaultInjectionExecutionStore) GetWorkflowExecution added in v1.12.0

func (*FaultInjectionExecutionStore) ListConcreteExecutions added in v1.12.0

func (*FaultInjectionExecutionStore) PutReplicationTaskToDLQ added in v1.12.0

func (*FaultInjectionExecutionStore) RangeCompleteReplicationTask added in v1.12.0

func (e *FaultInjectionExecutionStore) RangeCompleteReplicationTask(request *persistence.RangeCompleteReplicationTaskRequest) error

func (*FaultInjectionExecutionStore) RangeCompleteTimerTask added in v1.12.0

func (*FaultInjectionExecutionStore) RangeCompleteTransferTask added in v1.12.0

func (e *FaultInjectionExecutionStore) RangeCompleteTransferTask(request *persistence.RangeCompleteTransferTaskRequest) error

func (*FaultInjectionExecutionStore) RangeCompleteVisibilityTask added in v1.12.0

func (e *FaultInjectionExecutionStore) RangeCompleteVisibilityTask(request *persistence.RangeCompleteVisibilityTaskRequest) error

func (*FaultInjectionExecutionStore) RangeDeleteReplicationTaskFromDLQ added in v1.12.0

func (e *FaultInjectionExecutionStore) RangeDeleteReplicationTaskFromDLQ(request *persistence.RangeDeleteReplicationTaskFromDLQRequest) error

func (*FaultInjectionExecutionStore) ReadHistoryBranch added in v1.12.0

func (*FaultInjectionExecutionStore) UpdateRate added in v1.12.0

func (e *FaultInjectionExecutionStore) UpdateRate(rate float64)

func (*FaultInjectionExecutionStore) UpdateWorkflowExecution added in v1.12.0

type FaultInjectionMetadataStore added in v1.12.0

type FaultInjectionMetadataStore struct {
	ErrorGenerator ErrorGenerator
	// contains filtered or unexported fields
}

func NewFaultInjectionMetadataStore added in v1.12.0

func NewFaultInjectionMetadataStore(
	config *config.FaultInjection,
	metadataStore persistence.MetadataStore,
) (*FaultInjectionMetadataStore, error)

func (*FaultInjectionMetadataStore) Close added in v1.12.0

func (m *FaultInjectionMetadataStore) Close()

func (*FaultInjectionMetadataStore) CreateNamespace added in v1.12.0

func (*FaultInjectionMetadataStore) DeleteNamespace added in v1.12.0

func (*FaultInjectionMetadataStore) DeleteNamespaceByName added in v1.12.0

func (*FaultInjectionMetadataStore) GetMetadata added in v1.12.0

func (*FaultInjectionMetadataStore) GetName added in v1.12.0

func (m *FaultInjectionMetadataStore) GetName() string

func (*FaultInjectionMetadataStore) GetNamespace added in v1.12.0

func (*FaultInjectionMetadataStore) ListNamespaces added in v1.12.0

func (*FaultInjectionMetadataStore) UpdateNamespace added in v1.12.0

func (*FaultInjectionMetadataStore) UpdateRate added in v1.12.0

func (m *FaultInjectionMetadataStore) UpdateRate(rate float64)

type FaultInjectionQueue added in v1.12.0

type FaultInjectionQueue struct {
	ErrorGenerator ErrorGenerator
	// contains filtered or unexported fields
}

func NewFaultInjectionQueue added in v1.12.0

func NewFaultInjectionQueue(config *config.FaultInjection, baseQueue persistence.Queue) (*FaultInjectionQueue, error)

func (*FaultInjectionQueue) Close added in v1.12.0

func (q *FaultInjectionQueue) Close()

func (*FaultInjectionQueue) DeleteMessageFromDLQ added in v1.12.0

func (q *FaultInjectionQueue) DeleteMessageFromDLQ(messageID int64) error

func (*FaultInjectionQueue) DeleteMessagesBefore added in v1.12.0

func (q *FaultInjectionQueue) DeleteMessagesBefore(messageID int64) error

func (*FaultInjectionQueue) EnqueueMessage added in v1.12.0

func (q *FaultInjectionQueue) EnqueueMessage(blob commonpb.DataBlob) error

func (*FaultInjectionQueue) EnqueueMessageToDLQ added in v1.12.0

func (q *FaultInjectionQueue) EnqueueMessageToDLQ(blob commonpb.DataBlob) (int64, error)

func (*FaultInjectionQueue) GetAckLevels added in v1.12.0

func (*FaultInjectionQueue) GetDLQAckLevels added in v1.12.0

func (*FaultInjectionQueue) Init added in v1.12.0

func (q *FaultInjectionQueue) Init(blob *commonpb.DataBlob) error

func (*FaultInjectionQueue) RangeDeleteMessagesFromDLQ added in v1.12.0

func (q *FaultInjectionQueue) RangeDeleteMessagesFromDLQ(firstMessageID int64, lastMessageID int64) error

func (*FaultInjectionQueue) ReadMessages added in v1.12.0

func (q *FaultInjectionQueue) ReadMessages(lastMessageID int64, maxCount int) ([]*persistence.QueueMessage, error)

func (*FaultInjectionQueue) ReadMessagesFromDLQ added in v1.12.0

func (q *FaultInjectionQueue) ReadMessagesFromDLQ(
	firstMessageID int64,
	lastMessageID int64,
	pageSize int,
	pageToken []byte,
) ([]*persistence.QueueMessage, []byte, error)

func (*FaultInjectionQueue) UpdateAckLevel added in v1.12.0

func (q *FaultInjectionQueue) UpdateAckLevel(metadata *persistence.InternalQueueMetadata) error

func (*FaultInjectionQueue) UpdateDLQAckLevel added in v1.12.0

func (q *FaultInjectionQueue) UpdateDLQAckLevel(metadata *persistence.InternalQueueMetadata) error

func (*FaultInjectionQueue) UpdateRate added in v1.12.0

func (q *FaultInjectionQueue) UpdateRate(rate float64)

type FaultInjectionShardStore added in v1.12.0

type FaultInjectionShardStore struct {
	ErrorGenerator ErrorGenerator
	// contains filtered or unexported fields
}

func NewFaultInjectionShardStore added in v1.12.0

func NewFaultInjectionShardStore(
	config *config.FaultInjection,
	baseShardStore persistence.ShardStore,
) (*FaultInjectionShardStore, error)

func (*FaultInjectionShardStore) Close added in v1.12.0

func (s *FaultInjectionShardStore) Close()

func (*FaultInjectionShardStore) CreateShard added in v1.12.0

func (*FaultInjectionShardStore) GetClusterName added in v1.12.0

func (s *FaultInjectionShardStore) GetClusterName() string

func (*FaultInjectionShardStore) GetName added in v1.12.0

func (s *FaultInjectionShardStore) GetName() string

func (*FaultInjectionShardStore) GetShard added in v1.12.0

func (*FaultInjectionShardStore) UpdateRate added in v1.12.0

func (s *FaultInjectionShardStore) UpdateRate(rate float64)

func (*FaultInjectionShardStore) UpdateShard added in v1.12.0

type FaultInjectionTaskStore added in v1.12.0

type FaultInjectionTaskStore struct {
	ErrorGenerator ErrorGenerator
	// contains filtered or unexported fields
}

func NewFaultInjectionTaskStore added in v1.12.0

func NewFaultInjectionTaskStore(
	config *config.FaultInjection,
	baseTaskStore persistence.TaskStore,
) (*FaultInjectionTaskStore, error)

func (*FaultInjectionTaskStore) Close added in v1.12.0

func (t *FaultInjectionTaskStore) Close()

func (*FaultInjectionTaskStore) CompleteTask added in v1.12.0

func (*FaultInjectionTaskStore) CompleteTasksLessThan added in v1.12.0

func (t *FaultInjectionTaskStore) CompleteTasksLessThan(request *persistence.CompleteTasksLessThanRequest) (
	int,
	error,
)

func (*FaultInjectionTaskStore) CreateTaskQueue added in v1.12.0

func (*FaultInjectionTaskStore) CreateTasks added in v1.12.0

func (*FaultInjectionTaskStore) DeleteTaskQueue added in v1.12.0

func (t *FaultInjectionTaskStore) DeleteTaskQueue(request *persistence.DeleteTaskQueueRequest) error

func (*FaultInjectionTaskStore) ExtendLease added in v1.12.0

func (*FaultInjectionTaskStore) GetName added in v1.12.0

func (t *FaultInjectionTaskStore) GetName() string

func (*FaultInjectionTaskStore) GetTaskQueue added in v1.12.0

func (*FaultInjectionTaskStore) GetTasks added in v1.12.0

func (*FaultInjectionTaskStore) ListTaskQueue added in v1.12.0

func (*FaultInjectionTaskStore) UpdateRate added in v1.12.0

func (t *FaultInjectionTaskStore) UpdateRate(rate float64)

func (*FaultInjectionTaskStore) UpdateTaskQueue added in v1.12.0

type FaultMetadata added in v1.12.0

type FaultMetadata struct {
	// contains filtered or unexported fields
}

type FaultWeight added in v1.12.0

type FaultWeight struct {
	// contains filtered or unexported fields
}

type MockBean

type MockBean struct {
	// contains filtered or unexported fields
}

MockBean is a mock of Bean interface.

func NewMockBean

func NewMockBean(ctrl *gomock.Controller) *MockBean

NewMockBean creates a new mock instance.

func (*MockBean) Close

func (m *MockBean) Close()

Close mocks base method.

func (*MockBean) EXPECT

func (m *MockBean) EXPECT() *MockBeanMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBean) GetClusterMetadataManager

func (m *MockBean) GetClusterMetadataManager() persistence.ClusterMetadataManager

GetClusterMetadataManager mocks base method.

func (*MockBean) GetExecutionManager

func (m *MockBean) GetExecutionManager() persistence.ExecutionManager

GetExecutionManager mocks base method.

func (*MockBean) GetMetadataManager

func (m *MockBean) GetMetadataManager() persistence.MetadataManager

GetMetadataManager mocks base method.

func (*MockBean) GetNamespaceReplicationQueue

func (m *MockBean) GetNamespaceReplicationQueue() persistence.NamespaceReplicationQueue

GetNamespaceReplicationQueue mocks base method.

func (*MockBean) GetShardManager

func (m *MockBean) GetShardManager() persistence.ShardManager

GetShardManager mocks base method.

func (*MockBean) GetTaskManager

func (m *MockBean) GetTaskManager() persistence.TaskManager

GetTaskManager mocks base method.

type MockBeanMockRecorder

type MockBeanMockRecorder struct {
	// contains filtered or unexported fields
}

MockBeanMockRecorder is the mock recorder for MockBean.

func (*MockBeanMockRecorder) Close

func (mr *MockBeanMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockBeanMockRecorder) GetClusterMetadataManager

func (mr *MockBeanMockRecorder) GetClusterMetadataManager() *gomock.Call

GetClusterMetadataManager indicates an expected call of GetClusterMetadataManager.

func (*MockBeanMockRecorder) GetExecutionManager

func (mr *MockBeanMockRecorder) GetExecutionManager() *gomock.Call

GetExecutionManager indicates an expected call of GetExecutionManager.

func (*MockBeanMockRecorder) GetMetadataManager

func (mr *MockBeanMockRecorder) GetMetadataManager() *gomock.Call

GetMetadataManager indicates an expected call of GetMetadataManager.

func (*MockBeanMockRecorder) GetNamespaceReplicationQueue

func (mr *MockBeanMockRecorder) GetNamespaceReplicationQueue() *gomock.Call

GetNamespaceReplicationQueue indicates an expected call of GetNamespaceReplicationQueue.

func (*MockBeanMockRecorder) GetShardManager

func (mr *MockBeanMockRecorder) GetShardManager() *gomock.Call

GetShardManager indicates an expected call of GetShardManager.

func (*MockBeanMockRecorder) GetTaskManager

func (mr *MockBeanMockRecorder) GetTaskManager() *gomock.Call

GetTaskManager indicates an expected call of GetTaskManager.

type NoopErrorGenerator added in v1.12.0

type NoopErrorGenerator struct{}

func NewNoopErrorGenerator added in v1.12.0

func NewNoopErrorGenerator() *NoopErrorGenerator

func (*NoopErrorGenerator) Generate added in v1.12.0

func (p *NoopErrorGenerator) Generate() error

func (*NoopErrorGenerator) UpdateRate added in v1.12.0

func (p *NoopErrorGenerator) UpdateRate(rate float64)

func (*NoopErrorGenerator) UpdateWeights added in v1.12.0

func (p *NoopErrorGenerator) UpdateWeights(weights []FaultWeight)

Jump to

Keyboard shortcuts

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