Documentation ¶
Index ¶
- type AWSResource
- func (_m *AWSResource) Conditions() []*v1alpha1.Condition
- func (_m *AWSResource) Identifiers() types.AWSResourceIdentifiers
- func (_m *AWSResource) IsBeingDeleted() bool
- func (_m *AWSResource) MetaObject() v1.Object
- func (_m *AWSResource) RuntimeMetaObject() types.RuntimeMetaObject
- func (_m *AWSResource) RuntimeObject() runtime.Object
- func (_m *AWSResource) SetIdentifiers(_a0 *v1alpha1.AWSIdentifiers) error
- func (_m *AWSResource) SetObjectMeta(meta v1.ObjectMeta)
- type AWSResourceDescriptor
- func (_m *AWSResourceDescriptor) Delta(a types.AWSResource, b types.AWSResource) *compare.Delta
- func (_m *AWSResourceDescriptor) EmptyRuntimeObject() runtime.Object
- func (_m *AWSResourceDescriptor) GroupKind() *v1.GroupKind
- 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 runtime.Object) types.AWSResource
- func (_m *AWSResourceDescriptor) UpdateCRStatus(_a0 types.AWSResource) (bool, error)
- type AWSResourceIdentifiers
- type AWSResourceManager
- func (_m *AWSResourceManager) ARNFromName(_a0 string) string
- func (_m *AWSResourceManager) Create(_a0 context.Context, _a1 types.AWSResource) (types.AWSResource, error)
- func (_m *AWSResourceManager) Delete(_a0 context.Context, _a1 types.AWSResource) error
- func (_m *AWSResourceManager) ReadOne(_a0 context.Context, _a1 types.AWSResource) (types.AWSResource, 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) ResourceDescriptor() types.AWSResourceDescriptor
- type AWSResourceReconciler
- func (_m *AWSResourceReconciler) BindControllerManager(_a0 manager.Manager) error
- func (_m *AWSResourceReconciler) GroupKind() *v1.GroupKind
- func (_m *AWSResourceReconciler) Reconcile(_a0 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) error
- type Reconciler
- type RuntimeMetaObject
- func (_m *RuntimeMetaObject) DeepCopyObject() runtime.Object
- func (_m *RuntimeMetaObject) GetAnnotations() map[string]string
- func (_m *RuntimeMetaObject) GetClusterName() string
- func (_m *RuntimeMetaObject) GetCreationTimestamp() v1.Time
- func (_m *RuntimeMetaObject) GetDeletionGracePeriodSeconds() *int64
- func (_m *RuntimeMetaObject) GetDeletionTimestamp() *v1.Time
- func (_m *RuntimeMetaObject) GetFinalizers() []string
- func (_m *RuntimeMetaObject) GetGenerateName() string
- func (_m *RuntimeMetaObject) GetGeneration() int64
- func (_m *RuntimeMetaObject) GetLabels() map[string]string
- func (_m *RuntimeMetaObject) GetManagedFields() []v1.ManagedFieldsEntry
- func (_m *RuntimeMetaObject) GetName() string
- func (_m *RuntimeMetaObject) GetNamespace() string
- func (_m *RuntimeMetaObject) GetObjectKind() schema.ObjectKind
- func (_m *RuntimeMetaObject) GetOwnerReferences() []v1.OwnerReference
- func (_m *RuntimeMetaObject) GetResourceVersion() string
- func (_m *RuntimeMetaObject) GetSelfLink() string
- func (_m *RuntimeMetaObject) GetUID() pkgtypes.UID
- func (_m *RuntimeMetaObject) SetAnnotations(annotations map[string]string)
- func (_m *RuntimeMetaObject) SetClusterName(clusterName string)
- func (_m *RuntimeMetaObject) SetCreationTimestamp(timestamp v1.Time)
- func (_m *RuntimeMetaObject) SetDeletionGracePeriodSeconds(_a0 *int64)
- func (_m *RuntimeMetaObject) SetDeletionTimestamp(timestamp *v1.Time)
- func (_m *RuntimeMetaObject) SetFinalizers(finalizers []string)
- func (_m *RuntimeMetaObject) SetGenerateName(name string)
- func (_m *RuntimeMetaObject) SetGeneration(generation int64)
- func (_m *RuntimeMetaObject) SetLabels(labels map[string]string)
- func (_m *RuntimeMetaObject) SetManagedFields(managedFields []v1.ManagedFieldsEntry)
- func (_m *RuntimeMetaObject) SetName(name string)
- func (_m *RuntimeMetaObject) SetNamespace(namespace string)
- func (_m *RuntimeMetaObject) SetOwnerReferences(_a0 []v1.OwnerReference)
- func (_m *RuntimeMetaObject) SetResourceVersion(version string)
- func (_m *RuntimeMetaObject) SetSelfLink(selfLink string)
- func (_m *RuntimeMetaObject) SetUID(uid pkgtypes.UID)
- type ServiceController
- func (_m *ServiceController) BindControllerManager(_a0 manager.Manager, _a1 config.Config) error
- 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
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 (*AWSResource) Conditions ¶
func (_m *AWSResource) Conditions() []*v1alpha1.Condition
Conditions 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) RuntimeMetaObject ¶
func (_m *AWSResource) RuntimeMetaObject() types.RuntimeMetaObject
RuntimeMetaObject provides a mock function with given fields:
func (*AWSResource) RuntimeObject ¶
func (_m *AWSResource) RuntimeObject() runtime.Object
RuntimeObject provides a mock function with given fields:
func (*AWSResource) SetIdentifiers ¶
func (_m *AWSResource) SetIdentifiers(_a0 *v1alpha1.AWSIdentifiers) error
SetIdentifiers provides a mock function with given fields: _a0
func (*AWSResource) SetObjectMeta ¶
func (_m *AWSResource) SetObjectMeta(meta v1.ObjectMeta)
SetObjectMeta provides a mock function with given fields: meta
type AWSResourceDescriptor ¶
AWSResourceDescriptor is an autogenerated mock type for the AWSResourceDescriptor type
func (*AWSResourceDescriptor) Delta ¶
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() runtime.Object
EmptyRuntimeObject provides a mock function with given fields:
func (*AWSResourceDescriptor) GroupKind ¶
func (_m *AWSResourceDescriptor) GroupKind() *v1.GroupKind
GroupKind 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 ¶
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 runtime.Object) types.AWSResource
ResourceFromRuntimeObject provides a mock function with given fields: _a0
func (*AWSResourceDescriptor) UpdateCRStatus ¶
func (_m *AWSResourceDescriptor) UpdateCRStatus(_a0 types.AWSResource) (bool, error)
UpdateCRStatus provides a mock function with given fields: _a0
type AWSResourceIdentifiers ¶
AWSResourceIdentifiers is an autogenerated mock type for the AWSResourceIdentifiers type
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:
type AWSResourceManager ¶
AWSResourceManager is an autogenerated mock type for the AWSResourceManager type
func (*AWSResourceManager) ARNFromName ¶
func (_m *AWSResourceManager) ARNFromName(_a0 string) string
ARNFromName 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) error
Delete 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) 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 (*AWSResourceManagerFactory) IsAdoptable ¶
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) 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 (*AWSResourceReconciler) BindControllerManager ¶
func (_m *AWSResourceReconciler) BindControllerManager(_a0 manager.Manager) error
BindControllerManager provides a mock function with given fields: _a0
func (*AWSResourceReconciler) GroupKind ¶
func (_m *AWSResourceReconciler) GroupKind() *v1.GroupKind
GroupKind provides a mock function with given fields:
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 ¶
func (_m *AWSResourceReconciler) Sync(_a0 context.Context, _a1 types.AWSResourceManager, _a2 types.AWSResource) error
Sync provides a mock function with given fields: _a0, _a1, _a2
type Reconciler ¶
Reconciler is an autogenerated mock type for the Reconciler type
func (*Reconciler) BindControllerManager ¶
func (_m *Reconciler) BindControllerManager(_a0 manager.Manager) error
BindControllerManager provides a mock function with given fields: _a0
func (*Reconciler) SecretValueFromReference ¶
func (_m *Reconciler) SecretValueFromReference(_a0 context.Context, _a1 *v1alpha1.SecretKeyReference) (string, error)
SecretValueFromReference provides a mock function with given fields: _a0, _a1
type RuntimeMetaObject ¶
RuntimeMetaObject is an autogenerated mock type for the RuntimeMetaObject type
func (*RuntimeMetaObject) DeepCopyObject ¶
func (_m *RuntimeMetaObject) DeepCopyObject() runtime.Object
DeepCopyObject provides a mock function with given fields:
func (*RuntimeMetaObject) GetAnnotations ¶
func (_m *RuntimeMetaObject) GetAnnotations() map[string]string
GetAnnotations provides a mock function with given fields:
func (*RuntimeMetaObject) GetClusterName ¶
func (_m *RuntimeMetaObject) GetClusterName() string
GetClusterName provides a mock function with given fields:
func (*RuntimeMetaObject) GetCreationTimestamp ¶
func (_m *RuntimeMetaObject) GetCreationTimestamp() v1.Time
GetCreationTimestamp provides a mock function with given fields:
func (*RuntimeMetaObject) GetDeletionGracePeriodSeconds ¶
func (_m *RuntimeMetaObject) GetDeletionGracePeriodSeconds() *int64
GetDeletionGracePeriodSeconds provides a mock function with given fields:
func (*RuntimeMetaObject) GetDeletionTimestamp ¶
func (_m *RuntimeMetaObject) GetDeletionTimestamp() *v1.Time
GetDeletionTimestamp provides a mock function with given fields:
func (*RuntimeMetaObject) GetFinalizers ¶
func (_m *RuntimeMetaObject) GetFinalizers() []string
GetFinalizers provides a mock function with given fields:
func (*RuntimeMetaObject) GetGenerateName ¶
func (_m *RuntimeMetaObject) GetGenerateName() string
GetGenerateName provides a mock function with given fields:
func (*RuntimeMetaObject) GetGeneration ¶
func (_m *RuntimeMetaObject) GetGeneration() int64
GetGeneration provides a mock function with given fields:
func (*RuntimeMetaObject) GetLabels ¶
func (_m *RuntimeMetaObject) GetLabels() map[string]string
GetLabels provides a mock function with given fields:
func (*RuntimeMetaObject) GetManagedFields ¶
func (_m *RuntimeMetaObject) GetManagedFields() []v1.ManagedFieldsEntry
GetManagedFields provides a mock function with given fields:
func (*RuntimeMetaObject) GetName ¶
func (_m *RuntimeMetaObject) GetName() string
GetName provides a mock function with given fields:
func (*RuntimeMetaObject) GetNamespace ¶
func (_m *RuntimeMetaObject) GetNamespace() string
GetNamespace provides a mock function with given fields:
func (*RuntimeMetaObject) GetObjectKind ¶
func (_m *RuntimeMetaObject) GetObjectKind() schema.ObjectKind
GetObjectKind provides a mock function with given fields:
func (*RuntimeMetaObject) GetOwnerReferences ¶
func (_m *RuntimeMetaObject) GetOwnerReferences() []v1.OwnerReference
GetOwnerReferences provides a mock function with given fields:
func (*RuntimeMetaObject) GetResourceVersion ¶
func (_m *RuntimeMetaObject) GetResourceVersion() string
GetResourceVersion provides a mock function with given fields:
func (*RuntimeMetaObject) GetSelfLink ¶
func (_m *RuntimeMetaObject) GetSelfLink() string
GetSelfLink provides a mock function with given fields:
func (*RuntimeMetaObject) GetUID ¶
func (_m *RuntimeMetaObject) GetUID() pkgtypes.UID
GetUID provides a mock function with given fields:
func (*RuntimeMetaObject) SetAnnotations ¶
func (_m *RuntimeMetaObject) SetAnnotations(annotations map[string]string)
SetAnnotations provides a mock function with given fields: annotations
func (*RuntimeMetaObject) SetClusterName ¶
func (_m *RuntimeMetaObject) SetClusterName(clusterName string)
SetClusterName provides a mock function with given fields: clusterName
func (*RuntimeMetaObject) SetCreationTimestamp ¶
func (_m *RuntimeMetaObject) SetCreationTimestamp(timestamp v1.Time)
SetCreationTimestamp provides a mock function with given fields: timestamp
func (*RuntimeMetaObject) SetDeletionGracePeriodSeconds ¶
func (_m *RuntimeMetaObject) SetDeletionGracePeriodSeconds(_a0 *int64)
SetDeletionGracePeriodSeconds provides a mock function with given fields: _a0
func (*RuntimeMetaObject) SetDeletionTimestamp ¶
func (_m *RuntimeMetaObject) SetDeletionTimestamp(timestamp *v1.Time)
SetDeletionTimestamp provides a mock function with given fields: timestamp
func (*RuntimeMetaObject) SetFinalizers ¶
func (_m *RuntimeMetaObject) SetFinalizers(finalizers []string)
SetFinalizers provides a mock function with given fields: finalizers
func (*RuntimeMetaObject) SetGenerateName ¶
func (_m *RuntimeMetaObject) SetGenerateName(name string)
SetGenerateName provides a mock function with given fields: name
func (*RuntimeMetaObject) SetGeneration ¶
func (_m *RuntimeMetaObject) SetGeneration(generation int64)
SetGeneration provides a mock function with given fields: generation
func (*RuntimeMetaObject) SetLabels ¶
func (_m *RuntimeMetaObject) SetLabels(labels map[string]string)
SetLabels provides a mock function with given fields: labels
func (*RuntimeMetaObject) SetManagedFields ¶
func (_m *RuntimeMetaObject) SetManagedFields(managedFields []v1.ManagedFieldsEntry)
SetManagedFields provides a mock function with given fields: managedFields
func (*RuntimeMetaObject) SetName ¶
func (_m *RuntimeMetaObject) SetName(name string)
SetName provides a mock function with given fields: name
func (*RuntimeMetaObject) SetNamespace ¶
func (_m *RuntimeMetaObject) SetNamespace(namespace string)
SetNamespace provides a mock function with given fields: namespace
func (*RuntimeMetaObject) SetOwnerReferences ¶
func (_m *RuntimeMetaObject) SetOwnerReferences(_a0 []v1.OwnerReference)
SetOwnerReferences provides a mock function with given fields: _a0
func (*RuntimeMetaObject) SetResourceVersion ¶
func (_m *RuntimeMetaObject) SetResourceVersion(version string)
SetResourceVersion provides a mock function with given fields: version
func (*RuntimeMetaObject) SetSelfLink ¶
func (_m *RuntimeMetaObject) SetSelfLink(selfLink string)
SetSelfLink provides a mock function with given fields: selfLink
func (*RuntimeMetaObject) SetUID ¶
func (_m *RuntimeMetaObject) SetUID(uid pkgtypes.UID)
SetUID provides a mock function with given fields: uid
type ServiceController ¶
ServiceController is an autogenerated mock type for the ServiceController type
func (*ServiceController) BindControllerManager ¶
BindControllerManager provides a mock function with given fields: _a0, _a1
func (*ServiceController) GetReconcilers ¶
func (_m *ServiceController) GetReconcilers() []types.AWSResourceReconciler
GetReconcilers provides a mock function with given fields:
func (*ServiceController) GetResourceManagerFactories ¶
func (_m *ServiceController) GetResourceManagerFactories() map[string]types.AWSResourceManagerFactory
GetResourceManagerFactories provides a mock function with given fields:
func (*ServiceController) NewSession ¶
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 ¶
func (_m *ServiceController) WithLogger(_a0 logr.Logger) types.ServiceController
WithLogger provides a mock function with given fields: _a0
func (*ServiceController) WithPrometheusRegistry ¶
func (_m *ServiceController) WithPrometheusRegistry(_a0 prometheus.Registerer) types.ServiceController
WithPrometheusRegistry provides a mock function with given fields: _a0
func (*ServiceController) WithResourceManagerFactories ¶
func (_m *ServiceController) WithResourceManagerFactories(_a0 []types.AWSResourceManagerFactory) types.ServiceController
WithResourceManagerFactories provides a mock function with given fields: _a0