mocks

package
v0.0.0-...-955c50f Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IEC2Identity

type IEC2Identity struct {
	mock.Mock
}

IEC2Identity is an autogenerated mock type for the IEC2Identity type

func NewIEC2Identity

func NewIEC2Identity(t testing.TB) *IEC2Identity

NewIEC2Identity creates a new instance of IEC2Identity. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*IEC2Identity) AvailabilityZone

func (_m *IEC2Identity) AvailabilityZone() (string, error)

AvailabilityZone provides a mock function with given fields:

func (*IEC2Identity) AvailabilityZoneId

func (_m *IEC2Identity) AvailabilityZoneId() (string, error)

AvailabilityZoneId provides a mock function with given fields:

func (*IEC2Identity) Credentials

func (_m *IEC2Identity) Credentials() *credentials.Credentials

Credentials provides a mock function with given fields:

func (*IEC2Identity) IdentityType

func (_m *IEC2Identity) IdentityType() string

IdentityType provides a mock function with given fields:

func (*IEC2Identity) InstanceID

func (_m *IEC2Identity) InstanceID() (string, error)

InstanceID provides a mock function with given fields:

func (*IEC2Identity) InstanceType

func (_m *IEC2Identity) InstanceType() (string, error)

InstanceType provides a mock function with given fields:

func (*IEC2Identity) IsIdentityEnvironment

func (_m *IEC2Identity) IsIdentityEnvironment() bool

IsIdentityEnvironment provides a mock function with given fields:

func (*IEC2Identity) Region

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

Region provides a mock function with given fields:

func (*IEC2Identity) Register

func (_m *IEC2Identity) Register()

Register provides a mock function with given fields:

type IEC2MdsSdkClient

type IEC2MdsSdkClient struct {
	mock.Mock
}

IEC2MdsSdkClient is an autogenerated mock type for the IEC2MdsSdkClient type

func (*IEC2MdsSdkClient) GetInstanceIdentityDocument

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

GetInstanceIdentityDocument provides a mock function with given fields:

func (*IEC2MdsSdkClient) GetInstanceIdentityDocumentWithContext

func (_m *IEC2MdsSdkClient) GetInstanceIdentityDocumentWithContext(ctx context.Context) (ec2metadata.EC2InstanceIdentityDocument, error)

GetInstanceIdentityDocumentWithContext provides a mock function with given fields: ctx

func (*IEC2MdsSdkClient) GetMetadata

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

GetMetadata provides a mock function with given fields: _a0

func (*IEC2MdsSdkClient) GetMetadataWithContext

func (_m *IEC2MdsSdkClient) GetMetadataWithContext(ctx context.Context, resource string) (string, error)

GetMetadataWithContext provides a mock function with given fields: ctx, resource

func (*IEC2MdsSdkClient) Region

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

Region provides a mock function with given fields:

func (*IEC2MdsSdkClient) RegionWithContext

func (_m *IEC2MdsSdkClient) RegionWithContext(ctx context.Context) (string, error)

RegionWithContext provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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