applysetinstaller

package
v5.8.2 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCustomResourceDefinitionInterface

type MockCustomResourceDefinitionInterface struct {
	mock.Mock
}

MockCustomResourceDefinitionInterface is an autogenerated mock type for the CustomResourceDefinitionInterface type

func NewMockCustomResourceDefinitionInterface

func NewMockCustomResourceDefinitionInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockCustomResourceDefinitionInterface

NewMockCustomResourceDefinitionInterface creates a new instance of MockCustomResourceDefinitionInterface. 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 (*MockCustomResourceDefinitionInterface) Apply

func (_mock *MockCustomResourceDefinitionInterface) Apply(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinitionApplyConfiguration, opts v10.ApplyOptions) (*v11.CustomResourceDefinition, error)

Apply provides a mock function for the type MockCustomResourceDefinitionInterface

func (*MockCustomResourceDefinitionInterface) ApplyStatus

func (_mock *MockCustomResourceDefinitionInterface) ApplyStatus(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinitionApplyConfiguration, opts v10.ApplyOptions) (*v11.CustomResourceDefinition, error)

ApplyStatus provides a mock function for the type MockCustomResourceDefinitionInterface

func (*MockCustomResourceDefinitionInterface) Create

Create provides a mock function for the type MockCustomResourceDefinitionInterface

func (*MockCustomResourceDefinitionInterface) Delete

Delete provides a mock function for the type MockCustomResourceDefinitionInterface

func (*MockCustomResourceDefinitionInterface) DeleteCollection

func (_mock *MockCustomResourceDefinitionInterface) DeleteCollection(ctx context.Context, opts v10.DeleteOptions, listOpts v10.ListOptions) error

DeleteCollection provides a mock function for the type MockCustomResourceDefinitionInterface

func (*MockCustomResourceDefinitionInterface) EXPECT

func (*MockCustomResourceDefinitionInterface) Get

Get provides a mock function for the type MockCustomResourceDefinitionInterface

func (*MockCustomResourceDefinitionInterface) List

List provides a mock function for the type MockCustomResourceDefinitionInterface

func (*MockCustomResourceDefinitionInterface) Patch

Patch provides a mock function for the type MockCustomResourceDefinitionInterface

func (*MockCustomResourceDefinitionInterface) Update

Update provides a mock function for the type MockCustomResourceDefinitionInterface

func (*MockCustomResourceDefinitionInterface) UpdateStatus

UpdateStatus provides a mock function for the type MockCustomResourceDefinitionInterface

func (*MockCustomResourceDefinitionInterface) Watch

Watch provides a mock function for the type MockCustomResourceDefinitionInterface

type MockCustomResourceDefinitionInterface_ApplyStatus_Call

type MockCustomResourceDefinitionInterface_ApplyStatus_Call struct {
	*mock.Call
}

MockCustomResourceDefinitionInterface_ApplyStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplyStatus'

func (*MockCustomResourceDefinitionInterface_ApplyStatus_Call) Return

func (*MockCustomResourceDefinitionInterface_ApplyStatus_Call) Run

func (_c *MockCustomResourceDefinitionInterface_ApplyStatus_Call) Run(run func(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinitionApplyConfiguration, opts v10.ApplyOptions)) *MockCustomResourceDefinitionInterface_ApplyStatus_Call

func (*MockCustomResourceDefinitionInterface_ApplyStatus_Call) RunAndReturn

