mock_authorizer

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock_authorizer is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockACRTokenExchanger

type MockACRTokenExchanger struct {
	// contains filtered or unexported fields
}

MockACRTokenExchanger is a mock of ACRTokenExchanger interface.

func NewMockACRTokenExchanger

func NewMockACRTokenExchanger(ctrl *gomock.Controller) *MockACRTokenExchanger

NewMockACRTokenExchanger creates a new mock instance.

func (*MockACRTokenExchanger) EXPECT

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

func (*MockACRTokenExchanger) ExchangeACRAccessToken

func (m *MockACRTokenExchanger) ExchangeACRAccessToken(ctx context.Context, log logr.Logger, armToken types.AccessToken, acrFQDN string) (types.AccessToken, error)

ExchangeACRAccessToken mocks base method.

type MockACRTokenExchangerMockRecorder

type MockACRTokenExchangerMockRecorder struct {
	// contains filtered or unexported fields
}

MockACRTokenExchangerMockRecorder is the mock recorder for MockACRTokenExchanger.

func (*MockACRTokenExchangerMockRecorder) ExchangeACRAccessToken

func (mr *MockACRTokenExchangerMockRecorder) ExchangeACRAccessToken(ctx, log, armToken, acrFQDN any) *gomock.Call

ExchangeACRAccessToken indicates an expected call of ExchangeACRAccessToken.

type MockInterface

type MockInterface struct {
	// contains filtered or unexported fields
}

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) AcquireACRAccessTokenWithClientID

func (m *MockInterface) AcquireACRAccessTokenWithClientID(ctx context.Context, log logr.Logger, clientID, acrFQDN string) (types.AccessToken, error)

AcquireACRAccessTokenWithClientID mocks base method.

func (*MockInterface) AcquireACRAccessTokenWithResourceID

func (m *MockInterface) AcquireACRAccessTokenWithResourceID(ctx context.Context, log logr.Logger, identityResourceID, acrFQDN string) (types.AccessToken, error)

AcquireACRAccessTokenWithResourceID mocks base method.

func (*MockInterface) EXPECT

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

type MockInterfaceMockRecorder

type MockInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) AcquireACRAccessTokenWithClientID

func (mr *MockInterfaceMockRecorder) AcquireACRAccessTokenWithClientID(ctx, log, clientID, acrFQDN any) *gomock.Call

AcquireACRAccessTokenWithClientID indicates an expected call of AcquireACRAccessTokenWithClientID.

func (*MockInterfaceMockRecorder) AcquireACRAccessTokenWithResourceID

func (mr *MockInterfaceMockRecorder) AcquireACRAccessTokenWithResourceID(ctx, log, identityResourceID, acrFQDN any) *gomock.Call

AcquireACRAccessTokenWithResourceID indicates an expected call of AcquireACRAccessTokenWithResourceID.

type MockManagedIdentityTokenRetriever

type MockManagedIdentityTokenRetriever struct {
	// contains filtered or unexported fields
}

MockManagedIdentityTokenRetriever is a mock of ManagedIdentityTokenRetriever interface.

func NewMockManagedIdentityTokenRetriever

func NewMockManagedIdentityTokenRetriever(ctrl *gomock.Controller) *MockManagedIdentityTokenRetriever

NewMockManagedIdentityTokenRetriever creates a new mock instance.

func (*MockManagedIdentityTokenRetriever) AcquireARMToken

func (m *MockManagedIdentityTokenRetriever) AcquireARMToken(ctx context.Context, log logr.Logger, clientID, resourceID string) (types.AccessToken, error)

AcquireARMToken mocks base method.

func (*MockManagedIdentityTokenRetriever) EXPECT

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

type MockManagedIdentityTokenRetrieverMockRecorder

type MockManagedIdentityTokenRetrieverMockRecorder struct {
	// contains filtered or unexported fields
}

MockManagedIdentityTokenRetrieverMockRecorder is the mock recorder for MockManagedIdentityTokenRetriever.

func (*MockManagedIdentityTokenRetrieverMockRecorder) AcquireARMToken

func (mr *MockManagedIdentityTokenRetrieverMockRecorder) AcquireARMToken(ctx, log, clientID, resourceID any) *gomock.Call

AcquireARMToken indicates an expected call of AcquireARMToken.

Jump to

Keyboard shortcuts

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