vendor_mocks

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2019 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientConfig added in v0.2.0

type ClientConfig struct {
	mock.Mock
}

ClientConfig is an autogenerated mock type for the ClientConfig type

func (*ClientConfig) ClientConfig added in v0.2.0

func (_m *ClientConfig) ClientConfig() (*rest.Config, error)

ClientConfig provides a mock function with given fields:

func (*ClientConfig) ConfigAccess added in v0.2.0

func (_m *ClientConfig) ConfigAccess() clientcmd.ConfigAccess

ConfigAccess provides a mock function with given fields:

func (*ClientConfig) Namespace added in v0.2.0

func (_m *ClientConfig) Namespace() (string, bool, error)

Namespace provides a mock function with given fields:

func (*ClientConfig) RawConfig added in v0.2.0

func (_m *ClientConfig) RawConfig() (api.Config, error)

RawConfig provides a mock function with given fields:

type ConfigMapInterface added in v0.3.0

type ConfigMapInterface struct {
	mock.Mock
}

ConfigMapInterface is an autogenerated mock type for the ConfigMapInterface type

func (*ConfigMapInterface) Create added in v0.3.0

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

Create provides a mock function with given fields: _a0

func (*ConfigMapInterface) Delete added in v0.3.0

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

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

func (*ConfigMapInterface) DeleteCollection added in v0.3.0

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

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

func (*ConfigMapInterface) Get added in v0.3.0

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 added in v0.3.0

List provides a mock function with given fields: opts

func (*ConfigMapInterface) Patch added in v0.3.0

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 added in v0.3.0

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

Update provides a mock function with given fields: _a0

func (*ConfigMapInterface) Watch added in v0.3.0

Watch provides a mock function with given fields: opts

type CoreV1Interface

type CoreV1Interface struct {
	mock.Mock
}

CoreV1Interface is an autogenerated mock type for the CoreV1Interface type

func (*CoreV1Interface) ComponentStatuses

func (_m *CoreV1Interface) ComponentStatuses() v1.ComponentStatusInterface

ComponentStatuses provides a mock function with given fields:

func (*CoreV1Interface) ConfigMaps

func (_m *CoreV1Interface) ConfigMaps(namespace string) v1.ConfigMapInterface

ConfigMaps provides a mock function with given fields: namespace

func (*CoreV1Interface) Endpoints

func (_m *CoreV1Interface) Endpoints(namespace string) v1.EndpointsInterface

Endpoints provides a mock function with given fields: namespace

func (*CoreV1Interface) Events

func (_m *CoreV1Interface) Events(namespace string) v1.EventInterface

Events provides a mock function with given fields: namespace

func (*CoreV1Interface) LimitRanges

func (_m *CoreV1Interface) LimitRanges(namespace string) v1.LimitRangeInterface

LimitRanges provides a mock function with given fields: namespace

func (*CoreV1Interface) Namespaces

func (_m *CoreV1Interface) Namespaces() v1.NamespaceInterface

Namespaces provides a mock function with given fields:

func (*CoreV1Interface) Nodes

func (_m *CoreV1Interface) Nodes() v1.NodeInterface

Nodes provides a mock function with given fields:

func (*CoreV1Interface) PersistentVolumeClaims

func (_m *CoreV1Interface) PersistentVolumeClaims(namespace string) v1.PersistentVolumeClaimInterface

PersistentVolumeClaims provides a mock function with given fields: namespace

func (*CoreV1Interface) PersistentVolumes

func (_m *CoreV1Interface) PersistentVolumes() v1.PersistentVolumeInterface

PersistentVolumes provides a mock function with given fields:

func (*CoreV1Interface) PodTemplates

func (_m *CoreV1Interface) PodTemplates(namespace string) v1.PodTemplateInterface

PodTemplates provides a mock function with given fields: namespace

func (*CoreV1Interface) Pods

func (_m *CoreV1Interface) Pods(namespace string) v1.PodInterface

Pods provides a mock function with given fields: namespace

func (*CoreV1Interface) RESTClient

func (_m *CoreV1Interface) RESTClient() rest.Interface

RESTClient provides a mock function with given fields:

func (*CoreV1Interface) ReplicationControllers

func (_m *CoreV1Interface) ReplicationControllers(namespace string) v1.ReplicationControllerInterface

ReplicationControllers provides a mock function with given fields: namespace

func (*CoreV1Interface) ResourceQuotas

func (_m *CoreV1Interface) ResourceQuotas(namespace string) v1.ResourceQuotaInterface

ResourceQuotas provides a mock function with given fields: namespace

func (*CoreV1Interface) Secrets

func (_m *CoreV1Interface) Secrets(namespace string) v1.SecretInterface

Secrets provides a mock function with given fields: namespace

func (*CoreV1Interface) ServiceAccounts

