mock_api

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mock_api is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStitchClient

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

MockStitchClient is a mock of StitchClient interface

func NewMockStitchClient

func NewMockStitchClient(ctrl *gomock.Controller) *MockStitchClient

NewMockStitchClient creates a new mock instance

func (*MockStitchClient) AddSecret

func (m *MockStitchClient) AddSecret(groupID, appID string, secret secrets.Secret) error

AddSecret mocks base method

func (*MockStitchClient) Authenticate

func (m *MockStitchClient) Authenticate(authProvider auth.AuthenticationProvider) (*auth.Response, error)

Authenticate mocks base method

func (*MockStitchClient) CopyAsset

func (m *MockStitchClient) CopyAsset(groupID, appID, fromPath, toPath string) error

CopyAsset mocks base method

func (*MockStitchClient) CreateDraft

func (m *MockStitchClient) CreateDraft(groupID, appID string) (*models.AppDraft, error)

CreateDraft mocks base method

func (*MockStitchClient) CreateEmptyApp

func (m *MockStitchClient) CreateEmptyApp(groupID, appName, location, deploymentModel string) (*models.App, error)

CreateEmptyApp mocks base method

func (*MockStitchClient) DeleteAsset

func (m *MockStitchClient) DeleteAsset(groupID, appID, path string) error

DeleteAsset mocks base method

func (*MockStitchClient) DeployDraft

func (m *MockStitchClient) DeployDraft(groupID, appID, draftID string) (*models.Deployment, error)

DeployDraft mocks base method

func (*MockStitchClient) Diff

func (m *MockStitchClient) Diff(groupID, appID string, appData []byte, strategy string) ([]string, error)

Diff mocks base method

func (*MockStitchClient) DiscardDraft

func (m *MockStitchClient) DiscardDraft(groupID, appID, draftID string) error

DiscardDraft mocks base method

func (*MockStitchClient) DraftDiff

func (m *MockStitchClient) DraftDiff(groupID, appID, draftID string) (*models.DraftDiff, error)

DraftDiff mocks base method

func (*MockStitchClient) EXPECT

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

func (*MockStitchClient) Export

func (m *MockStitchClient) Export(groupID, appID string, strategy api.ExportStrategy) (string, io.ReadCloser, error)

Export mocks base method

func (*MockStitchClient) ExportDependencies added in v1.12.0

func (m *MockStitchClient) ExportDependencies(groupID, appID string) (string, io.ReadCloser, error)

ExportDependencies mocks base method

func (*MockStitchClient) FetchAppByClientAppID

func (m *MockStitchClient) FetchAppByClientAppID(clientAppID string) (*models.App, error)

FetchAppByClientAppID mocks base method

func (*MockStitchClient) FetchAppByGroupIDAndClientAppID

func (m *MockStitchClient) FetchAppByGroupIDAndClientAppID(groupID, clientAppID string) (*models.App, error)

FetchAppByGroupIDAndClientAppID mocks base method

func (*MockStitchClient) FetchAppsByGroupID

func (m *MockStitchClient) FetchAppsByGroupID(groupID string) ([]*models.App, error)

FetchAppsByGroupID mocks base method

func (*MockStitchClient) GetDeployment

func (m *MockStitchClient) GetDeployment(groupID, appID, deploymentID string) (*models.Deployment, error)

GetDeployment mocks base method

func (*MockStitchClient) GetDrafts

func (m *MockStitchClient) GetDrafts(groupID, appID string) ([]models.AppDraft, error)

GetDrafts mocks base method

func (*MockStitchClient) Import

func (m *MockStitchClient) Import(groupID, appID string, appData []byte, strategy string) error

Import mocks base method

func (*MockStitchClient) InvalidateCache

func (m *MockStitchClient) InvalidateCache(groupID, appID, path string) error

InvalidateCache mocks base method

func (*MockStitchClient) ListAssetsForAppID

func (m *MockStitchClient) ListAssetsForAppID(groupID, appID string) ([]hosting.AssetMetadata, error)

ListAssetsForAppID mocks base method

func (*MockStitchClient) ListSecrets

func (m *MockStitchClient) ListSecrets(groupID, appID string) ([]secrets.Secret, error)

ListSecrets mocks base method

func (*MockStitchClient) MoveAsset

func (m *MockStitchClient) MoveAsset(groupID, appID, fromPath, toPath string) error

MoveAsset mocks base method

