Documentation ¶
Index ¶
- type AWSResource
- func (_m *AWSResource) Conditions() []*v1alpha1.Condition
- func (_m *AWSResource) DeepCopy() types.AWSResource
- func (_m *AWSResource) Identifiers() types.AWSResourceIdentifiers
- func (_m *AWSResource) IsBeingDeleted() bool
- func (_m *AWSResource) MetaObject() v1.Object
- func (_m *AWSResource) ReplaceConditions(_a0 []*v1alpha1.Condition)
- func (_m *AWSResource) RuntimeObject() client.Object
- func (_m *AWSResource) SetIdentifiers(_a0 *v1alpha1.AWSIdentifiers) error
- func (_m *AWSResource) SetObjectMeta(meta v1.ObjectMeta)
- func (_m *AWSResource) SetStatus(_a0 types.AWSResource)
- type AWSResourceDescriptor
- func (_m *AWSResourceDescriptor) Delta(a types.AWSResource, b types.AWSResource) *compare.Delta
- func (_m *AWSResourceDescriptor) EmptyRuntimeObject() client.Object
- func (_m *AWSResourceDescriptor) GroupVersionKind() schema.GroupVersionKind
- func (_m *AWSResourceDescriptor) IsManaged(_a0 types.AWSResource) bool
- func (_m *AWSResourceDescriptor) MarkAdopted(_a0 types.AWSResource)
- func (_m *AWSResourceDescriptor) MarkManaged(_a0 types.AWSResource)
- func (_m *AWSResourceDescriptor) MarkUnmanaged(_a0 types.AWSResource)
- func (_m *AWSResourceDescriptor) ResourceFromRuntimeObject(_a0 client.Object) types.AWSResource
- type AWSResourceIdentifiers
- type AWSResourceManager
- func (_m *AWSResourceManager) ARNFromName(_a0 string) string
- func (_m *AWSResourceManager) ClearResolvedReferences(_a0 types.AWSResource) types.AWSResource
- func (_m *AWSResourceManager) Create(_a0 context.Context, _a1 types.AWSResource) (types.AWSResource, error)
- func (_m *AWSResourceManager) Delete(_a0 context.Context, _a1 types.AWSResource) (types.AWSResource, error)
- func (_m *AWSResourceManager) EnsureTags(_a0 context.Context, _a1 types.AWSResource, ...) error
- func (_m *AWSResourceManager) IsSynced(_a0 context.Context, _a1 types.AWSResource) (bool, error)
- func (_m *AWSResourceManager) LateInitialize(_a0 context.Context, _a1 types.AWSResource) (types.AWSResource, error)
- func (_m *AWSResourceManager) ReadOne(_a0 context.Context, _a1 types.AWSResource) (types.AWSResource, error)
- func (_m *AWSResourceManager) ResolveReferences(_a0 context.Context, _a1 client.Reader, _a2 types.AWSResource) (types.AWSResource, bool, error)
- func (_m *AWSResourceManager) Update(_a0 context.Context, _a1 types.AWSResource, _a2 types.AWSResource, ...) (types.AWSResource, error)
- type AWSResourceManagerFactory
- func (_m *AWSResourceManagerFactory) IsAdoptable() bool
- func (_m *AWSResourceManagerFactory) ManagerFor(_a0 config.Config, _a1 logr.Logger, _a2 *metrics.Metrics, _a3 types.Reconciler, ...) (types.AWSResourceManager, error)
- func (_m *AWSResourceManagerFactory) RequeueOnSuccessSeconds() int
- func (_m *AWSResourceManagerFactory) ResourceDescriptor() types.AWSResourceDescriptor
- type AWSResourceReconciler
- func (_m *AWSResourceReconciler) BindControllerManager(_a0 manager.Manager) error
- func (_m *AWSResourceReconciler) GroupVersionKind() *schema.GroupVersionKind
- func (_m *AWSResourceReconciler) HandleReconcileError(ctx context.Context, desired types.AWSResource, latest types.AWSResource, ...) (reconcile.Result, error)
- func (_m *AWSResourceReconciler) Reconcile(_a0 context.Context, _a1 reconcile.Request) (reconcile.Result, error)
- func (_m *AWSResourceReconciler) SecretValueFromReference(_a0 context.Context, _a1 *v1alpha1.SecretKeyReference) (string, error)
- func (_m *AWSResourceReconciler) Sync(_a0 context.Context, _a1 types.AWSResourceManager, _a2 types.AWSResource) (types.AWSResource, error)
- type AdoptedResourceReconciler
- func (_m *AdoptedResourceReconciler) BindControllerManager(_a0 manager.Manager) error
- func (_m *AdoptedResourceReconciler) Reconcile(_a0 context.Context, _a1 reconcile.Request) (reconcile.Result, error)
- func (_m *AdoptedResourceReconciler) SecretValueFromReference(_a0 context.Context, _a1 *v1alpha1.SecretKeyReference) (string, error)
- func (_m *AdoptedResourceReconciler) Sync(_a0 context.Context, _a1 types.AWSResourceDescriptor, ...) error
- type ConditionManager
- type FieldExportReconciler
- func (_m *FieldExportReconciler) BindControllerManager(_a0 manager.Manager) error
- func (_m *FieldExportReconciler) GetFieldExportsForResource(_a0 context.Context, _a1 schema.GroupKind, _a2 pkgtypes.NamespacedName) ([]v1alpha1.FieldExport, error)
- func (_m *FieldExportReconciler) Reconcile(_a0 context.Context, _a1 reconcile.Request) (reconcile.Result, error)
- func (_m *FieldExportReconciler) SecretValueFromReference(_a0 context.Context, _a1 *v1alpha1.SecretKeyReference) (string, error)
- func (_m *FieldExportReconciler) Sync(_a0 context.Context, _a1 types.AWSResource, _a2 v1alpha1.FieldExport) (v1alpha1.FieldExport, error)
- type Logger
- func (_m *Logger) Debug(msg string, additionalValues ...interface{})
- func (_m *Logger) Enter(name string, additionalValues ...interface{})
- func (_m *Logger) Exit(name string, err error, additionalValues ...interface{})
- func (_m *Logger) Info(msg string, additionalValues ...interface{})
- func (_m *Logger) IsDebugEnabled() bool
- func (_m *Logger) Trace(name string, additionalValues ...interface{}) types.TraceExiter
- func (_m *Logger) WithValues(_a0 ...interface{})
- type Reconciler
- type ResolvedReferenceManager
- type ServiceController
- func (_m *ServiceController) BindControllerManager(_a0 manager.Manager, _a1 config.Config) error
- func (_m *ServiceController) GetMetadata() types.ServiceControllerMetadata
- func (_m *ServiceController) GetReconcilers() []types.AWSResourceReconciler
- func (_m *ServiceController) GetResourceManagerFactories() map[string]types.AWSResourceManagerFactory
- func (_m *ServiceController) NewSession(_a0 v1alpha1.AWSRegion, _a1 *string, _a2 v1alpha1.AWSResourceName, ...) (*session.Session, error)
- func (_m *ServiceController) WithLogger(_a0 logr.Logger) types.ServiceController
- func (_m *ServiceController) WithPrometheusRegistry(_a0 prometheus.Registerer) types.ServiceController
- func (_m *ServiceController) WithResourceManagerFactories(_a0 []types.AWSResourceManagerFactory) types.ServiceController
- type TraceExiter
- type Tracer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSResource ¶
AWSResource is an autogenerated mock type for the AWSResource type
func NewAWSResource ¶ added in v0.19.1
func NewAWSResource(t mockConstructorTestingTNewAWSResource) *AWSResource
NewAWSResource creates a new instance of AWSResource. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AWSResource) Conditions ¶
func (_m *AWSResource) Conditions() []*v1alpha1.Condition
Conditions provides a mock function with given fields:
func (*AWSResource) DeepCopy ¶ added in v0.13.0
func (_m *AWSResource) DeepCopy() types.AWSResource
DeepCopy provides a mock function with given fields:
func (*AWSResource) Identifiers ¶
func (_m *AWSResource) Identifiers() types.AWSResourceIdentifiers
Identifiers provides a mock function with given fields:
func (*AWSResource) IsBeingDeleted ¶
func (_m *AWSResource) IsBeingDeleted() bool
IsBeingDeleted provides a mock function with given fields:
func (*AWSResource) MetaObject ¶
func (_m *AWSResource) MetaObject() v1.Object
MetaObject provides a mock function with given fields:
func (*AWSResource) ReplaceConditions ¶ added in v0.3.0
func (_m *AWSResource) ReplaceConditions(_a0 []*v1alpha1.Condition)
ReplaceConditions provides a mock function with given fields: _a0
func (*AWSResource) RuntimeObject ¶
func (_m *AWSResource) RuntimeObject() client.Object
RuntimeObject provides a mock function with given fields:
func (*AWSResource) SetIdentifiers ¶ added in v0.1.0
func (_m *AWSResource) SetIdentifiers(_a0 *v1alpha1.AWSIdentifiers) error
SetIdentifiers provides a mock function with given fields: _a0
func (*AWSResource) SetObjectMeta ¶ added in v0.1.0
func (_m *AWSResource) SetObjectMeta(meta v1.ObjectMeta)
SetObjectMeta provides a mock function with given fields: meta
func (*AWSResource) SetStatus ¶ added in v0.10.0
func (_m *AWSResource) SetStatus(_a0 types.AWSResource)
SetStatus provides a mock function with given fields: _a0
type AWSResourceDescriptor ¶
AWSResourceDescriptor is an autogenerated mock type for the AWSResourceDescriptor type
func NewAWSResourceDescriptor ¶ added in v0.19.1
func NewAWSResourceDescriptor(t mockConstructorTestingTNewAWSResourceDescriptor) *AWSResourceDescriptor
NewAWSResourceDescriptor creates a new instance of AWSResourceDescriptor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AWSResourceDescriptor) Delta ¶ added in v0.0.5
func (_m *AWSResourceDescriptor) Delta(a types.AWSResource, b types.AWSResource) *compare.Delta
Delta provides a mock function with given fields: a, b
func (*AWSResourceDescriptor) EmptyRuntimeObject ¶
func (_m *AWSResourceDescriptor) EmptyRuntimeObject() client.Object
EmptyRuntimeObject provides a mock function with given fields:
func (*AWSResourceDescriptor) GroupVersionKind ¶ added in v0.25.0
func (_m *AWSResourceDescriptor) GroupVersionKind() schema.GroupVersionKind
GroupVersionKind provides a mock function with given fields:
func (*AWSResourceDescriptor) IsManaged ¶
func (_m *AWSResourceDescriptor) IsManaged(_a0 types.AWSResource) bool
IsManaged provides a mock function with given fields: _a0
func (*AWSResourceDescriptor) MarkAdopted ¶ added in v0.1.0
func (_m *AWSResourceDescriptor) MarkAdopted(_a0 types.AWSResource)
MarkAdopted provides a mock function with given fields: _a0
func (*AWSResourceDescriptor) MarkManaged ¶
func (_m *AWSResourceDescriptor) MarkManaged(_a0 types.AWSResource)
MarkManaged provides a mock function with given fields: _a0
func (*AWSResourceDescriptor) MarkUnmanaged ¶
func (_m *AWSResourceDescriptor) MarkUnmanaged(_a0 types.AWSResource)
MarkUnmanaged provides a mock function with given fields: _a0
func (*AWSResourceDescriptor) ResourceFromRuntimeObject ¶
func (_m *AWSResourceDescriptor) ResourceFromRuntimeObject(_a0 client.Object) types.AWSResource
ResourceFromRuntimeObject provides a mock function with given fields: _a0
type AWSResourceIdentifiers ¶
AWSResourceIdentifiers is an autogenerated mock type for the AWSResourceIdentifiers type
func NewAWSResourceIdentifiers ¶ added in v0.19.1
func NewAWSResourceIdentifiers(t mockConstructorTestingTNewAWSResourceIdentifiers) *AWSResourceIdentifiers
NewAWSResourceIdentifiers creates a new instance of AWSResourceIdentifiers. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AWSResourceIdentifiers) ARN ¶
func (_m *AWSResourceIdentifiers) ARN() *v1alpha1.AWSResourceName
ARN provides a mock function with given fields:
func (*AWSResourceIdentifiers) OwnerAccountID ¶
func (_m *AWSResourceIdentifiers) OwnerAccountID() *v1alpha1.AWSAccountID
OwnerAccountID provides a mock function with given fields:
func (*AWSResourceIdentifiers) Region ¶ added in v0.18.0
func (_m *AWSResourceIdentifiers) Region() *v1alpha1.AWSRegion
Region provides a mock function with given fields:
type AWSResourceManager ¶
AWSResourceManager is an autogenerated mock type for the AWSResourceManager type
func NewAWSResourceManager ¶ added in v0.19.1
func NewAWSResourceManager(t mockConstructorTestingTNewAWSResourceManager) *AWSResourceManager
NewAWSResourceManager creates a new instance of AWSResourceManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AWSResourceManager) ARNFromName ¶
func (_m *AWSResourceManager) ARNFromName(_a0 string) string
ARNFromName provides a mock function with given fields: _a0
func (*AWSResourceManager) ClearResolvedReferences ¶ added in v0.26.0
func (_m *AWSResourceManager) ClearResolvedReferences(_a0 types.AWSResource) types.AWSResource
ClearResolvedReferences provides a mock function with given fields: _a0
func (*AWSResourceManager) Create ¶
func (_m *AWSResourceManager) Create(_a0 context.Context, _a1 types.AWSResource) (types.AWSResource, error)
Create provides a mock function with given fields: _a0, _a1
func (*AWSResourceManager) Delete ¶
func (_m *AWSResourceManager) Delete(_a0 context.Context, _a1 types.AWSResource) (types.AWSResource, error)
Delete provides a mock function with given fields: _a0, _a1
func (*AWSResourceManager) EnsureTags ¶ added in v0.18.6
func (_m *AWSResourceManager) EnsureTags(_a0 context.Context, _a1 types.AWSResource, _a2 types.ServiceControllerMetadata) error
EnsureTags provides a mock function with given fields: _a0, _a1, _a2
func (*AWSResourceManager) IsSynced ¶ added in v0.16.4
func (_m *AWSResourceManager) IsSynced(_a0 context.Context, _a1 types.AWSResource) (bool, error)
IsSynced provides a mock function with given fields: _a0, _a1
func (*AWSResourceManager) LateInitialize ¶ added in v0.10.0
func (_m *AWSResourceManager) LateInitialize(_a0 context.Context, _a1 types.AWSResource) (types.AWSResource, error)
LateInitialize provides a mock function with given fields: _a0, _a1
func (*AWSResourceManager) ReadOne ¶
func (_m *AWSResourceManager) ReadOne(_a0 context.Context, _a1 types.AWSResource) (types.AWSResource, error)
ReadOne provides a mock function with given fields: _a0, _a1
func (*AWSResourceManager) ResolveReferences ¶ added in v0.16.0
func (_m *AWSResourceManager) ResolveReferences(_a0 context.Context, _a1 client.Reader, _a2 types.AWSResource) (types.AWSResource, bool, error)
ResolveReferences provides a mock function with given fields: _a0, _a1, _a2
func (*AWSResourceManager) Update ¶
func (_m *AWSResourceManager) Update(_a0 context.Context, _a1 types.AWSResource, _a2 types.AWSResource, _a3 *compare.Delta) (types.AWSResource, error)
Update provides a mock function with given fields: _a0, _a1, _a2, _a3
type AWSResourceManagerFactory ¶
AWSResourceManagerFactory is an autogenerated mock type for the AWSResourceManagerFactory type
func NewAWSResourceManagerFactory ¶ added in v0.19.1
func NewAWSResourceManagerFactory(t mockConstructorTestingTNewAWSResourceManagerFactory) *AWSResourceManagerFactory
NewAWSResourceManagerFactory creates a new instance of AWSResourceManagerFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AWSResourceManagerFactory) IsAdoptable ¶ added in v0.1.0
func (_m *AWSResourceManagerFactory) IsAdoptable() bool
IsAdoptable provides a mock function with given fields:
func (*AWSResourceManagerFactory) ManagerFor ¶
func (_m *AWSResourceManagerFactory) ManagerFor(_a0 config.Config, _a1 logr.Logger, _a2 *metrics.Metrics, _a3 types.Reconciler, _a4 *session.Session, _a5 v1alpha1.AWSAccountID, _a6 v1alpha1.AWSRegion) (types.AWSResourceManager, error)
ManagerFor provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5, _a6
func (*AWSResourceManagerFactory) RequeueOnSuccessSeconds ¶ added in v0.4.0
func (_m *AWSResourceManagerFactory) RequeueOnSuccessSeconds() int
RequeueOnSuccessSeconds provides a mock function with given fields:
func (*AWSResourceManagerFactory) ResourceDescriptor ¶
func (_m *AWSResourceManagerFactory) ResourceDescriptor() types.AWSResourceDescriptor
ResourceDescriptor provides a mock function with given fields:
type AWSResourceReconciler ¶
AWSResourceReconciler is an autogenerated mock type for the AWSResourceReconciler type
func NewAWSResourceReconciler ¶ added in v0.19.1
func NewAWSResourceReconciler(t mockConstructorTestingTNewAWSResourceReconciler) *AWSResourceReconciler
NewAWSResourceReconciler creates a new instance of AWSResourceReconciler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AWSResourceReconciler) BindControllerManager ¶
func (_m *AWSResourceReconciler) BindControllerManager(_a0 manager.Manager) error
BindControllerManager provides a mock function with given fields: _a0
func (*AWSResourceReconciler) GroupVersionKind ¶ added in v0.25.0
func (_m *AWSResourceReconciler) GroupVersionKind() *schema.GroupVersionKind
GroupVersionKind provides a mock function with given fields:
func (*AWSResourceReconciler) HandleReconcileError ¶ added in v0.8.0
func (_m *AWSResourceReconciler) HandleReconcileError(ctx context.Context, desired types.AWSResource, latest types.AWSResource, err error) (reconcile.Result, error)
HandleReconcileError provides a mock function with given fields: ctx, desired, latest, err
func (*AWSResourceReconciler) Reconcile ¶
func (_m *AWSResourceReconciler) Reconcile(_a0 context.Context, _a1 reconcile.Request) (reconcile.Result, error)
Reconcile provides a mock function with given fields: _a0, _a1
func (*AWSResourceReconciler) SecretValueFromReference ¶
func (_m *AWSResourceReconciler) SecretValueFromReference(_a0 context.Context, _a1 *v1alpha1.SecretKeyReference) (string, error)
SecretValueFromReference provides a mock function with given fields: _a0, _a1
func (*AWSResourceReconciler) Sync ¶ added in v0.0.5
func (_m *AWSResourceReconciler) Sync(_a0 context.Context, _a1 types.AWSResourceManager, _a2 types.AWSResource) (types.AWSResource, error)
Sync provides a mock function with given fields: _a0, _a1, _a2
type AdoptedResourceReconciler ¶ added in v0.14.1
AdoptedResourceReconciler is an autogenerated mock type for the AdoptedResourceReconciler type
func NewAdoptedResourceReconciler ¶ added in v0.19.1
func NewAdoptedResourceReconciler(t mockConstructorTestingTNewAdoptedResourceReconciler) *AdoptedResourceReconciler
NewAdoptedResourceReconciler creates a new instance of AdoptedResourceReconciler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AdoptedResourceReconciler) BindControllerManager ¶ added in v0.14.1
func (_m *AdoptedResourceReconciler) BindControllerManager(_a0 manager.Manager) error
BindControllerManager provides a mock function with given fields: _a0
func (*AdoptedResourceReconciler) Reconcile ¶ added in v0.14.1
func (_m *AdoptedResourceReconciler) Reconcile(_a0 context.Context, _a1 reconcile.Request) (reconcile.Result, error)
Reconcile provides a mock function with given fields: _a0, _a1
func (*AdoptedResourceReconciler) SecretValueFromReference ¶ added in v0.14.1
func (_m *AdoptedResourceReconciler) SecretValueFromReference(_a0 context.Context, _a1 *v1alpha1.SecretKeyReference) (string, error)
SecretValueFromReference provides a mock function with given fields: _a0, _a1
func (*AdoptedResourceReconciler) Sync ¶ added in v0.14.1
func (_m *AdoptedResourceReconciler) Sync(_a0 context.Context, _a1 types.AWSResourceDescriptor, _a2 types.AWSResourceManager, _a3 *v1alpha1.AdoptedResource) error
Sync provides a mock function with given fields: _a0, _a1, _a2, _a3
type ConditionManager ¶ added in v0.3.0
ConditionManager is an autogenerated mock type for the ConditionManager type
func NewConditionManager ¶ added in v0.19.1
func NewConditionManager(t mockConstructorTestingTNewConditionManager) *ConditionManager
NewConditionManager creates a new instance of ConditionManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ConditionManager) Conditions ¶ added in v0.3.0
func (_m *ConditionManager) Conditions() []*v1alpha1.Condition
Conditions provides a mock function with given fields:
func (*ConditionManager) ReplaceConditions ¶ added in v0.3.0
func (_m *ConditionManager) ReplaceConditions(_a0 []*v1alpha1.Condition)
ReplaceConditions provides a mock function with given fields: _a0
type FieldExportReconciler ¶ added in v0.18.0
FieldExportReconciler is an autogenerated mock type for the FieldExportReconciler type
func NewFieldExportReconciler ¶ added in v0.19.1
func NewFieldExportReconciler(t mockConstructorTestingTNewFieldExportReconciler) *FieldExportReconciler
NewFieldExportReconciler creates a new instance of FieldExportReconciler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*FieldExportReconciler) BindControllerManager ¶ added in v0.18.0
func (_m *FieldExportReconciler) BindControllerManager(_a0 manager.Manager) error
BindControllerManager provides a mock function with given fields: _a0
func (*FieldExportReconciler) GetFieldExportsForResource ¶ added in v0.18.0
func (_m *FieldExportReconciler) GetFieldExportsForResource(_a0 context.Context, _a1 schema.GroupKind, _a2 pkgtypes.NamespacedName) ([]v1alpha1.FieldExport, error)
GetFieldExportsForResource provides a mock function with given fields: _a0, _a1, _a2
func (*FieldExportReconciler) Reconcile ¶ added in v0.18.0
func (_m *FieldExportReconciler) Reconcile(_a0 context.Context, _a1 reconcile.Request) (reconcile.Result, error)
Reconcile provides a mock function with given fields: _a0, _a1
func (*FieldExportReconciler) SecretValueFromReference ¶ added in v0.18.0
func (_m *FieldExportReconciler) SecretValueFromReference(_a0 context.Context, _a1 *v1alpha1.SecretKeyReference) (string, error)
SecretValueFromReference provides a mock function with given fields: _a0, _a1
func (*FieldExportReconciler) Sync ¶ added in v0.18.0
func (_m *FieldExportReconciler) Sync(_a0 context.Context, _a1 types.AWSResource, _a2 v1alpha1.FieldExport) (v1alpha1.FieldExport, error)
Sync provides a mock function with given fields: _a0, _a1, _a2
type Logger ¶ added in v0.2.3
Logger is an autogenerated mock type for the Logger type
func NewLogger ¶ added in v0.19.1
func NewLogger(t mockConstructorTestingTNewLogger) *Logger
NewLogger creates a new instance of Logger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Logger) Debug ¶ added in v0.2.3
Debug provides a mock function with given fields: msg, additionalValues
func (*Logger) Enter ¶ added in v0.2.3
Enter provides a mock function with given fields: name, additionalValues
func (*Logger) Exit ¶ added in v0.2.3
Exit provides a mock function with given fields: name, err, additionalValues
func (*Logger) Info ¶ added in v0.2.3
Info provides a mock function with given fields: msg, additionalValues
func (*Logger) IsDebugEnabled ¶ added in v0.19.3
IsDebugEnabled provides a mock function with given fields:
func (*Logger) Trace ¶ added in v0.2.3
func (_m *Logger) Trace(name string, additionalValues ...interface{}) types.TraceExiter
Trace provides a mock function with given fields: name, additionalValues
func (*Logger) WithValues ¶ added in v0.2.3
func (_m *Logger) WithValues(_a0 ...interface{})
WithValues provides a mock function with given fields: _a0
type Reconciler ¶ added in v0.1.0
Reconciler is an autogenerated mock type for the Reconciler type
func NewReconciler ¶ added in v0.19.1
func NewReconciler(t mockConstructorTestingTNewReconciler) *Reconciler
NewReconciler creates a new instance of Reconciler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Reconciler) Reconcile ¶ added in v0.1.0
func (_m *Reconciler) Reconcile(_a0 context.Context, _a1 reconcile.Request) (reconcile.Result, error)
Reconcile provides a mock function with given fields: _a0, _a1
func (*Reconciler) SecretValueFromReference ¶ added in v0.1.0
func (_m *Reconciler) SecretValueFromReference(_a0 context.Context, _a1 *v1alpha1.SecretKeyReference) (string, error)
SecretValueFromReference provides a mock function with given fields: _a0, _a1
type ResolvedReferenceManager ¶ added in v0.26.0
ResolvedReferenceManager is an autogenerated mock type for the ResolvedReferenceManager type
func NewResolvedReferenceManager ¶ added in v0.26.0
func NewResolvedReferenceManager(t mockConstructorTestingTNewResolvedReferenceManager) *ResolvedReferenceManager
NewResolvedReferenceManager creates a new instance of ResolvedReferenceManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ResolvedReferenceManager) ClearResolvedReferences ¶ added in v0.26.0
func (_m *ResolvedReferenceManager) ClearResolvedReferences(_a0 types.AWSResource) types.AWSResource
ClearResolvedReferences provides a mock function with given fields: _a0
func (*ResolvedReferenceManager) ResolveReferences ¶ added in v0.26.0
func (_m *ResolvedReferenceManager) ResolveReferences(_a0 context.Context, _a1 client.Reader, _a2 types.AWSResource) (types.AWSResource, bool, error)
ResolveReferences provides a mock function with given fields: _a0, _a1, _a2
type ServiceController ¶ added in v0.0.5
ServiceController is an autogenerated mock type for the ServiceController type
func NewServiceController ¶ added in v0.19.1
func NewServiceController(t mockConstructorTestingTNewServiceController) *ServiceController
NewServiceController creates a new instance of ServiceController. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ServiceController) BindControllerManager ¶ added in v0.0.5
BindControllerManager provides a mock function with given fields: _a0, _a1
func (*ServiceController) GetMetadata ¶ added in v0.18.6
func (_m *ServiceController) GetMetadata() types.ServiceControllerMetadata
GetMetadata provides a mock function with given fields:
func (*ServiceController) GetReconcilers ¶ added in v0.0.5
func (_m *ServiceController) GetReconcilers() []types.AWSResourceReconciler
GetReconcilers provides a mock function with given fields:
func (*ServiceController) GetResourceManagerFactories ¶ added in v0.1.1
func (_m *ServiceController) GetResourceManagerFactories() map[string]types.AWSResourceManagerFactory
GetResourceManagerFactories provides a mock function with given fields:
func (*ServiceController) NewSession ¶ added in v0.0.5
func (_m *ServiceController) NewSession(_a0 v1alpha1.AWSRegion, _a1 *string, _a2 v1alpha1.AWSResourceName, _a3 schema.GroupVersionKind) (*session.Session, error)
NewSession provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*ServiceController) WithLogger ¶ added in v0.0.5
func (_m *ServiceController) WithLogger(_a0 logr.Logger) types.ServiceController
WithLogger provides a mock function with given fields: _a0
func (*ServiceController) WithPrometheusRegistry ¶ added in v0.0.5
func (_m *ServiceController) WithPrometheusRegistry(_a0 prometheus.Registerer) types.ServiceController
WithPrometheusRegistry provides a mock function with given fields: _a0
func (*ServiceController) WithResourceManagerFactories ¶ added in v0.0.5
func (_m *ServiceController) WithResourceManagerFactories(_a0 []types.AWSResourceManagerFactory) types.ServiceController
WithResourceManagerFactories provides a mock function with given fields: _a0
type TraceExiter ¶ added in v0.2.3
TraceExiter is an autogenerated mock type for the TraceExiter type
func NewTraceExiter ¶ added in v0.19.1
func NewTraceExiter(t mockConstructorTestingTNewTraceExiter) *TraceExiter
NewTraceExiter creates a new instance of TraceExiter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*TraceExiter) Execute ¶ added in v0.2.3
func (_m *TraceExiter) Execute(err error, additionalValues ...interface{})
Execute provides a mock function with given fields: err, additionalValues
type Tracer ¶ added in v0.2.3
Tracer is an autogenerated mock type for the Tracer type
Source Files ¶
- adopted_resource_reconciler.go
- aws_resource.go
- aws_resource_descriptor.go
- aws_resource_identifiers.go
- aws_resource_manager.go
- aws_resource_manager_factory.go
- aws_resource_reconciler.go
- condition_manager.go
- field_export_reconciler.go
- logger.go
- reconciler.go
- resolved_reference_manager.go
- service_controller.go
- trace_exiter.go
- tracer.go