Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetadataProvider ¶
type MetadataProvider interface { Get(ctx context.Context) (ec2metadata.EC2InstanceIdentityDocument, error) Hostname(ctx context.Context) (string, error) InstanceID(ctx context.Context) (string, error) InstanceTags(ctx context.Context) (string, error) ClientIAMRole(ctx context.Context) (string, error) InstanceTagValue(ctx context.Context, tagKey string) (string, error) }
func NewMetadataProvider ¶
func NewMetadataProvider(p client.ConfigProvider, retries int) MetadataProvider
Click to show internal directories.
Click to hide internal directories.