mock_ec2metadatawrapper

package
v1.18.4 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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

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

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

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.

Jump to

Keyboard shortcuts

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