Documentation ¶
Overview ¶
Package mock_ec2metadatawrapper is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHTTPClient ¶ added in v1.7.2
type MockHTTPClient struct {
// contains filtered or unexported fields
}
MockHTTPClient is a mock of HTTPClient interface
func NewMockHTTPClient ¶ added in v1.7.2
func NewMockHTTPClient(ctrl *gomock.Controller) *MockHTTPClient
NewMockHTTPClient creates a new mock instance
func (*MockHTTPClient) EXPECT ¶ added in v1.7.2
func (m *MockHTTPClient) EXPECT() *MockHTTPClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHTTPClient) GetInstanceIdentityDocument ¶ added in v1.7.2
func (m *MockHTTPClient) GetInstanceIdentityDocument() (ec2metadata.EC2InstanceIdentityDocument, error)
GetInstanceIdentityDocument mocks base method
func (*MockHTTPClient) Region ¶ added in v1.7.2
func (m *MockHTTPClient) Region() (string, error)
Region mocks base method
type MockHTTPClientMockRecorder ¶ added in v1.8.0
type MockHTTPClientMockRecorder struct {
// contains filtered or unexported fields
}
MockHTTPClientMockRecorder is the mock recorder for MockHTTPClient
func (*MockHTTPClientMockRecorder) GetInstanceIdentityDocument ¶ added in v1.8.0
func (mr *MockHTTPClientMockRecorder) GetInstanceIdentityDocument() *gomock.Call
GetInstanceIdentityDocument indicates an expected call of GetInstanceIdentityDocument
func (*MockHTTPClientMockRecorder) Region ¶ added in v1.8.0
func (mr *MockHTTPClientMockRecorder) Region() *gomock.Call
Region indicates an expected call of Region
Click to show internal directories.
Click to hide internal directories.