func (*MockStitchClient) RemoveSecretByID

func (m *MockStitchClient) RemoveSecretByID(groupID, appID, secretID string) error

RemoveSecretByID mocks base method

func (*MockStitchClient) RemoveSecretByName

func (m *MockStitchClient) RemoveSecretByName(groupID, appID, secretName string) error

RemoveSecretByName mocks base method

func (*MockStitchClient) SetAssetAttributes

func (m *MockStitchClient) SetAssetAttributes(groupID, appID, path string, attributes ...hosting.AssetAttribute) error

SetAssetAttributes mocks base method

func (*MockStitchClient) UpdateSecretByID

func (m *MockStitchClient) UpdateSecretByID(groupID, appID, secretID, secretValue string) error

UpdateSecretByID mocks base method

func (*MockStitchClient) UpdateSecretByName

func (m *MockStitchClient) UpdateSecretByName(groupID, appID, secretName, secretValue string) error

UpdateSecretByName mocks base method

func (*MockStitchClient) UploadAsset

func (m *MockStitchClient) UploadAsset(groupID, appID, path, hash string, size int64, body io.Reader, attributes ...hosting.AssetAttribute) error

UploadAsset mocks base method

func (*MockStitchClient) UploadDependencies added in v1.8.0

func (m *MockStitchClient) UploadDependencies(groupID, appID, fullPath string) error

UploadDependencies mocks base method

type MockStitchClientMockRecorder

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

MockStitchClientMockRecorder is the mock recorder for MockStitchClient

func (*MockStitchClientMockRecorder) AddSecret

func (mr *MockStitchClientMockRecorder) AddSecret(groupID, appID, secret interface{}) *gomock.Call

AddSecret indicates an expected call of AddSecret

func (*MockStitchClientMockRecorder) Authenticate

func (mr *MockStitchClientMockRecorder) Authenticate(authProvider interface{}) *gomock.Call

Authenticate indicates an expected call of Authenticate

func (*MockStitchClientMockRecorder) CopyAsset

func (mr *MockStitchClientMockRecorder) CopyAsset(groupID, appID, fromPath, toPath interface{}) *gomock.Call

CopyAsset indicates an expected call of CopyAsset

func (*MockStitchClientMockRecorder) CreateDraft

func (mr *MockStitchClientMockRecorder) CreateDraft(groupID, appID interface{}) *gomock.Call

CreateDraft indicates an expected call of CreateDraft

func (*MockStitchClientMockRecorder) CreateEmptyApp

func (mr *MockStitchClientMockRecorder) CreateEmptyApp(groupID, appName, location, deploymentModel interface{}) *gomock.Call

CreateEmptyApp indicates an expected call of CreateEmptyApp

func (*MockStitchClientMockRecorder) DeleteAsset

func (mr *MockStitchClientMockRecorder) DeleteAsset(groupID, appID, path interface{}) *gomock.Call

DeleteAsset indicates an expected call of DeleteAsset

func (*MockStitchClientMockRecorder) DeployDraft

func (mr *MockStitchClientMockRecorder) DeployDraft(groupID, appID, draftID interface{}) *gomock.Call

DeployDraft indicates an expected call of DeployDraft

func (*MockStitchClientMockRecorder) Diff

func (mr *MockStitchClientMockRecorder) Diff(groupID, appID, appData, strategy interface{}) *gomock.Call

Diff indicates an expected call of Diff

func (*MockStitchClientMockRecorder) DiscardDraft

func (mr *MockStitchClientMockRecorder) DiscardDraft(groupID, appID, draftID interface{}) *gomock.Call

DiscardDraft indicates an expected call of DiscardDraft

func (*MockStitchClientMockRecorder) DraftDiff

func (mr *MockStitchClientMockRecorder) DraftDiff(groupID, appID, draftID interface{}) *gomock.Call

DraftDiff indicates an expected call of DraftDiff

func (*MockStitchClientMockRecorder) Export

func (mr *MockStitchClientMockRecorder) Export(groupID, appID, strategy interface{}) *gomock.Call

Export indicates an expected call of Export

func (*MockStitchClientMockRecorder) ExportDependencies added in v1.12.0

func (mr *MockStitchClientMockRecorder) ExportDependencies(groupID, appID interface{}) *gomock.Call

ExportDependencies indicates an expected call of ExportDependencies

func (*MockStitchClientMockRecorder) FetchAppByClientAppID

