Documentation ¶
Index ¶
- type IEC2Identity
- func (_m *IEC2Identity) AvailabilityZone() (string, error)
- func (_m *IEC2Identity) AvailabilityZoneId() (string, error)
- func (_m *IEC2Identity) Credentials() *credentials.Credentials
- func (_m *IEC2Identity) IdentityType() string
- func (_m *IEC2Identity) InstanceID() (string, error)
- func (_m *IEC2Identity) InstanceType() (string, error)
- func (_m *IEC2Identity) IsIdentityEnvironment() bool
- func (_m *IEC2Identity) Region() (string, error)
- func (_m *IEC2Identity) Register()
- type IEC2MdsSdkClient
- func (_m *IEC2MdsSdkClient) GetInstanceIdentityDocument() (ec2metadata.EC2InstanceIdentityDocument, error)
- func (_m *IEC2MdsSdkClient) GetInstanceIdentityDocumentWithContext(ctx context.Context) (ec2metadata.EC2InstanceIdentityDocument, error)
- func (_m *IEC2MdsSdkClient) GetMetadata(_a0 string) (string, error)
- func (_m *IEC2MdsSdkClient) GetMetadataWithContext(ctx context.Context, resource string) (string, error)
- func (_m *IEC2MdsSdkClient) Region() (string, error)
- func (_m *IEC2MdsSdkClient) RegionWithContext(ctx context.Context) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IEC2Identity ¶
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 ¶
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