Skip to content

Commit d2f3189

Browse files
authored
Add IsSynced function to the AWSResource interface (#67) (#69)
Follow up to aws-controllers-k8s/code-generator#247 Description of changes: - Add `IsSynced` function to the `AWSResource` interface By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. Issue #, if available: Description of changes: By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent df46566 commit d2f3189

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

mocks/pkg/types/aws_resource_manager.go

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/types/aws_resource_manager.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ type AWSResourceManager interface {
8383
// This method also adds/updates the ConditionTypeReferencesResolved for the
8484
// AWSResource.
8585
ResolveReferences(context.Context, client.Reader, AWSResource) (AWSResource, error)
86+
// IsSynced returns true if a resource is synced.
87+
IsSynced(context.Context, AWSResource) (bool, error)
8688
}
8789

8890
// AWSResourceManagerFactory returns an AWSResourceManager that can be used to

0 commit comments

Comments
 (0)