Documentation ¶
Overview ¶
Package mock_azcore is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTokenCredential ¶
type MockTokenCredential struct {
// contains filtered or unexported fields
}
MockTokenCredential is a mock of TokenCredential interface.
func NewMockTokenCredential ¶
func NewMockTokenCredential(ctrl *gomock.Controller) *MockTokenCredential
NewMockTokenCredential creates a new mock instance.
func (*MockTokenCredential) EXPECT ¶
func (m *MockTokenCredential) EXPECT() *MockTokenCredentialMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTokenCredential) GetToken ¶
func (m *MockTokenCredential) GetToken(ctx context.Context, options policy.TokenRequestOptions) (azcore.AccessToken, error)
GetToken mocks base method.
type MockTokenCredentialMockRecorder ¶
type MockTokenCredentialMockRecorder struct {
// contains filtered or unexported fields
}
MockTokenCredentialMockRecorder is the mock recorder for MockTokenCredential.
func (*MockTokenCredentialMockRecorder) GetToken ¶
func (mr *MockTokenCredentialMockRecorder) GetToken(ctx, options interface{}) *gomock.Call
GetToken indicates an expected call of GetToken.
Click to show internal directories.
Click to hide internal directories.