servicesfakes

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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 FakeServiceInterface

type FakeServiceInterface struct {
	ApplyStub func(context.Context, *v1b.ServiceApplyConfiguration, v1c.ApplyOptions) (*v1a.Service, error)

	ApplyStatusStub func(context.Context, *v1b.ServiceApplyConfiguration, v1c.ApplyOptions) (*v1a.Service, error)

	CreateStub func(context.Context, *v1a.Service, v1c.CreateOptions) (*v1a.Service, error)

	DeleteStub func(context.Context, string, v1c.DeleteOptions) error

	GetStub func(context.Context, string, v1c.GetOptions) (*v1a.Service, error)

	ListStub func(context.Context, v1c.ListOptions) (*v1a.ServiceList, error)

	PatchStub func(context.Context, string, types.PatchType, []byte, v1c.PatchOptions, ...string) (*v1a.Service, error)

	ProxyGetStub func(string, string, string, string, map[string]string) rest.ResponseWrapper

	UpdateStub func(context.Context, *v1a.Service, v1c.UpdateOptions) (*v1a.Service, error)

	UpdateStatusStub func(context.Context, *v1a.Service, v1c.UpdateOptions) (*v1a.Service, error)

	WatchStub func(context.Context, v1c.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

func (*FakeServiceInterface) Apply

func (*FakeServiceInterface) ApplyArgsForCall

func (*FakeServiceInterface) ApplyCallCount

func (fake *FakeServiceInterface) ApplyCallCount() int

func (*FakeServiceInterface) ApplyCalls

func (*FakeServiceInterface) ApplyReturns

func (fake *FakeServiceInterface) ApplyReturns(result1 *v1a.Service, result2 error)

func (*FakeServiceInterface) ApplyReturnsOnCall

func (fake *FakeServiceInterface) ApplyReturnsOnCall(i int, result1 *v1a.Service, result2 error)

func (*FakeServiceInterface) ApplyStatus

func (*FakeServiceInterface) ApplyStatusArgsForCall

func (*FakeServiceInterface) ApplyStatusCallCount

func (fake *FakeServiceInterface) ApplyStatusCallCount() int

func (*FakeServiceInterface) ApplyStatusCalls

func (*FakeServiceInterface) ApplyStatusReturns

func (fake *FakeServiceInterface) ApplyStatusReturns(result1 *v1a.Service, result2 error)

func (*FakeServiceInterface) ApplyStatusReturnsOnCall

func (fake *FakeServiceInterface) ApplyStatusReturnsOnCall(i int, result1 *v1a.Service, result2 error)

func (*FakeServiceInterface) Create

func (fake *FakeServiceInterface) Create(arg1 context.Context, arg2 *v1a.Service, arg3 v1c.CreateOptions) (*v1a.Service, error)

func (*FakeServiceInterface) CreateArgsForCall

func (fake *FakeServiceInterface) CreateArgsForCall(i int) (context.Context, *v1a.Service, v1c.CreateOptions)

func (*FakeServiceInterface) CreateCallCount

func (fake *FakeServiceInterface) CreateCallCount() int

func (*FakeServiceInterface) CreateCalls

func (fake *FakeServiceInterface) CreateCalls(stub func(context.Context, *v1a.Service, v1c.CreateOptions) (*v1a.Service, error))

func (*FakeServiceInterface) CreateReturns

func (fake *FakeServiceInterface) CreateReturns(result1 *v1a.Service, result2 error)

func (*FakeServiceInterface) CreateReturnsOnCall

func (fake *FakeServiceInterface) CreateReturnsOnCall(i int, result1 *v1a.Service, result2 error)

func (*FakeServiceInterface) Delete

func (fake *FakeServiceInterface) Delete(arg1 context.Context, arg2 string, arg3 v1c.DeleteOptions) error

func (*FakeServiceInterface) DeleteArgsForCall

func (fake *FakeServiceInterface) DeleteArgsForCall(i int) (context.Context, string, v1c.DeleteOptions)

func (*FakeServiceInterface) DeleteCallCount

func (fake *FakeServiceInterface) DeleteCallCount() int

func (*FakeServiceInterface) DeleteCalls

func (fake *FakeServiceInterface) DeleteCalls(stub func(context.Context, string, v1c.DeleteOptions) error)

func (*FakeServiceInterface) DeleteReturns

func (fake *FakeServiceInterface) DeleteReturns(result1 error)

func (*FakeServiceInterface) DeleteReturnsOnCall

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

func (*FakeServiceInterface) Get

func (fake *FakeServiceInterface) Get(arg1 context.Context, arg2 string, arg3 v1c.GetOptions) (*v1a.Service, error)

func (*FakeServiceInterface) GetArgsForCall

func (fake *FakeServiceInterface) GetArgsForCall(i int) (context.Context, string, v1c.GetOptions)

func (*FakeServiceInterface) GetCallCount

func (fake *FakeServiceInterface) GetCallCount() int

func (*FakeServiceInterface) GetCalls

func (fake *FakeServiceInterface) GetCalls(stub func(context.Context, string, v1c.GetOptions) (*v1a.Service, error))

func (*FakeServiceInterface) GetReturns

func (fake *FakeServiceInterface) GetReturns(result1 *v1a.Service, result2 error)

func (*FakeServiceInterface) GetReturnsOnCall

func (fake *FakeServiceInterface) GetReturnsOnCall(i int, result1 *v1a.Service, result2 error)

func (*FakeServiceInterface) Invocations

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

func (*FakeServiceInterface) List

func (*FakeServiceInterface) ListArgsForCall

func (fake *FakeServiceInterface) ListArgsForCall(i int) (context.Context, v1c.ListOptions)

func (*FakeServiceInterface) ListCallCount

func (fake *FakeServiceInterface) ListCallCount() int

func (*FakeServiceInterface) ListCalls

func (fake *FakeServiceInterface) ListCalls(stub func(context.Context, v1c.ListOptions) (*v1a.ServiceList, error))

func (*FakeServiceInterface) ListReturns

func (fake *FakeServiceInterface) ListReturns(result1 *v1a.ServiceList, result2 error)

func (*FakeServiceInterface) ListReturnsOnCall

func (fake *FakeServiceInterface) ListReturnsOnCall(i int, result1 *v1a.ServiceList, result2 error)

func (*FakeServiceInterface) Patch

func (fake *FakeServiceInterface) Patch(arg1 context.Context, arg2 string, arg3 types.PatchType, arg4 []byte, arg5 v1c.PatchOptions, arg6 ...string) (*v1a.Service, error)

func (*FakeServiceInterface) PatchArgsForCall

func (fake *FakeServiceInterface) PatchArgsForCall(i int) (context.Context, string, types.PatchType, []byte, v1c.PatchOptions, []string)

func (*FakeServiceInterface) PatchCallCount

func (fake *FakeServiceInterface) PatchCallCount() int

func (*FakeServiceInterface) PatchCalls

func (fake *FakeServiceInterface) PatchCalls(stub func(context.Context, string, types.PatchType, []byte, v1c.PatchOptions, ...string) (*v1a.Service, error))

func (*FakeServiceInterface) PatchReturns

func (fake *FakeServiceInterface) PatchReturns(result1 *v1a.Service, result2 error)

func (*FakeServiceInterface) PatchReturnsOnCall

func (fake *FakeServiceInterface) PatchReturnsOnCall(i int, result1 *v1a.Service, result2 error)

func (*FakeServiceInterface) ProxyGet

func (fake *FakeServiceInterface) ProxyGet(arg1 string, arg2 string, arg3 string, arg4 string, arg5 map[string]string) rest.ResponseWrapper

func (*FakeServiceInterface) ProxyGetArgsForCall

func (fake *FakeServiceInterface) ProxyGetArgsForCall(i int) (string, string, string, string, map[string]string)

func (*FakeServiceInterface) ProxyGetCallCount

func (fake *FakeServiceInterface) ProxyGetCallCount() int

func (*FakeServiceInterface) ProxyGetCalls

func (fake *FakeServiceInterface) ProxyGetCalls(stub func(string, string, string, string, map[string]string) rest.ResponseWrapper)

func (*FakeServiceInterface) ProxyGetReturns

func (fake *FakeServiceInterface) ProxyGetReturns(result1 rest.ResponseWrapper)

func (*FakeServiceInterface) ProxyGetReturnsOnCall

func (fake *FakeServiceInterface) ProxyGetReturnsOnCall(i int, result1 rest.ResponseWrapper)

func (*FakeServiceInterface) Update

func (fake *FakeServiceInterface) Update(arg1 context.Context, arg2 *v1a.Service, arg3 v1c.UpdateOptions) (*v1a.Service, error)

func (*FakeServiceInterface) UpdateArgsForCall

func (fake *FakeServiceInterface) UpdateArgsForCall(i int) (context.Context, *v1a.Service, v1c.UpdateOptions)

func (*FakeServiceInterface) UpdateCallCount

func (fake *FakeServiceInterface) UpdateCallCount() int

func (*FakeServiceInterface) UpdateCalls

func (fake *FakeServiceInterface) UpdateCalls(stub func(context.Context, *v1a.Service, v1c.UpdateOptions) (*v1a.Service, error))

func (*FakeServiceInterface) UpdateReturns

func (fake *FakeServiceInterface) UpdateReturns(result1 *v1a.Service, result2 error)

func (*FakeServiceInterface) UpdateReturnsOnCall

func (fake *FakeServiceInterface) UpdateReturnsOnCall(i int, result1 *v1a.Service, result2 error)

func (*FakeServiceInterface) UpdateStatus

func (fake *FakeServiceInterface) UpdateStatus(arg1 context.Context, arg2 *v1a.Service, arg3 v1c.UpdateOptions) (*v1a.Service, error)

func (*FakeServiceInterface) UpdateStatusArgsForCall

func (fake *FakeServiceInterface) UpdateStatusArgsForCall(i int) (context.Context, *v1a.Service, v1c.UpdateOptions)

func (*FakeServiceInterface) UpdateStatusCallCount

func (fake *FakeServiceInterface) UpdateStatusCallCount() int

func (*FakeServiceInterface) UpdateStatusCalls

func (fake *FakeServiceInterface) UpdateStatusCalls(stub func(context.Context, *v1a.Service, v1c.UpdateOptions) (*v1a.Service, error))

func (*FakeServiceInterface) UpdateStatusReturns

func (fake *FakeServiceInterface) UpdateStatusReturns(result1 *v1a.Service, result2 error)

func (*FakeServiceInterface) UpdateStatusReturnsOnCall

func (fake *FakeServiceInterface) UpdateStatusReturnsOnCall(i int, result1 *v1a.Service, result2 error)

func (*FakeServiceInterface) Watch

func (*FakeServiceInterface) WatchArgsForCall

func (fake *FakeServiceInterface) WatchArgsForCall(i int) (context.Context, v1c.ListOptions)

func (*FakeServiceInterface) WatchCallCount

func (fake *FakeServiceInterface) WatchCallCount() int

func (*FakeServiceInterface) WatchCalls

func (fake *FakeServiceInterface) WatchCalls(stub func(context.Context, v1c.ListOptions) (watch.Interface, error))

func (*FakeServiceInterface) WatchReturns

func (fake *FakeServiceInterface) WatchReturns(result1 watch.Interface, result2 error)

func (*FakeServiceInterface) WatchReturnsOnCall

func (fake *FakeServiceInterface) WatchReturnsOnCall(i int, result1 watch.Interface, result2 error)

Jump to

Keyboard shortcuts

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