mock_azuredevops

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package mock_azuredevops is a generated GoMock package.

Index

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTokenGetter) GetToken

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.

Jump to

Keyboard shortcuts

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