Documentation ¶
Overview ¶
Package mock_ec2 is a generated GoMock package.
Index ¶
- type MockEC2MetadataClient
- func (m *MockEC2MetadataClient) DefaultCredentials() (*ec2.RoleCredentials, error)
- func (m *MockEC2MetadataClient) EXPECT() *MockEC2MetadataClientMockRecorder
- func (m *MockEC2MetadataClient) GetDynamicData(arg0 string) (string, error)
- func (m *MockEC2MetadataClient) GetMetadata(arg0 string) (string, error)
- func (m *MockEC2MetadataClient) InstanceIdentityDocument() (ec2metadata.EC2InstanceIdentityDocument, error)
- func (m *MockEC2MetadataClient) PrimaryENIMAC() (string, error)
- func (m *MockEC2MetadataClient) SubnetID(arg0 string) (string, error)
- func (m *MockEC2MetadataClient) VPCID(arg0 string) (string, error)
- type MockEC2MetadataClientMockRecorder
- func (mr *MockEC2MetadataClientMockRecorder) DefaultCredentials() *gomock.Call
- func (mr *MockEC2MetadataClientMockRecorder) GetDynamicData(arg0 interface{}) *gomock.Call
- func (mr *MockEC2MetadataClientMockRecorder) GetMetadata(arg0 interface{}) *gomock.Call
- func (mr *MockEC2MetadataClientMockRecorder) InstanceIdentityDocument() *gomock.Call
- func (mr *MockEC2MetadataClientMockRecorder) PrimaryENIMAC() *gomock.Call
- func (mr *MockEC2MetadataClientMockRecorder) SubnetID(arg0 interface{}) *gomock.Call
- func (mr *MockEC2MetadataClientMockRecorder) VPCID(arg0 interface{}) *gomock.Call
- type MockHttpClient
- func (m *MockHttpClient) EXPECT() *MockHttpClientMockRecorder
- func (m *MockHttpClient) GetDynamicData(arg0 string) (string, error)
- func (m *MockHttpClient) GetInstanceIdentityDocument() (ec2metadata.EC2InstanceIdentityDocument, error)
- func (m *MockHttpClient) GetMetadata(arg0 string) (string, error)
- type MockHttpClientMockRecorder
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) DefaultCredentials ¶
func (m *MockEC2MetadataClient) DefaultCredentials() (*ec2.RoleCredentials, error)
DefaultCredentials mocks base method
func (*MockEC2MetadataClient) EXPECT ¶
func (m *MockEC2MetadataClient) EXPECT() *MockEC2MetadataClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEC2MetadataClient) GetDynamicData ¶
func (m *MockEC2MetadataClient) GetDynamicData(arg0 string) (string, error)
GetDynamicData mocks base method
func (*MockEC2MetadataClient) GetMetadata ¶
func (m *MockEC2MetadataClient) GetMetadata(arg0 string) (string, error)
GetMetadata mocks base method
func (*MockEC2MetadataClient) InstanceIdentityDocument ¶
func (m *MockEC2MetadataClient) InstanceIdentityDocument() (ec2metadata.EC2InstanceIdentityDocument, error)
InstanceIdentityDocument mocks base method
func (*MockEC2MetadataClient) PrimaryENIMAC ¶
func (m *MockEC2MetadataClient) PrimaryENIMAC() (string, error)
PrimaryENIMAC mocks base method
type MockEC2MetadataClientMockRecorder ¶
type MockEC2MetadataClientMockRecorder struct {
// contains filtered or unexported fields
}
MockEC2MetadataClientMockRecorder is the mock recorder for MockEC2MetadataClient
func (*MockEC2MetadataClientMockRecorder) DefaultCredentials ¶
func (mr *MockEC2MetadataClientMockRecorder) DefaultCredentials() *gomock.Call
DefaultCredentials indicates an expected call of DefaultCredentials
func (*MockEC2MetadataClientMockRecorder) GetDynamicData ¶
func (mr *MockEC2MetadataClientMockRecorder) GetDynamicData(arg0 interface{}) *gomock.Call
GetDynamicData indicates an expected call of GetDynamicData
func (*MockEC2MetadataClientMockRecorder) GetMetadata ¶
func (mr *MockEC2MetadataClientMockRecorder) GetMetadata(arg0 interface{}) *gomock.Call
GetMetadata indicates an expected call of GetMetadata
func (*MockEC2MetadataClientMockRecorder) InstanceIdentityDocument ¶
func (mr *MockEC2MetadataClientMockRecorder) InstanceIdentityDocument() *gomock.Call
InstanceIdentityDocument indicates an expected call of InstanceIdentityDocument
func (*MockEC2MetadataClientMockRecorder) PrimaryENIMAC ¶
func (mr *MockEC2MetadataClientMockRecorder) PrimaryENIMAC() *gomock.Call
PrimaryENIMAC indicates an expected call of PrimaryENIMAC
func (*MockEC2MetadataClientMockRecorder) SubnetID ¶
func (mr *MockEC2MetadataClientMockRecorder) SubnetID(arg0 interface{}) *gomock.Call
SubnetID indicates an expected call of SubnetID
func (*MockEC2MetadataClientMockRecorder) VPCID ¶
func (mr *MockEC2MetadataClientMockRecorder) VPCID(arg0 interface{}) *gomock.Call
VPCID indicates an expected call of VPCID
type MockHttpClient ¶ added in v1.3.1
type MockHttpClient struct {
// contains filtered or unexported fields
}
MockHttpClient is a mock of HttpClient interface
func NewMockHttpClient ¶ added in v1.3.1
func NewMockHttpClient(ctrl *gomock.Controller) *MockHttpClient
NewMockHttpClient creates a new mock instance
func (*MockHttpClient) EXPECT ¶ added in v1.3.1
func (m *MockHttpClient) EXPECT() *MockHttpClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHttpClient) GetDynamicData ¶
func (m *MockHttpClient) GetDynamicData(arg0 string) (string, error)
GetDynamicData mocks base method
func (*MockHttpClient) GetInstanceIdentityDocument ¶
func (m *MockHttpClient) GetInstanceIdentityDocument() (ec2metadata.EC2InstanceIdentityDocument, error)
GetInstanceIdentityDocument mocks base method
func (*MockHttpClient) GetMetadata ¶
func (m *MockHttpClient) GetMetadata(arg0 string) (string, error)
GetMetadata mocks base method
type MockHttpClientMockRecorder ¶
type MockHttpClientMockRecorder struct {
// contains filtered or unexported fields
}
MockHttpClientMockRecorder is the mock recorder for MockHttpClient
func (*MockHttpClientMockRecorder) GetDynamicData ¶
func (mr *MockHttpClientMockRecorder) GetDynamicData(arg0 interface{}) *gomock.Call
GetDynamicData indicates an expected call of GetDynamicData
func (*MockHttpClientMockRecorder) GetInstanceIdentityDocument ¶
func (mr *MockHttpClientMockRecorder) GetInstanceIdentityDocument() *gomock.Call
GetInstanceIdentityDocument indicates an expected call of GetInstanceIdentityDocument
func (*MockHttpClientMockRecorder) GetMetadata ¶
func (mr *MockHttpClientMockRecorder) GetMetadata(arg0 interface{}) *gomock.Call
GetMetadata indicates an expected call of GetMetadata