{"modulePath":"github.com/temporalio/cloud-cli","version":"v0.2.3","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package mock\n\n## Types\n\n```go\ntype MockEditor struct {\n\tmock.Mock\n}\n```\nMockEditor is an autogenerated mock type for the Editor type\n\n```go\nfunc NewMockEditor(t interface {\n\tmock.TestingT\n\tCleanup(func())\n}) *MockEditor\n```\nNewMockEditor creates a new instance of MockEditor. 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.\n\n```go\nfunc (_m *MockEditor) EXPECT() *MockEditor_Expecter\n```\n\n```go\nfunc (_mock *MockEditor) EditProto(existing proto.Message) (proto.Message, error)\n```\nEditProto provides a mock function for the type MockEditor\n\n```go\ntype MockEditor_EditProto_Call struct {\n\t*mock.Call\n}\n```\nMockEditor\\_EditProto\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'EditProto'\n\n```go\nfunc (_c *MockEditor_EditProto_Call) Return(message proto.Message, err error) *MockEditor_EditProto_Call\n```\n\n```go\nfunc (_c *MockEditor_EditProto_Call) Run(run func(existing proto.Message)) *MockEditor_EditProto_Call\n```\n\n```go\nfunc (_c *MockEditor_EditProto_Call) RunAndReturn(run func(existing proto.Message) (proto.Message, error)) *MockEditor_EditProto_Call\n```\n\n```go\ntype MockEditor_Expecter struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (_e *MockEditor_Expecter) EditProto(existing any) *MockEditor_EditProto_Call\n```\nEditProto is a helper method to define mock.On call\n\n  - existing proto.Message\n\n","path":"github.com/temporalio/cloud-cli/temporalcloudcli/editor/mock","name":"mock","synopsis":"","isRedistributable":true}
