mocks

package
v0.0.0-...-c116a84 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBundle

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

MockBundle is a mock of Bundle interface.

func NewMockBundle

func NewMockBundle(ctrl *gomock.Controller) *MockBundle

NewMockBundle creates a new mock instance.

func (*MockBundle) ArchiveMembers

func (m *MockBundle) ArchiveMembers() (set.Strings, error)

ArchiveMembers mocks base method.

func (*MockBundle) EXPECT

func (m *MockBundle) EXPECT() *MockBundleMockRecorder

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

func (*MockBundle) ExpandTo

func (m *MockBundle) ExpandTo(arg0 string) error

ExpandTo mocks base method.

type MockBundleArchiveMembersCall

type MockBundleArchiveMembersCall struct {
	*gomock.Call
}

MockBundleArchiveMembersCall wrap *gomock.Call

func (*MockBundleArchiveMembersCall) Do

Do rewrite *gomock.Call.Do

func (*MockBundleArchiveMembersCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBundleArchiveMembersCall) Return

Return rewrite *gomock.Call.Return

type MockBundleExpandToCall

type MockBundleExpandToCall struct {
	*gomock.Call
}

MockBundleExpandToCall wrap *gomock.Call

func (*MockBundleExpandToCall) Do

Do rewrite *gomock.Call.Do

func (*MockBundleExpandToCall) DoAndReturn

func (c *MockBundleExpandToCall) DoAndReturn(f func(string) error) *MockBundleExpandToCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBundleExpandToCall) Return

Return rewrite *gomock.Call.Return

type MockBundleInfo

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

MockBundleInfo is a mock of BundleInfo interface.

func NewMockBundleInfo

func NewMockBundleInfo(ctrl *gomock.Controller) *MockBundleInfo

NewMockBundleInfo creates a new mock instance.

func (*MockBundleInfo) ArchiveSha256

func (m *MockBundleInfo) ArchiveSha256(arg0 context.Context) (string, error)

ArchiveSha256 mocks base method.

func (*MockBundleInfo) EXPECT

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

func (*MockBundleInfo) URL

func (m *MockBundleInfo) URL() string

URL mocks base method.

type MockBundleInfoArchiveSha256Call

type MockBundleInfoArchiveSha256Call struct {
	*gomock.Call
}

MockBundleInfoArchiveSha256Call wrap *gomock.Call

func (*MockBundleInfoArchiveSha256Call) Do

Do rewrite *gomock.Call.Do

func (*MockBundleInfoArchiveSha256Call) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBundleInfoArchiveSha256Call) Return

Return rewrite *gomock.Call.Return

type MockBundleInfoMockRecorder

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

MockBundleInfoMockRecorder is the mock recorder for MockBundleInfo.

func (*MockBundleInfoMockRecorder) ArchiveSha256

ArchiveSha256 indicates an expected call of ArchiveSha256.

func (*MockBundleInfoMockRecorder) URL

URL indicates an expected call of URL.

type MockBundleInfoURLCall

type MockBundleInfoURLCall struct {
	*gomock.Call
}

MockBundleInfoURLCall wrap *gomock.Call

func (*MockBundleInfoURLCall) Do

Do rewrite *gomock.Call.Do

func (*MockBundleInfoURLCall) DoAndReturn

func (c *MockBundleInfoURLCall) DoAndReturn(f func() string) *MockBundleInfoURLCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBundleInfoURLCall) Return

Return rewrite *gomock.Call.Return

type MockBundleMockRecorder

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

MockBundleMockRecorder is the mock recorder for MockBundle.

func (*MockBundleMockRecorder) ArchiveMembers

ArchiveMembers indicates an expected call of ArchiveMembers.

func (*MockBundleMockRecorder) ExpandTo

ExpandTo indicates an expected call of ExpandTo.

type MockBundleReader

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

MockBundleReader is a mock of BundleReader interface.

func NewMockBundleReader

func NewMockBundleReader(ctrl *gomock.Controller) *MockBundleReader

NewMockBundleReader creates a new mock instance.

func (*MockBundleReader) EXPECT

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

func (*MockBundleReader) Read

func (m *MockBundleReader) Read(arg0 context.Context, arg1 charm.BundleInfo, arg2 <-chan struct{}) (charm.Bundle, error)

Read mocks base method.

type MockBundleReaderMockRecorder

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

MockBundleReaderMockRecorder is the mock recorder for MockBundleReader.

func (*MockBundleReaderMockRecorder) Read

func (mr *MockBundleReaderMockRecorder) Read(arg0, arg1, arg2 any) *MockBundleReaderReadCall

Read indicates an expected call of Read.

type MockBundleReaderReadCall

type MockBundleReaderReadCall struct {
	*gomock.Call
}

MockBundleReaderReadCall wrap *gomock.Call

func (*MockBundleReaderReadCall) Do

Do rewrite *gomock.Call.Do

func (*MockBundleReaderReadCall) DoAndReturn

func (c *MockBundleReaderReadCall) DoAndReturn(f func(context.Context, charm.BundleInfo, <-chan struct{}) (charm.Bundle, error)) *MockBundleReaderReadCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBundleReaderReadCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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