admin

package
v1.0.0-rc12 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package admin is a generated GoMock package.

Package admin is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mock

func Mock()

Mock is a place holder to unify all mock generators.

Types

type Handler

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

func NewHandler

func NewHandler(manager Manager) *Handler

func (*Handler) Delete

Delete a namespace so that the applications contained on it are not longer available.

type Manager

type Manager interface {
	// DeleteNamespace deletes a namespace so that the applications contained on it are not longer available.
	DeleteNamespace(namespace string) error
}

func NewManager

func NewManager(stManager storage.StorageManager, metadataProvider metadata.MetadataProvider) Manager

type MockMetadataProvider

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

MockMetadataProvider is a mock of MetadataProvider interface

func NewMockMetadataProvider

func NewMockMetadataProvider(ctrl *gomock.Controller) *MockMetadataProvider

NewMockMetadataProvider creates a new mock instance

func (*MockMetadataProvider) Add

Add mocks base method

func (*MockMetadataProvider) EXPECT

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

func (*MockMetadataProvider) Exists

Exists mocks base method

func (*MockMetadataProvider) Get

Get mocks base method

func (*MockMetadataProvider) GetSummary

func (m *MockMetadataProvider) GetSummary() (*entities.Summary, error)

GetSummary mocks base method

func (*MockMetadataProvider) List

List mocks base method

func (*MockMetadataProvider) ListSummary

func (m *MockMetadataProvider) ListSummary(arg0 string) ([]*entities.AppSummary, error)

ListSummary mocks base method

func (*MockMetadataProvider) Remove

Remove mocks base method

type MockMetadataProviderMockRecorder

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

MockMetadataProviderMockRecorder is the mock recorder for MockMetadataProvider

func (*MockMetadataProviderMockRecorder) Add

func (mr *MockMetadataProviderMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add

func (*MockMetadataProviderMockRecorder) Exists

func (mr *MockMetadataProviderMockRecorder) Exists(arg0 interface{}) *gomock.Call

Exists indicates an expected call of Exists

func (*MockMetadataProviderMockRecorder) Get

func (mr *MockMetadataProviderMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockMetadataProviderMockRecorder) GetSummary

func (mr *MockMetadataProviderMockRecorder) GetSummary() *gomock.Call

GetSummary indicates an expected call of GetSummary

func (*MockMetadataProviderMockRecorder) List

func (mr *MockMetadataProviderMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockMetadataProviderMockRecorder) ListSummary

func (mr *MockMetadataProviderMockRecorder) ListSummary(arg0 interface{}) *gomock.Call

ListSummary indicates an expected call of ListSummary

func (*MockMetadataProviderMockRecorder) Remove

func (mr *MockMetadataProviderMockRecorder) Remove(arg0 interface{}) *gomock.Call

Remove indicates an expected call of Remove

type MockStorageManager

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

MockStorageManager is a mock of StorageManager interface

func NewMockStorageManager

func NewMockStorageManager(ctrl *gomock.Controller) *MockStorageManager

NewMockStorageManager creates a new mock instance

func (*MockStorageManager) ApplicationExists

func (m *MockStorageManager) ApplicationExists(arg0, arg1, arg2 string) (bool, error)

ApplicationExists mocks base method

func (*MockStorageManager) CreateRepository

func (m *MockStorageManager) CreateRepository(arg0 string) error

CreateRepository mocks base method

func (*MockStorageManager) EXPECT

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

func (*MockStorageManager) GetApplication

func (m *MockStorageManager) GetApplication(arg0, arg1, arg2 string, arg3 bool) ([]*entities.FileInfo, error)

GetApplication mocks base method

func (*MockStorageManager) RemoveApplication

func (m *MockStorageManager) RemoveApplication(arg0, arg1, arg2 string) error

RemoveApplication mocks base method

func (*MockStorageManager) RemoveRepository

func (m *MockStorageManager) RemoveRepository(arg0 string) error

RemoveRepository mocks base method

func (*MockStorageManager) RepositoryExists

func (m *MockStorageManager) RepositoryExists(arg0 string) (bool, error)

RepositoryExists mocks base method

func (*MockStorageManager) StoreApplication

func (m *MockStorageManager) StoreApplication(arg0, arg1, arg2 string, arg3 []*entities.FileInfo) error

StoreApplication mocks base method

type MockStorageManagerMockRecorder

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

MockStorageManagerMockRecorder is the mock recorder for MockStorageManager

func (*MockStorageManagerMockRecorder) ApplicationExists

func (mr *MockStorageManagerMockRecorder) ApplicationExists(arg0, arg1, arg2 interface{}) *gomock.Call

ApplicationExists indicates an expected call of ApplicationExists

func (*MockStorageManagerMockRecorder) CreateRepository

func (mr *MockStorageManagerMockRecorder) CreateRepository(arg0 interface{}) *gomock.Call

CreateRepository indicates an expected call of CreateRepository

func (*MockStorageManagerMockRecorder) GetApplication

func (mr *MockStorageManagerMockRecorder) GetApplication(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetApplication indicates an expected call of GetApplication

func (*MockStorageManagerMockRecorder) RemoveApplication

func (mr *MockStorageManagerMockRecorder) RemoveApplication(arg0, arg1, arg2 interface{}) *gomock.Call

RemoveApplication indicates an expected call of RemoveApplication

func (*MockStorageManagerMockRecorder) RemoveRepository

func (mr *MockStorageManagerMockRecorder) RemoveRepository(arg0 interface{}) *gomock.Call

RemoveRepository indicates an expected call of RemoveRepository

func (*MockStorageManagerMockRecorder) RepositoryExists

func (mr *MockStorageManagerMockRecorder) RepositoryExists(arg0 interface{}) *gomock.Call

RepositoryExists indicates an expected call of RepositoryExists

func (*MockStorageManagerMockRecorder) StoreApplication

func (mr *MockStorageManagerMockRecorder) StoreApplication(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

StoreApplication indicates an expected call of StoreApplication

Jump to

Keyboard shortcuts

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