controllersfakes

package
v0.0.0-...-a423d60 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeDirectorClient

type FakeDirectorClient struct {
	FetchApplicationStub func(context.Context, string) (*director.ApplicationOutput, error)

	UpdateOperationStub func(context.Context, *directora.Request) error
	// contains filtered or unexported fields
}

func (*FakeDirectorClient) FetchApplication

func (fake *FakeDirectorClient) FetchApplication(arg1 context.Context, arg2 string) (*director.ApplicationOutput, error)

func (*FakeDirectorClient) FetchApplicationArgsForCall

func (fake *FakeDirectorClient) FetchApplicationArgsForCall(i int) (context.Context, string)

func (*FakeDirectorClient) FetchApplicationCallCount

func (fake *FakeDirectorClient) FetchApplicationCallCount() int

func (*FakeDirectorClient) FetchApplicationCalls

func (fake *FakeDirectorClient) FetchApplicationCalls(stub func(context.Context, string) (*director.ApplicationOutput, error))

func (*FakeDirectorClient) FetchApplicationReturns

func (fake *FakeDirectorClient) FetchApplicationReturns(result1 *director.ApplicationOutput, result2 error)

func (*FakeDirectorClient) FetchApplicationReturnsOnCall

func (fake *FakeDirectorClient) FetchApplicationReturnsOnCall(i int, result1 *director.ApplicationOutput, result2 error)

func (*FakeDirectorClient) Invocations

func (fake *FakeDirectorClient) Invocations() map[string][][]interface{}

func (*FakeDirectorClient) UpdateOperation

func (fake *FakeDirectorClient) UpdateOperation(arg1 context.Context, arg2 *directora.Request) error

func (*FakeDirectorClient) UpdateOperationArgsForCall

func (fake *FakeDirectorClient) UpdateOperationArgsForCall(i int) (context.Context, *directora.Request)

func (*FakeDirectorClient) UpdateOperationCallCount

func (fake *FakeDirectorClient) UpdateOperationCallCount() int

func (*FakeDirectorClient) UpdateOperationCalls

func (fake *FakeDirectorClient) UpdateOperationCalls(stub func(context.Context, *directora.Request) error)

func (*FakeDirectorClient) UpdateOperationReturns

func (fake *FakeDirectorClient) UpdateOperationReturns(result1 error)

func (*FakeDirectorClient) UpdateOperationReturnsOnCall

func (fake *FakeDirectorClient) UpdateOperationReturnsOnCall(i int, result1 error)

type FakeKubernetesClient

type FakeKubernetesClient struct {
	DeleteStub func(context.Context, client.Object, ...client.DeleteOption) error

	GetStub func(context.Context, types.NamespacedName) (*v1alpha1.Operation, error)
	// contains filtered or unexported fields
}

func (*FakeKubernetesClient) Delete

func (fake *FakeKubernetesClient) Delete(arg1 context.Context, arg2 client.Object, arg3 ...client.DeleteOption) error

func (*FakeKubernetesClient) DeleteArgsForCall

func (fake *FakeKubernetesClient) DeleteArgsForCall(i int) (context.Context, client.Object, []client.DeleteOption)

func (*FakeKubernetesClient) DeleteCallCount

func (fake *FakeKubernetesClient) DeleteCallCount() int

func (*FakeKubernetesClient) DeleteCalls

func (fake *FakeKubernetesClient) DeleteCalls(stub func(context.Context, client.Object, ...client.DeleteOption) error)

func (*FakeKubernetesClient) DeleteReturns

func (fake *FakeKubernetesClient) DeleteReturns(result1 error)

func (*FakeKubernetesClient) DeleteReturnsOnCall

func (fake *FakeKubernetesClient) DeleteReturnsOnCall(i int, result1 error)

func (*FakeKubernetesClient) Get

func (*FakeKubernetesClient) GetArgsForCall

func (fake *FakeKubernetesClient) GetArgsForCall(i int) (context.Context, types.NamespacedName)

func (*FakeKubernetesClient) GetCallCount

func (fake *FakeKubernetesClient) GetCallCount() int

func (*FakeKubernetesClient) GetCalls

