mocks

package
v0.0.0-...-f852ded Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.1 DO NOT EDIT.

Code generated by mockery v1.0.1 DO NOT EDIT.

Code generated by mockery v1.0.1 DO NOT EDIT.

Code generated by mockery v1.0.1 DO NOT EDIT.

Code generated by mockery v1.0.1 DO NOT EDIT.

Code generated by mockery v1.0.1 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMapInterface

type ConfigMapInterface struct {
	mock.Mock
}

ConfigMapInterface is an autogenerated mock type for the ConfigMapInterface type

func (*ConfigMapInterface) Create

func (_m *ConfigMapInterface) Create(_a0 *v1.ConfigMap) (*v1.ConfigMap, error)

Create provides a mock function with given fields: _a0

func (*ConfigMapInterface) Delete

func (_m *ConfigMapInterface) Delete(name string, options *metav1.DeleteOptions) error

Delete provides a mock function with given fields: name, options

func (*ConfigMapInterface) DeleteCollection

func (_m *ConfigMapInterface) DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error

DeleteCollection provides a mock function with given fields: options, listOptions

func (*ConfigMapInterface) Get

func (_m *ConfigMapInterface) Get(name string, options metav1.GetOptions) (*v1.ConfigMap, error)

Get provides a mock function with given fields: name, options

func (*ConfigMapInterface) List

List provides a mock function with given fields: opts

func (*ConfigMapInterface) Patch

func (_m *ConfigMapInterface) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*v1.ConfigMap, error)

Patch provides a mock function with given fields: name, pt, data, subresources

func (*ConfigMapInterface) Update

func (_m *ConfigMapInterface) Update(_a0 *v1.ConfigMap) (*v1.ConfigMap, error)

Update provides a mock function with given fields: _a0

func (*ConfigMapInterface) Watch

Watch provides a mock function with given fields: opts

type DeploymentInterface

type DeploymentInterface struct {
	mock.Mock
}

DeploymentInterface is an autogenerated mock type for the DeploymentInterface type

func (*DeploymentInterface) Create

func (_m *DeploymentInterface) Create(_a0 *v1.Deployment) (*v1.Deployment, error)

Create provides a mock function with given fields: _a0

func (*DeploymentInterface) Delete

func (_m *DeploymentInterface) Delete(name string, options *metav1.DeleteOptions) error

Delete provides a mock function with given fields: name, options

func (*DeploymentInterface) DeleteCollection

func (_m *DeploymentInterface) DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error

DeleteCollection provides a mock function with given fields: options, listOptions

func (*DeploymentInterface) Get

func (_m *DeploymentInterface) Get(name string, options metav1.GetOptions) (*v1.Deployment, error)

Get provides a mock function with given fields: name, options

func (*DeploymentInterface) List

List provides a mock function with given fields: opts

func (*DeploymentInterface) Patch

func (_m *DeploymentInterface) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*v1.Deployment, error)

Patch provides a mock function with given fields: name, pt, data, subresources

func (*DeploymentInterface) Update

func (_m *DeploymentInterface) Update(_a0 *v1.Deployment) (*v1.Deployment, error)

Update provides a mock function with given fields: _a0

func (*DeploymentInterface) UpdateStatus

func (_m *DeploymentInterface) UpdateStatus(_a0 *v1.Deployment) (*v1.Deployment, error)

UpdateStatus provides a mock function with given fields: _a0

func (*DeploymentInterface) Watch

Watch provides a mock function with given fields: opts

type NodeInterface

type NodeInterface struct {
	mock.Mock
}

NodeInterface is an autogenerated mock type for the NodeInterface type

func (*NodeInterface) Create

func (_m *NodeInterface) Create(_a0 *v1.Node) (*v1.Node, error)

Create provides a mock function with given fields: _a0

func (*NodeInterface) Delete

func (_m *NodeInterface) Delete(name string, options *metav1.DeleteOptions) error

Delete provides a mock function with given fields: name, options

func (*NodeInterface) DeleteCollection

func (_m *NodeInterface) DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error

DeleteCollection provides a mock function with given fields: options, listOptions

func (*NodeInterface) Get

func (_m *NodeInterface) Get(name string, options metav1.GetOptions) (*v1.Node, error)

Get provides a mock function with given fields: name, options

func (*NodeInterface) List

func (_m *NodeInterface) List(opts metav1.ListOptions) (*v1.NodeList, error)

List provides a mock function with given fields: opts

func (*NodeInterface) Patch

func (_m *NodeInterface) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*v1.Node, error)

Patch provides a mock function with given fields: name, pt, data, subresources

func (*NodeInterface) PatchStatus

func (_m *NodeInterface) PatchStatus(nodeName string, data []byte) (*v1.Node, error)

