diff --git a/CODEOWNERS b/CODEOWNERS
index 5cc9a9a8f..40a5dbec3 100644
--- a/CODEOWNERS
+++ b/CODEOWNERS
@@ -43,9 +43,6 @@
/builder/triton/ @sean-
/website/pages/docs/builders/triton* @sean-
-/builder/ncloud/ @YuSungDuk
-/website/pages/docs/builders/ncloud* @YuSungDuk
-
/builder/proxmox/ @carlpett
/website/pages/docs/builders/proxmox* @carlpett
diff --git a/builder/ncloud/config_test.go b/builder/ncloud/config_test.go
deleted file mode 100644
index 403e08e44..000000000
--- a/builder/ncloud/config_test.go
+++ /dev/null
@@ -1,150 +0,0 @@
-package ncloud
-
-import (
- "strings"
- "testing"
-)
-
-func testConfig() map[string]interface{} {
- return map[string]interface{}{
- "access_key": "access_key",
- "secret_key": "secret_key",
- "server_image_product_code": "SPSW0WINNT000016",
- "server_product_code": "SPSVRSSD00000011",
- "server_image_name": "packer-test {{timestamp}}",
- "server_image_description": "server description",
- "block_storage_size": 100,
- "user_data": "#!/bin/sh\nyum install -y httpd\ntouch /var/www/html/index.html\nchkconfig --level 2345 httpd on",
- "region": "Korea",
- "access_control_group_configuration_no": "33",
- "communicator": "ssh",
- "ssh_username": "root",
- }
-}
-
-func testConfigForMemberServerImage() map[string]interface{} {
- return map[string]interface{}{
- "access_key": "access_key",
- "secret_key": "secret_key",
- "server_product_code": "SPSVRSSD00000011",
- "member_server_image_no": "2440",
- "server_image_name": "packer-test {{timestamp}}",
- "server_image_description": "server description",
- "block_storage_size": 100,
- "user_data": "#!/bin/sh\nyum install -y httpd\ntouch /var/www/html/index.html\nchkconfig --level 2345 httpd on",
- "region": "Korea",
- "access_control_group_configuration_no": "33",
- "communicator": "ssh",
- "ssh_username": "root",
- }
-}
-
-func TestConfigWithServerImageProductCode(t *testing.T) {
- raw := testConfig()
-
- var c Config
- c.Prepare(raw)
-
- if c.AccessKey != "access_key" {
- t.Errorf("Expected 'access_key' to be set to '%s', but got '%s'.", raw["access_key"], c.AccessKey)
- }
-
- if c.SecretKey != "secret_key" {
- t.Errorf("Expected 'secret_key' to be set to '%s', but got '%s'.", raw["secret_key"], c.SecretKey)
- }
-
- if c.ServerImageProductCode != "SPSW0WINNT000016" {
- t.Errorf("Expected 'server_image_product_code' to be set to '%s', but got '%s'.", raw["server_image_product_code"], c.ServerImageProductCode)
- }
-
- if c.ServerProductCode != "SPSVRSSD00000011" {
- t.Errorf("Expected 'server_product_code' to be set to '%s', but got '%s'.", raw["server_product_code"], c.ServerProductCode)
- }
-
- if c.BlockStorageSize != 100 {
- t.Errorf("Expected 'block_storage_size' to be set to '%d', but got '%d'.", raw["block_storage_size"], c.BlockStorageSize)
- }
-
- if c.ServerImageDescription != "server description" {
- t.Errorf("Expected 'server_image_description_key' to be set to '%s', but got '%s'.", raw["server_image_description"], c.ServerImageDescription)
- }
-
- if c.Region != "Korea" {
- t.Errorf("Expected 'region' to be set to '%s', but got '%s'.", raw["server_image_description"], c.Region)
- }
-}
-
-func TestConfigWithMemberServerImageCode(t *testing.T) {
- raw := testConfigForMemberServerImage()
-
- var c Config
- c.Prepare(raw)
-
- if c.AccessKey != "access_key" {
- t.Errorf("Expected 'access_key' to be set to '%s', but got '%s'.", raw["access_key"], c.AccessKey)
- }
-
- if c.SecretKey != "secret_key" {
- t.Errorf("Expected 'secret_key' to be set to '%s', but got '%s'.", raw["secret_key"], c.SecretKey)
- }
-
- if c.MemberServerImageNo != "2440" {
- t.Errorf("Expected 'member_server_image_no' to be set to '%s', but got '%s'.", raw["member_server_image_no"], c.MemberServerImageNo)
- }
-
- if c.ServerProductCode != "SPSVRSSD00000011" {
- t.Errorf("Expected 'server_product_code' to be set to '%s', but got '%s'.", raw["server_product_code"], c.ServerProductCode)
- }
-
- if c.BlockStorageSize != 100 {
- t.Errorf("Expected 'block_storage_size' to be set to '%d', but got '%d'.", raw["block_storage_size"], c.BlockStorageSize)
- }
-
- if c.ServerImageDescription != "server description" {
- t.Errorf("Expected 'server_image_description_key' to be set to '%s', but got '%s'.", raw["server_image_description"], c.ServerImageDescription)
- }
-
- if c.Region != "Korea" {
- t.Errorf("Expected 'region' to be set to '%s', but got '%s'.", raw["server_image_description"], c.Region)
- }
-}
-
-func TestEmptyConfig(t *testing.T) {
- raw := new(map[string]interface{})
-
- var c Config
- _, err := c.Prepare(raw)
-
- if err == nil {
- t.Error("Expected Config to require 'access_key', 'secret_key' and some mandatory fields, but it did not")
- }
-
- if strings.Contains(err.Error(), "access_key is required") {
- t.Error("Expected Config to require 'access_key', but it did not")
- }
-
- if strings.Contains(err.Error(), "secret_key is required") {
- t.Error("Expected Config to require 'secret_key', but it did not")
- }
-
- if strings.Contains(err.Error(), "server_image_product_code or member_server_image_no is required") {
- t.Error("Expected Config to require 'server_image_product_code' or 'member_server_image_no', but it did not")
- }
-}
-
-func TestExistsBothServerImageProductCodeAndMemberServerImageNoConfig(t *testing.T) {
- raw := map[string]interface{}{
- "access_key": "access_key",
- "secret_key": "secret_key",
- "server_image_product_code": "SPSW0WINNT000016",
- "server_product_code": "SPSVRSSD00000011",
- "member_server_image_no": "2440",
- }
-
- var c Config
- _, err := c.Prepare(raw)
-
- if strings.Contains(err.Error(), "Only one of server_image_product_code and member_server_image_no can be set") {
- t.Error("Expected Config to require Only one of 'server_image_product_code' and 'member_server_image_no' can be set, but it did not")
- }
-}
diff --git a/builder/ncloud/step_create_access_control_group_test.go b/builder/ncloud/step_create_access_control_group_test.go
deleted file mode 100644
index 4c94e183e..000000000
--- a/builder/ncloud/step_create_access_control_group_test.go
+++ /dev/null
@@ -1,66 +0,0 @@
-package ncloud
-
-import (
- "context"
- "fmt"
- "testing"
-
- "github.com/hashicorp/packer-plugin-sdk/multistep"
-)
-
-func TestStepCreateAccessControlGroupShouldFailIfOperationCreateAccessControlGroupFails(t *testing.T) {
- var testSubject = &StepCreateAccessControlGroup{
- CreateAccessControlGroup: func() (string, error) { return "", fmt.Errorf("!! Unit Test FAIL !!") },
- Say: func(message string) {},
- Error: func(e error) {},
- Config: &Config{
- Region: "Korea",
- SupportVPC: true,
- },
- }
-
- stateBag := createTestStateBagStepCreateAccessControlGroup()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionHalt {
- t.Fatalf("Expected the step to return 'ActionHalt', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == false {
- t.Fatal("Expected the step to set stateBag['Error'], but it was not.")
- }
-}
-
-func TestStepCreateAccessControlGroupShouldPassIfOperationCreateAccessControlGroupPasses(t *testing.T) {
- var testSubject = &StepCreateAccessControlGroup{
- CreateAccessControlGroup: func() (string, error) { return "123", nil },
- AddAccessControlGroupRule: func(acgNo string) error {
- return nil
- },
- Say: func(message string) {},
- Error: func(error) {},
- Config: &Config{
- Region: "Korea",
- SupportVPC: true,
- },
- }
-
- stateBag := createTestStateBagStepCreateAccessControlGroup()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionContinue {
- t.Fatalf("Expected the step to return 'ActionContinue', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == true {
- t.Fatalf("Expected the step to not set stateBag['Error'], but it was.")
- }
-}
-
-func createTestStateBagStepCreateAccessControlGroup() multistep.StateBag {
- stateBag := new(multistep.BasicStateBag)
-
- return stateBag
-}
diff --git a/builder/ncloud/step_create_block_storage_instance_test.go b/builder/ncloud/step_create_block_storage_instance_test.go
deleted file mode 100644
index c4517146d..000000000
--- a/builder/ncloud/step_create_block_storage_instance_test.go
+++ /dev/null
@@ -1,65 +0,0 @@
-package ncloud
-
-import (
- "context"
- "fmt"
- "testing"
-
- "github.com/hashicorp/packer-plugin-sdk/multistep"
-)
-
-func TestStepCreateBlockStorageInstanceShouldFailIfOperationCreateBlockStorageInstanceFails(t *testing.T) {
-
- var testSubject = &StepCreateBlockStorage{
- CreateBlockStorage: func(serverInstanceNo string) (*string, error) { return nil, fmt.Errorf("!! Unit Test FAIL !!") },
- Say: func(message string) {},
- Error: func(e error) {},
- Config: new(Config),
- }
-
- testSubject.Config.BlockStorageSize = 10
-
- stateBag := createTestStateBagStepCreateBlockStorageInstance()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionHalt {
- t.Fatalf("Expected the step to return 'ActionHalt', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == false {
- t.Fatal("Expected the step to set stateBag['Error'], but it was not.")
- }
-}
-
-func TestStepCreateBlockStorageInstanceShouldPassIfOperationCreateBlockStorageInstancePasses(t *testing.T) {
- var instanceNo = "a"
- var testSubject = &StepCreateBlockStorage{
- CreateBlockStorage: func(serverInstanceNo string) (*string, error) { return &instanceNo, nil },
- Say: func(message string) {},
- Error: func(e error) {},
- Config: new(Config),
- }
-
- testSubject.Config.BlockStorageSize = 10
-
- stateBag := createTestStateBagStepCreateBlockStorageInstance()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionContinue {
- t.Fatalf("Expected the step to return 'ActionContinue', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == true {
- t.Fatalf("Expected the step to not set stateBag['Error'], but it was.")
- }
-}
-
-func createTestStateBagStepCreateBlockStorageInstance() multistep.StateBag {
- stateBag := new(multistep.BasicStateBag)
-
- stateBag.Put("instance_no", "a")
-
- return stateBag
-}
diff --git a/builder/ncloud/step_create_init_script_test.go b/builder/ncloud/step_create_init_script_test.go
deleted file mode 100644
index aba954726..000000000
--- a/builder/ncloud/step_create_init_script_test.go
+++ /dev/null
@@ -1,64 +0,0 @@
-package ncloud
-
-import (
- "context"
- "fmt"
- "testing"
-
- "github.com/hashicorp/packer-plugin-sdk/multistep"
-)
-
-func TestStepCreateInitScriptShouldFailIfOperationCreateInitScriptFails(t *testing.T) {
- var testSubject = &StepCreateInitScript{
- CreateInitScript: func() (string, error) { return "", fmt.Errorf("!! Unit Test FAIL !!") },
- Say: func(message string) {},
- Error: func(e error) {},
- Config: &Config{
- Region: "Korea",
- SupportVPC: true,
- UserData: "test",
- },
- }
-
- stateBag := createTestStateBagStepCreateInitScript()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionHalt {
- t.Fatalf("Expected the step to return 'ActionHalt', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == false {
- t.Fatal("Expected the step to set stateBag['Error'], but it was not.")
- }
-}
-
-func TestStepCreateInitScriptShouldPassIfOperationCreateInitScriptPasses(t *testing.T) {
- var testSubject = &StepCreateInitScript{
- CreateInitScript: func() (string, error) { return "123", nil },
- Say: func(message string) {},
- Error: func(e error) {},
- Config: &Config{
- Region: "Korea",
- SupportVPC: true,
- },
- }
-
- stateBag := createTestStateBagStepCreateInitScript()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionContinue {
- t.Fatalf("Expected the step to return 'ActionContinue', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == true {
- t.Fatalf("Expected the step to not set stateBag['Error'], but it was.")
- }
-}
-
-func createTestStateBagStepCreateInitScript() multistep.StateBag {
- stateBag := new(multistep.BasicStateBag)
-
- return stateBag
-}
diff --git a/builder/ncloud/step_create_login_key_test.go b/builder/ncloud/step_create_login_key_test.go
deleted file mode 100644
index 1e3e41a00..000000000
--- a/builder/ncloud/step_create_login_key_test.go
+++ /dev/null
@@ -1,55 +0,0 @@
-package ncloud
-
-import (
- "context"
- "fmt"
- "testing"
-
- "github.com/hashicorp/packer-plugin-sdk/multistep"
-)
-
-func TestStepCreateLoginKeyShouldFailIfOperationCreateLoginKeyFails(t *testing.T) {
- var testSubject = &StepCreateLoginKey{
- CreateLoginKey: func() (*LoginKey, error) { return nil, fmt.Errorf("!! Unit Test FAIL !!") },
- Say: func(message string) {},
- Error: func(e error) {},
- }
-
- stateBag := createTestStateBagStepCreateLoginKey()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionHalt {
- t.Fatalf("Expected the step to return 'ActionHalt', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == false {
- t.Fatal("Expected the step to set stateBag['Error'], but it was not.")
- }
-}
-
-func TestStepCreateLoginKeyShouldPassIfOperationCreateLoginKeyPasses(t *testing.T) {
- var testSubject = &StepCreateLoginKey{
- CreateLoginKey: func() (*LoginKey, error) { return &LoginKey{"a", "b"}, nil },
- Say: func(message string) {},
- Error: func(e error) {},
- }
-
- stateBag := createTestStateBagStepCreateLoginKey()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionContinue {
- t.Fatalf("Expected the step to return 'ActionContinue', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == true {
- t.Fatalf("Expected the step to not set stateBag['Error'], but it was.")
- }
-}
-
-func createTestStateBagStepCreateLoginKey() multistep.StateBag {
- stateBag := new(multistep.BasicStateBag)
-
- return stateBag
-}
diff --git a/builder/ncloud/step_create_public_ip_instance_test.go b/builder/ncloud/step_create_public_ip_instance_test.go
deleted file mode 100644
index c081409ea..000000000
--- a/builder/ncloud/step_create_public_ip_instance_test.go
+++ /dev/null
@@ -1,69 +0,0 @@
-package ncloud
-
-import (
- "context"
- "fmt"
- "testing"
-
- "github.com/NaverCloudPlatform/ncloud-sdk-go-v2/ncloud"
- "github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server"
-
- "github.com/hashicorp/packer-plugin-sdk/multistep"
-)
-
-func TestStepCreatePublicIPInstanceShouldFailIfOperationCreatePublicIPInstanceFails(t *testing.T) {
- var testSubject = &StepCreatePublicIP{
- CreatePublicIP: func(serverInstanceNo string) (*server.PublicIpInstance, error) {
- return nil, fmt.Errorf("!! Unit Test FAIL !!")
- },
- Say: func(message string) {},
- Error: func(e error) {},
- }
-
- stateBag := createTestStateBagStepCreateServerImage()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionHalt {
- t.Fatalf("Expected the step to return 'ActionHalt', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == false {
- t.Fatal("Expected the step to set stateBag['Error'], but it was not.")
- }
-}
-
-func TestStepCreatePublicIPInstanceShouldPassIfOperationCreatePublicIPInstancePasses(t *testing.T) {
- c := new(Config)
- c.Comm.Prepare(nil)
- c.Comm.Type = "ssh"
-
- var testSubject = &StepCreatePublicIP{
- CreatePublicIP: func(serverInstanceNo string) (*server.PublicIpInstance, error) {
- return &server.PublicIpInstance{PublicIpInstanceNo: ncloud.String("a"), PublicIp: ncloud.String("b")}, nil
- },
- Say: func(message string) {},
- Error: func(e error) {},
- Config: c,
- }
-
- stateBag := createTestStateBagStepCreatePublicIPInstance()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionContinue {
- t.Fatalf("Expected the step to return 'ActionContinue', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == true {
- t.Fatalf("Expected the step to not set stateBag['Error'], but it was.")
- }
-}
-
-func createTestStateBagStepCreatePublicIPInstance() multistep.StateBag {
- stateBag := new(multistep.BasicStateBag)
-
- stateBag.Put("instance_no", "a")
-
- return stateBag
-}
diff --git a/builder/ncloud/step_create_server_image_test.go b/builder/ncloud/step_create_server_image_test.go
deleted file mode 100644
index 4f807c634..000000000
--- a/builder/ncloud/step_create_server_image_test.go
+++ /dev/null
@@ -1,60 +0,0 @@
-package ncloud
-
-import (
- "context"
- "fmt"
- "testing"
-
- "github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server"
-
- "github.com/hashicorp/packer-plugin-sdk/multistep"
-)
-
-func TestStepCreateServerImageShouldFailIfOperationCreateServerImageFails(t *testing.T) {
- var testSubject = &StepCreateServerImage{
- CreateServerImage: func(serverInstanceNo string) (*server.MemberServerImage, error) {
- return nil, fmt.Errorf("!! Unit Test FAIL !!")
- },
- Say: func(message string) {},
- Error: func(e error) {},
- }
-
- stateBag := createTestStateBagStepCreateServerImage()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionHalt {
- t.Fatalf("Expected the step to return 'ActionHalt', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == false {
- t.Fatal("Expected the step to set stateBag['Error'], but it was not.")
- }
-}
-func TestStepCreateServerImageShouldPassIfOperationCreateServerImagePasses(t *testing.T) {
- var testSubject = &StepCreateServerImage{
- CreateServerImage: func(serverInstanceNo string) (*server.MemberServerImage, error) { return nil, nil },
- Say: func(message string) {},
- Error: func(e error) {},
- }
-
- stateBag := createTestStateBagStepCreateServerImage()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionContinue {
- t.Fatalf("Expected the step to return 'ActionContinue', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == true {
- t.Fatalf("Expected the step to not set stateBag['Error'], but it was.")
- }
-}
-
-func createTestStateBagStepCreateServerImage() multistep.StateBag {
- stateBag := new(multistep.BasicStateBag)
-
- stateBag.Put("instance_no", "a")
-
- return stateBag
-}
diff --git a/builder/ncloud/step_create_server_instance_test.go b/builder/ncloud/step_create_server_instance_test.go
deleted file mode 100644
index b995d15f9..000000000
--- a/builder/ncloud/step_create_server_instance_test.go
+++ /dev/null
@@ -1,62 +0,0 @@
-package ncloud
-
-import (
- "context"
- "fmt"
- "testing"
-
- "github.com/hashicorp/packer-plugin-sdk/multistep"
-)
-
-func TestStepCreateServerInstanceShouldFailIfOperationCreateFails(t *testing.T) {
- var testSubject = &StepCreateServerInstance{
- CreateServerInstance: func(loginKeyName string, feeSystemTypeCode string, state multistep.StateBag) (string, error) {
- return "", fmt.Errorf("!! Unit Test FAIL !!")
- },
- Say: func(message string) {},
- Error: func(e error) {},
- }
-
- stateBag := createTestStateBagStepCreateServerInstance()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionHalt {
- t.Fatalf("Expected the step to return 'ActionHalt', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == false {
- t.Fatal("Expected the step to set stateBag['Error'], but it was not.")
- }
-}
-
-func TestStepCreateServerInstanceShouldPassIfOperationCreatePasses(t *testing.T) {
- var testSubject = &StepCreateServerInstance{
- CreateServerInstance: func(loginKeyName string, feeSystemTypeCode string, state multistep.StateBag) (string, error) {
- return "", nil
- },
- Say: func(message string) {},
- Error: func(e error) {},
- }
-
- stateBag := createTestStateBagStepCreateServerInstance()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionContinue {
- t.Fatalf("Expected the step to return 'ActionContinue', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == true {
- t.Fatalf("Expected the step to not set stateBag['Error'], but it was.")
- }
-}
-
-func createTestStateBagStepCreateServerInstance() multistep.StateBag {
- stateBag := new(multistep.BasicStateBag)
-
- stateBag.Put("login_key", &LoginKey{"a", "b"})
- stateBag.Put("zone_no", "1")
-
- return stateBag
-}
diff --git a/builder/ncloud/step_delete_block_storage_instance_test.go b/builder/ncloud/step_delete_block_storage_instance_test.go
deleted file mode 100644
index 01179280c..000000000
--- a/builder/ncloud/step_delete_block_storage_instance_test.go
+++ /dev/null
@@ -1,59 +0,0 @@
-package ncloud
-
-import (
- "context"
- "fmt"
- "testing"
-
- "github.com/hashicorp/packer-plugin-sdk/multistep"
-)
-
-func TestStepDeleteBlockStorageInstanceShouldFailIfOperationDeleteBlockStorageInstanceFails(t *testing.T) {
- var testSubject = &StepDeleteBlockStorage{
- DeleteBlockStorage: func(blockStorageNo string) error { return fmt.Errorf("!! Unit Test FAIL !!") },
- Say: func(message string) {},
- Error: func(e error) {},
- Config: &Config{BlockStorageSize: 10},
- }
-
- stateBag := createTestStateBagStepDeleteBlockStorageInstance()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionHalt {
- t.Fatalf("Expected the step to return 'ActionHalt', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == false {
- t.Fatal("Expected the step to set stateBag['Error'], but it was not.")
- }
-}
-
-func TestStepDeleteBlockStorageInstanceShouldPassIfOperationDeleteBlockStorageInstancePasses(t *testing.T) {
- var testSubject = &StepDeleteBlockStorage{
- DeleteBlockStorage: func(blockStorageNo string) error { return nil },
- Say: func(message string) {},
- Error: func(e error) {},
- Config: &Config{BlockStorageSize: 10},
- }
-
- stateBag := createTestStateBagStepDeleteBlockStorageInstance()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionContinue {
- t.Fatalf("Expected the step to return 'ActionContinue', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == true {
- t.Fatalf("Expected the step to not set stateBag['Error'], but it was.")
- }
-}
-
-func createTestStateBagStepDeleteBlockStorageInstance() multistep.StateBag {
- stateBag := new(multistep.BasicStateBag)
-
- stateBag.Put("instance_no", "1")
-
- return stateBag
-}
diff --git a/builder/ncloud/step_get_rootpassword_test.go b/builder/ncloud/step_get_rootpassword_test.go
deleted file mode 100644
index 571a4751f..000000000
--- a/builder/ncloud/step_get_rootpassword_test.go
+++ /dev/null
@@ -1,60 +0,0 @@
-package ncloud
-
-import (
- "context"
- "fmt"
- "testing"
-
- "github.com/hashicorp/packer-plugin-sdk/multistep"
-)
-
-func TestStepGetRootPasswordShouldFailIfOperationGetRootPasswordFails(t *testing.T) {
- var testSubject = &StepGetRootPassword{
- GetRootPassword: func(string, string) (string, error) { return "", fmt.Errorf("!! Unit Test FAIL !!") },
- Say: func(message string) {},
- Error: func(e error) {},
- Config: &Config{},
- }
-
- stateBag := DeleteTestStateBagStepGetRootPassword()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionHalt {
- t.Fatalf("Expected the step to return 'ActionHalt', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == false {
- t.Fatal("Expected the step to set stateBag['Error'], but it was not.")
- }
-}
-
-func TestStepGetRootPasswordShouldPassIfOperationGetRootPasswordPasses(t *testing.T) {
- var testSubject = &StepGetRootPassword{
- GetRootPassword: func(string, string) (string, error) { return "a", nil },
- Say: func(message string) {},
- Error: func(e error) {},
- Config: &Config{},
- }
-
- stateBag := DeleteTestStateBagStepGetRootPassword()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionContinue {
- t.Fatalf("Expected the step to return 'ActionContinue', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == true {
- t.Fatalf("Expected the step to not set stateBag['Error'], but it was.")
- }
-}
-
-func DeleteTestStateBagStepGetRootPassword() multistep.StateBag {
- stateBag := new(multistep.BasicStateBag)
-
- stateBag.Put("login_key", &LoginKey{"a", "b"})
- stateBag.Put("instance_no", "a")
-
- return stateBag
-}
diff --git a/builder/ncloud/step_stop_server_instance_test.go b/builder/ncloud/step_stop_server_instance_test.go
deleted file mode 100644
index 58d6bb3fe..000000000
--- a/builder/ncloud/step_stop_server_instance_test.go
+++ /dev/null
@@ -1,56 +0,0 @@
-package ncloud
-
-import (
- "context"
- "fmt"
- "testing"
-
- "github.com/hashicorp/packer-plugin-sdk/multistep"
-)
-
-func TestStepStopServerInstanceShouldFailIfOperationStopFails(t *testing.T) {
- var testSubject = &StepStopServerInstance{
- StopServerInstance: func(serverInstanceNo string) error { return fmt.Errorf("!! Unit Test FAIL !!") },
- Say: func(message string) {},
- Error: func(e error) {},
- }
-
- stateBag := createTestStateBagStepStopServerInstance()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionHalt {
- t.Fatalf("Expected the step to return 'ActionHalt', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == false {
- t.Fatal("Expected the step to set stateBag['Error'], but it was not.")
- }
-}
-
-func TestStepStopServerInstanceShouldPassIfOperationStopPasses(t *testing.T) {
- var testSubject = &StepStopServerInstance{
- StopServerInstance: func(serverInstanceNo string) error { return nil },
- Say: func(message string) {},
- Error: func(e error) {},
- }
-
- stateBag := createTestStateBagStepStopServerInstance()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionContinue {
- t.Fatalf("Expected the step to return 'ActionContinue', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == true {
- t.Fatalf("Expected the step to not set stateBag['Error'], but it was.")
- }
-}
-
-func createTestStateBagStepStopServerInstance() multistep.StateBag {
- stateBag := new(multistep.BasicStateBag)
-
- stateBag.Put("instance_no", "a")
- return stateBag
-}
diff --git a/builder/ncloud/step_terminate_server_instance_test.go b/builder/ncloud/step_terminate_server_instance_test.go
deleted file mode 100644
index 1c9b78b06..000000000
--- a/builder/ncloud/step_terminate_server_instance_test.go
+++ /dev/null
@@ -1,56 +0,0 @@
-package ncloud
-
-import (
- "context"
- "fmt"
- "testing"
-
- "github.com/hashicorp/packer-plugin-sdk/multistep"
-)
-
-func TestStepTerminateServerInstanceShouldFailIfOperationTerminationFails(t *testing.T) {
- var testSubject = &StepTerminateServerInstance{
- TerminateServerInstance: func(serverInstanceNo string) error { return fmt.Errorf("!! Unit Test FAIL !!") },
- Say: func(message string) {},
- Error: func(e error) {},
- }
-
- stateBag := createTestStateBagStepTerminateServerInstance()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionHalt {
- t.Fatalf("Expected the step to return 'ActionHalt', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == false {
- t.Fatal("Expected the step to set stateBag['Error'], but it was not.")
- }
-}
-
-func TestStepTerminateServerInstanceShouldPassIfOperationTerminationPasses(t *testing.T) {
- var testSubject = &StepTerminateServerInstance{
- TerminateServerInstance: func(serverInstanceNo string) error { return nil },
- Say: func(message string) {},
- Error: func(e error) {},
- }
-
- stateBag := createTestStateBagStepTerminateServerInstance()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionContinue {
- t.Fatalf("Expected the step to return 'ActionContinue', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == true {
- t.Fatalf("Expected the step to not set stateBag['Error'], but it was.")
- }
-}
-
-func createTestStateBagStepTerminateServerInstance() multistep.StateBag {
- stateBag := new(multistep.BasicStateBag)
-
- stateBag.Put("instance_no", "a")
- return stateBag
-}
diff --git a/builder/ncloud/step_validate_template_test.go b/builder/ncloud/step_validate_template_test.go
deleted file mode 100644
index 09ade7a71..000000000
--- a/builder/ncloud/step_validate_template_test.go
+++ /dev/null
@@ -1,55 +0,0 @@
-package ncloud
-
-import (
- "context"
- "fmt"
- "testing"
-
- "github.com/hashicorp/packer-plugin-sdk/multistep"
-)
-
-func TestStepValidateTemplateShouldFailIfValidateFails(t *testing.T) {
- var testSubject = &StepValidateTemplate{
- Validate: func() error { return fmt.Errorf("!! Unit Test FAIL !!") },
- Say: func(message string) {},
- Error: func(e error) {},
- }
-
- stateBag := createTestStateBagStepValidateTemplate()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionHalt {
- t.Fatalf("Expected the step to return 'ActionHalt', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == false {
- t.Fatal("Expected the step to set stateBag['Error'], but it was not.")
- }
-}
-
-func TestStepValidateTemplateShouldPassIfValidatePasses(t *testing.T) {
- var testSubject = &StepValidateTemplate{
- Validate: func() error { return nil },
- Say: func(message string) {},
- Error: func(e error) {},
- }
-
- stateBag := createTestStateBagStepValidateTemplate()
-
- var result = testSubject.Run(context.Background(), stateBag)
-
- if result != multistep.ActionContinue {
- t.Fatalf("Expected the step to return 'ActionContinue', but got '%d'.", result)
- }
-
- if _, ok := stateBag.GetOk("error"); ok == true {
- t.Fatalf("Expected the step to not set stateBag['Error'], but it was.")
- }
-}
-
-func createTestStateBagStepValidateTemplate() multistep.StateBag {
- stateBag := new(multistep.BasicStateBag)
-
- return stateBag
-}
diff --git a/builder/ncloud/version/version.go b/builder/ncloud/version/version.go
deleted file mode 100644
index 3835ee3ef..000000000
--- a/builder/ncloud/version/version.go
+++ /dev/null
@@ -1,13 +0,0 @@
-package version
-
-import (
- "github.com/hashicorp/packer-plugin-sdk/version"
- packerVersion "github.com/hashicorp/packer/version"
-)
-
-var NCloudPluginVersion *version.PluginVersion
-
-func init() {
- NCloudPluginVersion = version.InitializePluginVersion(
- packerVersion.Version, packerVersion.VersionPrerelease)
-}
diff --git a/command/plugin.go b/command/plugin.go
index 9d83142a1..71c5433a2 100644
--- a/command/plugin.go
+++ b/command/plugin.go
@@ -28,7 +28,6 @@ import (
linodebuilder "github.com/hashicorp/packer/builder/linode"
lxcbuilder "github.com/hashicorp/packer/builder/lxc"
lxdbuilder "github.com/hashicorp/packer/builder/lxd"
- ncloudbuilder "github.com/hashicorp/packer/builder/ncloud"
nullbuilder "github.com/hashicorp/packer/builder/null"
oneandonebuilder "github.com/hashicorp/packer/builder/oneandone"
openstackbuilder "github.com/hashicorp/packer/builder/openstack"
@@ -97,7 +96,6 @@ var Builders = map[string]packersdk.Builder{
"linode": new(linodebuilder.Builder),
"lxc": new(lxcbuilder.Builder),
"lxd": new(lxdbuilder.Builder),
- "ncloud": new(ncloudbuilder.Builder),
"null": new(nullbuilder.Builder),
"oneandone": new(oneandonebuilder.Builder),
"openstack": new(openstackbuilder.Builder),
diff --git a/command/vendored_plugins.go b/command/vendored_plugins.go
index d0badb664..2f867b7de 100644
--- a/command/vendored_plugins.go
+++ b/command/vendored_plugins.go
@@ -25,6 +25,7 @@ import (
googlecomputebuilder "github.com/hashicorp/packer-plugin-googlecompute/builder/googlecompute"
googlecomputeexportpostprocessor "github.com/hashicorp/packer-plugin-googlecompute/post-processor/googlecompute-export"
googlecomputeimportpostprocessor "github.com/hashicorp/packer-plugin-googlecompute/post-processor/googlecompute-import"
+ ncloudbuilder "github.com/hashicorp/packer-plugin-ncloud/builder/ncloud"
proxmoxclone "github.com/hashicorp/packer-plugin-proxmox/builder/proxmox/clone"
proxmoxiso "github.com/hashicorp/packer-plugin-proxmox/builder/proxmox/iso"
qemubuilder "github.com/hashicorp/packer-plugin-qemu/builder/qemu"
@@ -56,6 +57,7 @@ var VendoredBuilders = map[string]packersdk.Builder{
"amazon-instance": new(amazoninstancebuilder.Builder),
"docker": new(dockerbuilder.Builder),
"googlecompute": new(googlecomputebuilder.Builder),
+ "ncloud": new(ncloudbuilder.Builder),
"proxmox": new(proxmoxiso.Builder),
"proxmox-iso": new(proxmoxiso.Builder),
"proxmox-clone": new(proxmoxclone.Builder),
diff --git a/go.mod b/go.mod
index 9fdc8c6c5..f2df4904e 100644
--- a/go.mod
+++ b/go.mod
@@ -10,7 +10,6 @@ require (
github.com/Azure/go-autorest/autorest/date v0.2.0
github.com/Azure/go-autorest/autorest/to v0.3.0
github.com/ChrisTrenkamp/goxpath v0.0.0-20170922090931-c385f95c6022
- github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.1.7
github.com/aliyun/alibaba-cloud-sdk-go v0.0.0-20190418113227-25233c783f4e
github.com/aliyun/aliyun-oss-go-sdk v0.0.0-20170113022742-e6dbea820a9f
github.com/antihax/optional v1.0.0
@@ -48,6 +47,7 @@ require (
github.com/hashicorp/packer-plugin-ansible v0.0.2
github.com/hashicorp/packer-plugin-docker v0.0.7
github.com/hashicorp/packer-plugin-googlecompute v0.0.1
+ github.com/hashicorp/packer-plugin-ncloud v0.0.2
github.com/hashicorp/packer-plugin-proxmox v0.0.1
github.com/hashicorp/packer-plugin-qemu v0.0.1
github.com/hashicorp/packer-plugin-sdk v0.2.0
@@ -68,7 +68,6 @@ require (
github.com/mitchellh/panicwrap v1.0.0
github.com/mitchellh/prefixedio v0.0.0-20151214002211-6e6954073784
github.com/mitchellh/reflectwalk v1.0.0
- github.com/olekukonko/tablewriter v0.0.0-20180105111133-96aac992fc8b
github.com/oracle/oci-go-sdk/v36 v36.2.0
github.com/outscale/osc-sdk-go/osc v0.0.0-20200722135656-d654809d0699
github.com/pierrec/lz4 v2.0.5+incompatible
diff --git a/go.sum b/go.sum
index 558025543..7037550e4 100644
--- a/go.sum
+++ b/go.sum
@@ -83,8 +83,8 @@ github.com/ChrisTrenkamp/goxpath v0.0.0-20170922090931-c385f95c6022 h1:y8Gs8CzNf
github.com/ChrisTrenkamp/goxpath v0.0.0-20170922090931-c385f95c6022/go.mod h1:nuWgzSkT5PnyOd+272uUmV0dnAnAn42Mk7PiQC5VzN4=
github.com/DataDog/datadog-go v2.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=
github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.1.0/go.mod h1:P+3VS0ETiQPyWOx3vB/oeC8J3qd7jnVZLYAFwWgGRt8=
-github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.1.7 h1:Kpnbe19WkzVPpLLdAus4LkpNJ+pzLpfAViOUuvPcCqA=
-github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.1.7/go.mod h1:P+3VS0ETiQPyWOx3vB/oeC8J3qd7jnVZLYAFwWgGRt8=
+github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.2.0 h1:c7GgSBfMt51UGM4SI1F7IFOokOVZO+uxNcJL3Xsmkp4=
+github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.2.0/go.mod h1:P+3VS0ETiQPyWOx3vB/oeC8J3qd7jnVZLYAFwWgGRt8=
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d h1:G0m3OIz70MZUWq3EgK3CesDbo8upS2Vm9/P3FtgI+Jk=
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg=
github.com/Telmate/proxmox-api-go v0.0.0-20200715182505-ec97c70ba887/go.mod h1:OGWyIMJ87/k/GCz8CGiWB2HOXsOVDM6Lpe/nFPkC4IQ=
@@ -463,6 +463,8 @@ github.com/hashicorp/packer-plugin-docker v0.0.7 h1:hMTrH7vrkFIjphtbbtpuzffTzSjM
github.com/hashicorp/packer-plugin-docker v0.0.7/go.mod h1:IpeKlwOSy2kdgQcysqd3gCsoqjME9jtmpFoKxn7RRNI=
github.com/hashicorp/packer-plugin-googlecompute v0.0.1 h1:Shjio88MraB+ocj0VI5+M65r4UBKbYI4eCqLNyPXKEo=
github.com/hashicorp/packer-plugin-googlecompute v0.0.1/go.mod h1:MfV898IrEMpKH6wVnvOI5Tkhxm2snf3QxwVqV4k3bNI=
+github.com/hashicorp/packer-plugin-ncloud v0.0.2 h1:MGvGkOVfzeosqOSs5dteghLwv9VRcRxTuLoLX1ssUag=
+github.com/hashicorp/packer-plugin-ncloud v0.0.2/go.mod h1:Hud2R1pkky96TQy3TPTTrr9Kej4b/4dqC/v+uEE0VDY=
github.com/hashicorp/packer-plugin-proxmox v0.0.1 h1:nwfQtfcfV4Gx4aiX1OQD/FoZvWCt2L4qaRYY7zTJ8L0=
github.com/hashicorp/packer-plugin-proxmox v0.0.1/go.mod h1:3URutEWX1yy10qcHNJncS4OMpZknA1FyvlrfL+5usYk=
github.com/hashicorp/packer-plugin-qemu v0.0.1 h1:yGnmWf4Z+ZmOJXJF6w23V2KChtTCiPHsFnfg7+LRu74=
@@ -586,6 +588,7 @@ github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOA
github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY=
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
+github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
github.com/mattn/go-runewidth v0.0.10 h1:CoZ3S2P7pvtP45xOtBw+/mDL2z0RKI576gSkzRRpdGg=
github.com/mattn/go-runewidth v0.0.10/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk=
github.com/mattn/go-tty v0.0.0-20191112051231-74040eebce08 h1:8YAWbq7rJqfbc6IaAvA2eCQuOQvf6Bs4vHKcOyWw//E=
@@ -636,8 +639,9 @@ github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3Rllmb
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d h1:VhgPp6v9qf9Agr/56bj7Y/xa04UccTW04VP0Qed4vnQ=
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d/go.mod h1:YUTz3bUH2ZwIWBy3CJBeOBEugqcmXREj14T+iG/4k4U=
github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA=
-github.com/olekukonko/tablewriter v0.0.0-20180105111133-96aac992fc8b h1:LGItPaClbzopugAomw5VFKnG3h1dUr9QW5KOU+m8gu0=
github.com/olekukonko/tablewriter v0.0.0-20180105111133-96aac992fc8b/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo=
+github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
+github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
github.com/oracle/oci-go-sdk v18.0.0+incompatible h1:FLV4KixsVfF3rwyVTMI6Ryp/Q+OSb9sR5TawbfjFLN4=
github.com/oracle/oci-go-sdk v18.0.0+incompatible/go.mod h1:VQb79nF8Z2cwLkLS35ukwStZIg5F66tcBccjip/j888=
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/README.md b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/README.md
index 6c016191c..cb8fe364b 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/README.md
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/README.md
@@ -5,8 +5,8 @@
## Overview
This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client.
-- API version: 2020-11-18T09:44:01Z
-- Package version: 1.1.3
+- API version: 2019-10-17T10:28:43Z
+- Package version: 1.1.1
- Build package: io.swagger.codegen.languages.NcpGoForNcloudClientCodegen
## Installation
@@ -26,7 +26,6 @@ Class | Method | HTTP request | Description
*V2Api* | [**AssociatePublicIpWithServerInstance**](docs/V2Api.md#associatepublicipwithserverinstance) | **Post** /associatePublicIpWithServerInstance |
*V2Api* | [**AttachBlockStorageInstance**](docs/V2Api.md#attachblockstorageinstance) | **Post** /attachBlockStorageInstance |
*V2Api* | [**AttachNetworkInterface**](docs/V2Api.md#attachnetworkinterface) | **Post** /attachNetworkInterface |
-*V2Api* | [**ChangeBlockStorageVolumeSize**](docs/V2Api.md#changeblockstoragevolumesize) | **Post** /changeBlockStorageVolumeSize |
*V2Api* | [**ChangeNasVolumeSize**](docs/V2Api.md#changenasvolumesize) | **Post** /changeNasVolumeSize |
*V2Api* | [**ChangeServerInstanceSpec**](docs/V2Api.md#changeserverinstancespec) | **Post** /changeServerInstanceSpec |
*V2Api* | [**CreateBlockStorageInstance**](docs/V2Api.md#createblockstorageinstance) | **Post** /createBlockStorageInstance |
@@ -101,8 +100,6 @@ Class | Method | HTTP request | Description
- [AttachNetworkInterfaceResponse](docs/AttachNetworkInterfaceResponse.md)
- [BlockStorageInstance](docs/BlockStorageInstance.md)
- [BlockStorageSnapshotInstance](docs/BlockStorageSnapshotInstance.md)
- - [ChangeBlockStorageVolumeSizeRequest](docs/ChangeBlockStorageVolumeSizeRequest.md)
- - [ChangeBlockStorageVolumeSizeResponse](docs/ChangeBlockStorageVolumeSizeResponse.md)
- [ChangeNasVolumeSizeRequest](docs/ChangeNasVolumeSizeRequest.md)
- [ChangeNasVolumeSizeResponse](docs/ChangeNasVolumeSizeResponse.md)
- [ChangeServerInstanceSpecRequest](docs/ChangeServerInstanceSpecRequest.md)
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/access_control_group.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/access_control_group.go
index 9926c070c..1bc80a819 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/access_control_group.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/access_control_group.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/access_control_rule.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/access_control_rule.go
index 2441f6bff..9d8bab1a6 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/access_control_rule.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/access_control_rule.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_nas_volume_access_control_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_nas_volume_access_control_request.go
index 718741576..49e35e965 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_nas_volume_access_control_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_nas_volume_access_control_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_nas_volume_access_control_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_nas_volume_access_control_response.go
index f94346a7b..2111caa75 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_nas_volume_access_control_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_nas_volume_access_control_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_port_forwarding_rules_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_port_forwarding_rules_request.go
index 3b072937c..eb1ca693d 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_port_forwarding_rules_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_port_forwarding_rules_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_port_forwarding_rules_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_port_forwarding_rules_response.go
index 37aacf274..f99c7189a 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_port_forwarding_rules_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_port_forwarding_rules_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/api_client.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/api_client.go
index 3664a2f05..32bab28ba 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/api_client.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/api_client.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
@@ -36,7 +37,7 @@ var (
xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)")
)
-// APIClient manages communication with the server API v2020-11-18T09:44:01Z
+// APIClient manages communication with the server API v2019-10-17T10:28:43Z
// In most cases there should be only one, shared, APIClient.
type APIClient struct {
cfg *ncloud.Configuration
@@ -314,67 +315,90 @@ func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err e
bodyBuf = &bytes.Buffer{}
}
- bodyBuf.WriteString("responseFormatType=json")
+ result := "responseFormatType=json"
s := reflect.ValueOf(body).Elem()
- bodyBuf.WriteString(buildQueryString(s, ""))
+ typeOfT := s.Type()
+ for i := 0; i < s.NumField(); i++ {
+ f := s.Field(i)
+
+ if !f.IsNil() {
+ key := toLowerFirstChar(typeOfT.Field(i).Name)
+ if f.Kind() == reflect.Ptr {
+ switch f.Type().String() {
+ case "*string":
+ result += fmt.Sprintf("&%s=%s", key, url.QueryEscape(ncloud.StringValue(f.Interface().(*string))))
+ case "*bool":
+ result += fmt.Sprintf("&%s=%t", key, ncloud.BoolValue(f.Interface().(*bool)))
+ case "*int":
+ result += fmt.Sprintf("&%s=%d", key, ncloud.IntValue(f.Interface().(*int)))
+ case "*int32":
+ result += fmt.Sprintf("&%s=%d", key, ncloud.Int32Value(f.Interface().(*int32)))
+ case "*int64":
+ result += fmt.Sprintf("&%s=%d", key, ncloud.Int64Value(f.Interface().(*int64)))
+ case "*float32":
+ result += fmt.Sprintf("&%s=%f", key, ncloud.Float32Value(f.Interface().(*float32)))
+ }
+ } else if f.Kind() == reflect.Slice {
+ for i := 0; i < f.Len(); i++ {
+ item := f.Index(i)
+
+ if item.Elem().Kind() == reflect.Struct {
+ item := item.Elem()
+ typeOfSubItem := item.Type()
+
+ for j := 0; j < item.NumField(); j++ {
+ subItem := item.Field(j)
+ subKey := toLowerFirstChar(typeOfSubItem.Field(j).Name)
+
+ switch subItem.Type().String() {
+ case "*string":
+ result += fmt.Sprintf("&%s.%d.%s=%s", key, i+1, subKey, url.QueryEscape(ncloud.StringValue(subItem.Interface().(*string))))
+ case "*bool":
+ result += fmt.Sprintf("&%s.%d.%s=%t", key, i+1, subKey, ncloud.BoolValue(subItem.Interface().(*bool)))
+ case "*int":
+ result += fmt.Sprintf("&%s.%d.%s=%d", key, i+1, subKey, ncloud.IntValue(subItem.Interface().(*int)))
+ case "*int32":
+ result += fmt.Sprintf("&%s.%d.%s=%d", key, i+1, subKey, ncloud.Int32Value(subItem.Interface().(*int32)))
+ case "*int64":
+ result += fmt.Sprintf("&%s.%d.%s=%d", key, i+1, subKey, ncloud.Int64Value(subItem.Interface().(*int64)))
+ case "*float32":
+ result += fmt.Sprintf("&%s.%d.%s=%f", key, i+1, subKey, ncloud.Float32Value(subItem.Interface().(*float32)))
+ }
+ }
+ } else {
+ switch item.Type().String() {
+ case "*string":
+ result += fmt.Sprintf("&%s.%d=%s", key, i+1, url.QueryEscape(*item.Interface().(*string)))
+ case "*bool":
+ result += fmt.Sprintf("&%s.%d.%s=%t", key, i+1, ncloud.BoolValue(item.Interface().(*bool)))
+ case "*int":
+ result += fmt.Sprintf("&%s.%d.%s=%d", key, i+1, item.Interface().(*int))
+ case "*int32":
+ result += fmt.Sprintf("&%s.%d.%s=%d", key, i+1, item.Interface().(*int32))
+ case "*int64":
+ result += fmt.Sprintf("&%s.%d.%s=%d", key, i+1, item.Interface().(*int64))
+ case "*float32":
+ result += fmt.Sprintf("&%s.%d.%s=%f", key, i+1, item.Interface().(*float32))
+ }
+ }
+ }
+ }
+ }
+ }
if err != nil {
return nil, err
}
+ bodyBuf.WriteString(result)
+
if bodyBuf.Len() == 0 {
- err = fmt.Errorf("invalid body type %s", contentType)
+ err = fmt.Errorf("Invalid body type %s", contentType)
return nil, err
}
return bodyBuf, nil
}
-func buildQueryString(s reflect.Value, prefix string) string {
- bodyBuf := &bytes.Buffer{}
- if s.Kind() == reflect.Struct {
- for i := 0; i < s.NumField(); i++ {
- f := s.Field(i)
- if !f.IsNil() {
- name := toLowerFirstChar(s.Type().Field(i).Name)
- if len(prefix) > 0 {
- bodyBuf.WriteString(buildQueryString(f, fmt.Sprintf("%s.%s", prefix, name)))
- } else {
- bodyBuf.WriteString(buildQueryString(f, name))
- }
- }
- }
- } else if s.Kind() == reflect.Slice {
- for i := 0; i < s.Len(); i++ {
- item := s.Index(i)
- bodyBuf.WriteString(buildQueryString(item.Elem(), fmt.Sprintf("%s.%d", prefix, i+1)))
- }
- } else if s.Kind() == reflect.Ptr {
- bodyBuf.WriteString(fmt.Sprintf("&%s=%s", prefix, convertToString(s)))
- } else if s.Kind() == reflect.String {
- bodyBuf.WriteString(fmt.Sprintf("&%s=%s", prefix, s.Interface()))
- }
-
- return bodyBuf.String()
-}
-
-func convertToString(f reflect.Value) string {
- switch f.Type().String() {
- case "*string":
- return url.QueryEscape(ncloud.StringValue(f.Interface().(*string)))
- case "*bool":
- return fmt.Sprintf("%t", *f.Interface().(*bool))
- case "*int":
- return fmt.Sprintf("%d", *f.Interface().(*int))
- case "*int32":
- return fmt.Sprintf("%d", *f.Interface().(*int32))
- case "*int64":
- return fmt.Sprintf("%d", *f.Interface().(*int64))
- case "*float32":
- return fmt.Sprintf("%f", *f.Interface().(*float32))
- }
- return ""
-}
-
// detectContentType method is used to figure out `Request.Body` content type for request header
func detectContentType(body interface{}) string {
contentType := "text/plain; charset=utf-8"
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/api_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/api_response.go
index 96ba7e351..3606f03de 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/api_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/api_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/associate_public_ip_with_server_instance_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/associate_public_ip_with_server_instance_request.go
index 1c9808998..3dc458429 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/associate_public_ip_with_server_instance_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/associate_public_ip_with_server_instance_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/associate_public_ip_with_server_instance_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/associate_public_ip_with_server_instance_response.go
index a1a2a56c3..8490fbc6b 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/associate_public_ip_with_server_instance_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/associate_public_ip_with_server_instance_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_block_storage_instance_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_block_storage_instance_request.go
index 83d9ce660..5cc3af013 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_block_storage_instance_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_block_storage_instance_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_block_storage_instance_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_block_storage_instance_response.go
index fa57a6f14..2be5e02da 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_block_storage_instance_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_block_storage_instance_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_network_interface_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_network_interface_request.go
index cf96ec1f9..f46666c8e 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_network_interface_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_network_interface_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_network_interface_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_network_interface_response.go
index 700b0c997..52547d206 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_network_interface_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_network_interface_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/block_storage_instance.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/block_storage_instance.go
index ccd5bab73..96b641d23 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/block_storage_instance.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/block_storage_instance.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/block_storage_snapshot_instance.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/block_storage_snapshot_instance.go
index cae600e93..015acced4 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/block_storage_snapshot_instance.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/block_storage_snapshot_instance.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_block_storage_volume_size_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_block_storage_volume_size_request.go
deleted file mode 100644
index ae3f0eb6a..000000000
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_block_storage_volume_size_request.go
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * server
- *
- *
https://ncloud.apigw.ntruss.com/server/v2
- *
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-
-package server
-
-type ChangeBlockStorageVolumeSizeRequest struct {
-
- // 블록스토리지인스턴스번호
-BlockStorageInstanceNo *string `json:"blockStorageInstanceNo"`
-
- // 블록스토리지사이즈
-BlockStorageSize *int64 `json:"blockStorageSize"`
-}
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_block_storage_volume_size_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_block_storage_volume_size_response.go
deleted file mode 100644
index 348ce391b..000000000
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_block_storage_volume_size_response.go
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * server
- *
- *
https://ncloud.apigw.ntruss.com/server/v2
- *
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-
-package server
-
-type ChangeBlockStorageVolumeSizeResponse struct {
-
-RequestId *string `json:"requestId,omitempty"`
-
-ReturnCode *string `json:"returnCode,omitempty"`
-
-ReturnMessage *string `json:"returnMessage,omitempty"`
-
-TotalRows *int32 `json:"totalRows,omitempty"`
-
-BlockStorageInstanceList []*BlockStorageInstance `json:"blockStorageInstanceList,omitempty"`
-}
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_nas_volume_size_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_nas_volume_size_request.go
index 218d0a69f..0d85ec8ef 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_nas_volume_size_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_nas_volume_size_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_nas_volume_size_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_nas_volume_size_response.go
index e6a2b2549..e59228c58 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_nas_volume_size_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_nas_volume_size_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_server_instance_spec_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_server_instance_spec_request.go
index b2bb33222..593044ac4 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_server_instance_spec_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_server_instance_spec_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_server_instance_spec_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_server_instance_spec_response.go
index 35674f751..70603c07f 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_server_instance_spec_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_server_instance_spec_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/common_code.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/common_code.go
index 3f1d59e29..c57396f12 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/common_code.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/common_code.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/configuration.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/configuration.go
index ede319bc4..1f60832ec 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/configuration.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/configuration.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
@@ -27,7 +28,7 @@ func NewConfiguration(apiKey *ncloud.APIKey) *ncloud.Configuration {
cfg := &ncloud.Configuration{
BasePath: "https://ncloud.apigw.ntruss.com/server/v2",
DefaultHeader: make(map[string]string),
- UserAgent: "server/1.1.3/go",
+ UserAgent: "server/1.1.1/go",
APIKey: apiKey,
}
if os.Getenv("NCLOUD_API_GW") != "" {
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_instance_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_instance_request.go
index 2be7b89dd..32f8e8352 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_instance_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_instance_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_instance_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_instance_response.go
index 2150e288e..c7cab19a5 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_instance_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_instance_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_snapshot_instance_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_snapshot_instance_request.go
index a1e85edde..cb0ab4d16 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_snapshot_instance_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_snapshot_instance_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_snapshot_instance_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_snapshot_instance_response.go
index 09b117f75..5bd250412 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_snapshot_instance_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_snapshot_instance_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_instance_tags_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_instance_tags_request.go
index b4ae09cbe..677415d0c 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_instance_tags_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_instance_tags_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_instance_tags_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_instance_tags_response.go
index b40ec21f1..93a1a5ec4 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_instance_tags_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_instance_tags_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_login_key_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_login_key_request.go
index f89003af9..58b5a9cf1 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_login_key_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_login_key_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_login_key_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_login_key_response.go
index 1068a6cc4..e84d446d8 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_login_key_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_login_key_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_member_server_image_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_member_server_image_request.go
index 5b946e492..726586bee 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_member_server_image_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_member_server_image_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_member_server_image_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_member_server_image_response.go
index dbce679d2..1df999523 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_member_server_image_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_member_server_image_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_nas_volume_instance_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_nas_volume_instance_request.go
index 60b1fa09c..5d0abf28d 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_nas_volume_instance_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_nas_volume_instance_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_nas_volume_instance_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_nas_volume_instance_response.go
index da22c4a8b..752b69244 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_nas_volume_instance_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_nas_volume_instance_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_network_interface_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_network_interface_request.go
index 210ceccc3..6e898d298 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_network_interface_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_network_interface_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_network_interface_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_network_interface_response.go
index c4dc189a6..1d67600f5 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_network_interface_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_network_interface_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_public_ip_instance_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_public_ip_instance_request.go
index 9bdeb8ec8..bf6029049 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_public_ip_instance_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_public_ip_instance_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_public_ip_instance_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_public_ip_instance_response.go
index e0e03f386..88afe3db8 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_public_ip_instance_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_public_ip_instance_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_server_instances_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_server_instances_request.go
index d01f18d40..ae79b7048 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_server_instances_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_server_instances_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_server_instances_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_server_instances_response.go
index c86028863..d2681b61b 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_server_instances_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_server_instances_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_instances_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_instances_request.go
index faaae5d50..ce4a7ef9d 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_instances_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_instances_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_instances_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_instances_response.go
index 6dd94ed5e..553eb9ffc 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_instances_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_instances_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_snapshot_instances_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_snapshot_instances_request.go
index ebb4d9e78..f5adaf8c4 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_snapshot_instances_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_snapshot_instances_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_snapshot_instances_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_snapshot_instances_response.go
index 893c1f5e9..70e43646c 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_snapshot_instances_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_snapshot_instances_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_instance_tags_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_instance_tags_request.go
index e4005b56f..351ab7563 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_instance_tags_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_instance_tags_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_instance_tags_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_instance_tags_response.go
index 1ff959d37..781e0c5d4 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_instance_tags_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_instance_tags_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_login_key_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_login_key_request.go
index c7dec3214..a1830b985 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_login_key_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_login_key_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_login_key_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_login_key_response.go
index e4390ccb4..de33d3e8c 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_login_key_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_login_key_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_member_server_images_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_member_server_images_request.go
index f0a5bb8b8..5478688c6 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_member_server_images_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_member_server_images_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_member_server_images_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_member_server_images_response.go
index d18de8866..34ea8b0d0 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_member_server_images_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_member_server_images_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_nas_volume_instance_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_nas_volume_instance_request.go
index 4fd8721be..aaf81e11f 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_nas_volume_instance_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_nas_volume_instance_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_nas_volume_instance_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_nas_volume_instance_response.go
index abbf29828..5381bb3f0 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_nas_volume_instance_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_nas_volume_instance_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_network_interface_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_network_interface_request.go
index 440315465..d60e8f846 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_network_interface_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_network_interface_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_network_interface_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_network_interface_response.go
index de8e26cc1..fb53fbe18 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_network_interface_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_network_interface_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_port_forwarding_rules_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_port_forwarding_rules_request.go
index 126cd4118..c511dc93a 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_port_forwarding_rules_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_port_forwarding_rules_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_port_forwarding_rules_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_port_forwarding_rules_response.go
index 542d1bb1f..ce1022a96 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_port_forwarding_rules_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_port_forwarding_rules_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_public_ip_instances_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_public_ip_instances_request.go
index b0524d8b4..ad541887d 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_public_ip_instances_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_public_ip_instances_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_public_ip_instances_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_public_ip_instances_response.go
index 2ce4ecfee..5e36e43ab 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_public_ip_instances_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_public_ip_instances_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_block_storage_instances_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_block_storage_instances_request.go
index c6b7995d4..d37b2a800 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_block_storage_instances_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_block_storage_instances_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_block_storage_instances_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_block_storage_instances_response.go
index 0b54fa4e5..3fb49a71d 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_block_storage_instances_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_block_storage_instances_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_network_interface_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_network_interface_request.go
index 929887126..5f93fe6c0 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_network_interface_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_network_interface_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_network_interface_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_network_interface_response.go
index c8c0b426e..6f447a2c1 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_network_interface_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_network_interface_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/disassociate_public_ip_from_server_instance_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/disassociate_public_ip_from_server_instance_request.go
index e99300a0b..a3a68fff5 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/disassociate_public_ip_from_server_instance_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/disassociate_public_ip_from_server_instance_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/disassociate_public_ip_from_server_instance_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/disassociate_public_ip_from_server_instance_response.go
index f70d1fc4b..b387d9947 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/disassociate_public_ip_from_server_instance_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/disassociate_public_ip_from_server_instance_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_list_request.go
index 96843c9c6..c28b62621 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_list_response.go
index b2cd916bb..71ca2936e 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_server_instance_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_server_instance_list_request.go
index 8251141f3..5aab09f20 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_server_instance_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_server_instance_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_server_instance_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_server_instance_list_response.go
index 65da71700..71568b2f0 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_server_instance_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_server_instance_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_rule_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_rule_list_request.go
index f3226887a..254bf31bf 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_rule_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_rule_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_rule_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_rule_list_response.go
index 1a4ccd296..db4c58b08 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_rule_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_rule_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_instance_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_instance_list_request.go
index 47c58519e..7f2e11d21 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_instance_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_instance_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_instance_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_instance_list_response.go
index 3cf663200..d54420e66 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_instance_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_instance_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_snapshot_instance_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_snapshot_instance_list_request.go
index 23112a9e8..844a2650f 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_snapshot_instance_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_snapshot_instance_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_snapshot_instance_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_snapshot_instance_list_response.go
index 450969a16..9a9962954 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_snapshot_instance_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_snapshot_instance_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_init_script_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_init_script_list_request.go
index b95872394..422d0c0d2 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_init_script_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_init_script_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_init_script_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_init_script_list_response.go
index 664dd4286..be841d5bb 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_init_script_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_init_script_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_instance_tag_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_instance_tag_list_request.go
index d4f7b34dd..737a54146 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_instance_tag_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_instance_tag_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_instance_tag_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_instance_tag_list_response.go
index 69d1ab013..cd16693e2 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_instance_tag_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_instance_tag_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_login_key_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_login_key_list_request.go
index a39490529..4cde87f6f 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_login_key_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_login_key_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_login_key_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_login_key_list_response.go
index 43e579e85..ccc110729 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_login_key_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_login_key_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_member_server_image_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_member_server_image_list_request.go
index c1aff1560..0b099ed25 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_member_server_image_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_member_server_image_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_member_server_image_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_member_server_image_list_response.go
index f9b31aacc..033082493 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_member_server_image_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_member_server_image_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_list_request.go
index d79fed46f..3126f0706 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_list_response.go
index 8a8f7b60e..26b8cd5ec 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_rating_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_rating_list_request.go
index 8a88c37fc..fbf4d3081 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_rating_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_rating_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_rating_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_rating_list_response.go
index 7df79fba3..5aa17c3e9 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_rating_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_rating_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_network_interface_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_network_interface_list_request.go
index aa8e3a56f..5356dd42a 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_network_interface_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_network_interface_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_network_interface_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_network_interface_list_response.go
index af42fd9ec..4c5b573b2 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_network_interface_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_network_interface_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_port_forwarding_rule_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_port_forwarding_rule_list_request.go
index 40a6a340d..dc85e3112 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_port_forwarding_rule_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_port_forwarding_rule_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_port_forwarding_rule_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_port_forwarding_rule_list_response.go
index d83673cd0..c270ff6e3 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_port_forwarding_rule_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_port_forwarding_rule_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_private_subnet_instance_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_private_subnet_instance_list_request.go
index 95bafe111..ec2bd2406 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_private_subnet_instance_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_private_subnet_instance_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_private_subnet_instance_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_private_subnet_instance_list_response.go
index 7053f1218..02b7b2871 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_private_subnet_instance_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_private_subnet_instance_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_instance_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_instance_list_request.go
index 80970b3c8..fb3f300b6 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_instance_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_instance_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_instance_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_instance_list_response.go
index 025ee22e0..762a73989 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_instance_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_instance_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_target_server_instance_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_target_server_instance_list_request.go
index 9d15be2db..0c60e841c 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_target_server_instance_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_target_server_instance_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_target_server_instance_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_target_server_instance_list_response.go
index a000ca12d..50995c25b 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_target_server_instance_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_target_server_instance_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_raid_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_raid_list_request.go
index 9f1a69ebb..c36e3fbe6 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_raid_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_raid_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_raid_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_raid_list_response.go
index 038a465df..2e2010df8 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_raid_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_raid_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_region_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_region_list_request.go
index 55d79b228..472cbcd8c 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_region_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_region_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_region_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_region_list_response.go
index 0858ea4dc..6cb893023 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_region_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_region_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_request.go
index d77f105e9..d0f7829a4 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_response.go
index f33b96ea1..fc6aec415 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_server_instance_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_server_instance_list_request.go
index a193ac75c..f87710e6c 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_server_instance_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_server_instance_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_server_instance_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_server_instance_list_response.go
index 8767e2083..f477d4f02 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_server_instance_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_server_instance_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_image_product_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_image_product_list_request.go
index 44a55c92f..d60f2864e 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_image_product_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_image_product_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_image_product_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_image_product_list_response.go
index d86e31e88..d4141f4c6 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_image_product_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_image_product_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_instance_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_instance_list_request.go
index fc41f1d35..0172872f7 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_instance_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_instance_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_instance_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_instance_list_response.go
index 53c2835c6..94511c596 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_instance_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_instance_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_product_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_product_list_request.go
index f0a83c21e..5b13bce88 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_product_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_product_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
@@ -19,9 +20,6 @@ InternetLineTypeCode *string `json:"internetLineTypeCode,omitempty"`
// 조회할상품코드
ProductCode *string `json:"productCode,omitempty"`
- // 세대코드
-GenerationCode *string `json:"generationCode,omitempty"`
-
// 리전번호
RegionNo *string `json:"regionNo,omitempty"`
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_product_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_product_list_response.go
index 55af87f1d..d366e102a 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_product_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_product_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_zone_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_zone_list_request.go
index 9b4a4f648..8f18d037d 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_zone_list_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_zone_list_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_zone_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_zone_list_response.go
index 65952de33..82f477b9f 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_zone_list_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_zone_list_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/import_login_key_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/import_login_key_request.go
index cd1512612..1bb50da07 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/import_login_key_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/import_login_key_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/import_login_key_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/import_login_key_response.go
index c4e876943..9849992ff 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/import_login_key_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/import_login_key_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/init_script.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/init_script.go
index c589cd53d..dfb95d9c2 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/init_script.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/init_script.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/instance_tag.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/instance_tag.go
index c222f77f2..79afac758 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/instance_tag.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/instance_tag.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/instance_tag_parameter.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/instance_tag_parameter.go
index d5a3e4fe2..d6386fc1b 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/instance_tag_parameter.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/instance_tag_parameter.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/login_key.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/login_key.go
index 137c885f8..753f5805d 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/login_key.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/login_key.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/member_server_image.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/member_server_image.go
index 647c644f4..08e86c950 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/member_server_image.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/member_server_image.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance.go
index e431e16e7..87ee2e6e1 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance_custom_ip.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance_custom_ip.go
index e5b3bdf34..35622ee3e 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance_custom_ip.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance_custom_ip.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance_rating.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance_rating.go
index 9a36955a1..f55f4f7c0 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance_rating.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance_rating.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/network_interface.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/network_interface.go
index c7d4e9059..6c40e1691 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/network_interface.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/network_interface.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/port_forwarding_rule.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/port_forwarding_rule.go
index 53e3a0550..f04ebd17c 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/port_forwarding_rule.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/port_forwarding_rule.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/port_forwarding_rule_parameter.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/port_forwarding_rule_parameter.go
index b807a157e..6f8e45a51 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/port_forwarding_rule_parameter.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/port_forwarding_rule_parameter.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/private_subnet_instance.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/private_subnet_instance.go
index 732d5e6b1..b863e25c9 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/private_subnet_instance.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/private_subnet_instance.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/product.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/product.go
index 9afbd242f..b86bcf057 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/product.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/product.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
@@ -51,7 +52,4 @@ DbKindCode *string `json:"dbKindCode,omitempty"`
// 추가블록스토리지사이즈
AddBlockStorageSize *int64 `json:"addBlockStorageSize,omitempty"`
-
- // 세대코드
-GenerationCode *string `json:"generationCode,omitempty"`
}
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/public_ip_instance.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/public_ip_instance.go
index 810bf1e64..6a11c373e 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/public_ip_instance.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/public_ip_instance.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/raid.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/raid.go
index d95482229..098ba5ca6 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/raid.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/raid.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/reboot_server_instances_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/reboot_server_instances_request.go
index 356af5df4..7a459aee4 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/reboot_server_instances_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/reboot_server_instances_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/reboot_server_instances_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/reboot_server_instances_response.go
index e8eccf700..677d7cdb8 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/reboot_server_instances_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/reboot_server_instances_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/recreate_server_instance_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/recreate_server_instance_request.go
index be5bc9448..77f29629a 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/recreate_server_instance_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/recreate_server_instance_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/recreate_server_instance_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/recreate_server_instance_response.go
index 0c3d2b592..9e097b134 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/recreate_server_instance_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/recreate_server_instance_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/region.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/region.go
index c58deb0e6..7ffaa9022 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/region.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/region.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/remove_nas_volume_access_control_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/remove_nas_volume_access_control_request.go
index f77fd0f34..d177ced1c 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/remove_nas_volume_access_control_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/remove_nas_volume_access_control_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/remove_nas_volume_access_control_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/remove_nas_volume_access_control_response.go
index 74e05feff..43b8d92bc 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/remove_nas_volume_access_control_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/remove_nas_volume_access_control_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/replace_server_instance_associated_with_public_ip_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/replace_server_instance_associated_with_public_ip_request.go
index b545e0be8..da566d1d9 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/replace_server_instance_associated_with_public_ip_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/replace_server_instance_associated_with_public_ip_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/replace_server_instance_associated_with_public_ip_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/replace_server_instance_associated_with_public_ip_response.go
index 104b117f4..b13471592 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/replace_server_instance_associated_with_public_ip_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/replace_server_instance_associated_with_public_ip_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/root_password_server_instance.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/root_password_server_instance.go
index 6251967dc..6858b7e96 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/root_password_server_instance.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/root_password_server_instance.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/root_password_server_instance_parameter.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/root_password_server_instance_parameter.go
index f382c53b2..361b53f4f 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/root_password_server_instance_parameter.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/root_password_server_instance_parameter.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/server_instance.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/server_instance.go
index 2939acf5f..b4ec5e484 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/server_instance.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/server_instance.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
@@ -89,7 +90,7 @@ Region *Region `json:"region,omitempty"`
BaseBlockStorageDiskType *CommonCode `json:"baseBlockStorageDiskType,omitempty"`
// 기본블록스토리지디스크상세유형
-BaseBlockStorageDiskDetailType *CommonCode `json:"baseBlockStorageDiskDetailType,omitempty"`
+BaseBlockStroageDiskDetailType *CommonCode `json:"baseBlockStroageDiskDetailType,omitempty"`
// 인터넷라인구분
InternetLineType *CommonCode `json:"internetLineType,omitempty"`
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/set_nas_volume_access_control_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/set_nas_volume_access_control_request.go
index bd200b89a..8aeedfc0d 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/set_nas_volume_access_control_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/set_nas_volume_access_control_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/set_nas_volume_access_control_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/set_nas_volume_access_control_response.go
index 75b859beb..51e640eb8 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/set_nas_volume_access_control_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/set_nas_volume_access_control_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/start_server_instances_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/start_server_instances_request.go
index bf882027e..9f4b61f86 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/start_server_instances_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/start_server_instances_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/start_server_instances_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/start_server_instances_response.go
index 9606488ef..b44546dd4 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/start_server_instances_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/start_server_instances_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/stop_server_instances_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/stop_server_instances_request.go
index 53e4c5cfd..754b0691f 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/stop_server_instances_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/stop_server_instances_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/stop_server_instances_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/stop_server_instances_response.go
index b09a5d7cd..f5b43ca15 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/stop_server_instances_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/stop_server_instances_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/terminate_server_instances_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/terminate_server_instances_request.go
index 3c42c6ae3..44bc6175e 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/terminate_server_instances_request.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/terminate_server_instances_request.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/terminate_server_instances_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/terminate_server_instances_response.go
index 18ed2925d..95b700a66 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/terminate_server_instances_response.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/terminate_server_instances_response.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/v2_api.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/v2_api.go
index bacc04cd9..9428b6bdb 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/v2_api.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/v2_api.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
@@ -398,80 +399,6 @@ func (a *V2ApiService) AttachNetworkInterface(attachNetworkInterfaceRequest *Att
return &successPayload, err
}
-/* V2ApiService
- 블록스토리지볼륨사이즈변경
- @param changeBlockStorageVolumeSizeRequest changeBlockStorageVolumeSizeRequest
- @return *ChangeBlockStorageVolumeSizeResponse*/
-func (a *V2ApiService) ChangeBlockStorageVolumeSize(changeBlockStorageVolumeSizeRequest *ChangeBlockStorageVolumeSizeRequest) (*ChangeBlockStorageVolumeSizeResponse, error) {
- var (
- localVarHttpMethod = strings.ToUpper("Post")
- localVarPostBody interface{}
- localVarFileName string
- localVarFileBytes []byte
- successPayload ChangeBlockStorageVolumeSizeResponse
- )
-
- // create path and map variables
- localVarPath := a.client.cfg.BasePath + "/changeBlockStorageVolumeSize"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
-
- // to determine the Content-Type header
- localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", }
-
- // set Content-Type header
- localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes)
- if localVarHttpContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHttpContentType
- }
-
- // to determine the Accept header
- localVarHttpHeaderAccepts := []string{
- }
-
- // set Accept header
- localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts)
- if localVarHttpHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHttpHeaderAccept
- }
- // body params
- localVarPostBody = changeBlockStorageVolumeSizeRequest
- v := reflect.ValueOf(localVarPostBody).Elem().FieldByName("UserData")
- if v.IsValid() && v.CanAddr() {
- ptr := v.Addr().Interface().(**string)
- if *ptr != nil {
- **ptr = base64.StdEncoding.EncodeToString([]byte(**ptr))
- }
- }
- r, err := a.client.prepareRequest(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes)
- if err != nil {
- return &successPayload, err
- }
-
- localVarHttpResponse, err := a.client.callAPI(r)
- if err != nil || localVarHttpResponse == nil {
- return &successPayload, err
- }
- defer localVarHttpResponse.Body.Close()
- bodyBytes, _ := ioutil.ReadAll(localVarHttpResponse.Body)
-
- if localVarHttpResponse.StatusCode >= 300 || (localVarHttpResponse.StatusCode < 300 && !strings.HasPrefix(string(bodyBytes), `{`)) {
- return &successPayload, reportError("Status: %v, Body: %s", localVarHttpResponse.Status, bodyBytes)
- }
-
- if !strings.Contains(string(bodyBytes), `{"error"`) && strings.HasPrefix(string(bodyBytes), `{`) {
- if err = json.Unmarshal(bodyBytes[bytes.IndexAny(bytes.Trim(bodyBytes, "{"), "{"):len(bodyBytes)-1], &successPayload); err != nil {
- return &successPayload, err
- }
- }
-
-
- return &successPayload, err
-}
-
/* V2ApiService
NAS볼륨사이즈변경
@param changeNasVolumeSizeRequest changeNasVolumeSizeRequest
diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/zone.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/zone.go
index 59acdcea9..8b2e370b5 100644
--- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/zone.go
+++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/zone.go
@@ -3,6 +3,7 @@
*
*
https://ncloud.apigw.ntruss.com/server/v2
*
+ * API version: 2019-10-17T10:28:43Z
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
diff --git a/vendor/github.com/hashicorp/packer-plugin-ncloud/LICENSE b/vendor/github.com/hashicorp/packer-plugin-ncloud/LICENSE
new file mode 100644
index 000000000..a612ad981
--- /dev/null
+++ b/vendor/github.com/hashicorp/packer-plugin-ncloud/LICENSE
@@ -0,0 +1,373 @@
+Mozilla Public License Version 2.0
+==================================
+
+1. Definitions
+--------------
+
+1.1. "Contributor"
+ means each individual or legal entity that creates, contributes to
+ the creation of, or owns Covered Software.
+
+1.2. "Contributor Version"
+ means the combination of the Contributions of others (if any) used
+ by a Contributor and that particular Contributor's Contribution.
+
+1.3. "Contribution"
+ means Covered Software of a particular Contributor.
+
+1.4. "Covered Software"
+ means Source Code Form to which the initial Contributor has attached
+ the notice in Exhibit A, the Executable Form of such Source Code
+ Form, and Modifications of such Source Code Form, in each case
+ including portions thereof.
+
+1.5. "Incompatible With Secondary Licenses"
+ means
+
+ (a) that the initial Contributor has attached the notice described
+ in Exhibit B to the Covered Software; or
+
+ (b) that the Covered Software was made available under the terms of
+ version 1.1 or earlier of the License, but not also under the
+ terms of a Secondary License.
+
+1.6. "Executable Form"
+ means any form of the work other than Source Code Form.
+
+1.7. "Larger Work"
+ means a work that combines Covered Software with other material, in
+ a separate file or files, that is not Covered Software.
+
+1.8. "License"
+ means this document.
+
+1.9. "Licensable"
+ means having the right to grant, to the maximum extent possible,
+ whether at the time of the initial grant or subsequently, any and
+ all of the rights conveyed by this License.
+
+1.10. "Modifications"
+ means any of the following:
+
+ (a) any file in Source Code Form that results from an addition to,
+ deletion from, or modification of the contents of Covered
+ Software; or
+
+ (b) any new file in Source Code Form that contains any Covered
+ Software.
+
+1.11. "Patent Claims" of a Contributor
+ means any patent claim(s), including without limitation, method,
+ process, and apparatus claims, in any patent Licensable by such
+ Contributor that would be infringed, but for the grant of the
+ License, by the making, using, selling, offering for sale, having
+ made, import, or transfer of either its Contributions or its
+ Contributor Version.
+
+1.12. "Secondary License"
+ means either the GNU General Public License, Version 2.0, the GNU
+ Lesser General Public License, Version 2.1, the GNU Affero General
+ Public License, Version 3.0, or any later versions of those
+ licenses.
+
+1.13. "Source Code Form"
+ means the form of the work preferred for making modifications.
+
+1.14. "You" (or "Your")
+ means an individual or a legal entity exercising rights under this
+ License. For legal entities, "You" includes any entity that
+ controls, is controlled by, or is under common control with You. For
+ purposes of this definition, "control" means (a) the power, direct
+ or indirect, to cause the direction or management of such entity,
+ whether by contract or otherwise, or (b) ownership of more than
+ fifty percent (50%) of the outstanding shares or beneficial
+ ownership of such entity.
+
+2. License Grants and Conditions
+--------------------------------
+
+2.1. Grants
+
+Each Contributor hereby grants You a world-wide, royalty-free,
+non-exclusive license:
+
+(a) under intellectual property rights (other than patent or trademark)
+ Licensable by such Contributor to use, reproduce, make available,
+ modify, display, perform, distribute, and otherwise exploit its
+ Contributions, either on an unmodified basis, with Modifications, or
+ as part of a Larger Work; and
+
+(b) under Patent Claims of such Contributor to make, use, sell, offer
+ for sale, have made, import, and otherwise transfer either its
+ Contributions or its Contributor Version.
+
+2.2. Effective Date
+
+The licenses granted in Section 2.1 with respect to any Contribution
+become effective for each Contribution on the date the Contributor first
+distributes such Contribution.
+
+2.3. Limitations on Grant Scope
+
+The licenses granted in this Section 2 are the only rights granted under
+this License. No additional rights or licenses will be implied from the
+distribution or licensing of Covered Software under this License.
+Notwithstanding Section 2.1(b) above, no patent license is granted by a
+Contributor:
+
+(a) for any code that a Contributor has removed from Covered Software;
+ or
+
+(b) for infringements caused by: (i) Your and any other third party's
+ modifications of Covered Software, or (ii) the combination of its
+ Contributions with other software (except as part of its Contributor
+ Version); or
+
+(c) under Patent Claims infringed by Covered Software in the absence of
+ its Contributions.
+
+This License does not grant any rights in the trademarks, service marks,
+or logos of any Contributor (except as may be necessary to comply with
+the notice requirements in Section 3.4).
+
+2.4. Subsequent Licenses
+
+No Contributor makes additional grants as a result of Your choice to
+distribute the Covered Software under a subsequent version of this
+License (see Section 10.2) or under the terms of a Secondary License (if
+permitted under the terms of Section 3.3).
+
+2.5. Representation
+
+Each Contributor represents that the Contributor believes its
+Contributions are its original creation(s) or it has sufficient rights
+to grant the rights to its Contributions conveyed by this License.
+
+2.6. Fair Use
+
+This License is not intended to limit any rights You have under
+applicable copyright doctrines of fair use, fair dealing, or other
+equivalents.
+
+2.7. Conditions
+
+Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
+in Section 2.1.
+
+3. Responsibilities
+-------------------
+
+3.1. Distribution of Source Form
+
+All distribution of Covered Software in Source Code Form, including any
+Modifications that You create or to which You contribute, must be under
+the terms of this License. You must inform recipients that the Source
+Code Form of the Covered Software is governed by the terms of this
+License, and how they can obtain a copy of this License. You may not
+attempt to alter or restrict the recipients' rights in the Source Code
+Form.
+
+3.2. Distribution of Executable Form
+
+If You distribute Covered Software in Executable Form then:
+
+(a) such Covered Software must also be made available in Source Code
+ Form, as described in Section 3.1, and You must inform recipients of
+ the Executable Form how they can obtain a copy of such Source Code
+ Form by reasonable means in a timely manner, at a charge no more
+ than the cost of distribution to the recipient; and
+
+(b) You may distribute such Executable Form under the terms of this
+ License, or sublicense it under different terms, provided that the
+ license for the Executable Form does not attempt to limit or alter
+ the recipients' rights in the Source Code Form under this License.
+
+3.3. Distribution of a Larger Work
+
+You may create and distribute a Larger Work under terms of Your choice,
+provided that You also comply with the requirements of this License for
+the Covered Software. If the Larger Work is a combination of Covered
+Software with a work governed by one or more Secondary Licenses, and the
+Covered Software is not Incompatible With Secondary Licenses, this
+License permits You to additionally distribute such Covered Software
+under the terms of such Secondary License(s), so that the recipient of
+the Larger Work may, at their option, further distribute the Covered
+Software under the terms of either this License or such Secondary
+License(s).
+
+3.4. Notices
+
+You may not remove or alter the substance of any license notices
+(including copyright notices, patent notices, disclaimers of warranty,
+or limitations of liability) contained within the Source Code Form of
+the Covered Software, except that You may alter any license notices to
+the extent required to remedy known factual inaccuracies.
+
+3.5. Application of Additional Terms
+
+You may choose to offer, and to charge a fee for, warranty, support,
+indemnity or liability obligations to one or more recipients of Covered
+Software. However, You may do so only on Your own behalf, and not on
+behalf of any Contributor. You must make it absolutely clear that any
+such warranty, support, indemnity, or liability obligation is offered by
+You alone, and You hereby agree to indemnify every Contributor for any
+liability incurred by such Contributor as a result of warranty, support,
+indemnity or liability terms You offer. You may include additional
+disclaimers of warranty and limitations of liability specific to any
+jurisdiction.
+
+4. Inability to Comply Due to Statute or Regulation
+---------------------------------------------------
+
+If it is impossible for You to comply with any of the terms of this
+License with respect to some or all of the Covered Software due to
+statute, judicial order, or regulation then You must: (a) comply with
+the terms of this License to the maximum extent possible; and (b)
+describe the limitations and the code they affect. Such description must
+be placed in a text file included with all distributions of the Covered
+Software under this License. Except to the extent prohibited by statute
+or regulation, such description must be sufficiently detailed for a
+recipient of ordinary skill to be able to understand it.
+
+5. Termination
+--------------
+
+5.1. The rights granted under this License will terminate automatically
+if You fail to comply with any of its terms. However, if You become
+compliant, then the rights granted under this License from a particular
+Contributor are reinstated (a) provisionally, unless and until such
+Contributor explicitly and finally terminates Your grants, and (b) on an
+ongoing basis, if such Contributor fails to notify You of the
+non-compliance by some reasonable means prior to 60 days after You have
+come back into compliance. Moreover, Your grants from a particular
+Contributor are reinstated on an ongoing basis if such Contributor
+notifies You of the non-compliance by some reasonable means, this is the
+first time You have received notice of non-compliance with this License
+from such Contributor, and You become compliant prior to 30 days after
+Your receipt of the notice.
+
+5.2. If You initiate litigation against any entity by asserting a patent
+infringement claim (excluding declaratory judgment actions,
+counter-claims, and cross-claims) alleging that a Contributor Version
+directly or indirectly infringes any patent, then the rights granted to
+You by any and all Contributors for the Covered Software under Section
+2.1 of this License shall terminate.
+
+5.3. In the event of termination under Sections 5.1 or 5.2 above, all
+end user license agreements (excluding distributors and resellers) which
+have been validly granted by You or Your distributors under this License
+prior to termination shall survive termination.
+
+************************************************************************
+* *
+* 6. Disclaimer of Warranty *
+* ------------------------- *
+* *
+* Covered Software is provided under this License on an "as is" *
+* basis, without warranty of any kind, either expressed, implied, or *
+* statutory, including, without limitation, warranties that the *
+* Covered Software is free of defects, merchantable, fit for a *
+* particular purpose or non-infringing. The entire risk as to the *
+* quality and performance of the Covered Software is with You. *
+* Should any Covered Software prove defective in any respect, You *
+* (not any Contributor) assume the cost of any necessary servicing, *
+* repair, or correction. This disclaimer of warranty constitutes an *
+* essential part of this License. No use of any Covered Software is *
+* authorized under this License except under this disclaimer. *
+* *
+************************************************************************
+
+************************************************************************
+* *
+* 7. Limitation of Liability *
+* -------------------------- *
+* *
+* Under no circumstances and under no legal theory, whether tort *
+* (including negligence), contract, or otherwise, shall any *
+* Contributor, or anyone who distributes Covered Software as *
+* permitted above, be liable to You for any direct, indirect, *
+* special, incidental, or consequential damages of any character *
+* including, without limitation, damages for lost profits, loss of *
+* goodwill, work stoppage, computer failure or malfunction, or any *
+* and all other commercial damages or losses, even if such party *
+* shall have been informed of the possibility of such damages. This *
+* limitation of liability shall not apply to liability for death or *
+* personal injury resulting from such party's negligence to the *
+* extent applicable law prohibits such limitation. Some *
+* jurisdictions do not allow the exclusion or limitation of *
+* incidental or consequential damages, so this exclusion and *
+* limitation may not apply to You. *
+* *
+************************************************************************
+
+8. Litigation
+-------------
+
+Any litigation relating to this License may be brought only in the
+courts of a jurisdiction where the defendant maintains its principal
+place of business and such litigation shall be governed by laws of that
+jurisdiction, without reference to its conflict-of-law provisions.
+Nothing in this Section shall prevent a party's ability to bring
+cross-claims or counter-claims.
+
+9. Miscellaneous
+----------------
+
+This License represents the complete agreement concerning the subject
+matter hereof. If any provision of this License is held to be
+unenforceable, such provision shall be reformed only to the extent
+necessary to make it enforceable. Any law or regulation which provides
+that the language of a contract shall be construed against the drafter
+shall not be used to construe this License against a Contributor.
+
+10. Versions of the License
+---------------------------
+
+10.1. New Versions
+
+Mozilla Foundation is the license steward. Except as provided in Section
+10.3, no one other than the license steward has the right to modify or
+publish new versions of this License. Each version will be given a
+distinguishing version number.
+
+10.2. Effect of New Versions
+
+You may distribute the Covered Software under the terms of the version
+of the License under which You originally received the Covered Software,
+or under the terms of any subsequent version published by the license
+steward.
+
+10.3. Modified Versions
+
+If you create software not governed by this License, and you want to
+create a new license for such software, you may create and use a
+modified version of this License if you rename the license and remove
+any references to the name of the license steward (except to note that
+such modified license differs from this License).
+
+10.4. Distributing Source Code Form that is Incompatible With Secondary
+Licenses
+
+If You choose to distribute Source Code Form that is Incompatible With
+Secondary Licenses under the terms of this version of the License, the
+notice described in Exhibit B of this License must be attached.
+
+Exhibit A - Source Code Form License Notice
+-------------------------------------------
+
+ This Source Code Form is subject to the terms of the Mozilla Public
+ License, v. 2.0. If a copy of the MPL was not distributed with this
+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+If it is not possible or desirable to put the notice in a particular
+file, then You may include the notice in a location (such as a LICENSE
+file in a relevant directory) where a recipient would be likely to look
+for such a notice.
+
+You may add additional accurate notices of copyright ownership.
+
+Exhibit B - "Incompatible With Secondary Licenses" Notice
+---------------------------------------------------------
+
+ This Source Code Form is "Incompatible With Secondary Licenses", as
+ defined by the Mozilla Public License, v. 2.0.
diff --git a/builder/ncloud/artifact.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/artifact.go
similarity index 100%
rename from builder/ncloud/artifact.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/artifact.go
diff --git a/builder/ncloud/builder.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/builder.go
similarity index 100%
rename from builder/ncloud/builder.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/builder.go
diff --git a/builder/ncloud/config.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/config.go
similarity index 100%
rename from builder/ncloud/config.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/config.go
diff --git a/builder/ncloud/config.hcl2spec.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/config.hcl2spec.go
similarity index 100%
rename from builder/ncloud/config.hcl2spec.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/config.hcl2spec.go
diff --git a/builder/ncloud/step.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step.go
similarity index 100%
rename from builder/ncloud/step.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step.go
diff --git a/builder/ncloud/step_create_access_control_group.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_create_access_control_group.go
similarity index 100%
rename from builder/ncloud/step_create_access_control_group.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_create_access_control_group.go
diff --git a/builder/ncloud/step_create_block_storage_instance.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_create_block_storage_instance.go
similarity index 100%
rename from builder/ncloud/step_create_block_storage_instance.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_create_block_storage_instance.go
diff --git a/builder/ncloud/step_create_init_script.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_create_init_script.go
similarity index 100%
rename from builder/ncloud/step_create_init_script.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_create_init_script.go
diff --git a/builder/ncloud/step_create_login_key.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_create_login_key.go
similarity index 100%
rename from builder/ncloud/step_create_login_key.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_create_login_key.go
diff --git a/builder/ncloud/step_create_public_ip_instance.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_create_public_ip_instance.go
similarity index 100%
rename from builder/ncloud/step_create_public_ip_instance.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_create_public_ip_instance.go
diff --git a/builder/ncloud/step_create_server_image.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_create_server_image.go
similarity index 100%
rename from builder/ncloud/step_create_server_image.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_create_server_image.go
diff --git a/builder/ncloud/step_create_server_instance.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_create_server_instance.go
similarity index 100%
rename from builder/ncloud/step_create_server_instance.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_create_server_instance.go
diff --git a/builder/ncloud/step_delete_block_storage_instance.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_delete_block_storage_instance.go
similarity index 100%
rename from builder/ncloud/step_delete_block_storage_instance.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_delete_block_storage_instance.go
diff --git a/builder/ncloud/step_get_rootpassword.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_get_rootpassword.go
similarity index 100%
rename from builder/ncloud/step_get_rootpassword.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_get_rootpassword.go
diff --git a/builder/ncloud/step_stop_server_instance.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_stop_server_instance.go
similarity index 100%
rename from builder/ncloud/step_stop_server_instance.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_stop_server_instance.go
diff --git a/builder/ncloud/step_terminate_server_instance.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_terminate_server_instance.go
similarity index 100%
rename from builder/ncloud/step_terminate_server_instance.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_terminate_server_instance.go
diff --git a/builder/ncloud/step_validate_template.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_validate_template.go
similarity index 100%
rename from builder/ncloud/step_validate_template.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/step_validate_template.go
diff --git a/builder/ncloud/waiter_block_storage_instance.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/waiter_block_storage_instance.go
similarity index 100%
rename from builder/ncloud/waiter_block_storage_instance.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/waiter_block_storage_instance.go
diff --git a/builder/ncloud/waiter_server_image_status.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/waiter_server_image_status.go
similarity index 100%
rename from builder/ncloud/waiter_server_image_status.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/waiter_server_image_status.go
diff --git a/builder/ncloud/waiter_server_instance_status.go b/vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/waiter_server_instance_status.go
similarity index 100%
rename from builder/ncloud/waiter_server_instance_status.go
rename to vendor/github.com/hashicorp/packer-plugin-ncloud/builder/ncloud/waiter_server_instance_status.go
diff --git a/vendor/github.com/olekukonko/tablewriter/.gitignore b/vendor/github.com/olekukonko/tablewriter/.gitignore
new file mode 100644
index 000000000..b66cec635
--- /dev/null
+++ b/vendor/github.com/olekukonko/tablewriter/.gitignore
@@ -0,0 +1,15 @@
+# Created by .ignore support plugin (hsz.mobi)
+### Go template
+# Binaries for programs and plugins
+*.exe
+*.exe~
+*.dll
+*.so
+*.dylib
+
+# Test binary, build with `go test -c`
+*.test
+
+# Output of the go coverage tool, specifically when used with LiteIDE
+*.out
+
diff --git a/vendor/github.com/olekukonko/tablewriter/.travis.yml b/vendor/github.com/olekukonko/tablewriter/.travis.yml
index f156b3b87..366d48a35 100644
--- a/vendor/github.com/olekukonko/tablewriter/.travis.yml
+++ b/vendor/github.com/olekukonko/tablewriter/.travis.yml
@@ -1,12 +1,22 @@
language: go
-
+arch:
+ - ppc64le
+ - amd64
go:
- - 1.1
- - 1.2
- 1.3
- 1.4
- 1.5
- 1.6
- 1.7
- 1.8
+ - 1.9
+ - "1.10"
- tip
+jobs:
+ exclude :
+ - arch : ppc64le
+ go :
+ - 1.3
+ - arch : ppc64le
+ go :
+ - 1.4
diff --git a/vendor/github.com/olekukonko/tablewriter/LICENCE.md b/vendor/github.com/olekukonko/tablewriter/LICENSE.md
similarity index 98%
rename from vendor/github.com/olekukonko/tablewriter/LICENCE.md
rename to vendor/github.com/olekukonko/tablewriter/LICENSE.md
index 1fd848425..a0769b5c1 100644
--- a/vendor/github.com/olekukonko/tablewriter/LICENCE.md
+++ b/vendor/github.com/olekukonko/tablewriter/LICENSE.md
@@ -16,4 +16,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
\ No newline at end of file
+THE SOFTWARE.
diff --git a/vendor/github.com/olekukonko/tablewriter/README.md b/vendor/github.com/olekukonko/tablewriter/README.md
index ae12208be..f06530d75 100644
--- a/vendor/github.com/olekukonko/tablewriter/README.md
+++ b/vendor/github.com/olekukonko/tablewriter/README.md
@@ -1,13 +1,13 @@
ASCII Table Writer
=========
-[![Build Status](https://travis-ci.org/olekukonko/tablewriter.png?branch=master)](https://travis-ci.org/olekukonko/tablewriter)
+[![Build Status](https://travis-ci.org/olekukonko/tablewriter.png?branch=master)](https://travis-ci.org/olekukonko/tablewriter)
[![Total views](https://img.shields.io/sourcegraph/rrc/github.com/olekukonko/tablewriter.svg)](https://sourcegraph.com/github.com/olekukonko/tablewriter)
[![Godoc](https://godoc.org/github.com/olekukonko/tablewriter?status.svg)](https://godoc.org/github.com/olekukonko/tablewriter)
Generate ASCII table on the fly ... Installation is simple as
- go get github.com/olekukonko/tablewriter
+ go get github.com/olekukonko/tablewriter
#### Features
@@ -25,7 +25,7 @@ Generate ASCII table on the fly ... Installation is simple as
- Set custom footer support
- Optional identical cells merging
- Set custom caption
-
+- Optional reflowing of paragraphs in multi-line cells.
#### Example 1 - Basic
```go
@@ -78,21 +78,21 @@ table.Render()
```
DATE | DESCRIPTION | CV2 | AMOUNT
-+----------+--------------------------+-------+---------+
+-----------+--------------------------+-------+----------
1/1/2014 | Domain name | 2233 | $10.98
1/1/2014 | January Hosting | 2233 | $54.95
1/4/2014 | February Hosting | 2233 | $51.00
1/4/2014 | February Extra Bandwidth | 2233 | $30.00
-+----------+--------------------------+-------+---------+
+-----------+--------------------------+-------+----------
TOTAL | $146 93
- +-------+---------+
+ --------+----------
```
#### Example 3 - CSV
```go
-table, _ := tablewriter.NewCSV(os.Stdout, "test_info.csv", true)
+table, _ := tablewriter.NewCSV(os.Stdout, "testdata/test_info.csv", true)
table.SetAlignment(tablewriter.ALIGN_LEFT) // Set Alignment
table.Render()
```
@@ -110,12 +110,12 @@ table.Render()
#### Example 4 - Custom Separator
```go
-table, _ := tablewriter.NewCSV(os.Stdout, "test.csv", true)
+table, _ := tablewriter.NewCSV(os.Stdout, "testdata/test.csv", true)
table.SetRowLine(true) // Enable row line
// Change table lines
table.SetCenterSeparator("*")
-table.SetColumnSeparator("‡")
+table.SetColumnSeparator("╪")
table.SetRowSeparator("-")
table.SetAlignment(tablewriter.ALIGN_LEFT)
@@ -197,6 +197,41 @@ table.Render()
+----------+--------------------------+-------+---------+
```
+#### Example 7 - Identical cells merging (specify the column index to merge)
+```go
+data := [][]string{
+ []string{"1/1/2014", "Domain name", "1234", "$10.98"},
+ []string{"1/1/2014", "January Hosting", "1234", "$10.98"},
+ []string{"1/4/2014", "February Hosting", "3456", "$51.00"},
+ []string{"1/4/2014", "February Extra Bandwidth", "4567", "$30.00"},
+}
+
+table := tablewriter.NewWriter(os.Stdout)
+table.SetHeader([]string{"Date", "Description", "CV2", "Amount"})
+table.SetFooter([]string{"", "", "Total", "$146.93"})
+table.SetAutoMergeCellsByColumnIndex([]int{2, 3})
+table.SetRowLine(true)
+table.AppendBulk(data)
+table.Render()
+```
+
+##### Output 7
+```
++----------+--------------------------+-------+---------+
+| DATE | DESCRIPTION | CV2 | AMOUNT |
++----------+--------------------------+-------+---------+
+| 1/1/2014 | Domain name | 1234 | $10.98 |
++----------+--------------------------+ + +
+| 1/1/2014 | January Hosting | | |
++----------+--------------------------+-------+---------+
+| 1/4/2014 | February Hosting | 3456 | $51.00 |
++----------+--------------------------+-------+---------+
+| 1/4/2014 | February Extra Bandwidth | 4567 | $30.00 |
++----------+--------------------------+-------+---------+
+| TOTAL | $146.93 |
++----------+--------------------------+-------+---------+
+```
+
#### Table with color
```go
@@ -233,7 +268,63 @@ table.Render()
#### Table with color Output
![Table with Color](https://cloud.githubusercontent.com/assets/6460392/21101956/bbc7b356-c0a1-11e6-9f36-dba694746efc.png)
-#### Example 6 - Set table caption
+#### Example - 8 Table Cells with Color
+
+Individual Cell Colors from `func Rich` take precedence over Column Colors
+
+```go
+data := [][]string{
+ []string{"Test1Merge", "HelloCol2 - 1", "HelloCol3 - 1", "HelloCol4 - 1"},
+ []string{"Test1Merge", "HelloCol2 - 2", "HelloCol3 - 2", "HelloCol4 - 2"},
+ []string{"Test1Merge", "HelloCol2 - 3", "HelloCol3 - 3", "HelloCol4 - 3"},
+ []string{"Test2Merge", "HelloCol2 - 4", "HelloCol3 - 4", "HelloCol4 - 4"},
+ []string{"Test2Merge", "HelloCol2 - 5", "HelloCol3 - 5", "HelloCol4 - 5"},
+ []string{"Test2Merge", "HelloCol2 - 6", "HelloCol3 - 6", "HelloCol4 - 6"},
+ []string{"Test2Merge", "HelloCol2 - 7", "HelloCol3 - 7", "HelloCol4 - 7"},
+ []string{"Test3Merge", "HelloCol2 - 8", "HelloCol3 - 8", "HelloCol4 - 8"},
+ []string{"Test3Merge", "HelloCol2 - 9", "HelloCol3 - 9", "HelloCol4 - 9"},
+ []string{"Test3Merge", "HelloCol2 - 10", "HelloCol3 -10", "HelloCol4 - 10"},
+}
+
+table := tablewriter.NewWriter(os.Stdout)
+table.SetHeader([]string{"Col1", "Col2", "Col3", "Col4"})
+table.SetFooter([]string{"", "", "Footer3", "Footer4"})
+table.SetBorder(false)
+
+table.SetHeaderColor(tablewriter.Colors{tablewriter.Bold, tablewriter.BgGreenColor},
+ tablewriter.Colors{tablewriter.FgHiRedColor, tablewriter.Bold, tablewriter.BgBlackColor},
+ tablewriter.Colors{tablewriter.BgRedColor, tablewriter.FgWhiteColor},
+ tablewriter.Colors{tablewriter.BgCyanColor, tablewriter.FgWhiteColor})
+
+table.SetColumnColor(tablewriter.Colors{tablewriter.Bold, tablewriter.FgHiBlackColor},
+ tablewriter.Colors{tablewriter.Bold, tablewriter.FgHiRedColor},
+ tablewriter.Colors{tablewriter.Bold, tablewriter.FgHiBlackColor},
+ tablewriter.Colors{tablewriter.Bold, tablewriter.FgBlackColor})
+
+table.SetFooterColor(tablewriter.Colors{}, tablewriter.Colors{},
+ tablewriter.Colors{tablewriter.Bold},
+ tablewriter.Colors{tablewriter.FgHiRedColor})
+
+colorData1 := []string{"TestCOLOR1Merge", "HelloCol2 - COLOR1", "HelloCol3 - COLOR1", "HelloCol4 - COLOR1"}
+colorData2 := []string{"TestCOLOR2Merge", "HelloCol2 - COLOR2", "HelloCol3 - COLOR2", "HelloCol4 - COLOR2"}
+
+for i, row := range data {
+ if i == 4 {
+ table.Rich(colorData1, []tablewriter.Colors{tablewriter.Colors{}, tablewriter.Colors{tablewriter.Normal, tablewriter.FgCyanColor}, tablewriter.Colors{tablewriter.Bold, tablewriter.FgWhiteColor}, tablewriter.Colors{}})
+ table.Rich(colorData2, []tablewriter.Colors{tablewriter.Colors{tablewriter.Normal, tablewriter.FgMagentaColor}, tablewriter.Colors{}, tablewriter.Colors{tablewriter.Bold, tablewriter.BgRedColor}, tablewriter.Colors{tablewriter.FgHiGreenColor, tablewriter.Italic, tablewriter.BgHiCyanColor}})
+ }
+ table.Append(row)
+}
+
+table.SetAutoMergeCells(true)
+table.Render()
+
+```
+
+##### Table cells with color Output
+![Table cells with Color](https://user-images.githubusercontent.com/9064687/63969376-bcd88d80-ca6f-11e9-9466-c3d954700b25.png)
+
+#### Example 9 - Set table caption
```go
data := [][]string{
[]string{"A", "The Good", "500"},
@@ -254,7 +345,7 @@ table.Render() // Send output
Note: Caption text will wrap with total width of rendered table.
-##### Output 6
+##### Output 9
```
+------+-----------------------+--------+
| NAME | SIGN | RATING |
@@ -267,13 +358,74 @@ Note: Caption text will wrap with total width of rendered table.
Movie ratings.
```
+#### Example 10 - Set NoWhiteSpace and TablePadding option
+```go
+data := [][]string{
+ {"node1.example.com", "Ready", "compute", "1.11"},
+ {"node2.example.com", "Ready", "compute", "1.11"},
+ {"node3.example.com", "Ready", "compute", "1.11"},
+ {"node4.example.com", "NotReady", "compute", "1.11"},
+}
+
+table := tablewriter.NewWriter(os.Stdout)
+table.SetHeader([]string{"Name", "Status", "Role", "Version"})
+table.SetAutoWrapText(false)
+table.SetAutoFormatHeaders(true)
+table.SetHeaderAlignment(ALIGN_LEFT)
+table.SetAlignment(ALIGN_LEFT)
+table.SetCenterSeparator("")
+table.SetColumnSeparator("")
+table.SetRowSeparator("")
+table.SetHeaderLine(false)
+table.SetBorder(false)
+table.SetTablePadding("\t") // pad with tabs
+table.SetNoWhiteSpace(true)
+table.AppendBulk(data) // Add Bulk Data
+table.Render()
+```
+
+##### Output 10
+```
+NAME STATUS ROLE VERSION
+node1.example.com Ready compute 1.11
+node2.example.com Ready compute 1.11
+node3.example.com Ready compute 1.11
+node4.example.com NotReady compute 1.11
+```
+
+#### Render table into a string
+
+Instead of rendering the table to `io.Stdout` you can also render it into a string. Go 1.10 introduced the `strings.Builder` type which implements the `io.Writer` interface and can therefore be used for this task. Example:
+
+```go
+package main
+
+import (
+ "strings"
+ "fmt"
+
+ "github.com/olekukonko/tablewriter"
+)
+
+func main() {
+ tableString := &strings.Builder{}
+ table := tablewriter.NewWriter(tableString)
+
+ /*
+ * Code to fill the table
+ */
+
+ table.Render()
+
+ fmt.Println(tableString.String())
+}
+```
+
#### TODO
- ~~Import Directly from CSV~~ - `done`
- ~~Support for `SetFooter`~~ - `done`
- ~~Support for `SetBorder`~~ - `done`
- ~~Support table with uneven rows~~ - `done`
-- Support custom alignment
+- ~~Support custom alignment~~
- General Improvement & Optimisation
- `NewHTML` Parse table from HTML
-
-
diff --git a/vendor/github.com/olekukonko/tablewriter/go.mod b/vendor/github.com/olekukonko/tablewriter/go.mod
new file mode 100644
index 000000000..484ab01f1
--- /dev/null
+++ b/vendor/github.com/olekukonko/tablewriter/go.mod
@@ -0,0 +1,5 @@
+module github.com/olekukonko/tablewriter
+
+go 1.12
+
+require github.com/mattn/go-runewidth v0.0.9
diff --git a/vendor/github.com/olekukonko/tablewriter/go.sum b/vendor/github.com/olekukonko/tablewriter/go.sum
new file mode 100644
index 000000000..4a94bf58b
--- /dev/null
+++ b/vendor/github.com/olekukonko/tablewriter/go.sum
@@ -0,0 +1,2 @@
+github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0=
+github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
diff --git a/vendor/github.com/olekukonko/tablewriter/table.go b/vendor/github.com/olekukonko/tablewriter/table.go
index 8b62c628c..f913149c6 100644
--- a/vendor/github.com/olekukonko/tablewriter/table.go
+++ b/vendor/github.com/olekukonko/tablewriter/table.go
@@ -36,8 +36,8 @@ const (
)
var (
- decimal = regexp.MustCompile(`^-*\d*\.?\d*$`)
- percent = regexp.MustCompile(`^-*\d*\.?\d*$%$`)
+ decimal = regexp.MustCompile(`^-?(?:\d{1,3}(?:,\d{3})*|\d+)(?:\.\d+)?$`)
+ percent = regexp.MustCompile(`^-?\d+\.?\d*$%$`)
)
type Border struct {
@@ -48,36 +48,40 @@ type Border struct {
}
type Table struct {
- out io.Writer
- rows [][]string
- lines [][][]string
- cs map[int]int
- rs map[int]int
- headers []string
- footers []string
- caption bool
- captionText string
- autoFmt bool
- autoWrap bool
- mW int
- pCenter string
- pRow string
- pColumn string
- tColumn int
- tRow int
- hAlign int
- fAlign int
- align int
- newLine string
- rowLine bool
- autoMergeCells bool
- hdrLine bool
- borders Border
- colSize int
- headerParams []string
- columnsParams []string
- footerParams []string
- columnsAlign []int
+ out io.Writer
+ rows [][]string
+ lines [][][]string
+ cs map[int]int
+ rs map[int]int
+ headers [][]string
+ footers [][]string
+ caption bool
+ captionText string
+ autoFmt bool
+ autoWrap bool
+ reflowText bool
+ mW int
+ pCenter string
+ pRow string
+ pColumn string
+ tColumn int
+ tRow int
+ hAlign int
+ fAlign int
+ align int
+ newLine string
+ rowLine bool
+ autoMergeCells bool
+ columnsToAutoMergeCells map[int]bool
+ noWhiteSpace bool
+ tablePadding string
+ hdrLine bool
+ borders Border
+ colSize int
+ headerParams []string
+ columnsParams []string
+ footerParams []string
+ columnsAlign []int
}
// Start New Table
@@ -89,12 +93,13 @@ func NewWriter(writer io.Writer) *Table {
lines: [][][]string{},
cs: make(map[int]int),
rs: make(map[int]int),
- headers: []string{},
- footers: []string{},
+ headers: [][]string{},
+ footers: [][]string{},
caption: false,
captionText: "Table caption.",
autoFmt: true,
autoWrap: true,
+ reflowText: true,
mW: MAX_ROW_WIDTH,
pCenter: CENTER,
pRow: ROW,
@@ -137,12 +142,17 @@ func (t *Table) Render() {
}
}
+const (
+ headerRowIdx = -1
+ footerRowIdx = -2
+)
+
// Set table header
func (t *Table) SetHeader(keys []string) {
t.colSize = len(keys)
for i, v := range keys {
- t.parseDimension(v, i, -1)
- t.headers = append(t.headers, v)
+ lines := t.parseDimension(v, i, headerRowIdx)
+ t.headers = append(t.headers, lines)
}
}
@@ -150,8 +160,8 @@ func (t *Table) SetHeader(keys []string) {
func (t *Table) SetFooter(keys []string) {
//t.colSize = len(keys)
for i, v := range keys {
- t.parseDimension(v, i, -1)
- t.footers = append(t.footers, v)
+ lines := t.parseDimension(v, i, footerRowIdx)
+ t.footers = append(t.footers, lines)
}
}
@@ -173,6 +183,11 @@ func (t *Table) SetAutoWrapText(auto bool) {
t.autoWrap = auto
}
+// Turn automatic reflowing of multiline text when rewrapping. Default is on (true).
+func (t *Table) SetReflowDuringAutoWrap(auto bool) {
+ t.reflowText = auto
+}
+
// Set the Default column width
func (t *Table) SetColWidth(width int) {
t.mW = width
@@ -213,6 +228,16 @@ func (t *Table) SetAlignment(align int) {
t.align = align
}
+// Set No White Space
+func (t *Table) SetNoWhiteSpace(allow bool) {
+ t.noWhiteSpace = allow
+}
+
+// Set Table Padding
+func (t *Table) SetTablePadding(padding string) {
+ t.tablePadding = padding
+}
+
func (t *Table) SetColumnAlignment(keys []int) {
for _, v := range keys {
switch v {
@@ -252,6 +277,21 @@ func (t *Table) SetAutoMergeCells(auto bool) {
t.autoMergeCells = auto
}
+// Set Auto Merge Cells By Column Index
+// This would enable / disable the merge of cells with identical values for specific columns
+// If cols is empty, it is the same as `SetAutoMergeCells(true)`.
+func (t *Table) SetAutoMergeCellsByColumnIndex(cols []int) {
+ t.autoMergeCells = true
+
+ if len(cols) > 0 {
+ m := make(map[int]bool)
+ for _, col := range cols {
+ m[col] = true
+ }
+ t.columnsToAutoMergeCells = m
+ }
+}
+
// Set Table Border
// This would enable / disable line around the table
func (t *Table) SetBorder(border bool) {
@@ -284,6 +324,33 @@ func (t *Table) Append(row []string) {
t.lines = append(t.lines, line)
}
+// Append row to table with color attributes
+func (t *Table) Rich(row []string, colors []Colors) {
+ rowSize := len(t.headers)
+ if rowSize > t.colSize {
+ t.colSize = rowSize
+ }
+
+ n := len(t.lines)
+ line := [][]string{}
+ for i, v := range row {
+
+ // Detect string width
+ // Detect String height
+ // Break strings into words
+ out := t.parseDimension(v, i, n)
+
+ if len(colors) > i {
+ color := colors[i]
+ out[0] = format(out[0], color)
+ }
+
+ // Append broken words
+ line = append(line, out)
+ }
+ t.lines = append(t.lines, line)
+}
+
// Allow Support for Bulk Append
// Eliminates repeated for loops
func (t *Table) AppendBulk(rows [][]string) {
@@ -304,19 +371,32 @@ func (t *Table) ClearRows() {
// Clear footer
func (t *Table) ClearFooter() {
- t.footers = []string{}
+ t.footers = [][]string{}
+}
+
+// Center based on position and border.
+func (t *Table) center(i int) string {
+ if i == -1 && !t.borders.Left {
+ return t.pRow
+ }
+
+ if i == len(t.cs)-1 && !t.borders.Right {
+ return t.pRow
+ }
+
+ return t.pCenter
}
// Print line based on row width
func (t *Table) printLine(nl bool) {
- fmt.Fprint(t.out, t.pCenter)
+ fmt.Fprint(t.out, t.center(-1))
for i := 0; i < len(t.cs); i++ {
v := t.cs[i]
fmt.Fprintf(t.out, "%s%s%s%s",
t.pRow,
strings.Repeat(string(t.pRow), v),
t.pRow,
- t.pCenter)
+ t.center(i))
}
if nl {
fmt.Fprint(t.out, t.newLine)
@@ -367,10 +447,6 @@ func (t *Table) printHeading() {
return
}
- // Check if border is set
- // Replace with space if not set
- fmt.Fprint(t.out, ConditionString(t.borders.Left, t.pColumn, SPACE))
-
// Identify last column
end := len(t.cs) - 1
@@ -383,31 +459,57 @@ func (t *Table) printHeading() {
is_esc_seq = true
}
- // Print Heading column
- for i := 0; i <= end; i++ {
- v := t.cs[i]
- h := ""
- if i < len(t.headers) {
- h = t.headers[i]
- }
- if t.autoFmt {
- h = Title(h)
- }
- pad := ConditionString((i == end && !t.borders.Left), SPACE, t.pColumn)
+ // Maximum height.
+ max := t.rs[headerRowIdx]
- if is_esc_seq {
- fmt.Fprintf(t.out, " %s %s",
- format(padFunc(h, SPACE, v),
- t.headerParams[i]), pad)
- } else {
- fmt.Fprintf(t.out, " %s %s",
- padFunc(h, SPACE, v),
- pad)
+ // Print Heading
+ for x := 0; x < max; x++ {
+ // Check if border is set
+ // Replace with space if not set
+ if !t.noWhiteSpace {
+ fmt.Fprint(t.out, ConditionString(t.borders.Left, t.pColumn, SPACE))
}
+ for y := 0; y <= end; y++ {
+ v := t.cs[y]
+ h := ""
+
+ if y < len(t.headers) && x < len(t.headers[y]) {
+ h = t.headers[y][x]
+ }
+ if t.autoFmt {
+ h = Title(h)
+ }
+ pad := ConditionString((y == end && !t.borders.Left), SPACE, t.pColumn)
+ if t.noWhiteSpace {
+ pad = ConditionString((y == end && !t.borders.Left), SPACE, t.tablePadding)
+ }
+ if is_esc_seq {
+ if !t.noWhiteSpace {
+ fmt.Fprintf(t.out, " %s %s",
+ format(padFunc(h, SPACE, v),
+ t.headerParams[y]), pad)
+ } else {
+ fmt.Fprintf(t.out, "%s %s",
+ format(padFunc(h, SPACE, v),
+ t.headerParams[y]), pad)
+ }
+ } else {
+ if !t.noWhiteSpace {
+ fmt.Fprintf(t.out, " %s %s",
+ padFunc(h, SPACE, v),
+ pad)
+ } else {
+ // the spaces between breaks the kube formatting
+ fmt.Fprintf(t.out, "%s%s",
+ padFunc(h, SPACE, v),
+ pad)
+ }
+ }
+ }
+ // Next line
+ fmt.Fprint(t.out, t.newLine)
}
- // Next line
- fmt.Fprint(t.out, t.newLine)
if t.hdrLine {
t.printLine(true)
}
@@ -424,9 +526,6 @@ func (t *Table) printFooter() {
if !t.borders.Bottom {
t.printLine(true)
}
- // Check if border is set
- // Replace with space if not set
- fmt.Fprint(t.out, ConditionString(t.borders.Bottom, t.pColumn, SPACE))
// Identify last column
end := len(t.cs) - 1
@@ -440,36 +539,50 @@ func (t *Table) printFooter() {
is_esc_seq = true
}
- // Print Heading column
- for i := 0; i <= end; i++ {
- v := t.cs[i]
- f := t.footers[i]
- if t.autoFmt {
- f = Title(f)
- }
- pad := ConditionString((i == end && !t.borders.Top), SPACE, t.pColumn)
+ // Maximum height.
+ max := t.rs[footerRowIdx]
- if len(t.footers[i]) == 0 {
- pad = SPACE
- }
+ // Print Footer
+ erasePad := make([]bool, len(t.footers))
+ for x := 0; x < max; x++ {
+ // Check if border is set
+ // Replace with space if not set
+ fmt.Fprint(t.out, ConditionString(t.borders.Bottom, t.pColumn, SPACE))
- if is_esc_seq {
- fmt.Fprintf(t.out, " %s %s",
- format(padFunc(f, SPACE, v),
- t.footerParams[i]), pad)
- } else {
- fmt.Fprintf(t.out, " %s %s",
- padFunc(f, SPACE, v),
- pad)
- }
+ for y := 0; y <= end; y++ {
+ v := t.cs[y]
+ f := ""
+ if y < len(t.footers) && x < len(t.footers[y]) {
+ f = t.footers[y][x]
+ }
+ if t.autoFmt {
+ f = Title(f)
+ }
+ pad := ConditionString((y == end && !t.borders.Top), SPACE, t.pColumn)
- //fmt.Fprintf(t.out, " %s %s",
- // padFunc(f, SPACE, v),
- // pad)
+ if erasePad[y] || (x == 0 && len(f) == 0) {
+ pad = SPACE
+ erasePad[y] = true
+ }
+
+ if is_esc_seq {
+ fmt.Fprintf(t.out, " %s %s",
+ format(padFunc(f, SPACE, v),
+ t.footerParams[y]), pad)
+ } else {
+ fmt.Fprintf(t.out, " %s %s",
+ padFunc(f, SPACE, v),
+ pad)
+ }
+
+ //fmt.Fprintf(t.out, " %s %s",
+ // padFunc(f, SPACE, v),
+ // pad)
+ }
+ // Next line
+ fmt.Fprint(t.out, t.newLine)
+ //t.printLine(true)
}
- // Next line
- fmt.Fprint(t.out, t.newLine)
- //t.printLine(true)
hasPrinted := false
@@ -477,7 +590,7 @@ func (t *Table) printFooter() {
v := t.cs[i]
pad := t.pRow
center := t.pCenter
- length := len(t.footers[i])
+ length := len(t.footers[i][0])
if length > 0 {
hasPrinted = true
@@ -490,6 +603,9 @@ func (t *Table) printFooter() {
// Print first junction
if i == 0 {
+ if length > 0 && !t.borders.Left {
+ center = t.pRow
+ }
fmt.Fprint(t.out, center)
}
@@ -497,16 +613,27 @@ func (t *Table) printFooter() {
if length == 0 {
pad = SPACE
}
- // Ignore left space of it has printed before
+ // Ignore left space as it has printed before
if hasPrinted || t.borders.Left {
pad = t.pRow
center = t.pCenter
}
+ // Change Center end position
+ if center != SPACE {
+ if i == end && !t.borders.Right {
+ center = t.pRow
+ }
+ }
+
// Change Center start position
if center == SPACE {
- if i < end && len(t.footers[i+1]) != 0 {
- center = t.pCenter
+ if i < end && len(t.footers[i+1][0]) != 0 {
+ if !t.borders.Left {
+ center = t.pRow
+ } else {
+ center = t.pCenter
+ }
}
}
@@ -564,9 +691,9 @@ func (t *Table) fillAlignment(num int) {
// Print Row Information
// Adjust column alignment based on type
-func (t *Table) printRow(columns [][]string, colKey int) {
+func (t *Table) printRow(columns [][]string, rowIdx int) {
// Get Maximum Height
- max := t.rs[colKey]
+ max := t.rs[rowIdx]
total := len(columns)
// TODO Fix uneven col size
@@ -578,7 +705,6 @@ func (t *Table) printRow(columns [][]string, colKey int) {
//}
// Pad Each Height
- // pads := []int{}
pads := []int{}
// Checking for ANSI escape sequences for columns
@@ -601,9 +727,11 @@ func (t *Table) printRow(columns [][]string, colKey int) {
for y := 0; y < total; y++ {
// Check if border is set
- fmt.Fprint(t.out, ConditionString((!t.borders.Left && y == 0), SPACE, t.pColumn))
+ if !t.noWhiteSpace {
+ fmt.Fprint(t.out, ConditionString((!t.borders.Left && y == 0), SPACE, t.pColumn))
+ fmt.Fprintf(t.out, SPACE)
+ }
- fmt.Fprintf(t.out, SPACE)
str := columns[y][x]
// Embedding escape sequence with column value
@@ -635,11 +763,17 @@ func (t *Table) printRow(columns [][]string, colKey int) {
}
}
- fmt.Fprintf(t.out, SPACE)
+ if !t.noWhiteSpace {
+ fmt.Fprintf(t.out, SPACE)
+ } else {
+ fmt.Fprintf(t.out, t.tablePadding)
+ }
}
// Check if border is set
// Replace with space if not set
- fmt.Fprint(t.out, ConditionString(t.borders.Left, t.pColumn, SPACE))
+ if !t.noWhiteSpace {
+ fmt.Fprint(t.out, ConditionString(t.borders.Left, t.pColumn, SPACE))
+ }
fmt.Fprint(t.out, t.newLine)
}
@@ -672,14 +806,19 @@ func (t *Table) printRowsMergeCells() {
// Print Row Information to a writer and merge identical cells.
// Adjust column alignment based on type
-func (t *Table) printRowMergeCells(writer io.Writer, columns [][]string, colKey int, previousLine []string) ([]string, []bool) {
+func (t *Table) printRowMergeCells(writer io.Writer, columns [][]string, rowIdx int, previousLine []string) ([]string, []bool) {
// Get Maximum Height
- max := t.rs[colKey]
+ max := t.rs[rowIdx]
total := len(columns)
// Pad Each Height
pads := []int{}
+ // Checking for ANSI escape sequences for columns
+ is_esc_seq := false
+ if len(t.columnsParams) > 0 {
+ is_esc_seq = true
+ }
for i, line := range columns {
length := len(line)
pad := max - length
@@ -701,10 +840,25 @@ func (t *Table) printRowMergeCells(writer io.Writer, columns [][]string, colKey
str := columns[y][x]
+ // Embedding escape sequence with column value
+ if is_esc_seq {
+ str = format(str, t.columnsParams[y])
+ }
+
if t.autoMergeCells {
+ var mergeCell bool
+ if t.columnsToAutoMergeCells != nil {
+ // Check to see if the column index is in columnsToAutoMergeCells.
+ if t.columnsToAutoMergeCells[y] {
+ mergeCell = true
+ }
+ } else {
+ // columnsToAutoMergeCells was not set.
+ mergeCell = true
+ }
//Store the full line to merge mutli-lines cells
- fullLine := strings.Join(columns[y], " ")
- if len(previousLine) > y && fullLine == previousLine[y] && fullLine != "" {
+ fullLine := strings.TrimRight(strings.Join(columns[y], " "), " ")
+ if len(previousLine) > y && fullLine == previousLine[y] && fullLine != "" && mergeCell {
// If this cell is identical to the one above but not empty, we don't display the border and keep the cell empty.
displayCellBorder = append(displayCellBorder, false)
str = ""
@@ -741,7 +895,7 @@ func (t *Table) printRowMergeCells(writer io.Writer, columns [][]string, colKey
//The new previous line is the current one
previousLine = make([]string, total)
for y := 0; y < total; y++ {
- previousLine[y] = strings.Join(columns[y], " ") //Store the full line for multi-lines cells
+ previousLine[y] = strings.TrimRight(strings.Join(columns[y], " "), " ") //Store the full line for multi-lines cells
}
//Returns the newly added line and wether or not a border should be displayed above.
return previousLine, displayCellBorder
@@ -749,44 +903,59 @@ func (t *Table) printRowMergeCells(writer io.Writer, columns [][]string, colKey
func (t *Table) parseDimension(str string, colKey, rowKey int) []string {
var (
- raw []string
- max int
+ raw []string
+ maxWidth int
)
- w := DisplayWidth(str)
- // Calculate Width
- // Check if with is grater than maximum width
- if w > t.mW {
- w = t.mW
- }
-
- // Check if width exists
- v, ok := t.cs[colKey]
- if !ok || v < w || v == 0 {
- t.cs[colKey] = w
- }
-
- if rowKey == -1 {
- return raw
- }
- // Calculate Height
- if t.autoWrap {
- raw, _ = WrapString(str, t.cs[colKey])
- } else {
- raw = getLines(str)
- }
+ raw = getLines(str)
+ maxWidth = 0
for _, line := range raw {
- if w := DisplayWidth(line); w > max {
- max = w
+ if w := DisplayWidth(line); w > maxWidth {
+ maxWidth = w
}
}
- // Make sure the with is the same length as maximum word
- // Important for cases where the width is smaller than maxu word
- if max > t.cs[colKey] {
- t.cs[colKey] = max
+ // If wrapping, ensure that all paragraphs in the cell fit in the
+ // specified width.
+ if t.autoWrap {
+ // If there's a maximum allowed width for wrapping, use that.
+ if maxWidth > t.mW {
+ maxWidth = t.mW
+ }
+
+ // In the process of doing so, we need to recompute maxWidth. This
+ // is because perhaps a word in the cell is longer than the
+ // allowed maximum width in t.mW.
+ newMaxWidth := maxWidth
+ newRaw := make([]string, 0, len(raw))
+
+ if t.reflowText {
+ // Make a single paragraph of everything.
+ raw = []string{strings.Join(raw, " ")}
+ }
+ for i, para := range raw {
+ paraLines, _ := WrapString(para, maxWidth)
+ for _, line := range paraLines {
+ if w := DisplayWidth(line); w > newMaxWidth {
+ newMaxWidth = w
+ }
+ }
+ if i > 0 {
+ newRaw = append(newRaw, " ")
+ }
+ newRaw = append(newRaw, paraLines...)
+ }
+ raw = newRaw
+ maxWidth = newMaxWidth
}
+ // Store the new known maximum width.
+ v, ok := t.cs[colKey]
+ if !ok || v < maxWidth || v == 0 {
+ t.cs[colKey] = maxWidth
+ }
+
+ // Remember the number of lines for the row printer.
h := len(raw)
v, ok = t.rs[rowKey]
diff --git a/vendor/github.com/olekukonko/tablewriter/table_with_color.go b/vendor/github.com/olekukonko/tablewriter/table_with_color.go
index 5a4a53ec2..ae7a364ae 100644
--- a/vendor/github.com/olekukonko/tablewriter/table_with_color.go
+++ b/vendor/github.com/olekukonko/tablewriter/table_with_color.go
@@ -89,6 +89,8 @@ func format(s string, codes interface{}) string {
seq = v
case []int:
seq = makeSequence(v)
+ case Colors:
+ seq = makeSequence(v)
default:
return s
}
diff --git a/vendor/github.com/olekukonko/tablewriter/test.csv b/vendor/github.com/olekukonko/tablewriter/test.csv
deleted file mode 100644
index 1609327e9..000000000
--- a/vendor/github.com/olekukonko/tablewriter/test.csv
+++ /dev/null
@@ -1,4 +0,0 @@
-first_name,last_name,ssn
-John,Barry,123456
-Kathy,Smith,687987
-Bob,McCornick,3979870
\ No newline at end of file
diff --git a/vendor/github.com/olekukonko/tablewriter/test_info.csv b/vendor/github.com/olekukonko/tablewriter/test_info.csv
deleted file mode 100644
index e4c40e983..000000000
--- a/vendor/github.com/olekukonko/tablewriter/test_info.csv
+++ /dev/null
@@ -1,4 +0,0 @@
-Field,Type,Null,Key,Default,Extra
-user_id,smallint(5),NO,PRI,NULL,auto_increment
-username,varchar(10),NO,,NULL,
-password,varchar(100),NO,,NULL,
\ No newline at end of file
diff --git a/vendor/github.com/olekukonko/tablewriter/util.go b/vendor/github.com/olekukonko/tablewriter/util.go
index 2deefbc52..380e7ab35 100644
--- a/vendor/github.com/olekukonko/tablewriter/util.go
+++ b/vendor/github.com/olekukonko/tablewriter/util.go
@@ -30,17 +30,38 @@ func ConditionString(cond bool, valid, inValid string) string {
return inValid
}
+func isNumOrSpace(r rune) bool {
+ return ('0' <= r && r <= '9') || r == ' '
+}
+
// Format Table Header
// Replace _ , . and spaces
func Title(name string) string {
- name = strings.Replace(name, "_", " ", -1)
- name = strings.Replace(name, ".", " ", -1)
+ origLen := len(name)
+ rs := []rune(name)
+ for i, r := range rs {
+ switch r {
+ case '_':
+ rs[i] = ' '
+ case '.':
+ // ignore floating number 0.0
+ if (i != 0 && !isNumOrSpace(rs[i-1])) || (i != len(rs)-1 && !isNumOrSpace(rs[i+1])) {
+ rs[i] = ' '
+ }
+ }
+ }
+ name = string(rs)
name = strings.TrimSpace(name)
+ if len(name) == 0 && origLen > 0 {
+ // Keep at least one character. This is important to preserve
+ // empty lines in multi-line headers/footers.
+ name = " "
+ }
return strings.ToUpper(name)
}
// Pad String
-// Attempts to play string in the center
+// Attempts to place string in the center
func Pad(s, pad string, width int) string {
gap := width - DisplayWidth(s)
if gap > 0 {
@@ -52,7 +73,7 @@ func Pad(s, pad string, width int) string {
}
// Pad String Right position
-// This would pace string at the left side fo the screen
+// This would place string at the left side of the screen
func PadRight(s, pad string, width int) string {
gap := width - DisplayWidth(s)
if gap > 0 {
@@ -62,7 +83,7 @@ func PadRight(s, pad string, width int) string {
}
// Pad String Left position
-// This would pace string at the right side fo the screen
+// This would place string at the right side of the screen
func PadLeft(s, pad string, width int) string {
gap := width - DisplayWidth(s)
if gap > 0 {
diff --git a/vendor/github.com/olekukonko/tablewriter/wrap.go b/vendor/github.com/olekukonko/tablewriter/wrap.go
index 9ef69e904..a092ee1f7 100644
--- a/vendor/github.com/olekukonko/tablewriter/wrap.go
+++ b/vendor/github.com/olekukonko/tablewriter/wrap.go
@@ -95,10 +95,5 @@ func WrapWords(words []string, spc, lim, pen int) [][]string {
// getLines decomposes a multiline string into a slice of strings.
func getLines(s string) []string {
- var lines []string
-
- for _, line := range strings.Split(s, nl) {
- lines = append(lines, line)
- }
- return lines
+ return strings.Split(s, nl)
}
diff --git a/vendor/modules.txt b/vendor/modules.txt
index 12b306d4b..7b7098fbb 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -70,8 +70,7 @@ github.com/ChrisTrenkamp/goxpath/tree/xmltree/xmlbuilder
github.com/ChrisTrenkamp/goxpath/tree/xmltree/xmlele
github.com/ChrisTrenkamp/goxpath/tree/xmltree/xmlnode
github.com/ChrisTrenkamp/goxpath/xconst
-# github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.1.7
-## explicit
+# github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.2.0
github.com/NaverCloudPlatform/ncloud-sdk-go-v2/hmac
github.com/NaverCloudPlatform/ncloud-sdk-go-v2/ncloud
github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server
@@ -522,6 +521,9 @@ github.com/hashicorp/packer-plugin-googlecompute/builder/googlecompute
github.com/hashicorp/packer-plugin-googlecompute/builder/googlecompute/version
github.com/hashicorp/packer-plugin-googlecompute/post-processor/googlecompute-export
github.com/hashicorp/packer-plugin-googlecompute/post-processor/googlecompute-import
+# github.com/hashicorp/packer-plugin-ncloud v0.0.2
+## explicit
+github.com/hashicorp/packer-plugin-ncloud/builder/ncloud
# github.com/hashicorp/packer-plugin-proxmox v0.0.1
## explicit
github.com/hashicorp/packer-plugin-proxmox/builder/proxmox/clone
@@ -710,8 +712,7 @@ github.com/modern-go/concurrent
github.com/modern-go/reflect2
# github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d
github.com/nu7hatch/gouuid
-# github.com/olekukonko/tablewriter v0.0.0-20180105111133-96aac992fc8b
-## explicit
+# github.com/olekukonko/tablewriter v0.0.5
github.com/olekukonko/tablewriter
# github.com/oracle/oci-go-sdk/v36 v36.2.0
## explicit
diff --git a/website/content/docs/builders/ncloud.mdx b/website/content/docs/builders/ncloud.mdx
deleted file mode 100644
index 526455769..000000000
--- a/website/content/docs/builders/ncloud.mdx
+++ /dev/null
@@ -1,274 +0,0 @@
----
-description: |
- The ncloud builder allows you to create server images using the NAVER Cloud
- Platform.
-page_title: Naver Cloud Platform - Builders
----
-
-# NAVER CLOUD PLATFORM Builder
-
-Type: `ncloud`
-Artifact BuilderId: `ncloud.server.image`
-
-The `ncloud` builder allows you to create server images using the [NAVER Cloud
-Platform](https://www.ncloud.com/).
-
-## Configuration Reference
-
-### Required:
-
-- `access_key` (string) - User's access key. Go to [\[Account
- Management > Authentication
- Key\]](https://www.ncloud.com/mypage/manage/authkey) to create and view
- your authentication key.
-
-- `secret_key` (string) - User's secret key paired with the access
- key. Go to [\[Account Management > Authentication
- Key\]](https://www.ncloud.com/mypage/manage/authkey) to create and view
- your authentication key.
-
-- `server_image_product_code` (string) - Product code of an image to create.
- (member_server_image_no is required if not specified)
-
-### Optional:
-
-- `server_product_code` (string) - Product (spec) code to create.
-
-- `vpc_no` (string) - The ID of the VPC where you want to place the Server Instance. If this field is left blank, Packer will try to get the VPC ID from the `subnet_no`.
- (You are required to least one between two parameters if u want using VPC environment: `vpc_no` or `subnet_no`)
-
-- `subnet_no` (string) - The ID of the Subnet where you want to place the Server Instance. If this field is left blank, Packer will try to get the Public Subnet ID from the `vpc_no`.
-
-- `member_server_image_no` (string) - Previous image code. If there is an
- image previously created, it can be used to create a new image.
- (`server_image_product_code` is required if not specified)
-
-- `server_image_name` (string) - Name of an image to create.
-
-- `server_image_description` (string) - Description of an image to create.
-
-- `block_storage_size` (number) - You can add block storage ranging from 10
- GB to 2000 GB, in increments of 10 GB.
-
-- `access_control_group_no` (string) - This is used to allow
- winrm access when you create a Windows server. An ACG that specifies an
- access source (`0.0.0.0/0`) and allowed port (5985) must be created in
- advance if you use CLASSIC env. If this field is left blank, Packer will create temporary ACG for automatically in VPC environment.
-
-- `user_data` (string) - User data to apply when launching the instance. Note
- that you need to be careful about escaping characters due to the templates
- being JSON. It is often more convenient to use `user_data_file`, instead.
- Packer will not automatically wait for a user script to finish before
- shutting down the instance this must be handled in a provisioner.
-
-- `user_data_file` (string) - Path to a file that will be used for the user
- data when launching the instance.
-
-- `region` (string) - Name of the region where you want to create an image.
- (default: Korea)
- - values: Korea / US-West / HongKong / Singapore / Japan / Germany
-
-## Basic Example
-
-Here is a basic example for windows server.
-
-
-
-
-```hcl
-variable "access_key" {
- type = string
- # default = "your_access_key"
-}
-
-variable "secret_key" {
- type = string
- # default = "your_secret_key"
-}
-
-locals {
- timestamp = regex_replace(timestamp(), "[- TZ:]", "")
-}
-
-source "ncloud" "example-windows" {
- access_key = "${var.access_key}"
- secret_key = "${var.secret_key}"
- server_image_product_code = "SW.VSVR.OS.WND64.WND.SVR2016EN.B100" // for VPC environment.
- # server_image_product_code = "SPSW0WINNTEN0016" // for CLASSIC environment.
- server_image_name = "packer-${local.timestamp}"
- server_image_description = "server image description"
- user_data = "CreateObject(\"WScript.Shell\").run(\"cmd.exe /c powershell Set-ExecutionPolicy RemoteSigned & winrm quickconfig -q & sc config WinRM start= auto & winrm set winrm/config/service/auth @{Basic=\"\"true\"\"} & winrm set winrm/config/service @{AllowUnencrypted=\"\"true\"\"} & winrm get winrm/config/service\")"
- region = "Korea"
- vpc_no = "{{YOUR_VPC_ID}}" // Remove this if you use CLASSIC environment.
- subnet_no = "{{YOUR_SUBNET_ID}}" // Remove this if you use CLASSIC environment.
- communicator = "winrm"
- winrm_username = "Administrator"
- # access_control_group_no = "{{YOUR_ACG_ID}}" // Specific ACG ID allowed port (5985) if you use CLASSIC environment.
-}
-
-build {
- sources = ["source.ncloud.example-windows"]
-
- provisioner "powershell" {
- inline = [
- "Write-Output 1,2,3 | Measure-Object"
- ]
- }
-}
-```
-
-
-
-
-```json
-{
- "variables": {
- "ncloud_access_key": "{{env `NCLOUD_ACCESS_KEY`}}",
- "ncloud_secret_key": "{{env `NCLOUD_SECRET_KEY`}}"
- },
- "builders": [
- {
- "type": "ncloud",
- "access_key": "{{user `ncloud_access_key`}}",
- "secret_key": "{{user `ncloud_secret_key`}}",
- "server_image_product_code": "SPSW0WINNTEN0016",
- "server_image_name": "packer-test {{timestamp}}",
- "server_image_description": "server description",
- "user_data": "CreateObject(\"WScript.Shell\").run(\"cmd.exe /c powershell Set-ExecutionPolicy RemoteSigned & winrm quickconfig -q & sc config WinRM start= auto & winrm set winrm/config/service/auth @{Basic=\"\"true\"\"} & winrm set winrm/config/service @{AllowUnencrypted=\"\"true\"\"} & winrm get winrm/config/service\")",
- "region": "Korea",
- "communicator": "winrm",
- "winrm_username": "Administrator"
- }
- ],
- "provisioners": [
- {
- "type": "powershell",
- "inline": ["Write-Output 1,2,3 | Measure-Object"]
- }
- ]
-}
-```
-
-
-
-
--> **Warning:** Please note that if you're setting up WinRM for provisioning, you'll probably want to turn it off or restrict its permissions as part of a shutdown script at the end of Packer's provisioning process. For more details on the why/how, check out this useful blog post and the associated code:
-https://cloudywindows.io/post/winrm-for-provisioning-close-the-door-on-the-way-out-eh/
-
-Here is a basic example for linux server.
-
-
-
-
-```hcl
-variable "access_key" {
- type = string
- # default = "your_access_key"
-}
-
-variable "secret_key" {
- type = string
- # default = "your_secret_key"
-}
-
-locals {
- timestamp = regex_replace(timestamp(), "[- TZ:]", "")
-}
-
-source "ncloud" "example-linux" {
- access_key = "${var.access_key}"
- secret_key = "${var.secret_key}"
- server_image_product_code = "SW.VSVR.OS.LNX64.CNTOS.0708.B050" // for VPC environment.
- # server_image_product_code = "SPSW0LINUX000044" // for CLASSIC environment.
- server_image_name = "packer-${local.timestamp}"
- server_image_description = "server image description"
- region = "Korea"
- vpc_no = "{{YOUR_VPC_ID}}" // Remove this if you use CLASSIC environment.
- subnet_no = "{{YOUR_SUBNET_ID}}" // Remove this if you use CLASSIC environment.
- communicator = "ssh"
- ssh_username = "root"
-}
-
-build {
- sources = ["source.ncloud.example-linux"]
-
- provisioner "shell" {
- inline = [
- "echo Connected via SSM at '${build.User}@${build.Host}:${build.Port}'"
- ]
- }
-}
-```
-
-
-
-
-```json
-{
- "variables": {
- "ncloud_access_key": "{{env `NCLOUD_ACCESS_KEY`}}",
- "ncloud_secret_key": "{{env `NCLOUD_SECRET_KEY`}}"
- },
- "builders": [
- {
- "type": "ncloud",
- "access_key": "{{user `ncloud_access_key`}}",
- "secret_key": "{{user `ncloud_secret_key`}}",
- "server_image_product_code": "SPSW0LINUX000044",
- "server_image_name": "packer-test {{timestamp}}",
- "server_image_description": "server description",
- "region": "Korea",
- "communicator": "ssh",
- "ssh_username": "root"
- }
- ],
- "provisioners": [
- {
- "type": "shell",
- "inline": [
- "echo Connected via SSM at '${build.User}@${build.Host}:${build.Port}'"
- ]
- }
- ]
-}
-```
-
-
-
-
-## Requirements for creating Windows images
-
-You should include the following code in the Packer configuration file for
-provision when creating a Windows server.
-
-```json
- "builders": [
- {
- "type": "ncloud",
- ...
- "user_data":
- "CreateObject(\"WScript.Shell\").run(\"cmd.exe /c powershell Set-ExecutionPolicy RemoteSigned & winrm set winrm/config/service/auth @{Basic=\"\"true\"\"} & winrm set winrm/config/service @{AllowUnencrypted=\"\"true\"\"} & winrm quickconfig -q & sc config WinRM start= auto & winrm get winrm/config/service\")",
- "communicator": "winrm",
- "winrm_username": "Administrator"
- }
- ],
- "provisioners": [
- {
- "type": "powershell",
- "inline": [
- "$Env:SystemRoot\\System32\\Sysprep\\Sysprep.exe /oobe /generalize /shutdown /quiet /mode:vm \"/unattend:C:\\Program Files (x86)\\NBP\\nserver64.xml\" "
- ]
- }
- ]
-```
-
-## Note
-
-- You can only create as many public IP addresses as the number of server
- instances you own. Before running Packer, please make sure that the number
- of public IP addresses previously created is not larger than the number of
- server instances (including those to be used to create server images).
-- When you forcibly terminate the Packer process or close the terminal
- (command) window where the process is running, the resources may not be
- cleaned up as the Packer process no longer runs. In this case, you should
- manually clean up the resources associated with the process.
diff --git a/website/content/partials/builder/ncloud/Config-not-required.mdx b/website/content/partials/builder/ncloud/Config-not-required.mdx
deleted file mode 100644
index 6d4683716..000000000
--- a/website/content/partials/builder/ncloud/Config-not-required.mdx
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-- `access_key` (string) - Access Key
-
-- `secret_key` (string) - Secret Key
-
-- `member_server_image_no` (string) - Previous image code. If there is an
- image previously created, it can be used to create a new image.
- (server_image_product_code is required if not specified)
-
-- `server_image_name` (string) - Name of an image to create.
-
-- `server_image_description` (string) - Description of an image to create.
-
-- `user_data` (string) - User data to apply when launching the instance. Note
- that you need to be careful about escaping characters due to the templates
- being JSON. It is often more convenient to use user_data_file, instead.
- Packer will not automatically wait for a user script to finish before
- shutting down the instance this must be handled in a provisioner.
-
-- `user_data_file` (string) - Path to a file that will be used for the user
- data when launching the instance.
-
-- `block_storage_size` (int) - You can add block storage ranging from 10
- GB to 2000 GB, in increments of 10 GB.
-
-- `region` (string) - Name of the region where you want to create an image.
- (default: Korea)
-
-- `region_code` (string) - Region Code
-
-- `access_control_group_configuration_no` (string) - Deprecated
-
-- `access_control_group_no` (string) - This is used to allow
- winrm access when you create a Windows server. An ACG that specifies an
- access source (0.0.0.0/0) and allowed port (5985) must be created in
- advance if you use CLASSIC env. If this field is left blank,
- Packer will create temporary ACG for automatically in VPC environment.
-
-- `support_vpc` (bool) - Support VPC
-
-- `subnet_no` (string) - The ID of the Subnet where you want to place the Server Instance. If this field is left blank, Packer will try to get the Public Subnet ID from the `vpc_no`.
-
-- `vpc_no` (string) - The ID of the VPC where you want to place the Server Instance. If this field is left blank, Packer will try to get the VPC ID from the `subnet_no`.
- (You are required to least one between two parameters if u want using VPC environment: `vpc_no` or `subnet_no`)
-
-
diff --git a/website/content/partials/builder/ncloud/Config-required.mdx b/website/content/partials/builder/ncloud/Config-required.mdx
deleted file mode 100644
index 2268da5f5..000000000
--- a/website/content/partials/builder/ncloud/Config-required.mdx
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-- `server_image_product_code` (string) - Product code of an image to create.
- (member_server_image_no is required if not specified)
-
-- `server_product_code` (string) - Product (spec) code to create.
-
-
diff --git a/website/content/partials/builder/ncloud/Config.mdx b/website/content/partials/builder/ncloud/Config.mdx
deleted file mode 100644
index 6695ac43b..000000000
--- a/website/content/partials/builder/ncloud/Config.mdx
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-Config is structure to use packer builder plugin for Naver Cloud Platform
-
-
diff --git a/website/data/docs-nav-data.json b/website/data/docs-nav-data.json
index 1542d838a..7b83a0e31 100644
--- a/website/data/docs-nav-data.json
+++ b/website/data/docs-nav-data.json
@@ -749,10 +749,6 @@
"title": "LXD",
"path": "builders/lxd"
},
- {
- "title": "NAVER Cloud",
- "path": "builders/ncloud"
- },
{
"title": "Null",
"path": "builders/null"
diff --git a/website/data/docs-remote-plugins.json b/website/data/docs-remote-plugins.json
index 4cb9927e7..94d32970e 100644
--- a/website/data/docs-remote-plugins.json
+++ b/website/data/docs-remote-plugins.json
@@ -23,6 +23,12 @@
"repo": "hashicorp/packer-plugin-googlecompute",
"version": "latest"
},
+ {
+ "title": "Naver Cloud",
+ "path": "ncloud",
+ "repo": "hashicorp/packer-plugin-ncloud",
+ "version": "latest"
+ },
{
"title": "Proxmox",
"path": "proxmox",