Skip to content

Commit

Permalink
Merge pull request #43 from surajsub/master
Browse files Browse the repository at this point in the history
Updated the client
  • Loading branch information
surajsub authored Jul 7, 2020
2 parents f68c592 + df4a927 commit 3fd9456
Show file tree
Hide file tree
Showing 16 changed files with 911 additions and 6 deletions.
3 changes: 2 additions & 1 deletion clients/instance/ibm-pi-clonevolumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes"
"github.com/IBM-Cloud/power-go-client/power/models"
"log"
"time"
)

type IBMPICloneVolumeClient struct {
Expand All @@ -21,7 +22,7 @@ func NewIBMPICloneVolumeClient(sess *ibmpisession.IBMPISession, powerinstanceid
}

//Create a clone volume
func (f *IBMPICloneVolumeClient) Create(id, powerinstanceid string) (*models.VolumesCloneResponse, error) {
func (f *IBMPICloneVolumeClient) Create(id, powerinstanceid string, timeout time.Duration) (*models.VolumesCloneResponse, error) {

log.Printf("Calling the CloneVolume Create Method..")
log.Printf("The input clone name is %s and to the cloudinstance id %s", id, powerinstanceid)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions power/client/p_cloud_volumes/p_cloud_volumes_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

160 changes: 160 additions & 0 deletions power/client/p_cloud_volumes/pcloud_v2_volumes_post_parameters.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3fd9456

Please sign in to comment.