Documentation
¶
Overview ¶
Package mock_authorizer is a generated GoMock package.
Index ¶
- type MockACRTokenExchanger
- type MockACRTokenExchangerMockRecorder
- type MockInterface
- func (m *MockInterface) AcquireACRAccessTokenWithClientID(ctx context.Context, log logr.Logger, clientID, acrFQDN string) (types.AccessToken, error)
- func (m *MockInterface) AcquireACRAccessTokenWithResourceID(ctx context.Context, log logr.Logger, identityResourceID, acrFQDN string) (types.AccessToken, error)
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- type MockInterfaceMockRecorder
- type MockManagedIdentityTokenRetriever
- type MockManagedIdentityTokenRetrieverMockRecorder
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 ¶
func (m *MockACRTokenExchanger) EXPECT() *MockACRTokenExchangerMockRecorder
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 ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
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 ¶
func (m *MockManagedIdentityTokenRetriever) EXPECT() *MockManagedIdentityTokenRetrieverMockRecorder
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.