func (_m *CoreV1Interface) ServiceAccounts(namespace string) v1.ServiceAccountInterface

ServiceAccounts provides a mock function with given fields: namespace

func (*CoreV1Interface) Services

func (_m *CoreV1Interface) Services(namespace string) v1.ServiceInterface

Services provides a mock function with given fields: namespace

type Interface

type Interface struct {
	mock.Mock
}

Interface is an autogenerated mock type for the Interface type

func (*Interface) Admissionregistration

func (_m *Interface) Admissionregistration() v1beta1.AdmissionregistrationV1beta1Interface

Admissionregistration provides a mock function with given fields:

func (*Interface) AdmissionregistrationV1alpha1

func (_m *Interface) AdmissionregistrationV1alpha1() v1alpha1.AdmissionregistrationV1alpha1Interface

AdmissionregistrationV1alpha1 provides a mock function with given fields:

func (*Interface) AdmissionregistrationV1beta1

func (_m *Interface) AdmissionregistrationV1beta1() v1beta1.AdmissionregistrationV1beta1Interface

AdmissionregistrationV1beta1 provides a mock function with given fields:

func (*Interface) Apps

func (_m *Interface) Apps() v1.AppsV1Interface

Apps provides a mock function with given fields:

func (*Interface) AppsV1

func (_m *Interface) AppsV1() v1.AppsV1Interface

AppsV1 provides a mock function with given fields:

func (*Interface) AppsV1beta1

func (_m *Interface) AppsV1beta1() appsv1beta1.AppsV1beta1Interface

AppsV1beta1 provides a mock function with given fields:

func (*Interface) AppsV1beta2

func (_m *Interface) AppsV1beta2() v1beta2.AppsV1beta2Interface

AppsV1beta2 provides a mock function with given fields:

func (*Interface) Authentication

Authentication provides a mock function with given fields:

func (*Interface) AuthenticationV1

func (_m *Interface) AuthenticationV1() authenticationv1.AuthenticationV1Interface

AuthenticationV1 provides a mock function with given fields:

func (*Interface) AuthenticationV1beta1

AuthenticationV1beta1 provides a mock function with given fields:

func (*Interface) Authorization

Authorization provides a mock function with given fields:

func (*Interface) AuthorizationV1

func (_m *Interface) AuthorizationV1() authorizationv1.AuthorizationV1Interface

AuthorizationV1 provides a mock function with given fields:

func (*Interface) AuthorizationV1beta1

AuthorizationV1beta1 provides a mock function with given fields:

func (*Interface) Autoscaling

Autoscaling provides a mock function with given fields:

func (*Interface) AutoscalingV1

func (_m *Interface) AutoscalingV1() autoscalingv1.AutoscalingV1Interface

AutoscalingV1 provides a mock function with given fields:

func (*Interface) AutoscalingV2beta1

func (_m *Interface) AutoscalingV2beta1() v2beta1.AutoscalingV2beta1Interface

AutoscalingV2beta1 provides a mock function with given fields:

func (*Interface) Batch

func (_m *Interface) Batch() batchv1.BatchV1Interface

Batch provides a mock function with given fields:

func (*Interface) BatchV1

func (_m *Interface) BatchV1() batchv1.BatchV1Interface

BatchV1 provides a mock function with given fields:

func (*Interface) BatchV1beta1

func (_m *Interface) BatchV1beta1() batchv1beta1.BatchV1beta1Interface

BatchV1beta1 provides a mock function with given fields:

func (*Interface) BatchV2alpha1

func (_m *Interface) BatchV2alpha1() v2alpha1.BatchV2alpha1Interface

BatchV2alpha1 provides a mock function with given fields:

func (*Interface) Certificates

Certificates provides a mock function with given fields:

func (*Interface) CertificatesV1beta1

CertificatesV1beta1 provides a mock function with given fields:

func (*Interface) Core

func (_m *Interface) Core() corev1.CoreV1Interface

Core provides a mock function with given fields:

func (*Interface) CoreV1

func (_m *Interface) CoreV1() corev1.CoreV1Interface

CoreV1 provides a mock function with given fields:

func (*Interface) Discovery

func (_m *Interface) Discovery() discovery.DiscoveryInterface

Discovery provides a mock function with given fields:

func (*Interface) Events

Events provides a mock function with given fields:

func (*Interface) EventsV1beta1

func (_m *Interface) EventsV1beta1() eventsv1beta1.EventsV1beta1Interface

EventsV1beta1 provides a mock function with given fields:

func (*Interface) Extensions

Extensions provides a mock function with given fields:

func (*Interface) ExtensionsV1beta1

func (_m *Interface) ExtensionsV1beta1() extensionsv1beta1.ExtensionsV1beta1Interface

ExtensionsV1beta1 provides a mock function with given fields:

func (*Interface) Networking

func (_m *Interface) Networking() networkingv1.NetworkingV1Interface

