Documentation ¶
Overview ¶
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 string) (*datamodel.VmssAttestedData, error)
- func (m *MockImdsClient) GetInstanceData() (*datamodel.VmssInstanceData, error)
- func (m *MockImdsClient) GetMSIToken(arg0 string) (*datamodel.TokenResponseJSON, error)
- func (m *MockImdsClient) SetImdsURL(arg0 string)
- type MockImdsClientMockRecorder
- func (mr *MockImdsClientMockRecorder) GetAttestedData(arg0 interface{}) *gomock.Call
- func (mr *MockImdsClientMockRecorder) GetInstanceData() *gomock.Call
- func (mr *MockImdsClientMockRecorder) GetMSIToken(arg0 interface{}) *gomock.Call
- func (mr *MockImdsClientMockRecorder) SetImdsURL(arg0 interface{}) *gomock.Call
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, arg1, arg2 string, arg3 []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, arg3 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 string) (*datamodel.VmssAttestedData, error)
GetAttestedData mocks base method.
func (*MockImdsClient) GetInstanceData ¶
func (m *MockImdsClient) GetInstanceData() (*datamodel.VmssInstanceData, error)
GetInstanceData mocks base method.
func (*MockImdsClient) GetMSIToken ¶
func (m *MockImdsClient) GetMSIToken(arg0 string) (*datamodel.TokenResponseJSON, error)
GetMSIToken mocks base method.
func (*MockImdsClient) SetImdsURL ¶
func (m *MockImdsClient) SetImdsURL(arg0 string)
SetImdsURL 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 interface{}) *gomock.Call
GetAttestedData indicates an expected call of GetAttestedData.
func (*MockImdsClientMockRecorder) GetInstanceData ¶
func (mr *MockImdsClientMockRecorder) GetInstanceData() *gomock.Call
GetInstanceData indicates an expected call of GetInstanceData.
func (*MockImdsClientMockRecorder) GetMSIToken ¶
func (mr *MockImdsClientMockRecorder) GetMSIToken(arg0 interface{}) *gomock.Call
GetMSIToken indicates an expected call of GetMSIToken.
func (*MockImdsClientMockRecorder) SetImdsURL ¶
func (mr *MockImdsClientMockRecorder) SetImdsURL(arg0 interface{}) *gomock.Call
SetImdsURL indicates an expected call of SetImdsURL.