Documentation ¶
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
}
Mock of EC2MetadataClient interface
func NewMockEC2MetadataClient ¶
func NewMockEC2MetadataClient(ctrl *gomock.Controller) *MockEC2MetadataClient
func (*MockEC2MetadataClient) EXPECT ¶
func (_m *MockEC2MetadataClient) EXPECT() *_MockEC2MetadataClientRecorder
func (*MockEC2MetadataClient) GetInstanceIdentityDocument ¶
func (_m *MockEC2MetadataClient) GetInstanceIdentityDocument() (ec2metadata.EC2InstanceIdentityDocument, error)
func (*MockEC2MetadataClient) Region ¶
func (_m *MockEC2MetadataClient) Region() (string, error)
type MockHttpClient ¶
type MockHttpClient struct {
// contains filtered or unexported fields
}
Mock of HttpClient interface
func NewMockHttpClient ¶
func NewMockHttpClient(ctrl *gomock.Controller) *MockHttpClient
func (*MockHttpClient) EXPECT ¶
func (_m *MockHttpClient) EXPECT() *_MockHttpClientRecorder
func (*MockHttpClient) GetInstanceIdentityDocument ¶
func (_m *MockHttpClient) GetInstanceIdentityDocument() (ec2metadata.EC2InstanceIdentityDocument, error)
func (*MockHttpClient) Region ¶
func (_m *MockHttpClient) Region() (string, error)
Click to show internal directories.
Click to hide internal directories.