PatchStatus provides a mock function with given fields: nodeName, data

func (*NodeInterface) Update

func (_m *NodeInterface) Update(_a0 *v1.Node) (*v1.Node, error)

Update provides a mock function with given fields: _a0

func (*NodeInterface) UpdateStatus

func (_m *NodeInterface) UpdateStatus(_a0 *v1.Node) (*v1.Node, error)

UpdateStatus provides a mock function with given fields: _a0

func (*NodeInterface) Watch

func (_m *NodeInterface) Watch(opts metav1.ListOptions) (watch.Interface, error)

Watch provides a mock function with given fields: opts

type PodInterface

type PodInterface struct {
	mock.Mock
}

PodInterface is an autogenerated mock type for the PodInterface type

func (*PodInterface) Bind

func (_m *PodInterface) Bind(binding *v1.Binding) error

Bind provides a mock function with given fields: binding

func (*PodInterface) Create

func (_m *PodInterface) Create(_a0 *v1.Pod) (*v1.Pod, error)

Create provides a mock function with given fields: _a0

func (*PodInterface) Delete

func (_m *PodInterface) Delete(name string, options *metav1.DeleteOptions) error

Delete provides a mock function with given fields: name, options

func (*PodInterface) DeleteCollection

func (_m *PodInterface) DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error

DeleteCollection provides a mock function with given fields: options, listOptions

func (*PodInterface) Evict

func (_m *PodInterface) Evict(eviction *v1beta1.Eviction) error

Evict provides a mock function with given fields: eviction

func (*PodInterface) Get

func (_m *PodInterface) Get(name string, options metav1.GetOptions) (*v1.Pod, error)

Get provides a mock function with given fields: name, options

func (*PodInterface) GetLogs

func (_m *PodInterface) GetLogs(name string, opts *v1.PodLogOptions) *rest.Request

GetLogs provides a mock function with given fields: name, opts

func (*PodInterface) List

func (_m *PodInterface) List(opts metav1.ListOptions) (*v1.PodList, error)

List provides a mock function with given fields: opts

func (*PodInterface) Patch

func (_m *PodInterface) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*v1.Pod, error)

Patch provides a mock function with given fields: name, pt, data, subresources

func (*PodInterface) Update

func (_m *PodInterface) Update(_a0 *v1.Pod) (*v1.Pod, error)

Update provides a mock function with given fields: _a0

func (*PodInterface) UpdateStatus

func (_m *PodInterface) UpdateStatus(_a0 *v1.Pod) (*v1.Pod, error)

UpdateStatus provides a mock function with given fields: _a0

func (*PodInterface) Watch

func (_m *PodInterface) Watch(opts metav1.ListOptions) (watch.Interface, error)

Watch provides a mock function with given fields: opts

type SecretClient

type SecretClient struct {
	mock.Mock
}

SecretClient is an autogenerated mock type for the SecretClient type

func (*SecretClient) Exists

func (_m *SecretClient) Exists(name string) bool

Exists provides a mock function with given fields: name

func (*SecretClient) Get

func (_m *SecretClient) Get(name string) (string, error)

Get provides a mock function with given fields: name

func (*SecretClient) Set

func (_m *SecretClient) Set(name string, val string) error

Set provides a mock function with given fields: name, val

type SecretInterface

type SecretInterface struct {
	mock.Mock
}

SecretInterface is an autogenerated mock type for the SecretInterface type

func (*SecretInterface) Create

func (_m *SecretInterface) Create(_a0 *v1.Secret) (*v1.Secret, error)

Create provides a mock function with given fields: _a0

func (*SecretInterface) Delete

func (_m *SecretInterface) Delete(name string, options *metav1.DeleteOptions) error

Delete provides a mock function with given fields: name, options

func (*SecretInterface) DeleteCollection

func (_m *SecretInterface) DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error

DeleteCollection provides a mock function with given fields: options, listOptions

func (*SecretInterface) Get

func (_m *SecretInterface) Get(name string, options metav1.GetOptions) (*v1.Secret, error)

Get provides a mock function with given fields: name, options

func (*SecretInterface) List

func (_m *SecretInterface) List(opts metav1.ListOptions) (*v1.SecretList, error)

List provides a mock function with given fields: opts

func (*SecretInterface) Patch

func (_m *SecretInterface) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*v1.Secret, error)

Patch provides a mock function with given fields: name, pt, data, subresources

func (*SecretInterface) Update

func (_m *SecretInterface) Update(_a0 *v1.Secret) (*v1.Secret, error)

Update provides a mock function with given fields: _a0

func (*SecretInterface) Watch

Watch provides a mock function with given fields: opts

Jump to

Keyboard shortcuts

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