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 ¶
- type AppliedSpecStorage
- func (_m *AppliedSpecStorage) Delete(namespace string, name string) error
- func (_m *AppliedSpecStorage) ExpectOnGet(namespace, name string, spec *controller.UsageSpec, found bool) *mock.Call
- func (_m *AppliedSpecStorage) ExpectOnUpsert(bUsage *v1alpha1.ServiceBindingUsage, applied bool) *mock.Call
- func (_m *AppliedSpecStorage) Get(namespace string, name string) (*controller.UsageSpec, bool, error)
- func (_m *AppliedSpecStorage) Upsert(bUsage *v1alpha1.ServiceBindingUsage, applied bool) error
- type BindingLabelsFetcher
- type BindingUsageChecker
- func (_m *BindingUsageChecker) ExpectErrorOnValidateIfBindingUsageShouldBeProcessed(sbuFromRetry bool, bUsage *v1alpha1.ServiceBindingUsage, err error) *mock.Call
- func (_m *BindingUsageChecker) ExpectOnValidateIfBindingUsageShouldBeProcessed(sbuFromRetry bool, bUsage *v1alpha1.ServiceBindingUsage) *mock.Call
- func (_m *BindingUsageChecker) ValidateIfBindingUsageShouldBeProcessed(sbuFromRetry bool, bUsage *v1alpha1.ServiceBindingUsage) error
- type GenericUsageBindingAnnotationTracer
- func (_m *GenericUsageBindingAnnotationTracer) DeleteAnnotationAboutBindingUsage(res *unstructured.Unstructured, usageName string) error
- func (_m *GenericUsageBindingAnnotationTracer) GetInjectedLabels(res *unstructured.Unstructured, usageName string) (map[string]string, error)
- func (_m *GenericUsageBindingAnnotationTracer) SetAnnotationAboutBindingUsage(res *unstructured.Unstructured, usageName string, labels map[string]string) error
- type KindsSupervisors
- type KubernetesResourceSupervisor
- func (_m *KubernetesResourceSupervisor) EnsureLabelsCreated(resourceNs string, resourceName string, usageName string, ...) error
- func (_m *KubernetesResourceSupervisor) EnsureLabelsDeleted(resourceNs string, resourceName string, usageName string) error
- func (_m *KubernetesResourceSupervisor) ExpectOnEnsureLabelsCreated(ns string, resourceName string, usageName string, labels map[string]string) *mock.Call
- func (_m *KubernetesResourceSupervisor) GetInjectedLabels(resourceNs string, resourceName string, usageName string) (map[string]string, error)
- type LabelsSvc
- func (_m *LabelsSvc) DetectLabelsConflicts(res *unstructured.Unstructured, labels map[string]string) ([]string, error)
- func (_m *LabelsSvc) EnsureLabelsAreApplied(res *unstructured.Unstructured, labels map[string]string) error
- func (_m *LabelsSvc) EnsureLabelsAreDeleted(res *unstructured.Unstructured, labels map[string]string) error
- type PodPresetModifier
- type UsageBindingAnnotationTracer
- func (_m *UsageBindingAnnotationTracer) DeleteAnnotationAboutBindingUsage(objMeta *v1.ObjectMeta, usageName string) error
- func (_m *UsageBindingAnnotationTracer) GetInjectedLabels(objMeta v1.ObjectMeta, usageName string) (map[string]string, error)
- func (_m *UsageBindingAnnotationTracer) SetAnnotationAboutBindingUsage(objMeta *v1.ObjectMeta, usageName string, labels map[string]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppliedSpecStorage ¶
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 ¶
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 ¶
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 ¶
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 ¶
KindsSupervisors is an autogenerated mock type for the KindsSupervisors type
func (*KindsSupervisors) ExpectOnGet ¶
func (_m *KindsSupervisors) ExpectOnGet(k controller.Kind, supervisor controller.KubernetesResourceSupervisor) *mock.Call
func (*KindsSupervisors) Get ¶
func (_m *KindsSupervisors) Get(kind controller.Kind) (controller.KubernetesResourceSupervisor, error)
Get provides a mock function with given fields: kind
type KubernetesResourceSupervisor ¶
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 (*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 ¶
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 ¶
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 ¶
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