mock

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL