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 MockEC2MetadataClient ¶
type MockEC2MetadataClient struct {
// contains filtered or unexported fields
}
MockEC2MetadataClient is a mock of EC2MetadataClient interface
func NewMockEC2MetadataClient ¶
func NewMockEC2MetadataClient(ctrl *gomock.Controller) *MockEC2MetadataClient
NewMockEC2MetadataClient creates a new mock instance
func (*MockEC2MetadataClient) EXPECT ¶
func (m *MockEC2MetadataClient) EXPECT() *MockEC2MetadataClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEC2MetadataClient) GetInstanceIdentityDocument ¶
func (m *MockEC2MetadataClient) GetInstanceIdentityDocument() (ec2metadata.EC2InstanceIdentityDocument, error)
GetInstanceIdentityDocument mocks base method
func (*MockEC2MetadataClient) Region ¶
func (m *MockEC2MetadataClient) Region() (string, error)
Region mocks base method
type MockEC2MetadataClientMockRecorder ¶ added in v1.10.0
type MockEC2MetadataClientMockRecorder struct {
// contains filtered or unexported fields
}
MockEC2MetadataClientMockRecorder is the mock recorder for MockEC2MetadataClient
func (*MockEC2MetadataClientMockRecorder) GetInstanceIdentityDocument ¶ added in v1.10.0
func (mr *MockEC2MetadataClientMockRecorder) GetInstanceIdentityDocument() *gomock.Call
GetInstanceIdentityDocument indicates an expected call of GetInstanceIdentityDocument
func (*MockEC2MetadataClientMockRecorder) Region ¶ added in v1.10.0
func (mr *MockEC2MetadataClientMockRecorder) Region() *gomock.Call
Region indicates an expected call of Region
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