Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockAdalService
- func (m *MockAdalService) EXPECT() *MockAdalServiceMockRecorder
- func (m *MockAdalService) NewOAuthConfig(activeDirectoryEndpoint, tenantID string) (*adal.OAuthConfig, error)
- func (m *MockAdalService) NewServicePrincipalToken(oauthConfig adal.OAuthConfig, clientID, secret, resource string, ...) (*adal.ServicePrincipalToken, error)
- type MockAdalServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAdalService ¶
type MockAdalService struct {
// contains filtered or unexported fields
}
MockAdalService is a mock of AdalService interface.
func NewMockAdalService ¶
func NewMockAdalService(ctrl *gomock.Controller) *MockAdalService
NewMockAdalService creates a new mock instance.
func (*MockAdalService) EXPECT ¶
func (m *MockAdalService) EXPECT() *MockAdalServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAdalService) NewOAuthConfig ¶
func (m *MockAdalService) NewOAuthConfig(activeDirectoryEndpoint, tenantID string) (*adal.OAuthConfig, error)
NewOAuthConfig mocks base method.
func (*MockAdalService) NewServicePrincipalToken ¶
func (m *MockAdalService) NewServicePrincipalToken(oauthConfig adal.OAuthConfig, clientID, secret, resource string, callbacks ...adal.TokenRefreshCallback) (*adal.ServicePrincipalToken, error)
NewServicePrincipalToken mocks base method.
type MockAdalServiceMockRecorder ¶
type MockAdalServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAdalServiceMockRecorder is the mock recorder for MockAdalService.
func (*MockAdalServiceMockRecorder) NewOAuthConfig ¶
func (mr *MockAdalServiceMockRecorder) NewOAuthConfig(activeDirectoryEndpoint, tenantID interface{}) *gomock.Call
NewOAuthConfig indicates an expected call of NewOAuthConfig.
func (*MockAdalServiceMockRecorder) NewServicePrincipalToken ¶
func (mr *MockAdalServiceMockRecorder) NewServicePrincipalToken(oauthConfig, clientID, secret, resource interface{}, callbacks ...interface{}) *gomock.Call
NewServicePrincipalToken indicates an expected call of NewServicePrincipalToken.
Click to show internal directories.
Click to hide internal directories.