mocks

package
v0.0.0-...-e28bd7b Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeploymentSvcClient

type DeploymentSvcClient struct {
	mock.Mock
}

DeploymentSvcClient is an autogenerated mock type for the DeploymentSvcClient type

func NewDeploymentSvcClient

func NewDeploymentSvcClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *DeploymentSvcClient

NewDeploymentSvcClient creates a new instance of DeploymentSvcClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DeploymentSvcClient) Create

Create provides a mock function with given fields: ctx, actor, tid, option

func (*DeploymentSvcClient) CreateAsync

CreateAsync provides a mock function with given fields: actor, tid, option

func (*DeploymentSvcClient) CreateRun

CreateRun provides a mock function with given fields: ctx, actor, tid, param

func (*DeploymentSvcClient) CreateRunAsync

CreateRunAsync provides a mock function with given fields: actor, tid, param

func (*DeploymentSvcClient) Delete

func (_m *DeploymentSvcClient) Delete(ctx context.Context, actor service.Actor, tid common.TransactionID, deployment common.ID) (bool, error)

Delete provides a mock function with given fields: ctx, actor, tid, deployment

func (*DeploymentSvcClient) DeleteAsync

func (_m *DeploymentSvcClient) DeleteAsync(actor service.Actor, tid common.TransactionID, deployment common.ID) error

DeleteAsync provides a mock function with given fields: actor, tid, deployment

func (*DeploymentSvcClient) Get

func (_m *DeploymentSvcClient) Get(ctx context.Context, actor service.Actor, deploymentID common.ID) (*service.Deployment, error)

Get provides a mock function with given fields: ctx, actor, deploymentID

func (*DeploymentSvcClient) GetRawState

func (_m *DeploymentSvcClient) GetRawState(ctx context.Context, actor service.Actor, deployment common.ID, run common.ID) ([]byte, error)

GetRawState provides a mock function with given fields: ctx, actor, deployment, run

func (*DeploymentSvcClient) GetRun

func (_m *DeploymentSvcClient) GetRun(ctx context.Context, actor service.Actor, deployment common.ID, run common.ID) (*service.DeploymentRun, error)

GetRun provides a mock function with given fields: ctx, actor, deployment, run

func (*DeploymentSvcClient) ListDeploymentLogsLocations

func (_m *DeploymentSvcClient) ListDeploymentLogsLocations(ctx context.Context, actor service.Actor, deployment common.ID) ([]service.LogsLocation, error)

ListDeploymentLogsLocations provides a mock function with given fields: ctx, actor, deployment

func (*DeploymentSvcClient) ListRunLogsLocations

func (_m *DeploymentSvcClient) ListRunLogsLocations(ctx context.Context, actor service.Actor, deployment common.ID, run common.ID) ([]service.LogsLocation, error)

ListRunLogsLocations provides a mock function with given fields: ctx, actor, deployment, run

func (*DeploymentSvcClient) RefreshState

func (_m *DeploymentSvcClient) RefreshState(ctx context.Context, actor service.Actor, tid common.TransactionID, deployment common.ID) (service.DeploymentStateView, error)

RefreshState provides a mock function with given fields: ctx, actor, tid, deployment

func (*DeploymentSvcClient) RefreshStateAsync

func (_m *DeploymentSvcClient) RefreshStateAsync(actor service.Actor, tid common.TransactionID, deployment common.ID) error

RefreshStateAsync provides a mock function with given fields: actor, tid, deployment

func (*DeploymentSvcClient) Search

Search provides a mock function with given fields: ctx, actor, option

func (*DeploymentSvcClient) SearchNext

SearchNext provides a mock function with given fields: ctx, actor, list

func (*DeploymentSvcClient) SearchRun

SearchRun provides a mock function with given fields: ctx, actor, option

func (*DeploymentSvcClient) SearchRunNext

SearchRunNext provides a mock function with given fields: ctx, actor, list

func (*DeploymentSvcClient) Update

func (_m *DeploymentSvcClient) Update(ctx context.Context, actor service.Actor, tid common.TransactionID, deployment service.Deployment, updateFields []string) (common.ID, error)

Update provides a mock function with given fields: ctx, actor, tid, deployment, updateFields

func (*DeploymentSvcClient) UpdateAsync

func (_m *DeploymentSvcClient) UpdateAsync(actor service.Actor, tid common.TransactionID, deployment service.Deployment, updateFields []string) error

UpdateAsync provides a mock function with given fields: actor, tid, deployment, updateFields

func (*DeploymentSvcClient) UpdateParameters

func (_m *DeploymentSvcClient) UpdateParameters(ctx context.Context, actor service.Actor, tid common.TransactionID, deployment common.ID, param service.DeploymentParameterValues) (common.ID, error)

UpdateParameters provides a mock function with given fields: ctx, actor, tid, deployment, param

func (*DeploymentSvcClient) UpdateParametersAsync

func (_m *DeploymentSvcClient) UpdateParametersAsync(actor service.Actor, tid common.TransactionID, deployment common.ID, param service.DeploymentParameterValues) error

UpdateParametersAsync provides a mock function with given fields: actor, tid, deployment, param

type ProviderSvcClient

type ProviderSvcClient struct {
	mock.Mock
}

ProviderSvcClient is an autogenerated mock type for the ProviderSvcClient type

func NewProviderSvcClient

func NewProviderSvcClient(t mockConstructorTestingTNewProviderSvcClient) *ProviderSvcClient

NewProviderSvcClient creates a new instance of ProviderSvcClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ProviderSvcClient) Create

Create provides a mock function with given fields: ctx, actor, provider

func (*ProviderSvcClient) Delete

Delete provides a mock function with given fields: ctx, actor, id

func (*ProviderSvcClient) Get

Get provides a mock function with given fields: ctx, actor, id

func (*ProviderSvcClient) List

List provides a mock function with given fields: ctx, actor

func (*ProviderSvcClient) Update

Update provides a mock function with given fields: ctx, actor, provider

Jump to

Keyboard shortcuts

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