automock

package
v0.0.0-...-1ac4f16 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppliedSpecStorage

type AppliedSpecStorage struct {
	mock.Mock
}

AppliedSpecStorage is an autogenerated mock type for the AppliedSpecStorage type

func (*AppliedSpecStorage) Delete

func (_m *AppliedSpecStorage) Delete(namespace string, name string) error

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

func (*AppliedSpecStorage) ExpectOnGet

func (_m *AppliedSpecStorage) ExpectOnGet(namespace, name string, spec *controller.UsageSpec, found bool) *mock.Call

func (*AppliedSpecStorage) ExpectOnUpsert

func (_m *AppliedSpecStorage) ExpectOnUpsert(bUsage *v1alpha1.ServiceBindingUsage, applied bool) *mock.Call

func (*AppliedSpecStorage) Get

func (_m *AppliedSpecStorage) Get(namespace string, name string) (*controller.UsageSpec, bool, error)

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

func (*AppliedSpecStorage) Upsert

func (_m *AppliedSpecStorage) Upsert(bUsage *v1alpha1.ServiceBindingUsage, applied bool) error

Upsert provides a mock function with given fields: bUsage, applied

type BindingLabelsFetcher

type BindingLabelsFetcher struct {
	mock.Mock
}

bindingLabelsFetcher is an autogenerated mock type for the bindingLabelsFetcher type

func (*BindingLabelsFetcher) ExpectErrorOnFetch

func (_m *BindingLabelsFetcher) ExpectErrorOnFetch(outError error) *mock.Call

func (*BindingLabelsFetcher) ExpectOnFetch

func (_m *BindingLabelsFetcher) ExpectOnFetch(inBinding *v1beta1.ServiceBinding, outLabels map[string]string) *mock.Call

func (*BindingLabelsFetcher) Fetch

func (_m *BindingLabelsFetcher) Fetch(svcBinding *v1beta1.ServiceBinding) (map[string]string, error)

Fetch provides a mock function with given fields: svcBinding

type BindingUsageChecker

type BindingUsageChecker struct {
	mock.Mock
}

BindingUsageChecker is an autogenerated mock type for the BindingUsageChecker type

func (*BindingUsageChecker) ExpectErrorOnValidateIfBindingUsageShouldBeProcessed

func (_m *BindingUsageChecker) ExpectErrorOnValidateIfBindingUsageShouldBeProcessed(sbuFromRetry bool, bUsage *v1alpha1.ServiceBindingUsage, err error) *mock.Call

func (*BindingUsageChecker) ExpectOnValidateIfBindingUsageShouldBeProcessed

func (_m *BindingUsageChecker) ExpectOnValidateIfBindingUsageShouldBeProcessed(sbuFromRetry bool, bUsage *v1alpha1.ServiceBindingUsage) *mock.Call

func (*BindingUsageChecker) ValidateIfBindingUsageShouldBeProcessed

func (_m *BindingUsageChecker) ValidateIfBindingUsageShouldBeProcessed(sbuFromRetry bool, bUsage *v1alpha1.ServiceBindingUsage) error

ValidateIfBindingUsageShouldBeProcessed provides a mock function with given fields: sbuFromRetry, bUsage

type GenericUsageBindingAnnotationTracer

type GenericUsageBindingAnnotationTracer struct {
	mock.Mock
}

GenericUsageBindingAnnotationTracer is an autogenerated mock type for the GenericUsageBindingAnnotationTracer type

func (*GenericUsageBindingAnnotationTracer) DeleteAnnotationAboutBindingUsage

func (_m *GenericUsageBindingAnnotationTracer) DeleteAnnotationAboutBindingUsage(res *unstructured.Unstructured, usageName string) error

DeleteAnnotationAboutBindingUsage provides a mock function with given fields: res, usageName

func (*GenericUsageBindingAnnotationTracer) GetInjectedLabels

func (_m *GenericUsageBindingAnnotationTracer) GetInjectedLabels(res *unstructured.Unstructured, usageName string) (map[string]string, error)

GetInjectedLabels provides a mock function with given fields: res, usageName

func (*GenericUsageBindingAnnotationTracer) SetAnnotationAboutBindingUsage

func (_m *GenericUsageBindingAnnotationTracer) SetAnnotationAboutBindingUsage(res *unstructured.Unstructured, usageName string, labels map[string]string) error

SetAnnotationAboutBindingUsage provides a mock function with given fields: res, usageName, labels

type KindsSupervisors

type KindsSupervisors struct {
	mock.Mock
}

KindsSupervisors is an autogenerated mock type for the KindsSupervisors type