Networking provides a mock function with given fields:

func (*Interface) NetworkingV1

func (_m *Interface) NetworkingV1() networkingv1.NetworkingV1Interface

NetworkingV1 provides a mock function with given fields:

func (*Interface) Policy

Policy provides a mock function with given fields:

func (*Interface) PolicyV1beta1

func (_m *Interface) PolicyV1beta1() policyv1beta1.PolicyV1beta1Interface

PolicyV1beta1 provides a mock function with given fields:

func (*Interface) Rbac

func (_m *Interface) Rbac() rbacv1.RbacV1Interface

Rbac provides a mock function with given fields:

func (*Interface) RbacV1

func (_m *Interface) RbacV1() rbacv1.RbacV1Interface

RbacV1 provides a mock function with given fields:

func (*Interface) RbacV1alpha1

func (_m *Interface) RbacV1alpha1() rbacv1alpha1.RbacV1alpha1Interface

RbacV1alpha1 provides a mock function with given fields:

func (*Interface) RbacV1beta1

func (_m *Interface) RbacV1beta1() rbacv1beta1.RbacV1beta1Interface

RbacV1beta1 provides a mock function with given fields:

func (*Interface) Scheduling

Scheduling provides a mock function with given fields:

func (*Interface) SchedulingV1alpha1

func (_m *Interface) SchedulingV1alpha1() schedulingv1alpha1.SchedulingV1alpha1Interface

SchedulingV1alpha1 provides a mock function with given fields:

func (*Interface) SchedulingV1beta1

func (_m *Interface) SchedulingV1beta1() schedulingv1beta1.SchedulingV1beta1Interface

SchedulingV1beta1 provides a mock function with given fields:

func (*Interface) Settings

Settings provides a mock function with given fields:

func (*Interface) SettingsV1alpha1

func (_m *Interface) SettingsV1alpha1() settingsv1alpha1.SettingsV1alpha1Interface

SettingsV1alpha1 provides a mock function with given fields:

func (*Interface) Storage

func (_m *Interface) Storage() storagev1.StorageV1Interface

Storage provides a mock function with given fields:

func (*Interface) StorageV1

func (_m *Interface) StorageV1() storagev1.StorageV1Interface

StorageV1 provides a mock function with given fields:

func (*Interface) StorageV1alpha1

func (_m *Interface) StorageV1alpha1() storagev1alpha1.StorageV1alpha1Interface

StorageV1alpha1 provides a mock function with given fields:

func (*Interface) StorageV1beta1

func (_m *Interface) StorageV1beta1() storagev1beta1.StorageV1beta1Interface

StorageV1beta1 provides a mock function with given fields:

type NamespaceInterface

type NamespaceInterface struct {
	mock.Mock
}

NamespaceInterface is an autogenerated mock type for the NamespaceInterface type

func (*NamespaceInterface) Create

func (_m *NamespaceInterface) Create(_a0 *v1.Namespace) (*v1.Namespace, error)

Create provides a mock function with given fields: _a0

func (*NamespaceInterface) Delete

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

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

func (*NamespaceInterface) Finalize

func (_m *NamespaceInterface) Finalize(item *v1.Namespace) (*v1.Namespace, error)

Finalize provides a mock function with given fields: item

func (*NamespaceInterface) Get

func (_m *NamespaceInterface) Get(name string, options metav1.GetOptions) (*v1.Namespace, error)

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

func (*NamespaceInterface) List

List provides a mock function with given fields: opts

func (*NamespaceInterface) Patch

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

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

func (*NamespaceInterface) Update

func (_m *NamespaceInterface) Update(_a0 *v1.Namespace) (*v1.Namespace, error)

Update provides a mock function with given fields: _a0

func (*NamespaceInterface) UpdateStatus

func (_m *NamespaceInterface) UpdateStatus(_a0 *v1.Namespace) (*v1.Namespace, error)

UpdateStatus provides a mock function with given fields: _a0

func (*NamespaceInterface) Watch

Watch provides a mock function with given fields: opts

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

type ServiceAccountInterface

type ServiceAccountInterface struct {
	mock.Mock
}

ServiceAccountInterface is an autogenerated mock type for the ServiceAccountInterface type

func (*ServiceAccountInterface) Create

Create provides a mock function with given fields: _a0

func (*ServiceAccountInterface) CreateToken

CreateToken provides a mock function with given fields: name, tr

func (*ServiceAccountInterface) Delete

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

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

func (*ServiceAccountInterface) DeleteCollection

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

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

func (*ServiceAccountInterface) Get

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

func (*ServiceAccountInterface) List

List provides a mock function with given fields: opts

func (*ServiceAccountInterface) Patch

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

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

func (*ServiceAccountInterface) Update

Update provides a mock function with given fields: _a0

func (*ServiceAccountInterface) Watch

Watch provides a mock function with given fields: opts

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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