stdtemporalcodecfxmock

package
v0.0.246 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockKMS

type MockKMS struct {
	mock.Mock
}

MockKMS is an autogenerated mock type for the KMS type

func NewMockKMS

func NewMockKMS(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockKMS

NewMockKMS creates a new instance of MockKMS. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockKMS) Decrypt

func (_m *MockKMS) Decrypt(ctx context.Context, params *kms.DecryptInput, optFns ...func(*kms.Options)) (*kms.DecryptOutput, error)

Decrypt provides a mock function with given fields: ctx, params, optFns

func (*MockKMS) EXPECT

func (_m *MockKMS) EXPECT() *MockKMS_Expecter

func (*MockKMS) Encrypt

func (_m *MockKMS) Encrypt(ctx context.Context, params *kms.EncryptInput, optFns ...func(*kms.Options)) (*kms.EncryptOutput, error)

Encrypt provides a mock function with given fields: ctx, params, optFns

type MockKMS_Decrypt_Call

type MockKMS_Decrypt_Call struct {
	*mock.Call
}

MockKMS_Decrypt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Decrypt'

func (*MockKMS_Decrypt_Call) Return

func (*MockKMS_Decrypt_Call) Run

func (_c *MockKMS_Decrypt_Call) Run(run func(ctx context.Context, params *kms.DecryptInput, optFns ...func(*kms.Options))) *MockKMS_Decrypt_Call

func (*MockKMS_Decrypt_Call) RunAndReturn

type MockKMS_Encrypt_Call

type MockKMS_Encrypt_Call struct {
	*mock.Call
}

MockKMS_Encrypt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Encrypt'

func (*MockKMS_Encrypt_Call) Return

func (*MockKMS_Encrypt_Call) Run

func (_c *MockKMS_Encrypt_Call) Run(run func(ctx context.Context, params *kms.EncryptInput, optFns ...func(*kms.Options))) *MockKMS_Encrypt_Call

func (*MockKMS_Encrypt_Call) RunAndReturn

type MockKMS_Expecter

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

func (*MockKMS_Expecter) Decrypt

func (_e *MockKMS_Expecter) Decrypt(ctx interface{}, params interface{}, optFns ...interface{}) *MockKMS_Decrypt_Call

Decrypt is a helper method to define mock.On call

  • ctx context.Context
  • params *kms.DecryptInput
  • optFns ...func(*kms.Options)

func (*MockKMS_Expecter) Encrypt

func (_e *MockKMS_Expecter) Encrypt(ctx interface{}, params interface{}, optFns ...interface{}) *MockKMS_Encrypt_Call

Encrypt is a helper method to define mock.On call

  • ctx context.Context
  • params *kms.EncryptInput
  • optFns ...func(*kms.Options)

Jump to

Keyboard shortcuts

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