mocks

package
v0.0.0-...-cf21e3d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	MockFunction func() error
	MockSecret   *kcorev1.Secret
}

func (MockClient) Create

func (MockClient) Delete

func (MockClient) DeleteAllOf

func (m MockClient) DeleteAllOf(ctx context.Context, obj kpkgclient.Object, opts ...kpkgclient.DeleteAllOfOption) error

func (MockClient) Get

func (MockClient) GroupVersionKindFor

func (m MockClient) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error)

func (MockClient) IsObjectNamespaced

func (m MockClient) IsObjectNamespaced(obj runtime.Object) (bool, error)

func (MockClient) List

func (MockClient) Patch

func (MockClient) RESTMapper

func (m MockClient) RESTMapper() meta.RESTMapper

func (MockClient) Scheme

func (m MockClient) Scheme() *runtime.Scheme

func (MockClient) Status

func (MockClient) SubResource

func (m MockClient) SubResource(subResource string) kpkgclient.SubResourceClient

func (MockClient) Update

Jump to

Keyboard shortcuts

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