File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,5 @@ testdata/*
7
7
redis8tests.sh
8
8
coverage.txt
9
9
** /coverage.txt
10
- .vscode
10
+ .vscode
11
+ tmp /*
Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ type StreamingCredentialsProvider interface {
10
10
// It returns the current credentials, a cancel function to unsubscribe from the provider,
11
11
// and an error if any.
12
12
// TODO(ndyakov): Should we add context to the Subscribe method?
13
- Subscribe (listener CredentialsListener ) (Credentials , CancelProviderFunc , error )
13
+ Subscribe (listener CredentialsListener ) (Credentials , UnsubscribeFunc , error )
14
14
}
15
15
16
- // CancelProviderFunc is a function that is used to cancel the subscription to the credentials provider.
16
+ // UnsubscribeFunc is a function that is used to cancel the subscription to the credentials provider.
17
17
// It is used to unsubscribe from the provider when the credentials are no longer needed.
18
- type CancelProviderFunc func () error
18
+ type UnsubscribeFunc func () error
19
19
20
20
// CredentialsListener is an interface that defines the methods for a credentials listener.
21
21
// It is used to receive updates when the credentials change.
You can’t perform that action at this time.
0 commit comments