Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAadClient
- type MockAadClientMockRecorder
- type MockImdsClient
- func (m *MockImdsClient) EXPECT() *MockImdsClientMockRecorder
- func (m *MockImdsClient) GetAttestedData(arg0 context.Context, arg1, arg2 string) (*datamodel.VMSSAttestedData, error)
- func (m *MockImdsClient) GetInstanceData(arg0 context.Context, arg1 string) (*datamodel.VMSSInstanceData, error)
- func (m *MockImdsClient) GetMSIToken(arg0 context.Context, arg1, arg2, arg3 string) (*datamodel.AADTokenResponse, error)
- type MockImdsClientMockRecorder
- type MockfileReader
- type MockfileReaderMockRecorder
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 ¶
func (m *MockAadClient) EXPECT() *MockAadClientMockRecorder
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 ¶
func (m *MockImdsClient) EXPECT() *MockImdsClientMockRecorder
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 ¶
func (m *MockfileReader) EXPECT() *MockfileReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.