func (*KindsSupervisors) ExpectOnGet

func (*KindsSupervisors) Get

Get provides a mock function with given fields: kind

type KubernetesResourceSupervisor

type KubernetesResourceSupervisor struct {
	mock.Mock
}

KubernetesResourceSupervisor is an autogenerated mock type for the KubernetesResourceSupervisor type

func (*KubernetesResourceSupervisor) EnsureLabelsCreated

func (_m *KubernetesResourceSupervisor) EnsureLabelsCreated(resourceNs string, resourceName string, usageName string, labels map[string]string) error

EnsureLabelsCreated provides a mock function with given fields: resourceNs, resourceName, usageName, usageVer, labels

func (*KubernetesResourceSupervisor) EnsureLabelsDeleted

func (_m *KubernetesResourceSupervisor) EnsureLabelsDeleted(resourceNs string, resourceName string, usageName string) error

EnsureLabelsDeleted provides a mock function with given fields: resourceNs, resourceName, usageName

func (*KubernetesResourceSupervisor) ExpectOnEnsureLabelsCreated

func (_m *KubernetesResourceSupervisor) ExpectOnEnsureLabelsCreated(ns string, resourceName string, usageName string, labels map[string]string) *mock.Call

func (*KubernetesResourceSupervisor) GetInjectedLabels

func (_m *KubernetesResourceSupervisor) GetInjectedLabels(resourceNs string, resourceName string, usageName string) (map[string]string, error)

GetInjectedLabels provides a mock function with given fields: resourceNs, resourceName, usageName

type LabelsSvc

type LabelsSvc struct {
	mock.Mock
}

LabelsSvc is an autogenerated mock type for the LabelsSvc type

func (*LabelsSvc) DetectLabelsConflicts

func (_m *LabelsSvc) DetectLabelsConflicts(res *unstructured.Unstructured, labels map[string]string) ([]string, error)

DetectLabelsConflicts provides a mock function with given fields: res, labels

func (*LabelsSvc) EnsureLabelsAreApplied

func (_m *LabelsSvc) EnsureLabelsAreApplied(res *unstructured.Unstructured, labels map[string]string) error

EnsureLabelsAreApplied provides a mock function with given fields: res, labels

func (*LabelsSvc) EnsureLabelsAreDeleted

func (_m *LabelsSvc) EnsureLabelsAreDeleted(res *unstructured.Unstructured, labels map[string]string) error

EnsureLabelsAreDeleted provides a mock function with given fields: res, labels

type PodPresetModifier

type PodPresetModifier struct {
	mock.Mock
}

PodPresetModifier is an autogenerated mock type for the PodPresetModifier type

func (*PodPresetModifier) EnsurePodPresetDeleted

func (_m *PodPresetModifier) EnsurePodPresetDeleted(name string, namespace string) error

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

func (*PodPresetModifier) ExpectOnUpsertPodPreset

func (_m *PodPresetModifier) ExpectOnUpsertPodPreset(newPodPreset *svcatSettings.PodPreset) *mock.Call

func (*PodPresetModifier) UpsertPodPreset

func (_m *PodPresetModifier) UpsertPodPreset(newPodPreset *v1alpha1.PodPreset) error

UpsertPodPreset provides a mock function with given fields: newPodPreset

type UsageBindingAnnotationTracer

type UsageBindingAnnotationTracer struct {
	mock.Mock
}

UsageBindingAnnotationTracer is an autogenerated mock type for the UsageBindingAnnotationTracer type

func (*UsageBindingAnnotationTracer) DeleteAnnotationAboutBindingUsage

func (_m *UsageBindingAnnotationTracer) DeleteAnnotationAboutBindingUsage(objMeta *v1.ObjectMeta, usageName string) error

DeleteAnnotationAboutBindingUsage provides a mock function with given fields: objMeta, usageName

func (*UsageBindingAnnotationTracer) GetInjectedLabels

func (_m *UsageBindingAnnotationTracer) GetInjectedLabels(objMeta v1.ObjectMeta, usageName string) (map[string]string, error)

GetInjectedLabels provides a mock function with given fields: objMeta, usageName

func (*UsageBindingAnnotationTracer) SetAnnotationAboutBindingUsage

func (_m *UsageBindingAnnotationTracer) SetAnnotationAboutBindingUsage(objMeta *v1.ObjectMeta, usageName string, labels map[string]string) error

SetAnnotationAboutBindingUsage provides a mock function with given fields: objMeta, usageName, usageVer, labels

Jump to

Keyboard shortcuts

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