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 DeploymentFinder
- type KindsSupervisors
- func (_m *KindsSupervisors) ExpectOnGet(k controller.Kind, supervisor controller.KubernetesResourceSupervisor) *mock.Call
- func (_m *KindsSupervisors) ExpectOnHasSynced(synced bool) *mock.Call
- func (_m *KindsSupervisors) Get(kind controller.Kind) (controller.KubernetesResourceSupervisor, error)
- func (_m *KindsSupervisors) HasSynced() bool
- type KubelessFunctionFinder
- 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) ExpectOnHasSynced(synced bool) *mock.Call
- func (_m *KubernetesResourceSupervisor) GetInjectedLabels(resourceNs string, resourceName string, usageName string) (map[string]string, error)
- func (_m *KubernetesResourceSupervisor) HasSynced() bool
- 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 DeploymentFinder ¶
DeploymentFinder is an autogenerated mock type for the DeploymentFinder type
func (*DeploymentFinder) FindDeploymentModifiedByServiceBindingUsage ¶
func (_m *DeploymentFinder) FindDeploymentModifiedByServiceBindingUsage(namespace string, podPresetLabel string) (*v1beta2.Deployment, error)
FindDeploymentModifiedByServiceBindingUsage provides a mock function with given fields: namespace, podPresetLabel
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) ExpectOnHasSynced ¶
func (_m *KindsSupervisors) ExpectOnHasSynced(synced bool) *mock.Call
func (*KindsSupervisors) Get ¶
func (_m *KindsSupervisors) Get(kind controller.Kind) (controller.KubernetesResourceSupervisor, error)
Get provides a mock function with given fields: kind
func (*KindsSupervisors) HasSynced ¶
func (_m *KindsSupervisors) HasSynced() bool
HasSynced provides a mock function with given fields:
type KubelessFunctionFinder ¶
KubelessFunctionFinder is an autogenerated mock type for the KubelessFunctionFinder type
func (*KubelessFunctionFinder) FindFunctionModifiedByServiceBindingUsage ¶
func (_m *KubelessFunctionFinder) FindFunctionModifiedByServiceBindingUsage(fnNs string, usageName string) (*v1beta1.Function, error)
FindFunctionModifiedByServiceBindingUsage provides a mock function with given fields: fnNs, usageName
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) ExpectOnHasSynced ¶
func (_m *KubernetesResourceSupervisor) ExpectOnHasSynced(synced bool) *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
func (*KubernetesResourceSupervisor) HasSynced ¶
func (_m *KubernetesResourceSupervisor) HasSynced() bool
HasSynced provides a mock function with given fields:
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 *settingsV1alpha1.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