mocks

package
v0.0.0-...-0117b6e Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 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 IEC2MdsSdkClient

type IEC2MdsSdkClient struct {
	mock.Mock
}

IEC2MdsSdkClient is a mock type of iEC2MdsSdkClient

func (*IEC2MdsSdkClient) GetInstanceIdentityDocument

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

GetInstanceIdentityDocument mocks the GetInstanceIdentityDocument function

func (*IEC2MdsSdkClient) GetMetadata

func (_m *IEC2MdsSdkClient) GetMetadata(metadataResource string) (string, error)

GetMetadata mocks the GetMetadata function

func (*IEC2MdsSdkClient) Region

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

Region mocks the Region function

type IEndpointHelper

type IEndpointHelper struct {
	mock.Mock
}

IEndpointHelper is an autogenerated mock type for the IEndpointHelper type

func (*IEndpointHelper) GetServiceEndpoint

func (_m *IEndpointHelper) GetServiceEndpoint(service string, region string) string

GetServiceEndpoint provides a mock function with given fields: service, region

Jump to

Keyboard shortcuts

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