Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockPackageServiceInterface
- func (m *MockPackageServiceInterface) CreateDeployPackage(ctx context.Context, contents map[string]string, nc util.NamingContext) (string, error)
- func (m *MockPackageServiceInterface) CreateNFDeployActuators(ctx context.Context, nc util.NamingContext, key packageservice.VendorNFKey) (string, bool, error)
- func (m *MockPackageServiceInterface) DeleteDeployPackage(ctx context.Context, nc util.NamingContext) error
- func (m *MockPackageServiceInterface) EXPECT() *MockPackageServiceInterfaceMockRecorder
- func (m *MockPackageServiceInterface) GetNFProfiles(ctx context.Context, req []packageservice.GetResourceRequest, ...) (map[int][]string, error)
- func (m *MockPackageServiceInterface) GetVendorExtensionPackage(ctx context.Context, nc util.NamingContext, key packageservice.VendorNFKey) ([]string, error)
- type MockPackageServiceInterfaceMockRecorder
- func (mr *MockPackageServiceInterfaceMockRecorder) CreateDeployPackage(ctx, contents, nc interface{}) *gomock.Call
- func (mr *MockPackageServiceInterfaceMockRecorder) CreateNFDeployActuators(ctx, nc, key interface{}) *gomock.Call
- func (mr *MockPackageServiceInterfaceMockRecorder) DeleteDeployPackage(ctx, nc interface{}) *gomock.Call
- func (mr *MockPackageServiceInterfaceMockRecorder) GetNFProfiles(ctx, req, nc interface{}) *gomock.Call
- func (mr *MockPackageServiceInterfaceMockRecorder) GetVendorExtensionPackage(ctx, nc, key interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPackageServiceInterface ¶
type MockPackageServiceInterface struct {
// contains filtered or unexported fields
}
MockPackageServiceInterface is a mock of PackageServiceInterface interface.
func NewMockPackageServiceInterface ¶
func NewMockPackageServiceInterface(ctrl *gomock.Controller) *MockPackageServiceInterface
NewMockPackageServiceInterface creates a new mock instance.
func (*MockPackageServiceInterface) CreateDeployPackage ¶
func (m *MockPackageServiceInterface) CreateDeployPackage(ctx context.Context, contents map[string]string, nc util.NamingContext) (string, error)
CreateDeployPackage mocks base method.
func (*MockPackageServiceInterface) CreateNFDeployActuators ¶
func (m *MockPackageServiceInterface) CreateNFDeployActuators(ctx context.Context, nc util.NamingContext, key packageservice.VendorNFKey) (string, bool, error)
CreateNFDeployActuators mocks base method.
func (*MockPackageServiceInterface) DeleteDeployPackage ¶
func (m *MockPackageServiceInterface) DeleteDeployPackage(ctx context.Context, nc util.NamingContext) error
DeleteDeployPackage mocks base method.
func (*MockPackageServiceInterface) EXPECT ¶
func (m *MockPackageServiceInterface) EXPECT() *MockPackageServiceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPackageServiceInterface) GetNFProfiles ¶
func (m *MockPackageServiceInterface) GetNFProfiles(ctx context.Context, req []packageservice.GetResourceRequest, nc util.NamingContext) (map[int][]string, error)
GetNFProfiles mocks base method.
func (*MockPackageServiceInterface) GetVendorExtensionPackage ¶
func (m *MockPackageServiceInterface) GetVendorExtensionPackage(ctx context.Context, nc util.NamingContext, key packageservice.VendorNFKey) ([]string, error)
GetVendorExtensionPackage mocks base method.
type MockPackageServiceInterfaceMockRecorder ¶
type MockPackageServiceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockPackageServiceInterfaceMockRecorder is the mock recorder for MockPackageServiceInterface.
func (*MockPackageServiceInterfaceMockRecorder) CreateDeployPackage ¶
func (mr *MockPackageServiceInterfaceMockRecorder) CreateDeployPackage(ctx, contents, nc interface{}) *gomock.Call
CreateDeployPackage indicates an expected call of CreateDeployPackage.
func (*MockPackageServiceInterfaceMockRecorder) CreateNFDeployActuators ¶
func (mr *MockPackageServiceInterfaceMockRecorder) CreateNFDeployActuators(ctx, nc, key interface{}) *gomock.Call
CreateNFDeployActuators indicates an expected call of CreateNFDeployActuators.
func (*MockPackageServiceInterfaceMockRecorder) DeleteDeployPackage ¶
func (mr *MockPackageServiceInterfaceMockRecorder) DeleteDeployPackage(ctx, nc interface{}) *gomock.Call
DeleteDeployPackage indicates an expected call of DeleteDeployPackage.
func (*MockPackageServiceInterfaceMockRecorder) GetNFProfiles ¶
func (mr *MockPackageServiceInterfaceMockRecorder) GetNFProfiles(ctx, req, nc interface{}) *gomock.Call
GetNFProfiles indicates an expected call of GetNFProfiles.
func (*MockPackageServiceInterfaceMockRecorder) GetVendorExtensionPackage ¶
func (mr *MockPackageServiceInterfaceMockRecorder) GetVendorExtensionPackage(ctx, nc, key interface{}) *gomock.Call
GetVendorExtensionPackage indicates an expected call of GetVendorExtensionPackage.