Skip to content

Commit ade4b2d

Browse files
AlaaShakeralexng-canuck
authored andcommitted
Update Go SDK to 1.0.0 (+ TF changes)
- Pull latest Go SDK changes (updating all existing services to the latest specs, adds DNS & FileStorage, and includes a few bug fixes). - Reapply the retry logic shipped in 2.1.0 (to the new services as well). There are no build breaks. Selected tests for each service pass. Manual testing passes too.
1 parent d6afad5 commit ade4b2d

File tree

809 files changed

+181278
-2311
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

809 files changed

+181278
-2311
lines changed

provider/core_volume_attachments_data_source_test.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ type customVolumeAttachment struct {
8888
compartmentId string
8989
id string
9090
instanceId string
91+
isReadOnly bool
9192
volumeId string
9293
displayName string
9394
timeCreated common.SDKTime
@@ -114,6 +115,11 @@ func (m customVolumeAttachment) GetInstanceId() *string {
114115
return &m.instanceId
115116
}
116117

118+
//GetIsReadOnly returns IsReadOnly
119+
func (m customVolumeAttachment) GetIsReadOnly() *bool {
120+
return &m.isReadOnly
121+
}
122+
117123
//GetLifecycleState returns LifecycleState
118124
func (m customVolumeAttachment) GetLifecycleState() oci_core.VolumeAttachmentLifecycleStateEnum {
119125
return m.state
@@ -148,9 +154,10 @@ func TestUnitVolumeAttachmentToMap_unknownType(t *testing.T) {
148154
compartmentId: "compartment",
149155
id: "myId",
150156
instanceId: "myInstanceId",
157+
isReadOnly: false,
151158
volumeId: "myVolumeId",
152159
displayName: "myDisplayName",
153-
timeCreated: common.SDKTime{time.Now()},
160+
timeCreated: common.SDKTime{Time: time.Now()},
154161
state: oci_core.VolumeAttachmentLifecycleStateDetached,
155162
}
156163

vendor/github.com/oracle/oci-go-sdk/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/oracle/oci-go-sdk/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/oracle/oci-go-sdk/LICENSE.txt

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/oracle/oci-go-sdk/Makefile

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/oracle/oci-go-sdk/MakefileDevelopment.mk

Lines changed: 64 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/oracle/oci-go-sdk/README.md

Lines changed: 128 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)