Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockAPIClient
- func (m *MockAPIClient) AddApplication(ctx context.Context, in *apiservice.AddApplicationRequest, ...) (*apiservice.AddApplicationResponse, error)
- func (m *MockAPIClient) DeleteApplication(ctx context.Context, in *apiservice.DeleteApplicationRequest, ...) (*apiservice.DeleteApplicationResponse, error)
- func (m *MockAPIClient) DisableApplication(ctx context.Context, in *apiservice.DisableApplicationRequest, ...) (*apiservice.DisableApplicationResponse, error)
- func (m *MockAPIClient) DisablePiped(ctx context.Context, in *apiservice.DisablePipedRequest, ...) (*apiservice.DisablePipedResponse, error)
- func (m *MockAPIClient) EXPECT() *MockAPIClientMockRecorder
- func (m *MockAPIClient) EnableApplication(ctx context.Context, in *apiservice.EnableApplicationRequest, ...) (*apiservice.EnableApplicationResponse, error)
- func (m *MockAPIClient) EnablePiped(ctx context.Context, in *apiservice.EnablePipedRequest, ...) (*apiservice.EnablePipedResponse, error)
- func (m *MockAPIClient) Encrypt(ctx context.Context, in *apiservice.EncryptRequest, opts ...grpc.CallOption) (*apiservice.EncryptResponse, error)
- func (m *MockAPIClient) GetApplication(ctx context.Context, in *apiservice.GetApplicationRequest, ...) (*apiservice.GetApplicationResponse, error)
- func (m *MockAPIClient) GetCommand(ctx context.Context, in *apiservice.GetCommandRequest, opts ...grpc.CallOption) (*apiservice.GetCommandResponse, error)
- func (m *MockAPIClient) GetDeployment(ctx context.Context, in *apiservice.GetDeploymentRequest, ...) (*apiservice.GetDeploymentResponse, error)
- func (m *MockAPIClient) GetPiped(ctx context.Context, in *apiservice.GetPipedRequest, opts ...grpc.CallOption) (*apiservice.GetPipedResponse, error)
- func (m *MockAPIClient) GetPlanPreviewResults(ctx context.Context, in *apiservice.GetPlanPreviewResultsRequest, ...) (*apiservice.GetPlanPreviewResultsResponse, error)
- func (m *MockAPIClient) ListApplications(ctx context.Context, in *apiservice.ListApplicationsRequest, ...) (*apiservice.ListApplicationsResponse, error)
- func (m *MockAPIClient) ListDeployments(ctx context.Context, in *apiservice.ListDeploymentsRequest, ...) (*apiservice.ListDeploymentsResponse, error)
- func (m *MockAPIClient) ListStageLogs(ctx context.Context, in *apiservice.ListStageLogsRequest, ...) (*apiservice.ListStageLogsResponse, error)
- func (m *MockAPIClient) RegisterEvent(ctx context.Context, in *apiservice.RegisterEventRequest, ...) (*apiservice.RegisterEventResponse, error)
- func (m *MockAPIClient) RegisterPiped(ctx context.Context, in *apiservice.RegisterPipedRequest, ...) (*apiservice.RegisterPipedResponse, error)
- func (m *MockAPIClient) RenameApplicationConfigFile(ctx context.Context, in *apiservice.RenameApplicationConfigFileRequest, ...) (*apiservice.RenameApplicationConfigFileResponse, error)
- func (m *MockAPIClient) RequestPlanPreview(ctx context.Context, in *apiservice.RequestPlanPreviewRequest, ...) (*apiservice.RequestPlanPreviewResponse, error)
- func (m *MockAPIClient) SyncApplication(ctx context.Context, in *apiservice.SyncApplicationRequest, ...) (*apiservice.SyncApplicationResponse, error)
- func (m *MockAPIClient) UpdateApplication(ctx context.Context, in *apiservice.UpdateApplicationRequest, ...) (*apiservice.UpdateApplicationResponse, error)
- func (m *MockAPIClient) UpdatePiped(ctx context.Context, in *apiservice.UpdatePipedRequest, ...) (*apiservice.UpdatePipedResponse, error)
- type MockAPIClientMockRecorder
- func (mr *MockAPIClientMockRecorder) AddApplication(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) DeleteApplication(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) DisableApplication(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) DisablePiped(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) EnableApplication(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) EnablePiped(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) Encrypt(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) GetApplication(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) GetCommand(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) GetDeployment(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) GetPiped(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) GetPlanPreviewResults(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) ListApplications(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) ListDeployments(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) ListStageLogs(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) RegisterEvent(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) RegisterPiped(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) RenameApplicationConfigFile(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) RequestPlanPreview(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) SyncApplication(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) UpdateApplication(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) UpdatePiped(ctx, in interface{}, opts ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPIClient ¶
type MockAPIClient struct {
// contains filtered or unexported fields
}
MockAPIClient is a mock of APIClient interface.
func NewMockAPIClient ¶
func NewMockAPIClient(ctrl *gomock.Controller) *MockAPIClient
NewMockAPIClient creates a new mock instance.
func (*MockAPIClient) AddApplication ¶
func (m *MockAPIClient) AddApplication(ctx context.Context, in *apiservice.AddApplicationRequest, opts ...grpc.CallOption) (*apiservice.AddApplicationResponse, error)
AddApplication mocks base method.
func (*MockAPIClient) DeleteApplication ¶
func (m *MockAPIClient) DeleteApplication(ctx context.Context, in *apiservice.DeleteApplicationRequest, opts ...grpc.CallOption) (*apiservice.DeleteApplicationResponse, error)
DeleteApplication mocks base method.
func (*MockAPIClient) DisableApplication ¶
func (m *MockAPIClient) DisableApplication(ctx context.Context, in *apiservice.DisableApplicationRequest, opts ...grpc.CallOption) (*apiservice.DisableApplicationResponse, error)
DisableApplication mocks base method.
func (*MockAPIClient) DisablePiped ¶
func (m *MockAPIClient) DisablePiped(ctx context.Context, in *apiservice.DisablePipedRequest, opts ...grpc.CallOption) (*apiservice.DisablePipedResponse, error)
DisablePiped mocks base method.
func (*MockAPIClient) EXPECT ¶
func (m *MockAPIClient) EXPECT() *MockAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAPIClient) EnableApplication ¶
func (m *MockAPIClient) EnableApplication(ctx context.Context, in *apiservice.EnableApplicationRequest, opts ...grpc.CallOption) (*apiservice.EnableApplicationResponse, error)
EnableApplication mocks base method.
func (*MockAPIClient) EnablePiped ¶
func (m *MockAPIClient) EnablePiped(ctx context.Context, in *apiservice.EnablePipedRequest, opts ...grpc.CallOption) (*apiservice.EnablePipedResponse, error)
EnablePiped mocks base method.
func (*MockAPIClient) Encrypt ¶
func (m *MockAPIClient) Encrypt(ctx context.Context, in *apiservice.EncryptRequest, opts ...grpc.CallOption) (*apiservice.EncryptResponse, error)
Encrypt mocks base method.
func (*MockAPIClient) GetApplication ¶
func (m *MockAPIClient) GetApplication(ctx context.Context, in *apiservice.GetApplicationRequest, opts ...grpc.CallOption) (*apiservice.GetApplicationResponse, error)
GetApplication mocks base method.
func (*MockAPIClient) GetCommand ¶
func (m *MockAPIClient) GetCommand(ctx context.Context, in *apiservice.GetCommandRequest, opts ...grpc.CallOption) (*apiservice.GetCommandResponse, error)
GetCommand mocks base method.
func (*MockAPIClient) GetDeployment ¶
func (m *MockAPIClient) GetDeployment(ctx context.Context, in *apiservice.GetDeploymentRequest, opts ...grpc.CallOption) (*apiservice.GetDeploymentResponse, error)
GetDeployment mocks base method.
func (*MockAPIClient) GetPiped ¶
func (m *MockAPIClient) GetPiped(ctx context.Context, in *apiservice.GetPipedRequest, opts ...grpc.CallOption) (*apiservice.GetPipedResponse, error)
GetPiped mocks base method.
func (*MockAPIClient) GetPlanPreviewResults ¶
func (m *MockAPIClient) GetPlanPreviewResults(ctx context.Context, in *apiservice.GetPlanPreviewResultsRequest, opts ...grpc.CallOption) (*apiservice.GetPlanPreviewResultsResponse, error)
GetPlanPreviewResults mocks base method.
func (*MockAPIClient) ListApplications ¶
func (m *MockAPIClient) ListApplications(ctx context.Context, in *apiservice.ListApplicationsRequest, opts ...grpc.CallOption) (*apiservice.ListApplicationsResponse, error)
ListApplications mocks base method.
func (*MockAPIClient) ListDeployments ¶
func (m *MockAPIClient) ListDeployments(ctx context.Context, in *apiservice.ListDeploymentsRequest, opts ...grpc.CallOption) (*apiservice.ListDeploymentsResponse, error)
ListDeployments mocks base method.
func (*MockAPIClient) ListStageLogs ¶
func (m *MockAPIClient) ListStageLogs(ctx context.Context, in *apiservice.ListStageLogsRequest, opts ...grpc.CallOption) (*apiservice.ListStageLogsResponse, error)
ListStageLogs mocks base method.
func (*MockAPIClient) RegisterEvent ¶
func (m *MockAPIClient) RegisterEvent(ctx context.Context, in *apiservice.RegisterEventRequest, opts ...grpc.CallOption) (*apiservice.RegisterEventResponse, error)
RegisterEvent mocks base method.
func (*MockAPIClient) RegisterPiped ¶
func (m *MockAPIClient) RegisterPiped(ctx context.Context, in *apiservice.RegisterPipedRequest, opts ...grpc.CallOption) (*apiservice.RegisterPipedResponse, error)
RegisterPiped mocks base method.
func (*MockAPIClient) RenameApplicationConfigFile ¶
func (m *MockAPIClient) RenameApplicationConfigFile(ctx context.Context, in *apiservice.RenameApplicationConfigFileRequest, opts ...grpc.CallOption) (*apiservice.RenameApplicationConfigFileResponse, error)
RenameApplicationConfigFile mocks base method.
func (*MockAPIClient) RequestPlanPreview ¶
func (m *MockAPIClient) RequestPlanPreview(ctx context.Context, in *apiservice.RequestPlanPreviewRequest, opts ...grpc.CallOption) (*apiservice.RequestPlanPreviewResponse, error)
RequestPlanPreview mocks base method.
func (*MockAPIClient) SyncApplication ¶
func (m *MockAPIClient) SyncApplication(ctx context.Context, in *apiservice.SyncApplicationRequest, opts ...grpc.CallOption) (*apiservice.SyncApplicationResponse, error)
SyncApplication mocks base method.
func (*MockAPIClient) UpdateApplication ¶
func (m *MockAPIClient) UpdateApplication(ctx context.Context, in *apiservice.UpdateApplicationRequest, opts ...grpc.CallOption) (*apiservice.UpdateApplicationResponse, error)
UpdateApplication mocks base method.
func (*MockAPIClient) UpdatePiped ¶
func (m *MockAPIClient) UpdatePiped(ctx context.Context, in *apiservice.UpdatePipedRequest, opts ...grpc.CallOption) (*apiservice.UpdatePipedResponse, error)
UpdatePiped mocks base method.
type MockAPIClientMockRecorder ¶
type MockAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIClientMockRecorder is the mock recorder for MockAPIClient.
func (*MockAPIClientMockRecorder) AddApplication ¶
func (mr *MockAPIClientMockRecorder) AddApplication(ctx, in interface{}, opts ...interface{}) *gomock.Call
AddApplication indicates an expected call of AddApplication.
func (*MockAPIClientMockRecorder) DeleteApplication ¶
func (mr *MockAPIClientMockRecorder) DeleteApplication(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteApplication indicates an expected call of DeleteApplication.
func (*MockAPIClientMockRecorder) DisableApplication ¶
func (mr *MockAPIClientMockRecorder) DisableApplication(ctx, in interface{}, opts ...interface{}) *gomock.Call
DisableApplication indicates an expected call of DisableApplication.
func (*MockAPIClientMockRecorder) DisablePiped ¶
func (mr *MockAPIClientMockRecorder) DisablePiped(ctx, in interface{}, opts ...interface{}) *gomock.Call
DisablePiped indicates an expected call of DisablePiped.
func (*MockAPIClientMockRecorder) EnableApplication ¶
func (mr *MockAPIClientMockRecorder) EnableApplication(ctx, in interface{}, opts ...interface{}) *gomock.Call
EnableApplication indicates an expected call of EnableApplication.
func (*MockAPIClientMockRecorder) EnablePiped ¶
func (mr *MockAPIClientMockRecorder) EnablePiped(ctx, in interface{}, opts ...interface{}) *gomock.Call
EnablePiped indicates an expected call of EnablePiped.
func (*MockAPIClientMockRecorder) Encrypt ¶
func (mr *MockAPIClientMockRecorder) Encrypt(ctx, in interface{}, opts ...interface{}) *gomock.Call
Encrypt indicates an expected call of Encrypt.
func (*MockAPIClientMockRecorder) GetApplication ¶
func (mr *MockAPIClientMockRecorder) GetApplication(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetApplication indicates an expected call of GetApplication.
func (*MockAPIClientMockRecorder) GetCommand ¶
func (mr *MockAPIClientMockRecorder) GetCommand(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetCommand indicates an expected call of GetCommand.
func (*MockAPIClientMockRecorder) GetDeployment ¶
func (mr *MockAPIClientMockRecorder) GetDeployment(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetDeployment indicates an expected call of GetDeployment.
func (*MockAPIClientMockRecorder) GetPiped ¶
func (mr *MockAPIClientMockRecorder) GetPiped(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetPiped indicates an expected call of GetPiped.
func (*MockAPIClientMockRecorder) GetPlanPreviewResults ¶
func (mr *MockAPIClientMockRecorder) GetPlanPreviewResults(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetPlanPreviewResults indicates an expected call of GetPlanPreviewResults.
func (*MockAPIClientMockRecorder) ListApplications ¶
func (mr *MockAPIClientMockRecorder) ListApplications(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListApplications indicates an expected call of ListApplications.
func (*MockAPIClientMockRecorder) ListDeployments ¶
func (mr *MockAPIClientMockRecorder) ListDeployments(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListDeployments indicates an expected call of ListDeployments.
func (*MockAPIClientMockRecorder) ListStageLogs ¶
func (mr *MockAPIClientMockRecorder) ListStageLogs(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListStageLogs indicates an expected call of ListStageLogs.
func (*MockAPIClientMockRecorder) RegisterEvent ¶
func (mr *MockAPIClientMockRecorder) RegisterEvent(ctx, in interface{}, opts ...interface{}) *gomock.Call
RegisterEvent indicates an expected call of RegisterEvent.
func (*MockAPIClientMockRecorder) RegisterPiped ¶
func (mr *MockAPIClientMockRecorder) RegisterPiped(ctx, in interface{}, opts ...interface{}) *gomock.Call
RegisterPiped indicates an expected call of RegisterPiped.
func (*MockAPIClientMockRecorder) RenameApplicationConfigFile ¶
func (mr *MockAPIClientMockRecorder) RenameApplicationConfigFile(ctx, in interface{}, opts ...interface{}) *gomock.Call
RenameApplicationConfigFile indicates an expected call of RenameApplicationConfigFile.
func (*MockAPIClientMockRecorder) RequestPlanPreview ¶
func (mr *MockAPIClientMockRecorder) RequestPlanPreview(ctx, in interface{}, opts ...interface{}) *gomock.Call
RequestPlanPreview indicates an expected call of RequestPlanPreview.
func (*MockAPIClientMockRecorder) SyncApplication ¶
func (mr *MockAPIClientMockRecorder) SyncApplication(ctx, in interface{}, opts ...interface{}) *gomock.Call
SyncApplication indicates an expected call of SyncApplication.
func (*MockAPIClientMockRecorder) UpdateApplication ¶
func (mr *MockAPIClientMockRecorder) UpdateApplication(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateApplication indicates an expected call of UpdateApplication.
func (*MockAPIClientMockRecorder) UpdatePiped ¶
func (mr *MockAPIClientMockRecorder) UpdatePiped(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdatePiped indicates an expected call of UpdatePiped.