mock_ec2metadatawrapper

package
v1.7.9-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

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 added in v1.7.2

type MockHTTPClient struct {
	// contains filtered or unexported fields
}

Mock of HTTPClient interface

func NewMockHTTPClient added in v1.7.2

func NewMockHTTPClient(ctrl *gomock.Controller) *MockHTTPClient

func (*MockHTTPClient) EXPECT added in v1.7.2

func (_m *MockHTTPClient) EXPECT() *_MockHTTPClientRecorder

func (*MockHTTPClient) GetInstanceIdentityDocument added in v1.7.2

func (_m *MockHTTPClient) GetInstanceIdentityDocument() (ec2metadata.EC2InstanceIdentityDocument, error)

func (*MockHTTPClient) Region added in v1.7.2

func (_m *MockHTTPClient) Region() (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL