mocks

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) GetNetworkAttachmentDefinition

func (_m *Client) GetNetworkAttachmentDefinition(namespace string, name string) (*v1.NetworkAttachmentDefinition, error)

GetNetworkAttachmentDefinition provides a mock function with given fields: namespace, name

func (*Client) GetPods

func (_m *Client) GetPods(namespace string) (*corev1.PodList, error)

GetPods provides a mock function with given fields: namespace

func (*Client) GetRestClient

func (_m *Client) GetRestClient() rest.Interface

GetRestClient provides a mock function with given fields:

func (*Client) PatchPod

func (_m *Client) PatchPod(pod *corev1.Pod, patchType types.PatchType, patchData []byte) error

PatchPod provides a mock function with given fields: pod, patchType, patchData

func (*Client) SetAnnotationsOnPod

func (_m *Client) SetAnnotationsOnPod(pod *corev1.Pod, annotations map[string]string) error

SetAnnotationsOnPod provides a mock function with given fields: pod, annotations

Jump to

Keyboard shortcuts

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