mocks

package
v0.0.0-...-d4d4b81 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitOpsService

type GitOpsService struct {
	mock.Mock
}

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

func (g *GitOpsService) DisableGitOpsHandler(ctx context.Context, projectID string) (bool, error)

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

Jump to

Keyboard shortcuts

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