mocks

package
v0.1.0-notokenalpha.4 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAadClient

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

MockAadClient is a mock of AadClient interface.

func NewMockAadClient

func NewMockAadClient(ctrl *gomock.Controller) *MockAadClient

NewMockAadClient creates a new mock instance.

func (*MockAadClient) EXPECT

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

func (*MockAadClient) GetAadToken

func (m *MockAadClient) GetAadToken(arg0 context.Context, arg1 *datamodel.AzureConfig, arg2 string) (string, error)

GetAadToken mocks base method.

type MockAadClientMockRecorder

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

MockAadClientMockRecorder is the mock recorder for MockAadClient.

func (*MockAadClientMockRecorder) GetAadToken

func (mr *MockAadClientMockRecorder) GetAadToken(arg0, arg1, arg2 interface{}) *gomock.Call

GetAadToken indicates an expected call of GetAadToken.

type MockImdsClient

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

MockImdsClient is a mock of ImdsClient interface.

func NewMockImdsClient

func NewMockImdsClient(ctrl *gomock.Controller) *MockImdsClient

NewMockImdsClient creates a new mock instance.

func (*MockImdsClient) EXPECT

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

func (*MockImdsClient) GetAttestedData

func (m *MockImdsClient) GetAttestedData(arg0 context.Context, arg1, arg2 string) (*datamodel.VMSSAttestedData, error)

GetAttestedData mocks base method.

func (*MockImdsClient) GetInstanceData

func (m *MockImdsClient) GetInstanceData(arg0 context.Context, arg1 string) (*datamodel.VMSSInstanceData, error)

GetInstanceData mocks base method.

func (*MockImdsClient) GetMSIToken

func (m *MockImdsClient) GetMSIToken(arg0 context.Context, arg1, arg2, arg3 string) (*datamodel.AADTokenResponse, error)

GetMSIToken mocks base method.

type MockImdsClientMockRecorder

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

MockImdsClientMockRecorder is the mock recorder for MockImdsClient.

func (*MockImdsClientMockRecorder) GetAttestedData

func (mr *MockImdsClientMockRecorder) GetAttestedData(arg0, arg1, arg2 interface{}) *gomock.Call

GetAttestedData indicates an expected call of GetAttestedData.

func (*MockImdsClientMockRecorder) GetInstanceData

func (mr *MockImdsClientMockRecorder) GetInstanceData(arg0, arg1 interface{}) *gomock.Call

GetInstanceData indicates an expected call of GetInstanceData.

func (*MockImdsClientMockRecorder) GetMSIToken

func (mr *MockImdsClientMockRecorder) GetMSIToken(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetMSIToken indicates an expected call of GetMSIToken.

type MockfileReader

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

MockfileReader is a mock of fileReader interface.

func NewMockfileReader

func NewMockfileReader(ctrl *gomock.Controller) *MockfileReader

NewMockfileReader creates a new mock instance.

func (*MockfileReader) EXPECT

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

func (*MockfileReader) ReadDir

func (m *MockfileReader) ReadDir(name string) ([]os.DirEntry, error)

ReadDir mocks base method.

func (*MockfileReader) ReadFile

func (m *MockfileReader) ReadFile(name string) ([]byte, error)

ReadFile mocks base method.

type MockfileReaderMockRecorder

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

MockfileReaderMockRecorder is the mock recorder for MockfileReader.

func (*MockfileReaderMockRecorder) ReadDir

func (mr *MockfileReaderMockRecorder) ReadDir(name interface{}) *gomock.Call

ReadDir indicates an expected call of ReadDir.

func (*MockfileReaderMockRecorder) ReadFile

func (mr *MockfileReaderMockRecorder) ReadFile(name interface{}) *gomock.Call

ReadFile indicates an expected call of ReadFile.

Jump to

Keyboard shortcuts

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