From 60aa09b0eefe8110192a609a98cc3714ec2d5bf5 Mon Sep 17 00:00:00 2001 From: dhij Date: Wed, 8 May 2024 14:04:10 -0400 Subject: [PATCH] add UpdateMetricsCredentials and ListDatabaseEvents to FakeDatabasesService --- fakegodo/databases.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/fakegodo/databases.go b/fakegodo/databases.go index f0832317..c5f57be3 100644 --- a/fakegodo/databases.go +++ b/fakegodo/databases.go @@ -398,3 +398,13 @@ func (f *FakeDatabasesService) UpdateTopic(context.Context, string, string, *god func (f *FakeDatabasesService) GetMetricsCredentials(ctx context.Context) (*godo.DatabaseMetricsCredentials, *godo.Response, error) { panic("not implemented") } + +// UpdateMetricsCredentials ... +func (f *FakeDatabasesService) UpdateMetricsCredentials(ctx context.Context, updateCreds *godo.DatabaseUpdateMetricsCredentialsRequest) (*godo.Response, error) { + panic("not implemented") +} + +// ListDatabaseEvents ... +func (f *FakeDatabasesService) ListDatabaseEvents(ctx context.Context, databaseID string, opts *godo.ListOptions) ([]godo.DatabaseEvent, *godo.Response, error) { + panic("not implemented") +}