Documentation ¶
Overview ¶
Package mocks ...
Index ¶
- type GitOpsService
- func (g *GitOpsService) DeleteWorkflowFromGit(ctx context.Context, workflow *model.ChaosWorkFlowRequest) error
- func (g *GitOpsService) DisableGitOpsHandler(ctx context.Context, projectID string) (bool, error)
- func (g *GitOpsService) EnableGitOpsHandler(ctx context.Context, config model.GitConfig) (bool, error)
- func (g *GitOpsService) GetGitOpsDetails(ctx context.Context, projectID string) (*model.GitConfigResponse, error)
- func (g *GitOpsService) GitOpsNotificationHandler(ctx context.Context, cluster *dbSchemaCluster.Cluster, workflowID string) (string, error)
- func (g *GitOpsService) GitOpsSyncHandler(singleRun bool)
- func (g *GitOpsService) UpdateGitOpsDetailsHandler(ctx context.Context, config model.GitConfig) (bool, error)
- func (g *GitOpsService) UpsertWorkflowToGit(ctx context.Context, workflow *model.ChaosWorkFlowRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitOpsService ¶
GitOpsService is an autogenerated mock type for the GitOpsService type
func (*GitOpsService) DeleteWorkflowFromGit ¶
func (g *GitOpsService) DeleteWorkflowFromGit(ctx context.Context, workflow *model.ChaosWorkFlowRequest) error
DeleteWorkflowFromGit provides a mock function with given fields: ctx, workflow
func (*GitOpsService) DisableGitOpsHandler ¶
DisableGitOpsHandler provides a mock function with given fields: ctx, projectID
func (*GitOpsService) EnableGitOpsHandler ¶
func (g *GitOpsService) EnableGitOpsHandler(ctx context.Context, config model.GitConfig) (bool, error)
EnableGitOpsHandler provides a mock function with given fields: ctx, config
func (*GitOpsService) GetGitOpsDetails ¶
func (g *GitOpsService) GetGitOpsDetails(ctx context.Context, projectID string) (*model.GitConfigResponse, error)
GetGitOpsDetails provides a mock function with given fields: ctx, projectID
func (*GitOpsService) GitOpsNotificationHandler ¶
func (g *GitOpsService) GitOpsNotificationHandler(ctx context.Context, cluster *dbSchemaCluster.Cluster, workflowID string) (string, error)
GitOpsNotificationHandler provides a mock function with given fields: ctx, cluster, workflowID
func (*GitOpsService) GitOpsSyncHandler ¶
func (g *GitOpsService) GitOpsSyncHandler(singleRun bool)
GitOpsSyncHandler provides a mock function with given fields: singleRun
func (*GitOpsService) UpdateGitOpsDetailsHandler ¶
func (g *GitOpsService) UpdateGitOpsDetailsHandler(ctx context.Context, config model.GitConfig) (bool, error)
UpdateGitOpsDetailsHandler provides a mock function with given fields: ctx, config
func (*GitOpsService) UpsertWorkflowToGit ¶
func (g *GitOpsService) UpsertWorkflowToGit(ctx context.Context, workflow *model.ChaosWorkFlowRequest) error
UpsertWorkflowToGit provides a mock function with given fields: ctx, workflow