mocks

package
v0.0.0-...-ea3e8b0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockCharmClient

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

MockCharmClient is a mock of CharmClient interface.

func NewMockCharmClient

func NewMockCharmClient(ctrl *gomock.Controller) *MockCharmClient

NewMockCharmClient creates a new mock instance.

func (*MockCharmClient) CharmInfo

func (m *MockCharmClient) CharmInfo(arg0 string) (*charms.CharmInfo, error)

CharmInfo mocks base method.

func (*MockCharmClient) EXPECT

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

func (*MockCharmClient) ListCharmResources

func (m *MockCharmClient) ListCharmResources(arg0 string, arg1 charm.Origin) ([]resource.Resource, error)

ListCharmResources mocks base method.

type MockCharmClientMockRecorder

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

MockCharmClientMockRecorder is the mock recorder for MockCharmClient.

func (*MockCharmClientMockRecorder) CharmInfo

func (mr *MockCharmClientMockRecorder) CharmInfo(arg0 any) *gomock.Call

CharmInfo indicates an expected call of CharmInfo.

func (*MockCharmClientMockRecorder) ListCharmResources

func (mr *MockCharmClientMockRecorder) ListCharmResources(arg0, arg1 any) *gomock.Call

ListCharmResources indicates an expected call of ListCharmResources.

type MockResourceLister

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

MockResourceLister is a mock of ResourceLister interface.

func NewMockResourceLister

func NewMockResourceLister(ctrl *gomock.Controller) *MockResourceLister

NewMockResourceLister creates a new mock instance.

func (*MockResourceLister) EXPECT

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

func (*MockResourceLister) ListResources

func (m *MockResourceLister) ListResources(arg0 []string) ([]resources.ApplicationResources, error)

ListResources mocks base method.

type MockResourceListerMockRecorder

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

MockResourceListerMockRecorder is the mock recorder for MockResourceLister.

func (*MockResourceListerMockRecorder) ListResources

func (mr *MockResourceListerMockRecorder) ListResources(arg0 any) *gomock.Call

ListResources indicates an expected call of ListResources.

Jump to

Keyboard shortcuts

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