Documentation ¶
Overview ¶
Package mock_azuredevops is a generated GoMock package.
Index ¶
- type MockIdentityFuncsI
- func (m *MockIdentityFuncsI) EXPECT() *MockIdentityFuncsIMockRecorder
- func (m *MockIdentityFuncsI) NewClientAssertionCredential(tenantID, clientID string, getAssertion func(context.Context) (string, error), ...) (azuredevops.TokenGetter, error)
- func (m *MockIdentityFuncsI) NewClientCertificateCredential(tenantID, clientID string, certs []*x509.Certificate, key crypto.PrivateKey, ...) (azuredevops.TokenGetter, error)
- func (m *MockIdentityFuncsI) NewClientSecretCredential(tenantID, clientID, clientSecret string, ...) (azuredevops.TokenGetter, error)
- func (m *MockIdentityFuncsI) NewManagedIdentityCredential(options *azidentity.ManagedIdentityCredentialOptions) (azuredevops.TokenGetter, error)
- type MockIdentityFuncsIMockRecorder
- func (mr *MockIdentityFuncsIMockRecorder) NewClientAssertionCredential(tenantID, clientID, getAssertion, options interface{}) *gomock.Call
- func (mr *MockIdentityFuncsIMockRecorder) NewClientCertificateCredential(tenantID, clientID, certs, key, options interface{}) *gomock.Call
- func (mr *MockIdentityFuncsIMockRecorder) NewClientSecretCredential(tenantID, clientID, clientSecret, options interface{}) *gomock.Call
- func (mr *MockIdentityFuncsIMockRecorder) NewManagedIdentityCredential(options interface{}) *gomock.Call
- type MockTokenGetter
- type MockTokenGetterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIdentityFuncsI ¶
type MockIdentityFuncsI struct {
// contains filtered or unexported fields
}
MockIdentityFuncsI is a mock of IdentityFuncsI interface.
func NewMockIdentityFuncsI ¶
func NewMockIdentityFuncsI(ctrl *gomock.Controller) *MockIdentityFuncsI
NewMockIdentityFuncsI creates a new mock instance.
func (*MockIdentityFuncsI) EXPECT ¶
func (m *MockIdentityFuncsI) EXPECT() *MockIdentityFuncsIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIdentityFuncsI) NewClientAssertionCredential ¶
func (m *MockIdentityFuncsI) NewClientAssertionCredential(tenantID, clientID string, getAssertion func(context.Context) (string, error), options *azidentity.ClientAssertionCredentialOptions) (azuredevops.TokenGetter, error)
NewClientAssertionCredential mocks base method.
func (*MockIdentityFuncsI) NewClientCertificateCredential ¶
func (m *MockIdentityFuncsI) NewClientCertificateCredential(tenantID, clientID string, certs []*x509.Certificate, key crypto.PrivateKey, options *azidentity.ClientCertificateCredentialOptions) (azuredevops.TokenGetter, error)
NewClientCertificateCredential mocks base method.
func (*MockIdentityFuncsI) NewClientSecretCredential ¶
func (m *MockIdentityFuncsI) NewClientSecretCredential(tenantID, clientID, clientSecret string, options *azidentity.ClientSecretCredentialOptions) (azuredevops.TokenGetter, error)
NewClientSecretCredential mocks base method.
func (*MockIdentityFuncsI) NewManagedIdentityCredential ¶
func (m *MockIdentityFuncsI) NewManagedIdentityCredential(options *azidentity.ManagedIdentityCredentialOptions) (azuredevops.TokenGetter, error)
NewManagedIdentityCredential mocks base method.
type MockIdentityFuncsIMockRecorder ¶
type MockIdentityFuncsIMockRecorder struct {
// contains filtered or unexported fields
}
MockIdentityFuncsIMockRecorder is the mock recorder for MockIdentityFuncsI.
func (*MockIdentityFuncsIMockRecorder) NewClientAssertionCredential ¶
func (mr *MockIdentityFuncsIMockRecorder) NewClientAssertionCredential(tenantID, clientID, getAssertion, options interface{}) *gomock.Call
NewClientAssertionCredential indicates an expected call of NewClientAssertionCredential.
func (*MockIdentityFuncsIMockRecorder) NewClientCertificateCredential ¶
func (mr *MockIdentityFuncsIMockRecorder) NewClientCertificateCredential(tenantID, clientID, certs, key, options interface{}) *gomock.Call
NewClientCertificateCredential indicates an expected call of NewClientCertificateCredential.
func (*MockIdentityFuncsIMockRecorder) NewClientSecretCredential ¶
func (mr *MockIdentityFuncsIMockRecorder) NewClientSecretCredential(tenantID, clientID, clientSecret, options interface{}) *gomock.Call
NewClientSecretCredential indicates an expected call of NewClientSecretCredential.
func (*MockIdentityFuncsIMockRecorder) NewManagedIdentityCredential ¶
func (mr *MockIdentityFuncsIMockRecorder) NewManagedIdentityCredential(options interface{}) *gomock.Call
NewManagedIdentityCredential indicates an expected call of NewManagedIdentityCredential.
type MockTokenGetter ¶
type MockTokenGetter struct {
// contains filtered or unexported fields
}
MockTokenGetter is a mock of TokenGetter interface.
func NewMockTokenGetter ¶
func NewMockTokenGetter(ctrl *gomock.Controller) *MockTokenGetter
NewMockTokenGetter creates a new mock instance.
func (*MockTokenGetter) EXPECT ¶
func (m *MockTokenGetter) EXPECT() *MockTokenGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTokenGetter) GetToken ¶
func (m *MockTokenGetter) GetToken(ctx context.Context, opts policy.TokenRequestOptions) (azcore.AccessToken, error)
GetToken mocks base method.
type MockTokenGetterMockRecorder ¶
type MockTokenGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockTokenGetterMockRecorder is the mock recorder for MockTokenGetter.
func (*MockTokenGetterMockRecorder) GetToken ¶
func (mr *MockTokenGetterMockRecorder) GetToken(ctx, opts interface{}) *gomock.Call
GetToken indicates an expected call of GetToken.