func (_c *MockCustomResourceDefinitionInterface_ApplyStatus_Call) RunAndReturn(run func(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinitionApplyConfiguration, opts v10.ApplyOptions) (*v11.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterface_ApplyStatus_Call

type MockCustomResourceDefinitionInterface_Apply_Call

type MockCustomResourceDefinitionInterface_Apply_Call struct {
	*mock.Call
}

MockCustomResourceDefinitionInterface_Apply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Apply'

func (*MockCustomResourceDefinitionInterface_Apply_Call) Return

func (*MockCustomResourceDefinitionInterface_Apply_Call) Run

func (_c *MockCustomResourceDefinitionInterface_Apply_Call) Run(run func(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinitionApplyConfiguration, opts v10.ApplyOptions)) *MockCustomResourceDefinitionInterface_Apply_Call

func (*MockCustomResourceDefinitionInterface_Apply_Call) RunAndReturn

func (_c *MockCustomResourceDefinitionInterface_Apply_Call) RunAndReturn(run func(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinitionApplyConfiguration, opts v10.ApplyOptions) (*v11.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterface_Apply_Call

type MockCustomResourceDefinitionInterface_Create_Call

type MockCustomResourceDefinitionInterface_Create_Call struct {
	*mock.Call
}

MockCustomResourceDefinitionInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'

func (*MockCustomResourceDefinitionInterface_Create_Call) Return

func (*MockCustomResourceDefinitionInterface_Create_Call) Run

func (*MockCustomResourceDefinitionInterface_Create_Call) RunAndReturn

type MockCustomResourceDefinitionInterface_DeleteCollection_Call

type MockCustomResourceDefinitionInterface_DeleteCollection_Call struct {
	*mock.Call
}

MockCustomResourceDefinitionInterface_DeleteCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCollection'

func (*MockCustomResourceDefinitionInterface_DeleteCollection_Call) Return

func (*MockCustomResourceDefinitionInterface_DeleteCollection_Call) Run

func (*MockCustomResourceDefinitionInterface_DeleteCollection_Call) RunAndReturn

type MockCustomResourceDefinitionInterface_Delete_Call

type MockCustomResourceDefinitionInterface_Delete_Call struct {
	*mock.Call
}

MockCustomResourceDefinitionInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'

func (*MockCustomResourceDefinitionInterface_Delete_Call) Return

func (*MockCustomResourceDefinitionInterface_Delete_Call) Run

func (*MockCustomResourceDefinitionInterface_Delete_Call) RunAndReturn

type MockCustomResourceDefinitionInterface_Expecter

type MockCustomResourceDefinitionInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockCustomResourceDefinitionInterface_Expecter) Apply

func (_e *MockCustomResourceDefinitionInterface_Expecter) Apply(ctx interface{}, customResourceDefinition interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_Apply_Call

Apply is a helper method to define mock.On call

  • ctx context.Context
  • customResourceDefinition *v1.CustomResourceDefinitionApplyConfiguration
  • opts v10.ApplyOptions

func (*MockCustomResourceDefinitionInterface_Expecter) ApplyStatus

func (_e *MockCustomResourceDefinitionInterface_Expecter) ApplyStatus(ctx interface{}, customResourceDefinition interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_ApplyStatus_Call

ApplyStatus is a helper method to define mock.On call

  • ctx context.Context
  • customResourceDefinition *v1.CustomResourceDefinitionApplyConfiguration
  • opts v10.ApplyOptions

func (*MockCustomResourceDefinitionInterface_Expecter) Create

func (_e *MockCustomResourceDefinitionInterface_Expecter) Create(ctx interface{}, customResourceDefinition interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • customResourceDefinition *v11.CustomResourceDefinition
  • opts v10.CreateOptions

func (*MockCustomResourceDefinitionInterface_Expecter) Delete

func (_e *MockCustomResourceDefinitionInterface_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • opts v10.DeleteOptions

func (*MockCustomResourceDefinitionInterface_Expecter) DeleteCollection

func (_e *MockCustomResourceDefinitionInterface_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *MockCustomResourceDefinitionInterface_DeleteCollection_Call

DeleteCollection is a helper method to define mock.On call

  • ctx context.Context
  • opts v10.DeleteOptions
  • listOpts v10.ListOptions

func (*MockCustomResourceDefinitionInterface_Expecter) Get

func (_e *MockCustomResourceDefinitionInterface_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • opts v10.GetOptions

func (*MockCustomResourceDefinitionInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context
  • opts v10.ListOptions

func (*MockCustomResourceDefinitionInterface_Expecter) Patch

func (_e *MockCustomResourceDefinitionInterface_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, opts interface{}, subresources ...interface{}) *MockCustomResourceDefinitionInterface_Patch_Call

Patch is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • pt types.PatchType
  • data []byte
  • opts v10.PatchOptions
  • subresources ...string

func (*MockCustomResourceDefinitionInterface_Expecter) Update

func (_e *MockCustomResourceDefinitionInterface_Expecter) Update(ctx interface{}, customResourceDefinition interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • customResourceDefinition *v11.CustomResourceDefinition
  • opts v10.UpdateOptions

func (*MockCustomResourceDefinitionInterface_Expecter) UpdateStatus

func (_e *MockCustomResourceDefinitionInterface_Expecter) UpdateStatus(ctx interface{}, customResourceDefinition interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_UpdateStatus_Call

UpdateStatus is a helper method to define mock.On call

  • ctx context.Context
  • customResourceDefinition *v11.CustomResourceDefinition
  • opts v10.UpdateOptions

func (*MockCustomResourceDefinitionInterface_Expecter) Watch

Watch is a helper method to define mock.On call

  • ctx context.Context
  • opts v10.ListOptions

type MockCustomResourceDefinitionInterface_Get_Call

type MockCustomResourceDefinitionInterface_Get_Call struct {
	*mock.Call
}

MockCustomResourceDefinitionInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*MockCustomResourceDefinitionInterface_Get_Call) Return

func (*MockCustomResourceDefinitionInterface_Get_Call) Run

func (*MockCustomResourceDefinitionInterface_Get_Call) RunAndReturn

type MockCustomResourceDefinitionInterface_List_Call

type MockCustomResourceDefinitionInterface_List_Call struct {
	*mock.Call
}

MockCustomResourceDefinitionInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'

func (*MockCustomResourceDefinitionInterface_List_Call) Return

func (*MockCustomResourceDefinitionInterface_List_Call) Run

func (*MockCustomResourceDefinitionInterface_List_Call) RunAndReturn

type MockCustomResourceDefinitionInterface_Patch_Call

type MockCustomResourceDefinitionInterface_Patch_Call struct {
	*mock.Call
}

MockCustomResourceDefinitionInterface_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'

func (*MockCustomResourceDefinitionInterface_Patch_Call) Return

func (*MockCustomResourceDefinitionInterface_Patch_Call) Run

func (*MockCustomResourceDefinitionInterface_Patch_Call) RunAndReturn

type MockCustomResourceDefinitionInterface_UpdateStatus_Call

type MockCustomResourceDefinitionInterface_UpdateStatus_Call struct {
	*mock.Call
}

MockCustomResourceDefinitionInterface_UpdateStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStatus'

func (*MockCustomResourceDefinitionInterface_UpdateStatus_Call) Return

func (*MockCustomResourceDefinitionInterface_UpdateStatus_Call) Run

func (*MockCustomResourceDefinitionInterface_UpdateStatus_Call) RunAndReturn

type MockCustomResourceDefinitionInterface_Update_Call

type MockCustomResourceDefinitionInterface_Update_Call struct {
	*mock.Call
}

MockCustomResourceDefinitionInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'

func (*MockCustomResourceDefinitionInterface_Update_Call) Return

func (*MockCustomResourceDefinitionInterface_Update_Call) Run

func (*MockCustomResourceDefinitionInterface_Update_Call) RunAndReturn

type MockCustomResourceDefinitionInterface_Watch_Call

type MockCustomResourceDefinitionInterface_Watch_Call struct {
	*mock.Call
}

MockCustomResourceDefinitionInterface_Watch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Watch'

func (*MockCustomResourceDefinitionInterface_Watch_Call) Return

func (*MockCustomResourceDefinitionInterface_Watch_Call) Run

func (*MockCustomResourceDefinitionInterface_Watch_Call) RunAndReturn

type MockResourceInterface

type MockResourceInterface struct {
	mock.Mock
}

MockResourceInterface is an autogenerated mock type for the ResourceInterface type

func NewMockResourceInterface

func NewMockResourceInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockResourceInterface

NewMockResourceInterface creates a new instance of MockResourceInterface. 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 (*MockResourceInterface) Apply

func (_mock *MockResourceInterface) Apply(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions, subresources ...string) (*unstructured.Unstructured, error)

Apply provides a mock function for the type MockResourceInterface

func (*MockResourceInterface) ApplyStatus

func (_mock *MockResourceInterface) ApplyStatus(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions) (*unstructured.Unstructured, error)

ApplyStatus provides a mock function for the type MockResourceInterface

func (*MockResourceInterface) Create

func (_mock *MockResourceInterface) Create(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, subresources ...string) (*unstructured.Unstructured, error)

Create provides a mock function for the type MockResourceInterface

func (*MockResourceInterface) Delete

func (_mock *MockResourceInterface) Delete(ctx context.Context, name string, options v1.DeleteOptions, subresources ...string) error

Delete provides a mock function for the type MockResourceInterface

func (*MockResourceInterface) DeleteCollection

func (_mock *MockResourceInterface) DeleteCollection(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection provides a mock function for the type MockResourceInterface

func (*MockResourceInterface) EXPECT

func (*MockResourceInterface) Get

func (_mock *MockResourceInterface) Get(ctx context.Context, name string, options v1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)

Get provides a mock function for the type MockResourceInterface

func (*MockResourceInterface) List

func (_mock *MockResourceInterface) List(ctx context.Context, opts v1.ListOptions) (*unstructured.UnstructuredList, error)

List provides a mock function for the type MockResourceInterface

func (*MockResourceInterface) Patch

func (_mock *MockResourceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, options v1.PatchOptions, subresources ...string) (*unstructured.Unstructured, error)

Patch provides a mock function for the type MockResourceInterface

func (*MockResourceInterface) Update

func (_mock *MockResourceInterface) Update(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, subresources ...string) (*unstructured.Unstructured, error)

Update provides a mock function for the type MockResourceInterface

func (*MockResourceInterface) UpdateStatus

func (_mock *MockResourceInterface) UpdateStatus(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions) (*unstructured.Unstructured, error)

UpdateStatus provides a mock function for the type MockResourceInterface

func (*MockResourceInterface) Watch

func (_mock *MockResourceInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch provides a mock function for the type MockResourceInterface

type MockResourceInterface_ApplyStatus_Call

type MockResourceInterface_ApplyStatus_Call struct {
	*mock.Call
}

MockResourceInterface_ApplyStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplyStatus'

func (*MockResourceInterface_ApplyStatus_Call) Return

func (*MockResourceInterface_ApplyStatus_Call) Run

func (*MockResourceInterface_ApplyStatus_Call) RunAndReturn

type MockResourceInterface_Apply_Call

type MockResourceInterface_Apply_Call struct {
	*mock.Call
}

MockResourceInterface_Apply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Apply'

func (*MockResourceInterface_Apply_Call) Return

func (*MockResourceInterface_Apply_Call) Run

func (_c *MockResourceInterface_Apply_Call) Run(run func(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions, subresources ...string)) *MockResourceInterface_Apply_Call

func (*MockResourceInterface_Apply_Call) RunAndReturn

func (_c *MockResourceInterface_Apply_Call) RunAndReturn(run func(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions, subresources ...string) (*unstructured.Unstructured, error)) *MockResourceInterface_Apply_Call

type MockResourceInterface_Create_Call

type MockResourceInterface_Create_Call struct {
	*mock.Call
}

MockResourceInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'

func (*MockResourceInterface_Create_Call) Return

func (*MockResourceInterface_Create_Call) Run

func (_c *MockResourceInterface_Create_Call) Run(run func(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, subresources ...string)) *MockResourceInterface_Create_Call

func (*MockResourceInterface_Create_Call) RunAndReturn

func (_c *MockResourceInterface_Create_Call) RunAndReturn(run func(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, subresources ...string) (*unstructured.Unstructured, error)) *MockResourceInterface_Create_Call

type MockResourceInterface_DeleteCollection_Call

type MockResourceInterface_DeleteCollection_Call struct {
	*mock.Call
}

MockResourceInterface_DeleteCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCollection'

func (*MockResourceInterface_DeleteCollection_Call) Return

func (*MockResourceInterface_DeleteCollection_Call) Run

func (_c *MockResourceInterface_DeleteCollection_Call) Run(run func(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions)) *MockResourceInterface_DeleteCollection_Call

func (*MockResourceInterface_DeleteCollection_Call) RunAndReturn

func (_c *MockResourceInterface_DeleteCollection_Call) RunAndReturn(run func(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error) *MockResourceInterface_DeleteCollection_Call

type MockResourceInterface_Delete_Call

type MockResourceInterface_Delete_Call struct {
	*mock.Call
}

MockResourceInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'

func (*MockResourceInterface_Delete_Call) Return

func (*MockResourceInterface_Delete_Call) Run

func (_c *MockResourceInterface_Delete_Call) Run(run func(ctx context.Context, name string, options v1.DeleteOptions, subresources ...string)) *MockResourceInterface_Delete_Call

func (*MockResourceInterface_Delete_Call) RunAndReturn

func (_c *MockResourceInterface_Delete_Call) RunAndReturn(run func(ctx context.Context, name string, options v1.DeleteOptions, subresources ...string) error) *MockResourceInterface_Delete_Call

type MockResourceInterface_Expecter

type MockResourceInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockResourceInterface_Expecter) Apply

func (_e *MockResourceInterface_Expecter) Apply(ctx interface{}, name interface{}, obj interface{}, options interface{}, subresources ...interface{}) *MockResourceInterface_Apply_Call

Apply is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • obj *unstructured.Unstructured
  • options v1.ApplyOptions
  • subresources ...string

func (*MockResourceInterface_Expecter) ApplyStatus

func (_e *MockResourceInterface_Expecter) ApplyStatus(ctx interface{}, name interface{}, obj interface{}, options interface{}) *MockResourceInterface_ApplyStatus_Call

ApplyStatus is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • obj *unstructured.Unstructured
  • options v1.ApplyOptions

func (*MockResourceInterface_Expecter) Create

func (_e *MockResourceInterface_Expecter) Create(ctx interface{}, obj interface{}, options interface{}, subresources ...interface{}) *MockResourceInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • obj *unstructured.Unstructured
  • options v1.CreateOptions
  • subresources ...string

func (*MockResourceInterface_Expecter) Delete

func (_e *MockResourceInterface_Expecter) Delete(ctx interface{}, name interface{}, options interface{}, subresources ...interface{}) *MockResourceInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • options v1.DeleteOptions
  • subresources ...string

func (*MockResourceInterface_Expecter) DeleteCollection

func (_e *MockResourceInterface_Expecter) DeleteCollection(ctx interface{}, options interface{}, listOptions interface{}) *MockResourceInterface_DeleteCollection_Call

DeleteCollection is a helper method to define mock.On call

  • ctx context.Context
  • options v1.DeleteOptions
  • listOptions v1.ListOptions

func (*MockResourceInterface_Expecter) Get

func (_e *MockResourceInterface_Expecter) Get(ctx interface{}, name interface{}, options interface{}, subresources ...interface{}) *MockResourceInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • options v1.GetOptions
  • subresources ...string

func (*MockResourceInterface_Expecter) List

func (_e *MockResourceInterface_Expecter) List(ctx interface{}, opts interface{}) *MockResourceInterface_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • opts v1.ListOptions

func (*MockResourceInterface_Expecter) Patch

func (_e *MockResourceInterface_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, options interface{}, subresources ...interface{}) *MockResourceInterface_Patch_Call

Patch is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • pt types.PatchType
  • data []byte
  • options v1.PatchOptions
  • subresources ...string

func (*MockResourceInterface_Expecter) Update

func (_e *MockResourceInterface_Expecter) Update(ctx interface{}, obj interface{}, options interface{}, subresources ...interface{}) *MockResourceInterface_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • obj *unstructured.Unstructured
  • options v1.UpdateOptions
  • subresources ...string

func (*MockResourceInterface_Expecter) UpdateStatus

func (_e *MockResourceInterface_Expecter) UpdateStatus(ctx interface{}, obj interface{}, options interface{}) *MockResourceInterface_UpdateStatus_Call

UpdateStatus is a helper method to define mock.On call

  • ctx context.Context
  • obj *unstructured.Unstructured
  • options v1.UpdateOptions

func (*MockResourceInterface_Expecter) Watch

func (_e *MockResourceInterface_Expecter) Watch(ctx interface{}, opts interface{}) *MockResourceInterface_Watch_Call

Watch is a helper method to define mock.On call

  • ctx context.Context
  • opts v1.ListOptions

type MockResourceInterface_Get_Call

type MockResourceInterface_Get_Call struct {
	*mock.Call
}

MockResourceInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*MockResourceInterface_Get_Call) Return

func (*MockResourceInterface_Get_Call) Run

func (_c *MockResourceInterface_Get_Call) Run(run func(ctx context.Context, name string, options v1.GetOptions, subresources ...string)) *MockResourceInterface_Get_Call

func (*MockResourceInterface_Get_Call) RunAndReturn

func (_c *MockResourceInterface_Get_Call) RunAndReturn(run func(ctx context.Context, name string, options v1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)) *MockResourceInterface_Get_Call

type MockResourceInterface_List_Call

type MockResourceInterface_List_Call struct {
	*mock.Call
}

MockResourceInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'

func (*MockResourceInterface_List_Call) Return

func (*MockResourceInterface_List_Call) Run

func (_c *MockResourceInterface_List_Call) Run(run func(ctx context.Context, opts v1.ListOptions)) *MockResourceInterface_List_Call

func (*MockResourceInterface_List_Call) RunAndReturn

func (_c *MockResourceInterface_List_Call) RunAndReturn(run func(ctx context.Context, opts v1.ListOptions) (*unstructured.UnstructuredList, error)) *MockResourceInterface_List_Call

type MockResourceInterface_Patch_Call

type MockResourceInterface_Patch_Call struct {
	*mock.Call
}

MockResourceInterface_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'

func (*MockResourceInterface_Patch_Call) Return

func (*MockResourceInterface_Patch_Call) Run

func (_c *MockResourceInterface_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, options v1.PatchOptions, subresources ...string)) *MockResourceInterface_Patch_Call

func (*MockResourceInterface_Patch_Call) RunAndReturn

func (_c *MockResourceInterface_Patch_Call) RunAndReturn(run func(ctx context.Context, name string, pt types.PatchType, data []byte, options v1.PatchOptions, subresources ...string) (*unstructured.Unstructured, error)) *MockResourceInterface_Patch_Call

type MockResourceInterface_UpdateStatus_Call

type MockResourceInterface_UpdateStatus_Call struct {
	*mock.Call
}

MockResourceInterface_UpdateStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStatus'

func (*MockResourceInterface_UpdateStatus_Call) Return

func (*MockResourceInterface_UpdateStatus_Call) Run

func (*MockResourceInterface_UpdateStatus_Call) RunAndReturn

type MockResourceInterface_Update_Call

type MockResourceInterface_Update_Call struct {
	*mock.Call
}

MockResourceInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'

func (*MockResourceInterface_Update_Call) Return

func (*MockResourceInterface_Update_Call) Run

func (_c *MockResourceInterface_Update_Call) Run(run func(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, subresources ...string)) *MockResourceInterface_Update_Call

func (*MockResourceInterface_Update_Call) RunAndReturn

func (_c *MockResourceInterface_Update_Call) RunAndReturn(run func(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, subresources ...string) (*unstructured.Unstructured, error)) *MockResourceInterface_Update_Call

type MockResourceInterface_Watch_Call

type MockResourceInterface_Watch_Call struct {
	*mock.Call
}

MockResourceInterface_Watch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Watch'

func (*MockResourceInterface_Watch_Call) Return

func (*MockResourceInterface_Watch_Call) Run

func (_c *MockResourceInterface_Watch_Call) Run(run func(ctx context.Context, opts v1.ListOptions)) *MockResourceInterface_Watch_Call

func (*MockResourceInterface_Watch_Call) RunAndReturn

func (_c *MockResourceInterface_Watch_Call) RunAndReturn(run func(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)) *MockResourceInterface_Watch_Call

Jump to

Keyboard shortcuts

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