Documentation ¶
Overview ¶
Package a4cmocks is a generated GoMock package.
Package a4cmocks is a generated GoMock package.
Package a4cmocks is a generated GoMock package.
Package a4cmocks is a generated GoMock package.
Package a4cmocks is a generated GoMock package.
Package a4cmocks is a generated GoMock package.
Package a4cmocks is a generated GoMock package.
Package a4cmocks is a generated GoMock package.
Package a4cmocks is a generated GoMock package.
Index ¶
- type MockApplicationService
- func (m *MockApplicationService) CreateAppli(arg0 context.Context, arg1, arg2 string) (string, error)
- func (m *MockApplicationService) DeleteApplication(arg0 context.Context, arg1 string) error
- func (m *MockApplicationService) EXPECT() *MockApplicationServiceMockRecorder
- func (m *MockApplicationService) GetApplicationByID(arg0 context.Context, arg1 string) (*alien4cloud.Application, error)
- func (m *MockApplicationService) GetApplicationTag(arg0 context.Context, arg1, arg2 string) (string, error)
- func (m *MockApplicationService) GetApplicationsID(arg0 context.Context, arg1 string) ([]string, error)
- func (m *MockApplicationService) GetDeploymentTopology(arg0 context.Context, arg1, arg2 string) (*alien4cloud.Topology, error)
- func (m *MockApplicationService) GetEnvironmentIDbyName(arg0 context.Context, arg1, arg2 string) (string, error)
- func (m *MockApplicationService) IsApplicationExist(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockApplicationService) SearchApplications(arg0 context.Context, arg1 alien4cloud.SearchRequest) ([]alien4cloud.Application, int, error)
- func (m *MockApplicationService) SearchEnvironments(arg0 context.Context, arg1 string, arg2 alien4cloud.SearchRequest) ([]alien4cloud.Environment, int, error)
- func (m *MockApplicationService) SetTagToApplication(arg0 context.Context, arg1, arg2, arg3 string) error
- type MockApplicationServiceMockRecorder
- func (mr *MockApplicationServiceMockRecorder) CreateAppli(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockApplicationServiceMockRecorder) DeleteApplication(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationServiceMockRecorder) GetApplicationByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationServiceMockRecorder) GetApplicationTag(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockApplicationServiceMockRecorder) GetApplicationsID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationServiceMockRecorder) GetDeploymentTopology(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockApplicationServiceMockRecorder) GetEnvironmentIDbyName(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockApplicationServiceMockRecorder) IsApplicationExist(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationServiceMockRecorder) SearchApplications(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationServiceMockRecorder) SearchEnvironments(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockApplicationServiceMockRecorder) SetTagToApplication(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockCatalogService
- type MockCatalogServiceMockRecorder
- type MockClient
- func (m *MockClient) ApplicationService() alien4cloud.ApplicationService
- func (m *MockClient) CatalogService() alien4cloud.CatalogService
- func (m *MockClient) DeploymentService() alien4cloud.DeploymentService
- func (m *MockClient) Do(arg0 *http.Request, arg1 ...alien4cloud.Retry) (*http.Response, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) EventService() alien4cloud.EventService
- func (m *MockClient) LogService() alien4cloud.LogService
- func (m *MockClient) Login(arg0 context.Context) error
- func (m *MockClient) Logout(arg0 context.Context) error
- func (m *MockClient) NewRequest(arg0 context.Context, arg1, arg2 string, arg3 io.ReadSeeker) (*http.Request, error)
- func (m *MockClient) OrchestratorService() alien4cloud.OrchestratorService
- func (m *MockClient) TopologyService() alien4cloud.TopologyService
- func (m *MockClient) UserService() alien4cloud.UserService
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) ApplicationService() *gomock.Call
- func (mr *MockClientMockRecorder) CatalogService() *gomock.Call
- func (mr *MockClientMockRecorder) DeploymentService() *gomock.Call
- func (mr *MockClientMockRecorder) Do(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EventService() *gomock.Call
- func (mr *MockClientMockRecorder) LogService() *gomock.Call
- func (mr *MockClientMockRecorder) Login(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Logout(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) NewRequest(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) OrchestratorService() *gomock.Call
- func (mr *MockClientMockRecorder) TopologyService() *gomock.Call
- func (mr *MockClientMockRecorder) UserService() *gomock.Call
- type MockDeploymentService
- func (m *MockDeploymentService) CancelExecution(arg0 context.Context, arg1, arg2 string) error
- func (m *MockDeploymentService) DeployApplication(arg0 context.Context, arg1, arg2, arg3 string) error
- func (m *MockDeploymentService) EXPECT() *MockDeploymentServiceMockRecorder
- func (m *MockDeploymentService) GetAttributesValue(arg0 context.Context, arg1, arg2, arg3 string, arg4 []string) (map[string]string, error)
- func (m *MockDeploymentService) GetCurrentDeploymentID(arg0 context.Context, arg1, arg2 string) (string, error)
- func (m *MockDeploymentService) GetDeployment(arg0 context.Context, arg1 string) (alien4cloud.Deployment, error)
- func (m *MockDeploymentService) GetDeploymentList(arg0 context.Context, arg1, arg2 string) ([]alien4cloud.Deployment, error)
- func (m *MockDeploymentService) GetDeploymentStatus(arg0 context.Context, arg1, arg2 string) (string, error)
- func (m *MockDeploymentService) GetExecution(arg0 context.Context, arg1, arg2, arg3 string) (alien4cloud.Execution, error)
- func (m *MockDeploymentService) GetExecutionByID(arg0 context.Context, arg1 string) (alien4cloud.Execution, error)
- func (m *MockDeploymentService) GetExecutions(arg0 context.Context, arg1, arg2 string, arg3, arg4 int) ([]alien4cloud.Execution, alien4cloud.FacetedSearchResult, error)
- func (m *MockDeploymentService) GetInstanceAttributesValue(arg0 context.Context, arg1, arg2, arg3, arg4 string, arg5 []string) (map[string]string, error)
- func (m *MockDeploymentService) GetLastWorkflowExecution(arg0 context.Context, arg1, arg2 string) (*alien4cloud.WorkflowExecution, error)
- func (m *MockDeploymentService) GetLocationsMatching(arg0 context.Context, arg1, arg2 string) ([]alien4cloud.LocationMatch, error)
- func (m *MockDeploymentService) GetNodeStatus(arg0 context.Context, arg1, arg2, arg3 string) (string, error)
- func (m *MockDeploymentService) GetOutputAttributes(arg0 context.Context, arg1, arg2 string) (map[string][]string, error)
- func (m *MockDeploymentService) RunWorkflow(arg0 context.Context, arg1, arg2, arg3 string, arg4 time.Duration) (*alien4cloud.Execution, error)
- func (m *MockDeploymentService) RunWorkflowAsync(arg0 context.Context, arg1, arg2, arg3 string, ...) (string, error)
- func (m *MockDeploymentService) RunWorkflowAsyncWithParameters(arg0 context.Context, arg1, arg2, arg3 string, arg4 map[string]interface{}, ...) (string, error)
- func (m *MockDeploymentService) RunWorkflowWithParameters(arg0 context.Context, arg1, arg2, arg3 string, arg4 map[string]interface{}, ...) (*alien4cloud.Execution, error)
- func (m *MockDeploymentService) UndeployApplication(arg0 context.Context, arg1, arg2 string) error
- func (m *MockDeploymentService) UpdateApplication(arg0 context.Context, arg1, arg2 string) error
- func (m *MockDeploymentService) UpdateDeploymentTopology(arg0 context.Context, arg1, arg2 string, ...) error
- func (m *MockDeploymentService) UploadDeploymentInputArtifact(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
- func (m *MockDeploymentService) WaitUntilStateIs(arg0 context.Context, arg1, arg2 string, arg3 ...string) (string, error)
- type MockDeploymentServiceMockRecorder
- func (mr *MockDeploymentServiceMockRecorder) CancelExecution(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) DeployApplication(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) GetAttributesValue(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) GetCurrentDeploymentID(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) GetDeployment(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) GetDeploymentList(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) GetDeploymentStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) GetExecution(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) GetExecutionByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) GetExecutions(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) GetInstanceAttributesValue(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) GetLastWorkflowExecution(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) GetLocationsMatching(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) GetNodeStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) GetOutputAttributes(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) RunWorkflow(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) RunWorkflowAsync(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) RunWorkflowAsyncWithParameters(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) RunWorkflowWithParameters(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) UndeployApplication(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) UpdateApplication(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) UpdateDeploymentTopology(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) UploadDeploymentInputArtifact(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDeploymentServiceMockRecorder) WaitUntilStateIs(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- type MockEventService
- type MockEventServiceMockRecorder
- type MockLogService
- type MockLogServiceMockRecorder
- type MockOrchestratorService
- func (m *MockOrchestratorService) EXPECT() *MockOrchestratorServiceMockRecorder
- func (m *MockOrchestratorService) GetOrchestratorIDbyName(arg0 context.Context, arg1 string) (string, error)
- func (m *MockOrchestratorService) GetOrchestratorLocations(arg0 context.Context, arg1 string) ([]alien4cloud.Location, error)
- type MockOrchestratorServiceMockRecorder
- type MockTopologyService
- func (m *MockTopologyService) AddNodeInA4CTopology(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, ...) error
- func (m *MockTopologyService) AddPolicy(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, ...) error
- func (m *MockTopologyService) AddRelationship(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, ...) error
- func (m *MockTopologyService) AddTargetsToPolicy(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, arg2 string, ...) error
- func (m *MockTopologyService) AddWorkflowActivity(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, arg2 string, ...) error
- func (m *MockTopologyService) CreateWorkflow(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, arg2 string) error
- func (m *MockTopologyService) DeletePolicy(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, arg2 string) error
- func (m *MockTopologyService) DeleteWorkflow(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, arg2 string) error
- func (m *MockTopologyService) EXPECT() *MockTopologyServiceMockRecorder
- func (m *MockTopologyService) GetTopologies(arg0 context.Context, arg1 string) ([]alien4cloud.BasicTopologyInfo, error)
- func (m *MockTopologyService) GetTopology(arg0 context.Context, arg1, arg2 string) (*alien4cloud.Topology, error)
- func (m *MockTopologyService) GetTopologyByID(arg0 context.Context, arg1 string) (*alien4cloud.Topology, error)
- func (m *MockTopologyService) GetTopologyID(arg0 context.Context, arg1, arg2 string) (string, error)
- func (m *MockTopologyService) GetTopologyTemplateIDByName(arg0 context.Context, arg1 string) (string, error)
- func (m *MockTopologyService) SaveA4CTopology(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext) error
- func (m *MockTopologyService) UpdateCapabilityProperty(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, ...) error
- func (m *MockTopologyService) UpdateComponentProperty(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, ...) error
- func (m *MockTopologyService) UpdateComponentPropertyComplexType(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, ...) error
- type MockTopologyServiceMockRecorder
- func (mr *MockTopologyServiceMockRecorder) AddNodeInA4CTopology(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockTopologyServiceMockRecorder) AddPolicy(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockTopologyServiceMockRecorder) AddRelationship(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockTopologyServiceMockRecorder) AddTargetsToPolicy(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockTopologyServiceMockRecorder) AddWorkflowActivity(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockTopologyServiceMockRecorder) CreateWorkflow(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTopologyServiceMockRecorder) DeletePolicy(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTopologyServiceMockRecorder) DeleteWorkflow(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTopologyServiceMockRecorder) GetTopologies(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTopologyServiceMockRecorder) GetTopology(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTopologyServiceMockRecorder) GetTopologyByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTopologyServiceMockRecorder) GetTopologyID(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTopologyServiceMockRecorder) GetTopologyTemplateIDByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTopologyServiceMockRecorder) SaveA4CTopology(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTopologyServiceMockRecorder) UpdateCapabilityProperty(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockTopologyServiceMockRecorder) UpdateComponentProperty(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockTopologyServiceMockRecorder) UpdateComponentPropertyComplexType(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- type MockUserService
- func (m *MockUserService) AddRole(arg0 context.Context, arg1, arg2 string) error
- func (m *MockUserService) CreateGroup(arg0 context.Context, arg1 alien4cloud.Group) (string, error)
- func (m *MockUserService) CreateUser(arg0 context.Context, arg1 alien4cloud.CreateUpdateUserRequest) error
- func (m *MockUserService) DeleteGroup(arg0 context.Context, arg1 string) error
- func (m *MockUserService) DeleteUser(arg0 context.Context, arg1 string) error
- func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
- func (m *MockUserService) GetGroup(arg0 context.Context, arg1 string) (alien4cloud.Group, error)
- func (m *MockUserService) GetGroups(arg0 context.Context, arg1 []string) ([]alien4cloud.Group, error)
- func (m *MockUserService) GetUser(arg0 context.Context, arg1 string) (alien4cloud.User, error)
- func (m *MockUserService) GetUsers(arg0 context.Context, arg1 []string) ([]alien4cloud.User, error)
- func (m *MockUserService) RemoveRole(arg0 context.Context, arg1, arg2 string) error
- func (m *MockUserService) SearchGroups(arg0 context.Context, arg1 alien4cloud.SearchRequest) ([]alien4cloud.Group, int, error)
- func (m *MockUserService) SearchUsers(arg0 context.Context, arg1 alien4cloud.SearchRequest) ([]alien4cloud.User, int, error)
- func (m *MockUserService) UpdateGroup(arg0 context.Context, arg1 string, arg2 alien4cloud.Group) error
- func (m *MockUserService) UpdateUser(arg0 context.Context, arg1 string, arg2 alien4cloud.CreateUpdateUserRequest) error
- type MockUserServiceMockRecorder
- func (mr *MockUserServiceMockRecorder) AddRole(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) CreateGroup(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) DeleteGroup(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) DeleteUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) GetGroup(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) GetGroups(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) GetUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) GetUsers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) RemoveRole(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) SearchGroups(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) SearchUsers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) UpdateGroup(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) UpdateUser(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplicationService ¶
type MockApplicationService struct {
// contains filtered or unexported fields
}
MockApplicationService is a mock of ApplicationService interface.
func NewMockApplicationService ¶
func NewMockApplicationService(ctrl *gomock.Controller) *MockApplicationService
NewMockApplicationService creates a new mock instance.
func (*MockApplicationService) CreateAppli ¶
func (m *MockApplicationService) CreateAppli(arg0 context.Context, arg1, arg2 string) (string, error)
CreateAppli mocks base method.
func (*MockApplicationService) DeleteApplication ¶
func (m *MockApplicationService) DeleteApplication(arg0 context.Context, arg1 string) error
DeleteApplication mocks base method.
func (*MockApplicationService) EXPECT ¶
func (m *MockApplicationService) EXPECT() *MockApplicationServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApplicationService) GetApplicationByID ¶
func (m *MockApplicationService) GetApplicationByID(arg0 context.Context, arg1 string) (*alien4cloud.Application, error)
GetApplicationByID mocks base method.
func (*MockApplicationService) GetApplicationTag ¶
func (m *MockApplicationService) GetApplicationTag(arg0 context.Context, arg1, arg2 string) (string, error)
GetApplicationTag mocks base method.
func (*MockApplicationService) GetApplicationsID ¶
func (m *MockApplicationService) GetApplicationsID(arg0 context.Context, arg1 string) ([]string, error)
GetApplicationsID mocks base method.
func (*MockApplicationService) GetDeploymentTopology ¶
func (m *MockApplicationService) GetDeploymentTopology(arg0 context.Context, arg1, arg2 string) (*alien4cloud.Topology, error)
GetDeploymentTopology mocks base method.
func (*MockApplicationService) GetEnvironmentIDbyName ¶
func (m *MockApplicationService) GetEnvironmentIDbyName(arg0 context.Context, arg1, arg2 string) (string, error)
GetEnvironmentIDbyName mocks base method.
func (*MockApplicationService) IsApplicationExist ¶
func (m *MockApplicationService) IsApplicationExist(arg0 context.Context, arg1 string) (bool, error)
IsApplicationExist mocks base method.
func (*MockApplicationService) SearchApplications ¶
func (m *MockApplicationService) SearchApplications(arg0 context.Context, arg1 alien4cloud.SearchRequest) ([]alien4cloud.Application, int, error)
SearchApplications mocks base method.
func (*MockApplicationService) SearchEnvironments ¶
func (m *MockApplicationService) SearchEnvironments(arg0 context.Context, arg1 string, arg2 alien4cloud.SearchRequest) ([]alien4cloud.Environment, int, error)
SearchEnvironments mocks base method.
func (*MockApplicationService) SetTagToApplication ¶
func (m *MockApplicationService) SetTagToApplication(arg0 context.Context, arg1, arg2, arg3 string) error
SetTagToApplication mocks base method.
type MockApplicationServiceMockRecorder ¶
type MockApplicationServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationServiceMockRecorder is the mock recorder for MockApplicationService.
func (*MockApplicationServiceMockRecorder) CreateAppli ¶
func (mr *MockApplicationServiceMockRecorder) CreateAppli(arg0, arg1, arg2 interface{}) *gomock.Call
CreateAppli indicates an expected call of CreateAppli.
func (*MockApplicationServiceMockRecorder) DeleteApplication ¶
func (mr *MockApplicationServiceMockRecorder) DeleteApplication(arg0, arg1 interface{}) *gomock.Call
DeleteApplication indicates an expected call of DeleteApplication.
func (*MockApplicationServiceMockRecorder) GetApplicationByID ¶
func (mr *MockApplicationServiceMockRecorder) GetApplicationByID(arg0, arg1 interface{}) *gomock.Call
GetApplicationByID indicates an expected call of GetApplicationByID.
func (*MockApplicationServiceMockRecorder) GetApplicationTag ¶
func (mr *MockApplicationServiceMockRecorder) GetApplicationTag(arg0, arg1, arg2 interface{}) *gomock.Call
GetApplicationTag indicates an expected call of GetApplicationTag.
func (*MockApplicationServiceMockRecorder) GetApplicationsID ¶
func (mr *MockApplicationServiceMockRecorder) GetApplicationsID(arg0, arg1 interface{}) *gomock.Call
GetApplicationsID indicates an expected call of GetApplicationsID.
func (*MockApplicationServiceMockRecorder) GetDeploymentTopology ¶
func (mr *MockApplicationServiceMockRecorder) GetDeploymentTopology(arg0, arg1, arg2 interface{}) *gomock.Call
GetDeploymentTopology indicates an expected call of GetDeploymentTopology.
func (*MockApplicationServiceMockRecorder) GetEnvironmentIDbyName ¶
func (mr *MockApplicationServiceMockRecorder) GetEnvironmentIDbyName(arg0, arg1, arg2 interface{}) *gomock.Call
GetEnvironmentIDbyName indicates an expected call of GetEnvironmentIDbyName.
func (*MockApplicationServiceMockRecorder) IsApplicationExist ¶
func (mr *MockApplicationServiceMockRecorder) IsApplicationExist(arg0, arg1 interface{}) *gomock.Call
IsApplicationExist indicates an expected call of IsApplicationExist.
func (*MockApplicationServiceMockRecorder) SearchApplications ¶
func (mr *MockApplicationServiceMockRecorder) SearchApplications(arg0, arg1 interface{}) *gomock.Call
SearchApplications indicates an expected call of SearchApplications.
func (*MockApplicationServiceMockRecorder) SearchEnvironments ¶
func (mr *MockApplicationServiceMockRecorder) SearchEnvironments(arg0, arg1, arg2 interface{}) *gomock.Call
SearchEnvironments indicates an expected call of SearchEnvironments.
func (*MockApplicationServiceMockRecorder) SetTagToApplication ¶
func (mr *MockApplicationServiceMockRecorder) SetTagToApplication(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SetTagToApplication indicates an expected call of SetTagToApplication.
type MockCatalogService ¶
type MockCatalogService struct {
// contains filtered or unexported fields
}
MockCatalogService is a mock of CatalogService interface.
func NewMockCatalogService ¶
func NewMockCatalogService(ctrl *gomock.Controller) *MockCatalogService
NewMockCatalogService creates a new mock instance.
func (*MockCatalogService) EXPECT ¶
func (m *MockCatalogService) EXPECT() *MockCatalogServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCatalogService) UploadCSAR ¶
func (m *MockCatalogService) UploadCSAR(arg0 context.Context, arg1 io.Reader, arg2 string) (alien4cloud.CSAR, error)
UploadCSAR mocks base method.
type MockCatalogServiceMockRecorder ¶
type MockCatalogServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockCatalogServiceMockRecorder is the mock recorder for MockCatalogService.
func (*MockCatalogServiceMockRecorder) UploadCSAR ¶
func (mr *MockCatalogServiceMockRecorder) UploadCSAR(arg0, arg1, arg2 interface{}) *gomock.Call
UploadCSAR indicates an expected call of UploadCSAR.
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) ApplicationService ¶
func (m *MockClient) ApplicationService() alien4cloud.ApplicationService
ApplicationService mocks base method.
func (*MockClient) CatalogService ¶
func (m *MockClient) CatalogService() alien4cloud.CatalogService
CatalogService mocks base method.
func (*MockClient) DeploymentService ¶
func (m *MockClient) DeploymentService() alien4cloud.DeploymentService
DeploymentService mocks base method.
func (*MockClient) Do ¶
func (m *MockClient) Do(arg0 *http.Request, arg1 ...alien4cloud.Retry) (*http.Response, error)
Do mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) EventService ¶
func (m *MockClient) EventService() alien4cloud.EventService
EventService mocks base method.
func (*MockClient) LogService ¶
func (m *MockClient) LogService() alien4cloud.LogService
LogService mocks base method.
func (*MockClient) Login ¶
func (m *MockClient) Login(arg0 context.Context) error
Login mocks base method.
func (*MockClient) Logout ¶
func (m *MockClient) Logout(arg0 context.Context) error
Logout mocks base method.
func (*MockClient) NewRequest ¶
func (m *MockClient) NewRequest(arg0 context.Context, arg1, arg2 string, arg3 io.ReadSeeker) (*http.Request, error)
NewRequest mocks base method.
func (*MockClient) OrchestratorService ¶
func (m *MockClient) OrchestratorService() alien4cloud.OrchestratorService
OrchestratorService mocks base method.
func (*MockClient) TopologyService ¶
func (m *MockClient) TopologyService() alien4cloud.TopologyService
TopologyService mocks base method.
func (*MockClient) UserService ¶
func (m *MockClient) UserService() alien4cloud.UserService
UserService mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) ApplicationService ¶
func (mr *MockClientMockRecorder) ApplicationService() *gomock.Call
ApplicationService indicates an expected call of ApplicationService.
func (*MockClientMockRecorder) CatalogService ¶
func (mr *MockClientMockRecorder) CatalogService() *gomock.Call
CatalogService indicates an expected call of CatalogService.
func (*MockClientMockRecorder) DeploymentService ¶
func (mr *MockClientMockRecorder) DeploymentService() *gomock.Call
DeploymentService indicates an expected call of DeploymentService.
func (*MockClientMockRecorder) Do ¶
func (mr *MockClientMockRecorder) Do(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Do indicates an expected call of Do.
func (*MockClientMockRecorder) EventService ¶
func (mr *MockClientMockRecorder) EventService() *gomock.Call
EventService indicates an expected call of EventService.
func (*MockClientMockRecorder) LogService ¶
func (mr *MockClientMockRecorder) LogService() *gomock.Call
LogService indicates an expected call of LogService.
func (*MockClientMockRecorder) Login ¶
func (mr *MockClientMockRecorder) Login(arg0 interface{}) *gomock.Call
Login indicates an expected call of Login.
func (*MockClientMockRecorder) Logout ¶
func (mr *MockClientMockRecorder) Logout(arg0 interface{}) *gomock.Call
Logout indicates an expected call of Logout.
func (*MockClientMockRecorder) NewRequest ¶
func (mr *MockClientMockRecorder) NewRequest(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
NewRequest indicates an expected call of NewRequest.
func (*MockClientMockRecorder) OrchestratorService ¶
func (mr *MockClientMockRecorder) OrchestratorService() *gomock.Call
OrchestratorService indicates an expected call of OrchestratorService.
func (*MockClientMockRecorder) TopologyService ¶
func (mr *MockClientMockRecorder) TopologyService() *gomock.Call
TopologyService indicates an expected call of TopologyService.
func (*MockClientMockRecorder) UserService ¶
func (mr *MockClientMockRecorder) UserService() *gomock.Call
UserService indicates an expected call of UserService.
type MockDeploymentService ¶
type MockDeploymentService struct {
// contains filtered or unexported fields
}
MockDeploymentService is a mock of DeploymentService interface.
func NewMockDeploymentService ¶
func NewMockDeploymentService(ctrl *gomock.Controller) *MockDeploymentService
NewMockDeploymentService creates a new mock instance.
func (*MockDeploymentService) CancelExecution ¶
func (m *MockDeploymentService) CancelExecution(arg0 context.Context, arg1, arg2 string) error
CancelExecution mocks base method.
func (*MockDeploymentService) DeployApplication ¶
func (m *MockDeploymentService) DeployApplication(arg0 context.Context, arg1, arg2, arg3 string) error
DeployApplication mocks base method.
func (*MockDeploymentService) EXPECT ¶
func (m *MockDeploymentService) EXPECT() *MockDeploymentServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeploymentService) GetAttributesValue ¶
func (m *MockDeploymentService) GetAttributesValue(arg0 context.Context, arg1, arg2, arg3 string, arg4 []string) (map[string]string, error)
GetAttributesValue mocks base method.
func (*MockDeploymentService) GetCurrentDeploymentID ¶
func (m *MockDeploymentService) GetCurrentDeploymentID(arg0 context.Context, arg1, arg2 string) (string, error)
GetCurrentDeploymentID mocks base method.
func (*MockDeploymentService) GetDeployment ¶
func (m *MockDeploymentService) GetDeployment(arg0 context.Context, arg1 string) (alien4cloud.Deployment, error)
GetDeployment mocks base method.
func (*MockDeploymentService) GetDeploymentList ¶
func (m *MockDeploymentService) GetDeploymentList(arg0 context.Context, arg1, arg2 string) ([]alien4cloud.Deployment, error)
GetDeploymentList mocks base method.
func (*MockDeploymentService) GetDeploymentStatus ¶
func (m *MockDeploymentService) GetDeploymentStatus(arg0 context.Context, arg1, arg2 string) (string, error)
GetDeploymentStatus mocks base method.
func (*MockDeploymentService) GetExecution ¶
func (m *MockDeploymentService) GetExecution(arg0 context.Context, arg1, arg2, arg3 string) (alien4cloud.Execution, error)
GetExecution mocks base method.
func (*MockDeploymentService) GetExecutionByID ¶
func (m *MockDeploymentService) GetExecutionByID(arg0 context.Context, arg1 string) (alien4cloud.Execution, error)
GetExecutionByID mocks base method.
func (*MockDeploymentService) GetExecutions ¶
func (m *MockDeploymentService) GetExecutions(arg0 context.Context, arg1, arg2 string, arg3, arg4 int) ([]alien4cloud.Execution, alien4cloud.FacetedSearchResult, error)
GetExecutions mocks base method.
func (*MockDeploymentService) GetInstanceAttributesValue ¶
func (m *MockDeploymentService) GetInstanceAttributesValue(arg0 context.Context, arg1, arg2, arg3, arg4 string, arg5 []string) (map[string]string, error)
GetInstanceAttributesValue mocks base method.
func (*MockDeploymentService) GetLastWorkflowExecution ¶
func (m *MockDeploymentService) GetLastWorkflowExecution(arg0 context.Context, arg1, arg2 string) (*alien4cloud.WorkflowExecution, error)
GetLastWorkflowExecution mocks base method.
func (*MockDeploymentService) GetLocationsMatching ¶
func (m *MockDeploymentService) GetLocationsMatching(arg0 context.Context, arg1, arg2 string) ([]alien4cloud.LocationMatch, error)
GetLocationsMatching mocks base method.
func (*MockDeploymentService) GetNodeStatus ¶
func (m *MockDeploymentService) GetNodeStatus(arg0 context.Context, arg1, arg2, arg3 string) (string, error)
GetNodeStatus mocks base method.
func (*MockDeploymentService) GetOutputAttributes ¶
func (m *MockDeploymentService) GetOutputAttributes(arg0 context.Context, arg1, arg2 string) (map[string][]string, error)
GetOutputAttributes mocks base method.
func (*MockDeploymentService) RunWorkflow ¶
func (m *MockDeploymentService) RunWorkflow(arg0 context.Context, arg1, arg2, arg3 string, arg4 time.Duration) (*alien4cloud.Execution, error)
RunWorkflow mocks base method.
func (*MockDeploymentService) RunWorkflowAsync ¶
func (m *MockDeploymentService) RunWorkflowAsync(arg0 context.Context, arg1, arg2, arg3 string, arg4 alien4cloud.ExecutionCallback) (string, error)
RunWorkflowAsync mocks base method.
func (*MockDeploymentService) RunWorkflowAsyncWithParameters ¶
func (m *MockDeploymentService) RunWorkflowAsyncWithParameters(arg0 context.Context, arg1, arg2, arg3 string, arg4 map[string]interface{}, arg5 alien4cloud.ExecutionCallback) (string, error)
RunWorkflowAsyncWithParameters mocks base method.
func (*MockDeploymentService) RunWorkflowWithParameters ¶
func (m *MockDeploymentService) RunWorkflowWithParameters(arg0 context.Context, arg1, arg2, arg3 string, arg4 map[string]interface{}, arg5 time.Duration) (*alien4cloud.Execution, error)
RunWorkflowWithParameters mocks base method.
func (*MockDeploymentService) UndeployApplication ¶
func (m *MockDeploymentService) UndeployApplication(arg0 context.Context, arg1, arg2 string) error
UndeployApplication mocks base method.
func (*MockDeploymentService) UpdateApplication ¶
func (m *MockDeploymentService) UpdateApplication(arg0 context.Context, arg1, arg2 string) error
UpdateApplication mocks base method.
func (*MockDeploymentService) UpdateDeploymentTopology ¶
func (m *MockDeploymentService) UpdateDeploymentTopology(arg0 context.Context, arg1, arg2 string, arg3 alien4cloud.UpdateDeploymentTopologyRequest) error
UpdateDeploymentTopology mocks base method.
func (*MockDeploymentService) UploadDeploymentInputArtifact ¶
func (m *MockDeploymentService) UploadDeploymentInputArtifact(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
UploadDeploymentInputArtifact mocks base method.
func (*MockDeploymentService) WaitUntilStateIs ¶
func (m *MockDeploymentService) WaitUntilStateIs(arg0 context.Context, arg1, arg2 string, arg3 ...string) (string, error)
WaitUntilStateIs mocks base method.
type MockDeploymentServiceMockRecorder ¶
type MockDeploymentServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDeploymentServiceMockRecorder is the mock recorder for MockDeploymentService.
func (*MockDeploymentServiceMockRecorder) CancelExecution ¶
func (mr *MockDeploymentServiceMockRecorder) CancelExecution(arg0, arg1, arg2 interface{}) *gomock.Call
CancelExecution indicates an expected call of CancelExecution.
func (*MockDeploymentServiceMockRecorder) DeployApplication ¶
func (mr *MockDeploymentServiceMockRecorder) DeployApplication(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DeployApplication indicates an expected call of DeployApplication.
func (*MockDeploymentServiceMockRecorder) GetAttributesValue ¶
func (mr *MockDeploymentServiceMockRecorder) GetAttributesValue(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetAttributesValue indicates an expected call of GetAttributesValue.
func (*MockDeploymentServiceMockRecorder) GetCurrentDeploymentID ¶
func (mr *MockDeploymentServiceMockRecorder) GetCurrentDeploymentID(arg0, arg1, arg2 interface{}) *gomock.Call
GetCurrentDeploymentID indicates an expected call of GetCurrentDeploymentID.
func (*MockDeploymentServiceMockRecorder) GetDeployment ¶
func (mr *MockDeploymentServiceMockRecorder) GetDeployment(arg0, arg1 interface{}) *gomock.Call
GetDeployment indicates an expected call of GetDeployment.
func (*MockDeploymentServiceMockRecorder) GetDeploymentList ¶
func (mr *MockDeploymentServiceMockRecorder) GetDeploymentList(arg0, arg1, arg2 interface{}) *gomock.Call
GetDeploymentList indicates an expected call of GetDeploymentList.
func (*MockDeploymentServiceMockRecorder) GetDeploymentStatus ¶
func (mr *MockDeploymentServiceMockRecorder) GetDeploymentStatus(arg0, arg1, arg2 interface{}) *gomock.Call
GetDeploymentStatus indicates an expected call of GetDeploymentStatus.
func (*MockDeploymentServiceMockRecorder) GetExecution ¶
func (mr *MockDeploymentServiceMockRecorder) GetExecution(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetExecution indicates an expected call of GetExecution.
func (*MockDeploymentServiceMockRecorder) GetExecutionByID ¶
func (mr *MockDeploymentServiceMockRecorder) GetExecutionByID(arg0, arg1 interface{}) *gomock.Call
GetExecutionByID indicates an expected call of GetExecutionByID.
func (*MockDeploymentServiceMockRecorder) GetExecutions ¶
func (mr *MockDeploymentServiceMockRecorder) GetExecutions(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetExecutions indicates an expected call of GetExecutions.
func (*MockDeploymentServiceMockRecorder) GetInstanceAttributesValue ¶
func (mr *MockDeploymentServiceMockRecorder) GetInstanceAttributesValue(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
GetInstanceAttributesValue indicates an expected call of GetInstanceAttributesValue.
func (*MockDeploymentServiceMockRecorder) GetLastWorkflowExecution ¶
func (mr *MockDeploymentServiceMockRecorder) GetLastWorkflowExecution(arg0, arg1, arg2 interface{}) *gomock.Call
GetLastWorkflowExecution indicates an expected call of GetLastWorkflowExecution.
func (*MockDeploymentServiceMockRecorder) GetLocationsMatching ¶
func (mr *MockDeploymentServiceMockRecorder) GetLocationsMatching(arg0, arg1, arg2 interface{}) *gomock.Call
GetLocationsMatching indicates an expected call of GetLocationsMatching.
func (*MockDeploymentServiceMockRecorder) GetNodeStatus ¶
func (mr *MockDeploymentServiceMockRecorder) GetNodeStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetNodeStatus indicates an expected call of GetNodeStatus.
func (*MockDeploymentServiceMockRecorder) GetOutputAttributes ¶
func (mr *MockDeploymentServiceMockRecorder) GetOutputAttributes(arg0, arg1, arg2 interface{}) *gomock.Call
GetOutputAttributes indicates an expected call of GetOutputAttributes.
func (*MockDeploymentServiceMockRecorder) RunWorkflow ¶
func (mr *MockDeploymentServiceMockRecorder) RunWorkflow(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
RunWorkflow indicates an expected call of RunWorkflow.
func (*MockDeploymentServiceMockRecorder) RunWorkflowAsync ¶
func (mr *MockDeploymentServiceMockRecorder) RunWorkflowAsync(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
RunWorkflowAsync indicates an expected call of RunWorkflowAsync.
func (*MockDeploymentServiceMockRecorder) RunWorkflowAsyncWithParameters ¶
func (mr *MockDeploymentServiceMockRecorder) RunWorkflowAsyncWithParameters(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
RunWorkflowAsyncWithParameters indicates an expected call of RunWorkflowAsyncWithParameters.
func (*MockDeploymentServiceMockRecorder) RunWorkflowWithParameters ¶
func (mr *MockDeploymentServiceMockRecorder) RunWorkflowWithParameters(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
RunWorkflowWithParameters indicates an expected call of RunWorkflowWithParameters.
func (*MockDeploymentServiceMockRecorder) UndeployApplication ¶
func (mr *MockDeploymentServiceMockRecorder) UndeployApplication(arg0, arg1, arg2 interface{}) *gomock.Call
UndeployApplication indicates an expected call of UndeployApplication.
func (*MockDeploymentServiceMockRecorder) UpdateApplication ¶
func (mr *MockDeploymentServiceMockRecorder) UpdateApplication(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateApplication indicates an expected call of UpdateApplication.
func (*MockDeploymentServiceMockRecorder) UpdateDeploymentTopology ¶
func (mr *MockDeploymentServiceMockRecorder) UpdateDeploymentTopology(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateDeploymentTopology indicates an expected call of UpdateDeploymentTopology.
func (*MockDeploymentServiceMockRecorder) UploadDeploymentInputArtifact ¶
func (mr *MockDeploymentServiceMockRecorder) UploadDeploymentInputArtifact(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
UploadDeploymentInputArtifact indicates an expected call of UploadDeploymentInputArtifact.
func (*MockDeploymentServiceMockRecorder) WaitUntilStateIs ¶
func (mr *MockDeploymentServiceMockRecorder) WaitUntilStateIs(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
WaitUntilStateIs indicates an expected call of WaitUntilStateIs.
type MockEventService ¶
type MockEventService struct {
// contains filtered or unexported fields
}
MockEventService is a mock of EventService interface.
func NewMockEventService ¶
func NewMockEventService(ctrl *gomock.Controller) *MockEventService
NewMockEventService creates a new mock instance.
func (*MockEventService) EXPECT ¶
func (m *MockEventService) EXPECT() *MockEventServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventService) GetEventsForApplicationEnvironment ¶
func (m *MockEventService) GetEventsForApplicationEnvironment(arg0 context.Context, arg1 string, arg2, arg3 int) ([]alien4cloud.Event, int, error)
GetEventsForApplicationEnvironment mocks base method.
type MockEventServiceMockRecorder ¶
type MockEventServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockEventServiceMockRecorder is the mock recorder for MockEventService.
func (*MockEventServiceMockRecorder) GetEventsForApplicationEnvironment ¶
func (mr *MockEventServiceMockRecorder) GetEventsForApplicationEnvironment(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetEventsForApplicationEnvironment indicates an expected call of GetEventsForApplicationEnvironment.
type MockLogService ¶
type MockLogService struct {
// contains filtered or unexported fields
}
MockLogService is a mock of LogService interface.
func NewMockLogService ¶
func NewMockLogService(ctrl *gomock.Controller) *MockLogService
NewMockLogService creates a new mock instance.
func (*MockLogService) EXPECT ¶
func (m *MockLogService) EXPECT() *MockLogServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLogService) GetLogsOfApplication ¶
func (m *MockLogService) GetLogsOfApplication(arg0 context.Context, arg1, arg2 string, arg3 alien4cloud.LogFilter, arg4 int) ([]alien4cloud.Log, int, error)
GetLogsOfApplication mocks base method.
type MockLogServiceMockRecorder ¶
type MockLogServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockLogServiceMockRecorder is the mock recorder for MockLogService.
func (*MockLogServiceMockRecorder) GetLogsOfApplication ¶
func (mr *MockLogServiceMockRecorder) GetLogsOfApplication(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetLogsOfApplication indicates an expected call of GetLogsOfApplication.
type MockOrchestratorService ¶
type MockOrchestratorService struct {
// contains filtered or unexported fields
}
MockOrchestratorService is a mock of OrchestratorService interface.
func NewMockOrchestratorService ¶
func NewMockOrchestratorService(ctrl *gomock.Controller) *MockOrchestratorService
NewMockOrchestratorService creates a new mock instance.
func (*MockOrchestratorService) EXPECT ¶
func (m *MockOrchestratorService) EXPECT() *MockOrchestratorServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOrchestratorService) GetOrchestratorIDbyName ¶
func (m *MockOrchestratorService) GetOrchestratorIDbyName(arg0 context.Context, arg1 string) (string, error)
GetOrchestratorIDbyName mocks base method.
func (*MockOrchestratorService) GetOrchestratorLocations ¶
func (m *MockOrchestratorService) GetOrchestratorLocations(arg0 context.Context, arg1 string) ([]alien4cloud.Location, error)
GetOrchestratorLocations mocks base method.
type MockOrchestratorServiceMockRecorder ¶
type MockOrchestratorServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockOrchestratorServiceMockRecorder is the mock recorder for MockOrchestratorService.
func (*MockOrchestratorServiceMockRecorder) GetOrchestratorIDbyName ¶
func (mr *MockOrchestratorServiceMockRecorder) GetOrchestratorIDbyName(arg0, arg1 interface{}) *gomock.Call
GetOrchestratorIDbyName indicates an expected call of GetOrchestratorIDbyName.
func (*MockOrchestratorServiceMockRecorder) GetOrchestratorLocations ¶
func (mr *MockOrchestratorServiceMockRecorder) GetOrchestratorLocations(arg0, arg1 interface{}) *gomock.Call
GetOrchestratorLocations indicates an expected call of GetOrchestratorLocations.
type MockTopologyService ¶
type MockTopologyService struct {
// contains filtered or unexported fields
}
MockTopologyService is a mock of TopologyService interface.
func NewMockTopologyService ¶
func NewMockTopologyService(ctrl *gomock.Controller) *MockTopologyService
NewMockTopologyService creates a new mock instance.
func (*MockTopologyService) AddNodeInA4CTopology ¶
func (m *MockTopologyService) AddNodeInA4CTopology(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, arg2, arg3 string) error
AddNodeInA4CTopology mocks base method.
func (*MockTopologyService) AddPolicy ¶
func (m *MockTopologyService) AddPolicy(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, arg2, arg3 string) error
AddPolicy mocks base method.
func (*MockTopologyService) AddRelationship ¶
func (m *MockTopologyService) AddRelationship(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, arg2, arg3, arg4 string) error
AddRelationship mocks base method.
func (*MockTopologyService) AddTargetsToPolicy ¶
func (m *MockTopologyService) AddTargetsToPolicy(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, arg2 string, arg3 []string) error
AddTargetsToPolicy mocks base method.
func (*MockTopologyService) AddWorkflowActivity ¶
func (m *MockTopologyService) AddWorkflowActivity(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, arg2 string, arg3 *alien4cloud.WorkflowActivity) error
AddWorkflowActivity mocks base method.
func (*MockTopologyService) CreateWorkflow ¶
func (m *MockTopologyService) CreateWorkflow(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, arg2 string) error
CreateWorkflow mocks base method.
func (*MockTopologyService) DeletePolicy ¶
func (m *MockTopologyService) DeletePolicy(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, arg2 string) error
DeletePolicy mocks base method.
func (*MockTopologyService) DeleteWorkflow ¶
func (m *MockTopologyService) DeleteWorkflow(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, arg2 string) error
DeleteWorkflow mocks base method.
func (*MockTopologyService) EXPECT ¶
func (m *MockTopologyService) EXPECT() *MockTopologyServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTopologyService) GetTopologies ¶
func (m *MockTopologyService) GetTopologies(arg0 context.Context, arg1 string) ([]alien4cloud.BasicTopologyInfo, error)
GetTopologies mocks base method.
func (*MockTopologyService) GetTopology ¶
func (m *MockTopologyService) GetTopology(arg0 context.Context, arg1, arg2 string) (*alien4cloud.Topology, error)
GetTopology mocks base method.
func (*MockTopologyService) GetTopologyByID ¶
func (m *MockTopologyService) GetTopologyByID(arg0 context.Context, arg1 string) (*alien4cloud.Topology, error)
GetTopologyByID mocks base method.
func (*MockTopologyService) GetTopologyID ¶
func (m *MockTopologyService) GetTopologyID(arg0 context.Context, arg1, arg2 string) (string, error)
GetTopologyID mocks base method.
func (*MockTopologyService) GetTopologyTemplateIDByName ¶
func (m *MockTopologyService) GetTopologyTemplateIDByName(arg0 context.Context, arg1 string) (string, error)
GetTopologyTemplateIDByName mocks base method.
func (*MockTopologyService) SaveA4CTopology ¶
func (m *MockTopologyService) SaveA4CTopology(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext) error
SaveA4CTopology mocks base method.
func (*MockTopologyService) UpdateCapabilityProperty ¶
func (m *MockTopologyService) UpdateCapabilityProperty(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, arg2, arg3, arg4, arg5 string) error
UpdateCapabilityProperty mocks base method.
func (*MockTopologyService) UpdateComponentProperty ¶
func (m *MockTopologyService) UpdateComponentProperty(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, arg2, arg3, arg4 string) error
UpdateComponentProperty mocks base method.
func (*MockTopologyService) UpdateComponentPropertyComplexType ¶
func (m *MockTopologyService) UpdateComponentPropertyComplexType(arg0 context.Context, arg1 *alien4cloud.TopologyEditorContext, arg2, arg3 string, arg4 map[string]interface{}) error
UpdateComponentPropertyComplexType mocks base method.
type MockTopologyServiceMockRecorder ¶
type MockTopologyServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTopologyServiceMockRecorder is the mock recorder for MockTopologyService.
func (*MockTopologyServiceMockRecorder) AddNodeInA4CTopology ¶
func (mr *MockTopologyServiceMockRecorder) AddNodeInA4CTopology(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddNodeInA4CTopology indicates an expected call of AddNodeInA4CTopology.
func (*MockTopologyServiceMockRecorder) AddPolicy ¶
func (mr *MockTopologyServiceMockRecorder) AddPolicy(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddPolicy indicates an expected call of AddPolicy.
func (*MockTopologyServiceMockRecorder) AddRelationship ¶
func (mr *MockTopologyServiceMockRecorder) AddRelationship(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AddRelationship indicates an expected call of AddRelationship.
func (*MockTopologyServiceMockRecorder) AddTargetsToPolicy ¶
func (mr *MockTopologyServiceMockRecorder) AddTargetsToPolicy(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddTargetsToPolicy indicates an expected call of AddTargetsToPolicy.
func (*MockTopologyServiceMockRecorder) AddWorkflowActivity ¶
func (mr *MockTopologyServiceMockRecorder) AddWorkflowActivity(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddWorkflowActivity indicates an expected call of AddWorkflowActivity.
func (*MockTopologyServiceMockRecorder) CreateWorkflow ¶
func (mr *MockTopologyServiceMockRecorder) CreateWorkflow(arg0, arg1, arg2 interface{}) *gomock.Call
CreateWorkflow indicates an expected call of CreateWorkflow.
func (*MockTopologyServiceMockRecorder) DeletePolicy ¶
func (mr *MockTopologyServiceMockRecorder) DeletePolicy(arg0, arg1, arg2 interface{}) *gomock.Call
DeletePolicy indicates an expected call of DeletePolicy.
func (*MockTopologyServiceMockRecorder) DeleteWorkflow ¶
func (mr *MockTopologyServiceMockRecorder) DeleteWorkflow(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteWorkflow indicates an expected call of DeleteWorkflow.
func (*MockTopologyServiceMockRecorder) GetTopologies ¶
func (mr *MockTopologyServiceMockRecorder) GetTopologies(arg0, arg1 interface{}) *gomock.Call
GetTopologies indicates an expected call of GetTopologies.
func (*MockTopologyServiceMockRecorder) GetTopology ¶
func (mr *MockTopologyServiceMockRecorder) GetTopology(arg0, arg1, arg2 interface{}) *gomock.Call
GetTopology indicates an expected call of GetTopology.
func (*MockTopologyServiceMockRecorder) GetTopologyByID ¶
func (mr *MockTopologyServiceMockRecorder) GetTopologyByID(arg0, arg1 interface{}) *gomock.Call
GetTopologyByID indicates an expected call of GetTopologyByID.
func (*MockTopologyServiceMockRecorder) GetTopologyID ¶
func (mr *MockTopologyServiceMockRecorder) GetTopologyID(arg0, arg1, arg2 interface{}) *gomock.Call
GetTopologyID indicates an expected call of GetTopologyID.
func (*MockTopologyServiceMockRecorder) GetTopologyTemplateIDByName ¶
func (mr *MockTopologyServiceMockRecorder) GetTopologyTemplateIDByName(arg0, arg1 interface{}) *gomock.Call
GetTopologyTemplateIDByName indicates an expected call of GetTopologyTemplateIDByName.
func (*MockTopologyServiceMockRecorder) SaveA4CTopology ¶
func (mr *MockTopologyServiceMockRecorder) SaveA4CTopology(arg0, arg1 interface{}) *gomock.Call
SaveA4CTopology indicates an expected call of SaveA4CTopology.
func (*MockTopologyServiceMockRecorder) UpdateCapabilityProperty ¶
func (mr *MockTopologyServiceMockRecorder) UpdateCapabilityProperty(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
UpdateCapabilityProperty indicates an expected call of UpdateCapabilityProperty.
func (*MockTopologyServiceMockRecorder) UpdateComponentProperty ¶
func (mr *MockTopologyServiceMockRecorder) UpdateComponentProperty(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
UpdateComponentProperty indicates an expected call of UpdateComponentProperty.
func (*MockTopologyServiceMockRecorder) UpdateComponentPropertyComplexType ¶
func (mr *MockTopologyServiceMockRecorder) UpdateComponentPropertyComplexType(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
UpdateComponentPropertyComplexType indicates an expected call of UpdateComponentPropertyComplexType.
type MockUserService ¶
type MockUserService struct {
// contains filtered or unexported fields
}
MockUserService is a mock of UserService interface.
func NewMockUserService ¶
func NewMockUserService(ctrl *gomock.Controller) *MockUserService
NewMockUserService creates a new mock instance.
func (*MockUserService) AddRole ¶
func (m *MockUserService) AddRole(arg0 context.Context, arg1, arg2 string) error
AddRole mocks base method.
func (*MockUserService) CreateGroup ¶
func (m *MockUserService) CreateGroup(arg0 context.Context, arg1 alien4cloud.Group) (string, error)
CreateGroup mocks base method.
func (*MockUserService) CreateUser ¶
func (m *MockUserService) CreateUser(arg0 context.Context, arg1 alien4cloud.CreateUpdateUserRequest) error
CreateUser mocks base method.
func (*MockUserService) DeleteGroup ¶
func (m *MockUserService) DeleteGroup(arg0 context.Context, arg1 string) error
DeleteGroup mocks base method.
func (*MockUserService) DeleteUser ¶
func (m *MockUserService) DeleteUser(arg0 context.Context, arg1 string) error
DeleteUser mocks base method.
func (*MockUserService) EXPECT ¶
func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserService) GetGroup ¶
func (m *MockUserService) GetGroup(arg0 context.Context, arg1 string) (alien4cloud.Group, error)
GetGroup mocks base method.
func (*MockUserService) GetGroups ¶
func (m *MockUserService) GetGroups(arg0 context.Context, arg1 []string) ([]alien4cloud.Group, error)
GetGroups mocks base method.
func (*MockUserService) GetUser ¶
func (m *MockUserService) GetUser(arg0 context.Context, arg1 string) (alien4cloud.User, error)
GetUser mocks base method.
func (*MockUserService) GetUsers ¶
func (m *MockUserService) GetUsers(arg0 context.Context, arg1 []string) ([]alien4cloud.User, error)
GetUsers mocks base method.
func (*MockUserService) RemoveRole ¶
func (m *MockUserService) RemoveRole(arg0 context.Context, arg1, arg2 string) error
RemoveRole mocks base method.
func (*MockUserService) SearchGroups ¶
func (m *MockUserService) SearchGroups(arg0 context.Context, arg1 alien4cloud.SearchRequest) ([]alien4cloud.Group, int, error)
SearchGroups mocks base method.
func (*MockUserService) SearchUsers ¶
func (m *MockUserService) SearchUsers(arg0 context.Context, arg1 alien4cloud.SearchRequest) ([]alien4cloud.User, int, error)
SearchUsers mocks base method.
func (*MockUserService) UpdateGroup ¶
func (m *MockUserService) UpdateGroup(arg0 context.Context, arg1 string, arg2 alien4cloud.Group) error
UpdateGroup mocks base method.
func (*MockUserService) UpdateUser ¶
func (m *MockUserService) UpdateUser(arg0 context.Context, arg1 string, arg2 alien4cloud.CreateUpdateUserRequest) error
UpdateUser mocks base method.
type MockUserServiceMockRecorder ¶
type MockUserServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockUserServiceMockRecorder is the mock recorder for MockUserService.
func (*MockUserServiceMockRecorder) AddRole ¶
func (mr *MockUserServiceMockRecorder) AddRole(arg0, arg1, arg2 interface{}) *gomock.Call
AddRole indicates an expected call of AddRole.
func (*MockUserServiceMockRecorder) CreateGroup ¶
func (mr *MockUserServiceMockRecorder) CreateGroup(arg0, arg1 interface{}) *gomock.Call
CreateGroup indicates an expected call of CreateGroup.
func (*MockUserServiceMockRecorder) CreateUser ¶
func (mr *MockUserServiceMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockUserServiceMockRecorder) DeleteGroup ¶
func (mr *MockUserServiceMockRecorder) DeleteGroup(arg0, arg1 interface{}) *gomock.Call
DeleteGroup indicates an expected call of DeleteGroup.
func (*MockUserServiceMockRecorder) DeleteUser ¶
func (mr *MockUserServiceMockRecorder) DeleteUser(arg0, arg1 interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockUserServiceMockRecorder) GetGroup ¶
func (mr *MockUserServiceMockRecorder) GetGroup(arg0, arg1 interface{}) *gomock.Call
GetGroup indicates an expected call of GetGroup.
func (*MockUserServiceMockRecorder) GetGroups ¶
func (mr *MockUserServiceMockRecorder) GetGroups(arg0, arg1 interface{}) *gomock.Call
GetGroups indicates an expected call of GetGroups.
func (*MockUserServiceMockRecorder) GetUser ¶
func (mr *MockUserServiceMockRecorder) GetUser(arg0, arg1 interface{}) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockUserServiceMockRecorder) GetUsers ¶
func (mr *MockUserServiceMockRecorder) GetUsers(arg0, arg1 interface{}) *gomock.Call
GetUsers indicates an expected call of GetUsers.
func (*MockUserServiceMockRecorder) RemoveRole ¶
func (mr *MockUserServiceMockRecorder) RemoveRole(arg0, arg1, arg2 interface{}) *gomock.Call
RemoveRole indicates an expected call of RemoveRole.
func (*MockUserServiceMockRecorder) SearchGroups ¶
func (mr *MockUserServiceMockRecorder) SearchGroups(arg0, arg1 interface{}) *gomock.Call
SearchGroups indicates an expected call of SearchGroups.
func (*MockUserServiceMockRecorder) SearchUsers ¶
func (mr *MockUserServiceMockRecorder) SearchUsers(arg0, arg1 interface{}) *gomock.Call
SearchUsers indicates an expected call of SearchUsers.
func (*MockUserServiceMockRecorder) UpdateGroup ¶
func (mr *MockUserServiceMockRecorder) UpdateGroup(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateGroup indicates an expected call of UpdateGroup.
func (*MockUserServiceMockRecorder) UpdateUser ¶
func (mr *MockUserServiceMockRecorder) UpdateUser(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.