func (*FakeKubernetesClient) GetReturns

func (fake *FakeKubernetesClient) GetReturns(result1 *v1alpha1.Operation, result2 error)

func (*FakeKubernetesClient) GetReturnsOnCall

func (fake *FakeKubernetesClient) GetReturnsOnCall(i int, result1 *v1alpha1.Operation, result2 error)

func (*FakeKubernetesClient) Invocations

func (fake *FakeKubernetesClient) Invocations() map[string][][]interface{}

type FakeStatusManager

type FakeStatusManager struct {
	FailedStatusStub func(context.Context, *v1alpha1.Operation, string) error

	InProgressWithPollURLStub func(context.Context, *v1alpha1.Operation, string) error

	InProgressWithPollURLAndLastPollTimestampStub func(context.Context, *v1alpha1.Operation, string, string, int) error

	InitializeStub func(context.Context, *v1alpha1.Operation) error

	SuccessStatusStub func(context.Context, *v1alpha1.Operation) error
	// contains filtered or unexported fields
}

func (*FakeStatusManager) FailedStatus

func (fake *FakeStatusManager) FailedStatus(arg1 context.Context, arg2 *v1alpha1.Operation, arg3 string) error

func (*FakeStatusManager) FailedStatusArgsForCall

func (fake *FakeStatusManager) FailedStatusArgsForCall(i int) (context.Context, *v1alpha1.Operation, string)

func (*FakeStatusManager) FailedStatusCallCount

func (fake *FakeStatusManager) FailedStatusCallCount() int

func (*FakeStatusManager) FailedStatusCalls

func (fake *FakeStatusManager) FailedStatusCalls(stub func(context.Context, *v1alpha1.Operation, string) error)

func (*FakeStatusManager) FailedStatusReturns

func (fake *FakeStatusManager) FailedStatusReturns(result1 error)

func (*FakeStatusManager) FailedStatusReturnsOnCall

func (fake *FakeStatusManager) FailedStatusReturnsOnCall(i int, result1 error)

func (*FakeStatusManager) InProgressWithPollURL

func (fake *FakeStatusManager) InProgressWithPollURL(arg1 context.Context, arg2 *v1alpha1.Operation, arg3 string) error

func (*FakeStatusManager) InProgressWithPollURLAndLastPollTimestamp

func (fake *FakeStatusManager) InProgressWithPollURLAndLastPollTimestamp(arg1 context.Context, arg2 *v1alpha1.Operation, arg3 string, arg4 string, arg5 int) error

func (*FakeStatusManager) InProgressWithPollURLAndLastPollTimestampArgsForCall

func (fake *FakeStatusManager) InProgressWithPollURLAndLastPollTimestampArgsForCall(i int) (context.Context, *v1alpha1.Operation, string, string, int)

func (*FakeStatusManager) InProgressWithPollURLAndLastPollTimestampCallCount

func (fake *FakeStatusManager) InProgressWithPollURLAndLastPollTimestampCallCount() int

func (*FakeStatusManager) InProgressWithPollURLAndLastPollTimestampCalls

func (fake *FakeStatusManager) InProgressWithPollURLAndLastPollTimestampCalls(stub func(context.Context, *v1alpha1.Operation, string, string, int) error)

func (*FakeStatusManager) InProgressWithPollURLAndLastPollTimestampReturns

func (fake *FakeStatusManager) InProgressWithPollURLAndLastPollTimestampReturns(result1 error)

func (*FakeStatusManager) InProgressWithPollURLAndLastPollTimestampReturnsOnCall

func (fake *FakeStatusManager) InProgressWithPollURLAndLastPollTimestampReturnsOnCall(i int, result1 error)

func (*FakeStatusManager) InProgressWithPollURLArgsForCall

func (fake *FakeStatusManager) InProgressWithPollURLArgsForCall(i int) (context.Context, *v1alpha1.Operation, string)

func (*FakeStatusManager) InProgressWithPollURLCallCount

func (fake *FakeStatusManager) InProgressWithPollURLCallCount() int

func (*FakeStatusManager) InProgressWithPollURLCalls

func (fake *FakeStatusManager) InProgressWithPollURLCalls(stub func(context.Context, *v1alpha1.Operation, string) error)

