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 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() (string, error)
ArchiveSha256 mocks base method.
func (*MockBundleInfo) EXPECT ¶
func (m *MockBundleInfo) EXPECT() *MockBundleInfoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBundleInfoMockRecorder ¶
type MockBundleInfoMockRecorder struct {
// contains filtered or unexported fields
}
MockBundleInfoMockRecorder is the mock recorder for MockBundleInfo.
func (*MockBundleInfoMockRecorder) ArchiveSha256 ¶
func (mr *MockBundleInfoMockRecorder) ArchiveSha256() *gomock.Call
ArchiveSha256 indicates an expected call of ArchiveSha256.
func (*MockBundleInfoMockRecorder) URL ¶
func (mr *MockBundleInfoMockRecorder) URL() *gomock.Call
URL indicates an expected call of URL.
type MockBundleMockRecorder ¶
type MockBundleMockRecorder struct {
// contains filtered or unexported fields
}
MockBundleMockRecorder is the mock recorder for MockBundle.
func (*MockBundleMockRecorder) ArchiveMembers ¶
func (mr *MockBundleMockRecorder) ArchiveMembers() *gomock.Call
ArchiveMembers indicates an expected call of ArchiveMembers.
func (*MockBundleMockRecorder) ExpandTo ¶
func (mr *MockBundleMockRecorder) ExpandTo(arg0 interface{}) *gomock.Call
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 ¶
func (m *MockBundleReader) EXPECT() *MockBundleReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBundleReader) Read ¶
func (m *MockBundleReader) Read(arg0 charm0.BundleInfo, arg1 <-chan struct{}) (charm0.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 interface{}) *gomock.Call
Read indicates an expected call of Read.