-
Notifications
You must be signed in to change notification settings - Fork 654
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #984 from aws/jasdel/refactor/EC2IMDS
feature/ec2/imds: Move the ec2imds module
- Loading branch information
Showing
39 changed files
with
85 additions
and
57 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
.changes/next-release/config-feature-1608146507258154000.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"ID": "config-feature-1608146507258154000", | ||
"SchemaVersion": 1, | ||
"Module": "config", | ||
"Type": "feature", | ||
"Description": "Update to use moved feature/ec2/imds module", | ||
"MinVersion": "", | ||
"AffectedModules": null | ||
} |
9 changes: 9 additions & 0 deletions
9
.changes/next-release/credentials-feature-1608146309206308000.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"ID": "credentials-feature-1608146309206308000", | ||
"SchemaVersion": 1, | ||
"Module": "credentials", | ||
"Type": "feature", | ||
"Description": "Update ec2rolecreds to depend on /feature/ec2/imds module", | ||
"MinVersion": "", | ||
"AffectedModules": null | ||
} |
9 changes: 9 additions & 0 deletions
9
.changes/next-release/feature.ec2.imds-feature-1608146342526841000.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"ID": "feature.ec2.imds-feature-1608146342526841000", | ||
"SchemaVersion": 1, | ||
"Module": "feature/ec2/imds", | ||
"Type": "feature", | ||
"Description": "Move ec2imds module to feature/ec2/imds", | ||
"MinVersion": "", | ||
"AffectedModules": null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ec2imds | ||
package imds | ||
|
||
import ( | ||
"context" | ||
|
2 changes: 1 addition & 1 deletion
2
ec2imds/api_client_test.go → feature/ec2/imds/api_client_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ec2imds | ||
package imds | ||
|
||
import ( | ||
"bytes" | ||
|
2 changes: 1 addition & 1 deletion
2
ec2imds/api_op_GetDynamicData.go → feature/ec2/imds/api_op_GetDynamicData.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ec2imds | ||
package imds | ||
|
||
import ( | ||
"context" | ||
|
2 changes: 1 addition & 1 deletion
2
ec2imds/api_op_GetDynamicData_test.go → ...re/ec2/imds/api_op_GetDynamicData_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ec2imds | ||
package imds | ||
|
||
import ( | ||
"bytes" | ||
|
2 changes: 1 addition & 1 deletion
2
ec2imds/api_op_GetIAMInfo.go → feature/ec2/imds/api_op_GetIAMInfo.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ec2imds | ||
package imds | ||
|
||
import ( | ||
"context" | ||
|
2 changes: 1 addition & 1 deletion
2
ec2imds/api_op_GetIAMInfo_test.go → feature/ec2/imds/api_op_GetIAMInfo_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ec2imds | ||
package imds | ||
|
||
import ( | ||
"context" | ||
|
2 changes: 1 addition & 1 deletion
2
...mds/api_op_GetInstanceIdentityDocument.go → ...mds/api_op_GetInstanceIdentityDocument.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ec2imds | ||
package imds | ||
|
||
import ( | ||
"context" | ||
|
2 changes: 1 addition & 1 deletion
2
...pi_op_GetInstanceIdentityDocument_test.go → ...pi_op_GetInstanceIdentityDocument_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ec2imds | ||
package imds | ||
|
||
import ( | ||
"context" | ||
|
2 changes: 1 addition & 1 deletion
2
ec2imds/api_op_GetMetadata.go → feature/ec2/imds/api_op_GetMetadata.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ec2imds | ||
package imds | ||
|
||
import ( | ||
"context" | ||
|
2 changes: 1 addition & 1 deletion
2
ec2imds/api_op_GetMetadata_test.go → feature/ec2/imds/api_op_GetMetadata_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ec2imds | ||
package imds | ||
|
||
import ( | ||
"bytes" | ||
|
2 changes: 1 addition & 1 deletion
2
ec2imds/api_op_GetRegion.go → feature/ec2/imds/api_op_GetRegion.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ec2imds | ||
package imds | ||
|
||
import ( | ||
"context" | ||
|
2 changes: 1 addition & 1 deletion
2
ec2imds/api_op_GetRegion_test.go → feature/ec2/imds/api_op_GetRegion_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ec2imds | ||
package imds | ||
|
||
import ( | ||
"context" | ||
|
2 changes: 1 addition & 1 deletion
2
ec2imds/api_op_GetToken.go → feature/ec2/imds/api_op_GetToken.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ec2imds | ||
package imds | ||
|
||
import ( | ||
"context" | ||
|
2 changes: 1 addition & 1 deletion
2
ec2imds/api_op_GetToken_test.go → feature/ec2/imds/api_op_GetToken_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ec2imds | ||
package imds | ||
|
||
import ( | ||
"context" | ||
|
2 changes: 1 addition & 1 deletion
2
ec2imds/api_op_GetUserData.go → feature/ec2/imds/api_op_GetUserData.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ec2imds | ||
package imds | ||
|
||
import ( | ||
"context" | ||
|
2 changes: 1 addition & 1 deletion
2
ec2imds/api_op_GetUserData_test.go → feature/ec2/imds/api_op_GetUserData_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ec2imds | ||
package imds | ||
|
||
import ( | ||
"bytes" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// Package ec2imds provides the API client for interacting with the Amazon EC2 | ||
// Package imds provides the API client for interacting with the Amazon EC2 | ||
// Instance Metadata Service. | ||
// | ||
// See the EC2 IMDS user guide for more information on using the API. | ||
// https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html | ||
package ec2imds | ||
package imds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
ec2imds/integration_test.go → feature/ec2/imds/integration_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// +build integration,ec2env | ||
|
||
package ec2imds | ||
package imds | ||
|
||
import ( | ||
"context" | ||
|
2 changes: 1 addition & 1 deletion
2
ec2imds/request_middleware.go → feature/ec2/imds/request_middleware.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ec2imds | ||
package imds | ||
|
||
import ( | ||
"context" | ||
|
Oops, something went wrong.