func (mr *MockStitchClientMockRecorder) FetchAppByClientAppID(clientAppID interface{}) *gomock.Call

FetchAppByClientAppID indicates an expected call of FetchAppByClientAppID

func (*MockStitchClientMockRecorder) FetchAppByGroupIDAndClientAppID

func (mr *MockStitchClientMockRecorder) FetchAppByGroupIDAndClientAppID(groupID, clientAppID interface{}) *gomock.Call

FetchAppByGroupIDAndClientAppID indicates an expected call of FetchAppByGroupIDAndClientAppID

func (*MockStitchClientMockRecorder) FetchAppsByGroupID

func (mr *MockStitchClientMockRecorder) FetchAppsByGroupID(groupID interface{}) *gomock.Call

FetchAppsByGroupID indicates an expected call of FetchAppsByGroupID

func (*MockStitchClientMockRecorder) GetDeployment

func (mr *MockStitchClientMockRecorder) GetDeployment(groupID, appID, deploymentID interface{}) *gomock.Call

GetDeployment indicates an expected call of GetDeployment

func (*MockStitchClientMockRecorder) GetDrafts

func (mr *MockStitchClientMockRecorder) GetDrafts(groupID, appID interface{}) *gomock.Call

GetDrafts indicates an expected call of GetDrafts

func (*MockStitchClientMockRecorder) Import

func (mr *MockStitchClientMockRecorder) Import(groupID, appID, appData, strategy interface{}) *gomock.Call

Import indicates an expected call of Import

func (*MockStitchClientMockRecorder) InvalidateCache

func (mr *MockStitchClientMockRecorder) InvalidateCache(groupID, appID, path interface{}) *gomock.Call

InvalidateCache indicates an expected call of InvalidateCache

func (*MockStitchClientMockRecorder) ListAssetsForAppID

func (mr *MockStitchClientMockRecorder) ListAssetsForAppID(groupID, appID interface{}) *gomock.Call

ListAssetsForAppID indicates an expected call of ListAssetsForAppID

func (*MockStitchClientMockRecorder) ListSecrets

func (mr *MockStitchClientMockRecorder) ListSecrets(groupID, appID interface{}) *gomock.Call

ListSecrets indicates an expected call of ListSecrets

func (*MockStitchClientMockRecorder) MoveAsset

func (mr *MockStitchClientMockRecorder) MoveAsset(groupID, appID, fromPath, toPath interface{}) *gomock.Call

MoveAsset indicates an expected call of MoveAsset

func (*MockStitchClientMockRecorder) RemoveSecretByID

func (mr *MockStitchClientMockRecorder) RemoveSecretByID(groupID, appID, secretID interface{}) *gomock.Call

RemoveSecretByID indicates an expected call of RemoveSecretByID

func (*MockStitchClientMockRecorder) RemoveSecretByName

func (mr *MockStitchClientMockRecorder) RemoveSecretByName(groupID, appID, secretName interface{}) *gomock.Call

RemoveSecretByName indicates an expected call of RemoveSecretByName

func (*MockStitchClientMockRecorder) SetAssetAttributes

func (mr *MockStitchClientMockRecorder) SetAssetAttributes(groupID, appID, path interface{}, attributes ...interface{}) *gomock.Call

SetAssetAttributes indicates an expected call of SetAssetAttributes

func (*MockStitchClientMockRecorder) UpdateSecretByID

func (mr *MockStitchClientMockRecorder) UpdateSecretByID(groupID, appID, secretID, secretValue interface{}) *gomock.Call

UpdateSecretByID indicates an expected call of UpdateSecretByID

func (*MockStitchClientMockRecorder) UpdateSecretByName

func (mr *MockStitchClientMockRecorder) UpdateSecretByName(groupID, appID, secretName, secretValue interface{}) *gomock.Call

UpdateSecretByName indicates an expected call of UpdateSecretByName

func (*MockStitchClientMockRecorder) UploadAsset

func (mr *MockStitchClientMockRecorder) UploadAsset(groupID, appID, path, hash, size, body interface{}, attributes ...interface{}) *gomock.Call

UploadAsset indicates an expected call of UploadAsset

func (*MockStitchClientMockRecorder) UploadDependencies added in v1.8.0

func (mr *MockStitchClientMockRecorder) UploadDependencies(groupID, appID, fullPath interface{}) *gomock.Call

UploadDependencies indicates an expected call of UploadDependencies

Jump to

Keyboard shortcuts

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