func (*FakeStatusManager) InProgressWithPollURLReturns

func (fake *FakeStatusManager) InProgressWithPollURLReturns(result1 error)

func (*FakeStatusManager) InProgressWithPollURLReturnsOnCall

func (fake *FakeStatusManager) InProgressWithPollURLReturnsOnCall(i int, result1 error)

func (*FakeStatusManager) Initialize

func (fake *FakeStatusManager) Initialize(arg1 context.Context, arg2 *v1alpha1.Operation) error

func (*FakeStatusManager) InitializeArgsForCall

func (fake *FakeStatusManager) InitializeArgsForCall(i int) (context.Context, *v1alpha1.Operation)

func (*FakeStatusManager) InitializeCallCount

func (fake *FakeStatusManager) InitializeCallCount() int

func (*FakeStatusManager) InitializeCalls

func (fake *FakeStatusManager) InitializeCalls(stub func(context.Context, *v1alpha1.Operation) error)

func (*FakeStatusManager) InitializeReturns

func (fake *FakeStatusManager) InitializeReturns(result1 error)

func (*FakeStatusManager) InitializeReturnsOnCall

func (fake *FakeStatusManager) InitializeReturnsOnCall(i int, result1 error)

func (*FakeStatusManager) Invocations

func (fake *FakeStatusManager) Invocations() map[string][][]interface{}

func (*FakeStatusManager) SuccessStatus

func (fake *FakeStatusManager) SuccessStatus(arg1 context.Context, arg2 *v1alpha1.Operation) error

func (*FakeStatusManager) SuccessStatusArgsForCall

func (fake *FakeStatusManager) SuccessStatusArgsForCall(i int) (context.Context, *v1alpha1.Operation)

func (*FakeStatusManager) SuccessStatusCallCount

func (fake *FakeStatusManager) SuccessStatusCallCount() int

func (*FakeStatusManager) SuccessStatusCalls

func (fake *FakeStatusManager) SuccessStatusCalls(stub func(context.Context, *v1alpha1.Operation) error)

func (*FakeStatusManager) SuccessStatusReturns

func (fake *FakeStatusManager) SuccessStatusReturns(result1 error)

func (*FakeStatusManager) SuccessStatusReturnsOnCall

func (fake *FakeStatusManager) SuccessStatusReturnsOnCall(i int, result1 error)

type FakeWebhookClient

type FakeWebhookClient struct {
	DoStub func(context.Context, webhookclient.WebhookRequest) (*webhook.Response, error)

	PollStub func(context.Context, *webhookclient.PollRequest) (*webhook.ResponseStatus, error)
	// contains filtered or unexported fields
}

func (*FakeWebhookClient) Do

func (*FakeWebhookClient) DoArgsForCall

func (*FakeWebhookClient) DoCallCount

func (fake *FakeWebhookClient) DoCallCount() int

func (*FakeWebhookClient) DoCalls

func (*FakeWebhookClient) DoReturns

func (fake *FakeWebhookClient) DoReturns(result1 *webhook.Response, result2 error)

func (*FakeWebhookClient) DoReturnsOnCall

func (fake *FakeWebhookClient) DoReturnsOnCall(i int, result1 *webhook.Response, result2 error)

func (*FakeWebhookClient) Invocations

func (fake *FakeWebhookClient) Invocations() map[string][][]interface{}

func (*FakeWebhookClient) Poll

func (*FakeWebhookClient) PollArgsForCall

func (fake *FakeWebhookClient) PollArgsForCall(i int) (context.Context, *webhookclient.PollRequest)

func (*FakeWebhookClient) PollCallCount

func (fake *FakeWebhookClient) PollCallCount() int

func (*FakeWebhookClient) PollCalls

func (*FakeWebhookClient) PollReturns

func (fake *FakeWebhookClient) PollReturns(result1 *webhook.ResponseStatus, result2 error)

func (*FakeWebhookClient) PollReturnsOnCall

func (fake *FakeWebhookClient) PollReturnsOnCall(i int, result1 *webhook.ResponseStatus, result2 error)

Jump to

Keyboard shortcuts

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